wangdy 8 лет назад
Родитель
Сommit
16d78fbc2f
1 измененных файлов с 6 добавлено и 1 удалено
  1. 6 1
      components/searchStore/StoreContent.vue

+ 6 - 1
components/searchStore/StoreContent.vue

@@ -7,7 +7,7 @@
           <img :src="store.logoUrl?store.logoUrl:'/images/all/default.png'" class="storeImg" alt="">
         </a>
         <div class="store-detail">
-          <a :href="'/store/' + store.uuid" target="_blank">{{store.storeName}}</a>
+          <a :href="'/store/' + store.uuid" target="_blank" :title="store.storeName">{{store.storeName}}</a>
           <span style="position: relative;" class="call-seller">
             <img src="static/img/common/songguo.png?_v=1503050008623">
 							<a name="21059" href="javascript:void(0)" class="contact_btn">联系卖家</a>
@@ -177,6 +177,11 @@
     font-size: 14px;
     font-weight: 700;
     color: black;
+    display: block;
+    overflow: hidden;
+    width: 175px;
+    white-space: nowrap;
+    text-overflow: ellipsis;
   }
   .store-detail >span{
     display: block;