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 |
|
846bd0
|
5 |
import main1 from '../components/swichLabel/main1-home.vue' |
56fe69
|
6 |
import platform from '../components/swichLabel/main2-music-search.vue' |
41b36f
|
7 |
import main3 from '../components/swichLabel/main3-show.vue' |
846bd0
|
8 |
import link from '../components/swichLabel/main4-link.vue' |
I |
9 |
import login from '../components/swichLabel/main5-login.vue' |
|
10 |
import comment from '../components/swichLabel/main6-comment.vue' |
41b36f
|
11 |
|
6461f5
|
12 |
import platformGroup from '../components/group/platformGroup.vue' |
I |
13 |
|
41b36f
|
14 |
import box1 from '../components/mini/box1-info.vue' |
I |
15 |
import tagTime from '../components/mini/tagTime.vue' |
|
16 |
import tagInfo from '../components/mini/tagInfo.vue' |
b505f3
|
17 |
import boxFriend from '../components/mini/box-friend.vue' |
41b36f
|
18 |
import mdDetail from '../components/mini/mdDetail.vue' |
859ec7
|
19 |
import videoDetail from '../components/mini/box16-videoDetail.vue' |
I |
20 |
import videoList from '../components/mini/box14-video.vue' |
d3f921
|
21 |
|
I |
22 |
|
|
23 |
export const asyncRouterMap = [{ |
ad2b70
|
24 |
path: '*', |
74344a
|
25 |
redirect: '/404', |
I |
26 |
// component: () => import( /* webpackChunkName: "fail" */ '@/views/exception/404'), |
ad2b70
|
27 |
hidden: true |
d3f921
|
28 |
}, |
I |
29 |
{ |
ad2b70
|
30 |
path: '/', |
41b36f
|
31 |
component: baseLayout, |
ad2b70
|
32 |
children: [{ |
L |
33 |
path: '/', |
|
34 |
component: main1, |
|
35 |
children: [{ |
|
36 |
path: '/', |
74344a
|
37 |
name: "home", |
41b36f
|
38 |
component: articleList, |
b505f3
|
39 |
props: true |
ad2b70
|
40 |
}, |
L |
41 |
{ |
|
42 |
path: '/box1', |
|
43 |
component: box1, |
56a4b8
|
44 |
}, |
I |
45 |
{ |
81c155
|
46 |
name: "tagTime", |
56a4b8
|
47 |
path: '/tagTime', |
I |
48 |
component: tagTime, |
81c155
|
49 |
}, |
I |
50 |
{ |
|
51 |
name: "comment", |
|
52 |
path: '/comment', |
|
53 |
component: comment, |
56a4b8
|
54 |
}, |
I |
55 |
{ |
|
56 |
path: '/tagInfo', |
|
57 |
component: tagInfo, |
|
58 |
}, |
|
59 |
{ |
81c155
|
60 |
name: "mdDetail", |
56a4b8
|
61 |
path: '/mdDetail', |
I |
62 |
component: mdDetail, |
b505f3
|
63 |
}, { |
f60b31
|
64 |
path: '/link', |
b505f3
|
65 |
component: boxFriend, |
74344a
|
66 |
}, |
I |
67 |
{ |
|
68 |
path: '/404', |
|
69 |
component: () => import('@/views/exception/404') |
ad2b70
|
70 |
} |
L |
71 |
] |
|
72 |
}, |
|
73 |
{ |
4b854c
|
74 |
path: '/articleList', |
ad2b70
|
75 |
component: main1, |
L |
76 |
children: [{ |
|
77 |
path: '/', |
81c155
|
78 |
name: "articleList", |
41b36f
|
79 |
component: articleList, |
ad2b70
|
80 |
}] |
L |
81 |
}, |
|
82 |
{ |
56fe69
|
83 |
path: '/platform', |
I |
84 |
component: platform, |
38a800
|
85 |
children: [ |
I |
86 |
// { |
|
87 |
// path: '/', |
|
88 |
// name: "videoList", |
|
89 |
// component: videoList, |
|
90 |
// }, |
|
91 |
{ |
859ec7
|
92 |
path: '/', |
6461f5
|
93 |
name: "platformGroup", |
I |
94 |
component: platformGroup, |
38a800
|
95 |
}, |
I |
96 |
|
|
97 |
{ |
859ec7
|
98 |
path: '/videoDetail', |
I |
99 |
name: "videoDetail", |
|
100 |
component: videoDetail, |
|
101 |
}] |
ad2b70
|
102 |
}, |
56a4b8
|
103 |
{ |
I |
104 |
path: '/main3', |
|
105 |
component: main3, |
|
106 |
}, |
06ee76
|
107 |
{ |
f60b31
|
108 |
path: '/link', |
I |
109 |
component: link, |
6d1057
|
110 |
}, { |
I |
111 |
path: '/login', |
|
112 |
component: login, |
06ee76
|
113 |
}, |
b505f3
|
114 |
|
d3f921
|
115 |
|
I |
116 |
] |
|
117 |
}, |
ad2b70
|
118 |
|
L |
119 |
|
d3f921
|
120 |
] |
ad2b70
|
121 |
|
d3f921
|
122 |
|
I |
123 |
/** |
|
124 |
* 基础路由 |
|
125 |
* @type { *[] } |
|
126 |
*/ |
ad2b70
|
127 |
export const constantRouterMap = [{ |
74344a
|
128 |
// path: '/404', |
I |
129 |
// component: () => import( /* webpackChunkName: "fail" */ '@/views/exception/404') |
d3f921
|
130 |
} |
I |
131 |
|
|
132 |
] |