1
1
module . exports = {
2
- APIS : [
2
+ UIVIEWS : [
3
3
{
4
4
title : 'ActionSheet' ,
5
5
description : '动作面板' ,
6
6
icon : 'https://zos.alipayobjects.com/rmsportal/sTvsgvivVKnqQtS.png' ,
7
7
module : require ( '../components/action-sheet/demo/basic' ) ,
8
8
} ,
9
+ {
10
+ title : 'Card' ,
11
+ description : '卡片' ,
12
+ icon : 'https://os.alipayobjects.com/rmsportal/kkQBRgZgcqSyMPS.png' ,
13
+ module : require ( '../components/card/demo/basic' ) ,
14
+ } ,
15
+ {
16
+ title : 'Drawer' ,
17
+ description : '抽屉' ,
18
+ icon : 'https://os.alipayobjects.com/rmsportal/kpbezGjgdRhGfMa.png' ,
19
+ module : require ( '../components/drawer/demo/basic' ) ,
20
+ } ,
21
+ {
22
+ title : 'List' ,
23
+ description : '列表' ,
24
+ icon : 'https://os.alipayobjects.com/rmsportal/wlNeoTpEKIpTcOW.png' ,
25
+ module : require ( '../components/list/demo/basic' ) ,
26
+ } ,
27
+ {
28
+ title : 'ListView' ,
29
+ description : '长列表' ,
30
+ icon : 'https://os.alipayobjects.com/rmsportal/wlNeoTpEKIpTcOW.png' ,
31
+ module : require ( '../components/list-view/demo/basic' ) ,
32
+ } ,
33
+ {
34
+ title : 'Modal' ,
35
+ description : '对话框' ,
36
+ icon : 'https://os.alipayobjects.com/rmsportal/AMszKQQdMvMmYng.png' ,
37
+ module : require ( '../components/modal/demo/basic' ) ,
38
+ } ,
39
+ {
40
+ title : 'Popover' ,
41
+ description : '浮动菜单' ,
42
+ icon : 'https://os.alipayobjects.com/rmsportal/HhilRXHawmUwlML.png' ,
43
+ module : require ( '../components/popover/demo/basic' ) ,
44
+ } ,
9
45
{
10
46
title : 'Popup' , // 必须
11
47
description : '弹出层' ,
@@ -19,30 +55,24 @@ module.exports = {
19
55
module : require ( '../components/toast/demo/basic' ) ,
20
56
} ,
21
57
] ,
22
- COMPONENTS : [
58
+ UICONTROLS : [
23
59
{
24
60
title : 'ActivityIndicator' ,
25
61
description : '活动指示器' ,
26
62
icon : 'https://zos.alipayobjects.com/rmsportal/ZLKbJvxVNSmsOwW.png' ,
27
63
module : require ( '../components/activity-indicator/demo/basic' ) ,
28
64
} ,
29
- {
30
- title : 'Badge' ,
31
- description : '徽标数' ,
32
- icon : 'https://os.alipayobjects.com/rmsportal/nSDcLEWgUrOkCJq.png' ,
33
- module : require ( '../components/badge/demo/basic' ) ,
34
- } ,
35
65
{
36
66
title : 'Button' ,
37
67
description : '按钮' ,
38
68
icon : 'https://os.alipayobjects.com/rmsportal/lOXYjfSRPpkwudh.png' ,
39
69
module : require ( '../components/button/demo/basic' ) ,
40
70
} ,
41
71
{
42
- title : 'Card ' ,
43
- description : '卡片 ' ,
44
- icon : 'https://os.alipayobjects.com/rmsportal/kkQBRgZgcqSyMPS .png' ,
45
- module : require ( '../components/card /demo/basic' ) ,
72
+ title : 'Badge ' ,
73
+ description : '徽标数 ' ,
74
+ icon : 'https://os.alipayobjects.com/rmsportal/nSDcLEWgUrOkCJq .png' ,
75
+ module : require ( '../components/badge /demo/basic' ) ,
46
76
} ,
47
77
{
48
78
title : 'Carousel' , // 必须
@@ -62,24 +92,6 @@ module.exports = {
62
92
icon : 'https://os.alipayobjects.com/rmsportal/XjBSEKVWMeIulGv.png' ,
63
93
module : require ( '../components/date-picker/demo/popup' ) ,
64
94
} ,
65
- {
66
- title : 'Drawer' ,
67
- description : '抽屉' ,
68
- icon : 'https://os.alipayobjects.com/rmsportal/kpbezGjgdRhGfMa.png' ,
69
- module : require ( '../components/drawer/demo/basic' ) ,
70
- } ,
71
- {
72
- title : 'Flex' ,
73
- description : 'Flex 布局' ,
74
- icon : 'https://os.alipayobjects.com/rmsportal/KZtGFWmnMUFpiSE.png' ,
75
- module : require ( '../components/flex/demo/basic' ) ,
76
- } ,
77
- {
78
- title : 'Popover' ,
79
- description : '浮动菜单' ,
80
- icon : 'https://os.alipayobjects.com/rmsportal/HhilRXHawmUwlML.png' ,
81
- module : require ( '../components/popover/demo/basic' ) ,
82
- } ,
83
95
{
84
96
title : 'ImagePicker' ,
85
97
description : '图片选择' ,
@@ -92,42 +104,6 @@ module.exports = {
92
104
icon : 'https://os.alipayobjects.com/rmsportal/aDugjLTLBeQffgX.png' ,
93
105
module : require ( '../components/input-item/demo/basic' ) ,
94
106
} ,
95
- {
96
- title : 'List' ,
97
- description : '列表' ,
98
- icon : 'https://os.alipayobjects.com/rmsportal/wlNeoTpEKIpTcOW.png' ,
99
- module : require ( '../components/list/demo/basic' ) ,
100
- } ,
101
- {
102
- title : 'ListView' ,
103
- description : '长列表' ,
104
- icon : 'https://os.alipayobjects.com/rmsportal/wlNeoTpEKIpTcOW.png' ,
105
- module : require ( '../components/list-view/demo/basic' ) ,
106
- } ,
107
- // {
108
- // title: 'Menu',
109
- // description: '菜单',
110
- // icon: 'https://os.alipayobjects.com/rmsportal/AMszKQQdMvMmYng.png',
111
- // module: require('../components/menu/demo/basic'),
112
- // },
113
- {
114
- title : 'Modal' ,
115
- description : '对话框' ,
116
- icon : 'https://os.alipayobjects.com/rmsportal/AMszKQQdMvMmYng.png' ,
117
- module : require ( '../components/modal/demo/basic' ) ,
118
- } ,
119
- {
120
- title : 'NoticeBar' ,
121
- description : '顶部提示' ,
122
- icon : 'https://os.alipayobjects.com/rmsportal/AraRKTSdXQbKkGv.png' ,
123
- module : require ( '../components/notice-bar/demo/basic' ) ,
124
- } ,
125
- {
126
- title : 'Pagination' ,
127
- description : '分页器' ,
128
- icon : 'https://zos.alipayobjects.com/rmsportal/VmTKwvaRaIWOXrh.png' ,
129
- module : require ( '../components/pagination/demo/basic' ) ,
130
- } ,
131
107
{
132
108
title : 'Picker' ,
133
109
description : '选择器' ,
@@ -141,10 +117,10 @@ module.exports = {
141
117
module : require ( '../components/progress/demo/basic' ) ,
142
118
} ,
143
119
{
144
- title : 'RefreshControl ' ,
145
- description : '下拉刷新 ' ,
146
- icon : 'https://os .alipayobjects.com/rmsportal/kmDibjGUbFrdeeY .png' ,
147
- module : require ( '../components/refresh-control /demo/basic' ) ,
120
+ title : 'Pagination ' ,
121
+ description : '分页器 ' ,
122
+ icon : 'https://zos .alipayobjects.com/rmsportal/VmTKwvaRaIWOXrh .png' ,
123
+ module : require ( '../components/pagination /demo/basic' ) ,
148
124
} ,
149
125
{
150
126
title : 'Radio' ,
@@ -153,16 +129,10 @@ module.exports = {
153
129
module : require ( '../components/radio/demo/basic' ) , // 必须
154
130
} ,
155
131
{
156
- title : 'SegmentedControl' ,
157
- description : '分段控制' ,
158
- icon : 'https://os.alipayobjects.com/rmsportal/oeOvbvMpweuBOvO.png' ,
159
- module : require ( '../components/segmented-control/demo/basic' ) ,
160
- } ,
161
- {
162
- title : 'SearchBar' ,
163
- description : '搜索条' ,
164
- icon : 'https://os.alipayobjects.com/rmsportal/WzZoGzTRKzQgMWi.png' ,
165
- module : require ( '../components/search-bar/demo/basic' ) ,
132
+ title : 'RefreshControl' ,
133
+ description : '下拉刷新' ,
134
+ icon : 'https://os.alipayobjects.com/rmsportal/kmDibjGUbFrdeeY.png' ,
135
+ module : require ( '../components/refresh-control/demo/basic' ) ,
166
136
} ,
167
137
{
168
138
title : 'Slider' ,
@@ -183,10 +153,10 @@ module.exports = {
183
153
module : require ( '../components/steps/demo/basic' ) , // 必须
184
154
} ,
185
155
{
186
- title : 'SwipeAction' , // 必须
187
- description : '滑动或长按操作 ' ,
188
- icon : 'https://os.alipayobjects.com/rmsportal/OJgqKyrKGdIEfwp .png' ,
189
- module : require ( '../components/swipe-action /demo/basic' ) ,
156
+ title : 'SegmentedControl' ,
157
+ description : '分段控制 ' ,
158
+ icon : 'https://os.alipayobjects.com/rmsportal/oeOvbvMpweuBOvO .png' ,
159
+ module : require ( '../components/segmented-control /demo/basic' ) ,
190
160
} ,
191
161
{
192
162
title : 'Switch' ,
@@ -195,10 +165,10 @@ module.exports = {
195
165
module : require ( '../components/switch/demo/basic' ) ,
196
166
} ,
197
167
{
198
- title : 'TabBar' ,
199
- description : 'APP 选项卡 ' ,
200
- icon : 'https://os.alipayobjects.com/rmsportal/oeOvbvMpweuBOvO .png' ,
201
- module : require ( '../components/tab-bar /demo/basic' ) ,
168
+ title : 'SwipeAction' , // 必须
169
+ description : '滑动或长按操作 ' ,
170
+ icon : 'https://os.alipayobjects.com/rmsportal/OJgqKyrKGdIEfwp .png' ,
171
+ module : require ( '../components/swipe-action /demo/basic' ) ,
202
172
} ,
203
173
{
204
174
title : 'Tabs' , // 必须
@@ -218,6 +188,14 @@ module.exports = {
218
188
icon : 'https://os.alipayobjects.com/rmsportal/aDugjLTLBeQffgX.png' ,
219
189
module : require ( '../components/textarea-item/demo/basic' ) ,
220
190
} ,
191
+ ] ,
192
+ OTHER : [
193
+ {
194
+ title : 'Flex' ,
195
+ description : 'Flex 布局' ,
196
+ icon : 'https://os.alipayobjects.com/rmsportal/KZtGFWmnMUFpiSE.png' ,
197
+ module : require ( '../components/flex/demo/basic' ) ,
198
+ } ,
221
199
{
222
200
title : 'WhiteSpace' ,
223
201
description : '上下留白' ,
@@ -231,4 +209,24 @@ module.exports = {
231
209
module : require ( '../components/wing-blank/demo/basic' ) ,
232
210
} ,
233
211
] ,
212
+ UIBARS : [
213
+ {
214
+ title : 'NoticeBar' ,
215
+ description : '顶部提示' ,
216
+ icon : 'https://os.alipayobjects.com/rmsportal/AraRKTSdXQbKkGv.png' ,
217
+ module : require ( '../components/notice-bar/demo/basic' ) ,
218
+ } ,
219
+ {
220
+ title : 'SearchBar' ,
221
+ description : '搜索条' ,
222
+ icon : 'https://os.alipayobjects.com/rmsportal/WzZoGzTRKzQgMWi.png' ,
223
+ module : require ( '../components/search-bar/demo/basic' ) ,
224
+ } ,
225
+ {
226
+ title : 'TabBar' ,
227
+ description : 'APP 选项卡' ,
228
+ icon : 'https://os.alipayobjects.com/rmsportal/oeOvbvMpweuBOvO.png' ,
229
+ module : require ( '../components/tab-bar/demo/basic' ) ,
230
+ } ,
231
+ ] ,
234
232
} ;
0 commit comments