portal.js
2.67 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
import Layout from '@/layout/'
const portalRouter = {
path: '/portal',
component: Layout,
name: 'portal',
meta: {
icon: 'profile',
title: '门户管理'
},
children: [{
path: '/portal/carousel',
name: 'carouselManage',
exact: true,
meta: {
title: '轮播图'
},
component: () => import( /* webpackChunkName: "carousel" */ '@/views/portalManage/carousel/index.vue'), // 轮播图
},
{
path: '/portal/carouselInsert',
name: 'CarouselInsert',
exact: false,
meta: {
title: '轮播图新增'
},
component: () => import( /* webpackChunkName: "carouselInsert" */ '@/views/portalManage/carousel/operation.vue'), // 轮播图新增
},
{
path: '/portal/carouselEdit',
name: 'CarouselEdit',
exact: true,
meta: {
title: '轮播图编辑'
},
component: () => import( /* webpackChunkName: "carouselEdit" */ '@/views/portalManage/carousel/operation.vue'), // 轮播图编辑
},
{
path: '/portal/openScreen',
name: 'OpenScreen',
exact: true,
meta: {
title: '开屏图'
},
component: () => import( /* webpackChunkName: "openScreen" */ '@/views/portalManage/openscreen/index.vue'), // 开屏图
},
{
path: '/portal/openScreenInsert',
name: 'OpenScreenInsert',
exact: false,
meta: {
title: '开屏图新增'
},
component: () => import( /* webpackChunkName: "openScreenInsert" */ '@/views/portalManage/openscreen/operation.vue'), // 开屏图新增
},
{
path: '/portal/openScreenEdit',
name: 'OpenScreenEdit',
exact: true,
meta: {
title: '开屏图编辑'
},
component: () => import( /* webpackChunkName: "openScreenEdit" */ '@/views/portalManage/openscreen/operation.vue'), // 开屏图编辑
},
{
path: '/portal/iconManage',
name: 'IconManage',
exact: true,
meta: {
title: 'ICON'
},
component: () => import( /* webpackChunkName: "iconManage" */ '@/views/portalManage/icon/index.vue'), // ICON
},
{
path: '/portal/iconInsert',
name: 'IconInsert',
exact: false,
meta: {
title: 'ICON新增'
},
component: () => import( /* webpackChunkName: "iconInsert" */ '@/views/portalManage/icon/operation.vue'), // 开屏图新增
},
{
path: '/portal/iconEdit',
name: 'iconEdit',
exact: true,
meta: {
title: 'ICON编辑'
},
component: () => import( /* webpackChunkName: "iconEdit" */ '@/views/portalManage/icon/operation.vue'), // 开屏图编辑
},
]
}
export default portalRouter;