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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
import Vue from "vue";
import VueRouter from "vue-router";
Vue.use(VueRouter);
const routes = [
{
path: "/my-status",
name: "MyStatus",
component: () => import("../views/my/myStatus.vue"),
meta: { title: "我的直推", noNav: false }
},
{
path: "/publish",
name: "Publish",
component: () => import("@/views/moments/publish"),
meta: { title: "发布资讯" }
},
{
path: "/moments",
name: "Moments",
component: () => import("@/views/moments/moments"),
meta: { title: "资讯", noNav: false }
},
{
path: "/cash-out",
name: "CashOut",
component: () => import("@/views/cashOut/cash-out"),
meta: { title: "提现" }
},
{
path: "/cash-out-record",
name: "CashOutRecord",
component: () => import("@/views/cashOut/cash-out-record"),
meta: { title: "提现记录" }
},
{
path: "/bank",
name: "Bank",
component: () => import("@/views/bank"),
meta: { title: "银行卡" }
},
{
path: "/income",
component: () => import("@/views/income/index"),
children: [
{
path: "detail",
name: "IncomeDetail",
component: () => import("@/views/income/income-detail"),
meta: { title: "收益明细查看" }
},
{
path: "wallet",
name: "Wallet",
component: () => import("@/views/income/wallet"),
meta: { title: "钱包" }
},
{
path: "all",
name: "AllIncomme",
component: () => import("@/views/income/allIncome"),
meta: { title: "累计收益" }
}
]
},
{
path: "/rewards",
component: () => import("@/views/rewards/index"),
children: [
{
path: "fastest-progress",
name: "FastestProgress",
component: () => import("@/views/rewards/fastest-progress"),
meta: { title: "进步奖", noNav: true }
},
{
path: "month-award",
name: "MonthAward",
component: () => import("@/views/rewards/month-award"),
meta: { title: "月度奖励", noNav: true }
}
]
},
{
path: "/instructions",
name: "Instructions",
component: () => import("@/views/instructions"),
meta: { title: "用户协议" }
},
{
path: "/settings",
name: "Settings",
component: () => import("@/views/settings"),
meta: { title: "设置" }
},
{
path: "/modefy-avatar",
name: "ModefyAvatar",
component: () => import("@/views/modefyAvatar"),
meta: { title: "更换头像" }
},
{
path: "/grade",
name: "Grade",
component: () => import("@/views/grade"),
meta: { title: "森林状态", noNav: true }
},
{
path: "/leagueNums",
name: "LeagueNums",
component: () => import("@/views/leagueNums"),
meta: { title: "团队详情", noNav: true }
},
{
path: "/canCashOut",
name: "CanCashOut",
component: () => import("@/views/canCashOut"),
meta: { title: "可提现", noNav: true }
},
{
path: "/airDrop",
name: "AirDrop",
component: () => import("@/views/airDropPool"),
meta: { title: "空投池", noNav: true }
},
{
path: "/",
name: "Router",
component: () => import("@/views/router"),
meta: { title: "路径导航", noNav: true }
},
{
path: "/register",
name: "Register",
component: () => import("@/views/register"),
meta: { title: "注册", noNav: true }
},
{
path: "/customer",
name: "CustomerService",
component: () => import("@/views/customer-service"),
meta: { title: "专属客服", noNav: true }
},
{
path: "/invite",
name: "Invite",
component: () => import("@/views/invite"),
meta: { title: "邀请码", noNav: true }
},
{
path: "/aboutUs",
name: "AboutUs",
component: () => import("@/views/aboutUs"),
meta: { title: "公司简介", noNav: false }
}
];
const router = new VueRouter({
mode: "history",
base: process.env.BASE_URL,
routes
});
export default router;