Commit cadfb1c2a5b7cf5a1eccd4276465921d23853627

Authored by liuqimichale
1 parent beac0984

产品中心 建立目录

src/components/commonHeaderFooter/VHeader.vue
... ... @@ -22,6 +22,7 @@ export default {
22 22 routerData:[
23 23 {name:'首页',pathLink:'/home'},
24 24 {name:'关于我们',pathLink:'/about'},
  25 + {name:'产品中心',pathLink:'/product'},
25 26 {name:'联系我们',pathLink:'/contact'},
26 27 ]
27 28 }
... ...
src/router/index.js
... ... @@ -28,6 +28,11 @@ export default new Router({
28 28 name: 'contact',
29 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 ]
... ...
src/views/product/index.vue 0 → 100644
  1 +<template>
  2 + <div>产品中心</div>
  3 +</template>
  4 +
  5 +<script>
  6 +export default {
  7 + name: 'index'
  8 +}
  9 +</script>
  10 +
  11 +<style scoped lang="scss">
  12 +
  13 +</style>
... ...