parent
4188d35f66
commit
3eab7657eb
10 changed files with 78 additions and 2517 deletions
After Width: | Height: | Size: 81 KiB |
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1,14 +0,0 @@ |
|||||||
import BasicLayout from '@/layouts/home'; |
|
||||||
|
|
||||||
export default { |
|
||||||
path: '/about', |
|
||||||
component: BasicLayout, |
|
||||||
children: [ |
|
||||||
{ |
|
||||||
name: `about`, |
|
||||||
path: `/about`, |
|
||||||
component: () => import('@/pages/about'), |
|
||||||
meta: { title: '关于我们' } |
|
||||||
}, |
|
||||||
] |
|
||||||
}; |
|
@ -1,14 +0,0 @@ |
|||||||
import BasicLayout from '@/layouts/home' |
|
||||||
const name = 'home' |
|
||||||
export default { |
|
||||||
path: `/${name}`, |
|
||||||
component: BasicLayout, |
|
||||||
children: [ |
|
||||||
{ |
|
||||||
name, |
|
||||||
path: `/${name}`, |
|
||||||
component: () => import(`@/pages/${name}`), |
|
||||||
meta: { title: '' } |
|
||||||
} |
|
||||||
] |
|
||||||
}; |
|
@ -0,0 +1,28 @@ |
|||||||
|
import BasicLayout from "@/layouts/home"; |
||||||
|
|
||||||
|
const meta = {}; |
||||||
|
|
||||||
|
const pre = "index-"; |
||||||
|
|
||||||
|
export default { |
||||||
|
path: "/index", |
||||||
|
name: "index", |
||||||
|
redirect: { |
||||||
|
name: `index` |
||||||
|
}, |
||||||
|
meta, |
||||||
|
component: BasicLayout, |
||||||
|
children: [ |
||||||
|
{ |
||||||
|
name: 'index', |
||||||
|
path: `/index`, |
||||||
|
component: () => import("@/pages/index/list"), |
||||||
|
meta: { title: "首页" } |
||||||
|
}, |
||||||
|
{ |
||||||
|
path: `show`, |
||||||
|
component: () => import("@/pages/index/show"), |
||||||
|
meta: { title: "产品详情" } |
||||||
|
}, |
||||||
|
] |
||||||
|
}; |
@ -1,27 +0,0 @@ |
|||||||
import BasicLayout from "@/layouts/home"; |
|
||||||
|
|
||||||
const meta = {}; |
|
||||||
|
|
||||||
const pre = "product-"; |
|
||||||
|
|
||||||
export default { |
|
||||||
path: "/product", |
|
||||||
name: "product", |
|
||||||
redirect: { |
|
||||||
name: `${pre}list` |
|
||||||
}, |
|
||||||
meta, |
|
||||||
component: BasicLayout, |
|
||||||
children: [ |
|
||||||
{ |
|
||||||
path: `list`, |
|
||||||
component: () => import("@/pages/product/list"), |
|
||||||
meta: { title: "产品中心" } |
|
||||||
}, |
|
||||||
{ |
|
||||||
path: `show`, |
|
||||||
component: () => import("@/pages/product/show"), |
|
||||||
meta: { title: "产品详情" } |
|
||||||
}, |
|
||||||
] |
|
||||||
}; |
|
Loading…
Reference in new issue