Commit cadfb1c2a5b7cf5a1eccd4276465921d23853627
1 parent
beac0984
产品中心 建立目录
Showing
3 changed files
with
19 additions
and
0 deletions
src/components/commonHeaderFooter/VHeader.vue
| @@ -22,6 +22,7 @@ export default { | @@ -22,6 +22,7 @@ export default { | ||
| 22 | routerData:[ | 22 | routerData:[ |
| 23 | {name:'首页',pathLink:'/home'}, | 23 | {name:'首页',pathLink:'/home'}, |
| 24 | {name:'关于我们',pathLink:'/about'}, | 24 | {name:'关于我们',pathLink:'/about'}, |
| 25 | + {name:'产品中心',pathLink:'/product'}, | ||
| 25 | {name:'联系我们',pathLink:'/contact'}, | 26 | {name:'联系我们',pathLink:'/contact'}, |
| 26 | ] | 27 | ] |
| 27 | } | 28 | } |
src/router/index.js
| @@ -28,6 +28,11 @@ export default new Router({ | @@ -28,6 +28,11 @@ export default new Router({ | ||
| 28 | name: 'contact', | 28 | name: 'contact', |
| 29 | component: () => import('@/views/contact/index') | 29 | component: () => import('@/views/contact/index') |
| 30 | }, | 30 | }, |
| 31 | + { | ||
| 32 | + path: '/product', | ||
| 33 | + name: 'product', | ||
| 34 | + component: () => import('@/views/product') | ||
| 35 | + } | ||
| 31 | 36 | ||
| 32 | 37 | ||
| 33 | ] | 38 | ] |