Browse Source

样式调整

hangb 7 years ago
parent
commit
369fca1579

+ 7 - 1
components/brandCenter/BrandIndex.vue

@@ -39,7 +39,7 @@
           <div class="search">
             <span v-show="!isSearch">
               以{{activeIndex&&activeIndex.length==1?'字母':''}}
-              <span class="active-index">{{activeIndex}}&nbsp;</span>开头共有
+              <span class="active-index" :title="activeIndex">{{activeIndex}}&nbsp;</span>开头共有
               <span class="active-number">{{brandList.totalElements || 0}}&nbsp;</span>个品牌
               <span v-if="brandList.totalElements > 0">,当前是第
               <span class="active-number">{{nowPage}}&nbsp;</span>页
@@ -472,6 +472,12 @@
             .active-index {
               font-size: 16px;
               color: #3c7cf5;
+              display: inline-block;
+              max-width: 100px;
+              overflow: hidden;
+              text-overflow: ellipsis;
+              white-space: nowrap;
+              vertical-align: middle;
             }
             .active-number {
               font-weight: bold;

+ 1 - 0
components/provider/HotCommodity.vue

@@ -110,6 +110,7 @@ export default {
       text-align: center;
       span{
         font-size: 14px;
+        font-weight: bold;
         color: #333;
       }
       img{

+ 1 - 0
components/provider/RecommendOriginal.vue

@@ -50,6 +50,7 @@ export default {
       text-align: center;
       span{
         font-size: 14px;
+        font-weight: bold;
         color: #333;
       }
       img{

+ 2 - 2
components/provider/Suppliers.vue

@@ -19,7 +19,7 @@
             <a @click="goStoreApply" class="btn-sure"><button class="btn btn-primary">立即入驻</button></a>
           </td>
         </tr>
-        <tr v-for="store in stores.content" v-if="store">
+        <nuxt-link tag="tr" :to="'/store/' + store.uuid" v-for="store in stores.content" v-if="store">
           <td>
             <div class="logo">
               <a :href="'/store/' + store.uuid" target="_blank"><img :src="store.logoUrl || '/images/store/common/default.png'" :alt="store.storeName"></a>
@@ -35,7 +35,7 @@
           <td class="vertical-middle" style="text-align: center">
             <a :href="'/store/' + store.uuid" target="_blank"><button class="btn btn-primary">进入店铺</button></a>
           </td>
-        </tr>
+        </nuxt-link>
         <tr v-if="!stores.content || stores.content.length == 0" class="no-content">
           <td colspan="10" class="text-center" style="line-height: 1125px; font-size: 20px;">
             <i class="fa fa-smile-o fa-lg"></i> 暂无店铺信息