Browse Source

【导航栏】--修改品牌中心链接

wangyc 8 years ago
parent
commit
7b8e7e9f29

+ 1 - 1
components/main/Nav.vue

@@ -7,7 +7,7 @@
       <nuxt-link :to="'/'" class="item" exact>
         <span>首&nbsp;&nbsp;页</span>
       </nuxt-link>
-      <nuxt-link to="/product/brand?initial=ABC" class="item">
+      <nuxt-link to="/product/brand/brandList/ABC" class="item">
         <span>品牌中心</span>
       </nuxt-link>
       <nuxt-link to="/provider/factories" class="item">

+ 6 - 0
pages/product/brand.vue

@@ -1,3 +1,9 @@
 <template>
   <nuxt-child />
 </template>
+<script>
+
+export default {
+  layout: 'main'
+}
+</script>

+ 0 - 1
pages/product/brand/brandList.vue

@@ -45,7 +45,6 @@
   import { Recommends } from '~components/product'
 
   export default {
-    name: 'brand',
     layout: 'main',
     fetch ({store}) {
       return Promise.all([

+ 0 - 0
pages/product/brand/brandList/index.vue