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