panhui 4 лет назад
Родитель
Сommit
c7c02eb037

+ 1 - 1
src/components/creator/CreatorSmall.vue

@@ -108,7 +108,7 @@ export default {
         overflow: hidden;
         height: 80px;
         background: #373b3e;
-        padding: 18px 10px 10px;
+        padding: 25px 10px 10px;
         align-items: center;
         box-sizing: border-box;
 

+ 1 - 1
src/views/activity/List1.vue

@@ -90,7 +90,7 @@ export default {
     position: relative;
     .filter-bg {
         background-position: top;
-        // background-size: 100% 500px;
+        background-size: cover;
         background-repeat: no-repeat;
         top: 50px;
     }

+ 7 - 8
src/views/creator/Home.vue

@@ -24,14 +24,7 @@
         </swiper>
 
         <van-sticky :offset-top="96">
-            <van-tabs
-                class="dark"
-                v-model:active="sort"
-                :ellipsis="false"
-                line-width="16"
-                line-height="2"
-                @change="getData(true)"
-            >
+            <van-tabs class="dark" v-model:active="sort" line-width="16" line-height="2" @change="getData(true)">
                 <van-tab
                     :title="item.label"
                     :name="
@@ -267,4 +260,10 @@ export default {
 .van-tabs.dark {
     background-color: #222426;
 }
+
+/deep/.van-tab {
+    flex-grow: 1 !important;
+    margin-right: 0 !important;
+    background-color: #222426;
+}
 </style>