Jelajahi Sumber

铸造者字数优化

yuany 3 tahun lalu
induk
melakukan
717676385f
2 mengubah file dengan 4 tambahan dan 6 penghapusan
  1. 1 1
      src/components/CollectionList.vue
  2. 3 5
      src/views/Discover.vue

+ 1 - 1
src/components/CollectionList.vue

@@ -208,7 +208,7 @@ export default {
         }
         .current_recommendation_name {
             margin-left: 4px;
-            width: 40px;
+            width: calc(50vw - 125px);
             height: 18px;
             line-height: 18px;
             font-size: 12px;

+ 3 - 5
src/views/Discover.vue

@@ -31,7 +31,7 @@
                 class="setting"
                 v-for="item in commodityDisplayList"
                 :key="item.id"
-                style="width: 64px"
+                style="width: 88px"
                 @click="$router.push({ path: '/creatorDetail', query: { id: item.id } })"
             >
                 <van-image width="66px" height="66px" radius="33" :src="getImg(item.avatar)" fit="cover" />
@@ -578,11 +578,11 @@ export default {
 }
 .setting {
     height: 94px;
-    padding-right: 24px;
+    // padding-right: 24px;
     // padding-bottom: 20px;
     // background-color: #191d27;
     .setting_title {
-        width: 64px;
+        width: 68px;
         overflow: hidden;
         text-overflow: ellipsis;
         white-space: nowrap;
@@ -600,8 +600,6 @@ export default {
 .setting:last-child {
     padding-right: 0px;
 }
-.slide-sek {
-}
 .slide-more {
     width: 30px;
     height: 94px;