-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.js
81 lines (79 loc) · 1.92 KB
/
index.js
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
import Vue from 'vue'
import Router from 'vue-router'
import PublicHead from '@/components/PublicHead/index'
import ReceivingExchange from '@/views/ReceivingExchange/index'
Vue.use(Router)
export default new Router({
routes: [
{
path: '/login',
component: () =>
import('@/views/login/index'),
hidden: true
},
{
path: '/',
component: PublicHead,
redirect: '/homepage',
name: '系统首页公共组件',
children: [{
path: 'homepage',
name: '系统首页',
component: () =>
import('@/views/homepage/index'),
meta: {
title: '系统首页',
icon: 'table'
}
}, {
path: 'ReceivingExchange',
name: '领取兑换管理',
component: () =>
import('@/views/ReceivingExchange/index'),
meta: {
title: '领取兑换管理',
icon: 'table'
}
}, {
path: 'ActivityStatistics',
name: '活动统计',
component: () =>
import('@/views/ActivityStatistics/index'),
meta: {
title: '活动统计',
icon: 'table'
}
},
{
path: 'Exchangebill',
name: '每日兑换账单',
component: () =>
import('@/views/financialManagement/Exchangebill'),
meta: {
title: '每日兑换账单',
icon: 'table'
}
},
{
path: 'PaymentRecord',
name: '平台支付记录',
component: () =>
import('@/views/financialManagement/PaymentRecord'),
meta: {
title: '平台支付记录',
icon: 'table'
}
},
{
path: 'ModifyInformation',
name: '个人中心',
component: () =>
import('@/views/ModifyInformation/index'),
meta: {
title: '个人中心',
icon: 'table'
}
},
]
}]
})