commit | author | age
|
41b36f
|
1 |
import baseLayout from '../components/layouts/baseLayout.vue' |
I |
2 |
|
019990
|
3 |
import articleList from '../components/group/articleListScorll.vue' |
41b36f
|
4 |
|
I |
5 |
import main1 from '../components/swichLabel/main1-show.vue' |
|
6 |
import main2 from '../components/swichLabel/main2-show.vue' |
|
7 |
import main3 from '../components/swichLabel/main3-show.vue' |
06ee76
|
8 |
import main4 from '../components/swichLabel/main4-show.vue' |
6d1057
|
9 |
import login from '../components/swichLabel/main5-show.vue' |
41b36f
|
10 |
|
I |
11 |
import box1 from '../components/mini/box1-info.vue' |
|
12 |
import tagTime from '../components/mini/tagTime.vue' |
|
13 |
import tagInfo from '../components/mini/tagInfo.vue' |
b505f3
|
14 |
import boxFriend from '../components/mini/box-friend.vue' |
41b36f
|
15 |
import mdDetail from '../components/mini/mdDetail.vue' |
d3f921
|
16 |
|
I |
17 |
|
|
18 |
export const asyncRouterMap = [{ |
ad2b70
|
19 |
path: '*', |
L |
20 |
// redirect: '/404', |
|
21 |
component: () => import( /* webpackChunkName: "fail" */ '@/views/exception/404'), |
|
22 |
hidden: true |
d3f921
|
23 |
}, |
I |
24 |
{ |
ad2b70
|
25 |
path: '/', |
41b36f
|
26 |
component: baseLayout, |
ad2b70
|
27 |
children: [{ |
L |
28 |
path: '/', |
|
29 |
component: main1, |
|
30 |
children: [{ |
|
31 |
path: '/', |
41b36f
|
32 |
component: articleList, |
b505f3
|
33 |
props: true |
ad2b70
|
34 |
}, |
L |
35 |
{ |
|
36 |
path: '/box1', |
|
37 |
component: box1, |
56a4b8
|
38 |
}, |
I |
39 |
{ |
|
40 |
path: '/tagTime', |
|
41 |
component: tagTime, |
b505f3
|
42 |
props: true |
56a4b8
|
43 |
}, |
I |
44 |
{ |
|
45 |
path: '/tagInfo', |
|
46 |
component: tagInfo, |
|
47 |
}, |
|
48 |
{ |
|
49 |
path: '/mdDetail', |
|
50 |
component: mdDetail, |
b505f3
|
51 |
}, { |
I |
52 |
path: '/main4', |
|
53 |
component: boxFriend, |
ad2b70
|
54 |
} |
L |
55 |
] |
|
56 |
}, |
|
57 |
{ |
|
58 |
path: '/main1', |
|
59 |
component: main1, |
|
60 |
children: [{ |
|
61 |
path: '/', |
41b36f
|
62 |
component: articleList, |
ad2b70
|
63 |
}] |
L |
64 |
}, |
b505f3
|
65 |
|
ad2b70
|
66 |
{ |
L |
67 |
path: '/main2', |
|
68 |
component: main2, |
|
69 |
}, |
56a4b8
|
70 |
{ |
I |
71 |
path: '/main3', |
|
72 |
component: main3, |
|
73 |
}, |
06ee76
|
74 |
{ |
L |
75 |
path: '/main4', |
|
76 |
component: main4, |
6d1057
|
77 |
}, { |
I |
78 |
path: '/login', |
|
79 |
component: login, |
06ee76
|
80 |
}, |
b505f3
|
81 |
|
d3f921
|
82 |
|
I |
83 |
] |
|
84 |
}, |
ad2b70
|
85 |
|
L |
86 |
|
d3f921
|
87 |
] |
ad2b70
|
88 |
|
d3f921
|
89 |
|
I |
90 |
/** |
|
91 |
* 基础路由 |
|
92 |
* @type { *[] } |
|
93 |
*/ |
ad2b70
|
94 |
export const constantRouterMap = [{ |
d3f921
|
95 |
path: '/404', |
I |
96 |
component: () => import( /* webpackChunkName: "fail" */ '@/views/exception/404') |
|
97 |
} |
|
98 |
|
|
99 |
] |