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