inleft
2022-02-21 63f5119bcc714c36fe8db21e5461d73eb5a0eaa0
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: '/',
4b854c 32                         name:"articleList",
41b36f 33                         component: articleList,
b505f3 34                         props: true
ad2b70 35                     },
L 36                     {
37                         path: '/box1',
38                         component: box1,
56a4b8 39                     },
I 40                     {
63f511 41                         name:"tagTime",
56a4b8 42                         path: '/tagTime',
I 43                         component: tagTime,
44                     },
45                     {
46                         path: '/tagInfo',
47                         component: tagInfo,
48                     },
49                     {
28d46d 50                         name:"mdDetail",
56a4b8 51                         path: '/mdDetail',
I 52                         component: mdDetail,
b505f3 53                     }, {
I 54                         path: '/main4',
55                         component: boxFriend,
ad2b70 56                     }
L 57                 ]
58             },
59             {
4b854c 60                 path: '/articleList',
ad2b70 61                 component: main1,
L 62                 children: [{
63                     path: '/',
4b854c 64                     name:"articleList",
41b36f 65                     component: articleList,
ad2b70 66                 }]
L 67             },
b505f3 68
ad2b70 69             {
L 70                 path: '/main2',
71                 component: main2,
72             },
56a4b8 73             {
I 74                 path: '/main3',
75                 component: main3,
76             },
06ee76 77             {
L 78                 path: '/main4',
79                 component: main4,
6d1057 80             }, {
I 81                 path: '/login',
82                 component: login,
06ee76 83             },
b505f3 84
d3f921 85
I 86         ]
87     },
ad2b70 88
L 89
d3f921 90 ]
ad2b70 91
d3f921 92
I 93 /**
94  * 基础路由
95  * @type { *[] }
96  */
ad2b70 97 export const constantRouterMap = [{
d3f921 98         path: '/404',
I 99         component: () => import( /* webpackChunkName: "fail" */ '@/views/exception/404')
100     }
101
102 ]