components/top-tabs.vue
@@ -11,9 +11,7 @@ export default { name: "top-tabs", data() { return { }; return {}; }, props: { tabs: { @@ -39,12 +37,13 @@ <style lang="scss"> .top-tabs { .top-tab { color: #000000; // flex: 1; color: #ffffff; flex: 1; text-align: center; } .top-tab.active { color: #000; color: #ffffff; font-weight: 600; // border-bottom: 8rpx solid #000; // 底部的线条 @@ -52,7 +51,7 @@ font-family: PingFangSC, PingFang SC; font-weight: 600; font-size: 36rpx; color: #000000; color: #ffffff; line-height: 32rpx; text-align: left; font-style: normal;