hurx 1 week ago
parent
commit
92338f98c8
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/views/home/pccomponents/pages/brand.vue

+ 3 - 3
src/views/home/pccomponents/pages/brand.vue

@@ -24,7 +24,7 @@
             />
             <div :style="titleCss" class="bigBrand1 zi-hover">{{ item.title || '' }}</div>
             <div :style="subtitleCss" class="bigBrand2">
-              {{ item.subtitle || '' }}
+              {{ item.title || '' }}
             </div>
           </div>
         </template>
@@ -174,14 +174,14 @@ const subtitleCss = computed(() => {
         .bigBrand2 {
           font-weight: 400;
           font-size: 12px;
-          color: #364153;
+          color: #999;
           display: -webkit-box;
           -webkit-line-clamp: 2;
           line-clamp: 2;
           -webkit-box-orient: vertical;
           overflow: hidden;
           text-overflow: ellipsis;
-          text-align: left;
+          text-align: center;
           width: 100%;
         }
       }