Browse Source

搜索品牌链接

yangc 8 years ago
parent
commit
b1d631dfd0

+ 1 - 1
components/mobile/search/brandList.vue

@@ -7,7 +7,7 @@
       </div>
       <div class="brand-list-item" :style="isShow?'max-height:2.1rem;':'min-height:2.1rem;'" >
         <div v-for="item in brandList">
-          <nuxt-link to="/">
+          <nuxt-link :to="'/mobile/brand/'+item.br_uuid">
             <img :src="item.logoUrl ||'/images/component/default.png'"/>
           </nuxt-link>
         </div>

+ 2 - 1
components/mobile/search/detailBrand.vue

@@ -1,5 +1,6 @@
 <template>
   <div class="detail-brand">
+    <nuxt-link :to="brandDetail.uuid">
     <div class="detail-brand-content" >
       <h4>主营产品</h4>
       <div class="brand-list">
@@ -10,7 +11,7 @@
         <p>{{brandDetail.series}}</p>
       </div>
     </div>
-
+    </nuxt-link>
   </div>
 </template>