提交 | 用户 | age
|
2f6253
|
1 |
import type { AppRouteModule } from '/@/router/types'; |
陈 |
2 |
|
|
3 |
import { PAGE_LAYOUT_COMPONENT } from '/@/router/constant'; |
|
4 |
|
fc4666
|
5 |
const feat: AppRouteModule = { |
2f6253
|
6 |
layout: { |
陈 |
7 |
path: '/feat', |
|
8 |
name: 'FeatDemo', |
|
9 |
component: PAGE_LAYOUT_COMPONENT, |
02d6a3
|
10 |
redirect: '/feat/icon', |
2f6253
|
11 |
meta: { |
66b561
|
12 |
icon: 'ic:outline-featured-play-list', |
77db3d
|
13 |
title: '页面功能', |
2f6253
|
14 |
}, |
陈 |
15 |
}, |
|
16 |
|
|
17 |
routes: [ |
|
18 |
{ |
949db9
|
19 |
path: '/icon', |
V |
20 |
name: 'IconDemo', |
f64568
|
21 |
component: () => import('/@/views/demo/feat/icon/index.vue'), |
949db9
|
22 |
meta: { |
V |
23 |
title: '图标', |
|
24 |
}, |
|
25 |
}, |
|
26 |
{ |
02d6a3
|
27 |
path: '/tabs', |
N |
28 |
name: 'TabsDemo', |
|
29 |
component: () => import('/@/views/demo/feat/tabs/index.vue'), |
|
30 |
meta: { |
|
31 |
title: '标签页操作', |
|
32 |
}, |
|
33 |
}, |
|
34 |
|
|
35 |
{ |
2f6253
|
36 |
path: '/context-menu', |
陈 |
37 |
name: 'ContextMenuDemo', |
|
38 |
component: () => import('/@/views/demo/feat/context-menu/index.vue'), |
|
39 |
meta: { |
|
40 |
title: '右键菜单', |
|
41 |
}, |
|
42 |
}, |
|
43 |
{ |
db3092
|
44 |
path: '/download', |
V |
45 |
name: 'DownLoadDemo', |
|
46 |
component: () => import('/@/views/demo/feat/download/index.vue'), |
|
47 |
meta: { |
|
48 |
title: '文件下载', |
|
49 |
}, |
|
50 |
}, |
|
51 |
{ |
949db9
|
52 |
path: '/click-out-side', |
V |
53 |
name: 'ClickOutSideDemo', |
f64568
|
54 |
component: () => import('/@/views/demo/feat/click-out-side/index.vue'), |
949db9
|
55 |
meta: { |
V |
56 |
title: 'ClickOutSide组件', |
|
57 |
}, |
|
58 |
}, |
|
59 |
{ |
2f6253
|
60 |
path: '/img-preview', |
陈 |
61 |
name: 'ImgPreview', |
|
62 |
component: () => import('/@/views/demo/feat/img-preview/index.vue'), |
|
63 |
meta: { |
|
64 |
title: '图片预览', |
|
65 |
}, |
|
66 |
}, |
|
67 |
{ |
|
68 |
path: '/copy', |
|
69 |
name: 'CopyDemo', |
|
70 |
component: () => import('/@/views/demo/feat/copy/index.vue'), |
|
71 |
meta: { |
|
72 |
title: '剪切板', |
|
73 |
}, |
|
74 |
}, |
|
75 |
{ |
|
76 |
path: '/msg', |
|
77 |
name: 'MsgDemo', |
|
78 |
component: () => import('/@/views/demo/feat/msg/index.vue'), |
|
79 |
meta: { |
|
80 |
title: '消息提示', |
|
81 |
}, |
|
82 |
}, |
|
83 |
{ |
|
84 |
path: '/i18n', |
|
85 |
name: 'I18nDemo', |
|
86 |
component: () => import('/@/views/demo/feat/i18n/index.vue'), |
|
87 |
meta: { |
|
88 |
title: '国际化', |
|
89 |
}, |
|
90 |
}, |
|
91 |
{ |
|
92 |
path: '/watermark', |
|
93 |
name: 'WatermarkDemo', |
|
94 |
component: () => import('/@/views/demo/feat/watermark/index.vue'), |
|
95 |
meta: { |
|
96 |
title: '水印', |
|
97 |
}, |
|
98 |
}, |
|
99 |
{ |
|
100 |
path: '/full-screen', |
|
101 |
name: 'FullScreenDemo', |
|
102 |
component: () => import('/@/views/demo/feat/full-screen/index.vue'), |
|
103 |
meta: { |
|
104 |
title: '全屏', |
|
105 |
}, |
|
106 |
}, |
31e271
|
107 |
{ |
bcab4b
|
108 |
path: '/error-log', |
V |
109 |
name: 'ErrorLog', |
|
110 |
component: () => import('/@/views/sys/error-log/index.vue'), |
|
111 |
meta: { |
|
112 |
title: '错误日志', |
|
113 |
}, |
|
114 |
}, |
|
115 |
{ |
31e271
|
116 |
path: '/testTab/:id', |
V |
117 |
name: 'TestTab', |
|
118 |
component: () => import('/@/views/demo/feat/tab-params/index.vue'), |
|
119 |
meta: { |
|
120 |
title: 'Tab带参', |
b8353f
|
121 |
carryParam: true, |
31e271
|
122 |
}, |
V |
123 |
}, |
2f6253
|
124 |
], |
fc4666
|
125 |
}; |
V |
126 |
|
|
127 |
export default feat; |