瀏覽代碼

修改搜索热词链接及显示

yangc 8 年之前
父節點
當前提交
c8e0608862
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      components/main/Search.vue

+ 2 - 2
components/main/Search.vue

@@ -38,10 +38,10 @@
       <ul class="list-untyled">
         <li class="item item-first">热门搜索</li>
         <li class="item" v-for="w in hotBrand">
-          <nuxt-link :to="'/product/brand/' + w.uuid" target="_blank">{{ w.nameCn }}</nuxt-link>
+          <nuxt-link :to="'/product/brand/' + w.uuid" target="_blank">{{ w.nameEn }}</nuxt-link>
         </li>
         <li class="item" v-for="w in hotDevice">
-          <nuxt-link :to="'/product/brand/' + w.uuid" target="_blank">{{ w.code }}</nuxt-link>
+          <nuxt-link :to="'/product/component/' + w.uuid" target="_blank">{{ w.code }}</nuxt-link>
         </li>
       </ul>
     </div>