1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
| {
| "block": {
| "description": "block节点"
| },
| "view": {
| "description": "基本视图容器",
| "attributes": [
| "hover-class",
| "hover-stop-propagation",
| "hover-start-time",
| "hover-stay-time"
| ]
| },
| "scroll-view": {
| "description": "可滚动视图区域",
| "attributes": [
| "scroll-x",
| "scroll-y",
| "upper-threshold",
| "lower-threshold",
| "scroll-top",
| "scroll-left",
| "scroll-into-view",
| "scroll-with-animation",
| "enable-back-to-top",
| "scroll-x",
| "scroll-x"
| ]
| },
| "match-media": {
| "description": "media query 匹配检测节点",
| "attributes": [
| "width",
| "min-width",
| "max-width",
| "height",
| "min-height",
| "max-height",
| "orientation"
| ]
| },
| "swiper": {
| "description": "滑块视图容器",
| "attributes": [
| "indicator-dots",
| "indicator-color",
| "indicator-active-color",
| "active-class",
| "changing-class",
| "acceleration",
| "disable-programmatic-animation",
| "disable-touch",
| "touchable",
| "easing-function",
| "autoplay",
| "current",
| "current-item-id",
| "interval",
| "duration",
| "circular",
| "vertical",
| "previous-margin",
| "next-margin",
| "display-multiple-items",
| "skip-hidden-item-layout"
| ]
| },
| "swiper-item": {
| "description": "仅可放置在 swiper 组件中,宽高自动设置为100%",
| "attributes": [
| "item-id"
| ]
| },
| "movable-view": {
| "description": "可移动的视图容器,在页面中可以拖拽滑动",
| "attributes": [
| "direction",
| "inertia",
| "out-of-bounds",
| "x",
| "y",
| "damping",
| "friction",
| "disabled",
| "scale",
| "scale-min",
| "scale-max",
| "scale-value",
| "animation"
| ]
| },
| "movable-area": {
| "description": "movable-view 的可移动区域",
| "attributes": []
| },
| "text": {
| "description": "文本",
| "attributes": [
| "selectable",
| "space",
| "decode"
| ]
| },
| "rich-text": {
| "description": "富文本",
| "attributes": [
| "nodes"
| ]
| },
| "progress": {
| "description": "进度条",
| "attributes": [
| "percent",
| "show-info",
| "stroke-width",
| "color",
| "activeColor",
| "backgroundColor",
| "active",
| "active-mode"
| ]
| },
| "button": {
| "description": "按钮",
| "attributes": [
| "disabled",
| "hover-class",
| "hover-stop-propagation",
| "hover-start-time",
| "hover-stay-time",
| "size",
| "type",
| "plain",
| "loading",
| "form-type",
| "open-type",
| "lang",
| "session-from",
| "send-message-title",
| "send-message-path",
| "send-message-img",
| "show-message-card",
| "app-parameter"
| ]
| },
| "checkbox-group": {
| "description": "多项选择器,内部由多个checkbox组成",
| "attributes": []
| },
| "checkbox": {
| "description": "多选项目",
| "attributes": [
| "disabled",
| "value",
| "checked",
| "color"
| ]
| },
| "form": {
| "description": "表单",
| "attributes": [
| "disabled",
| "report-submit"
| ]
| },
| "input": {
| "description": "输入框",
| "attributes": [
| "disabled",
| "value",
| "type",
| "password",
| "placeholder",
| "placeholder-style",
| "placeholder-class",
| "maxlength",
| "cursor-spacing",
| "auto-focus",
| "focus",
| "confirm-type",
| "confirm-hold",
| "cursor",
| "selection-start",
| "selection-end",
| "adjust-position"
| ]
| },
| "label": {
| "description": "用来改进表单组件的可用性,使用for属性找到对应的id,或者将控件放在该标签下,当点击时,就会触发对应的控件",
| "attributes": [
| "disabled",
| "for"
| ]
| },
| "picker": {
| "description": "从底部弹起的滚动选择器,现支持五种选择器,通过mode来区分,分别是普通选择器,多列选择器,时间选择器,日期选择器,省市区选择器,默认是普通选择器。",
| "attributes": [
| "disabled",
| "mode",
| "range",
| "range-key",
| "value",
| "start",
| "end",
| "fields",
| "custom-item"
| ]
| },
| "picker-view": {
| "description": "嵌入页面的滚动选择器",
| "attributes": [
| "disabled",
| "value",
| "indicator-style",
| "indicator-class",
| "mask-style",
| "mask-class"
| ]
| },
| "radio-group": {
| "description": "单项选择器,内部由多个 radio 组成",
| "attributes": [
| "disabled"
| ]
| },
| "radio": {
| "description": "单选项目",
| "attributes": [
| "disabled",
| "value",
| "checked",
| "color"
| ]
| },
| "slider": {
| "description": "滑动选择器",
| "attributes": [
| "disabled",
| "min",
| "max",
| "step",
| "value",
| "color",
| "select-color",
| "activeColor",
| "backgroundColor",
| "block-size",
| "block-color",
| "show-value"
| ]
| },
| "switch": {
| "description": "开关选择器",
| "attributes": [
| "checked",
| "type",
| "color",
| "disabled"
| ]
| },
| "textarea": {
| "description": "多行输入框",
| "attributes": [
| "display",
| "value",
| "placeholder",
| "placeholder-style",
| "placeholder-class",
| "maxlength",
| "auto-focus",
| "focus",
| "cursor",
| "confirm-type",
| "auto-height",
| "fixed",
| "cursor-spacing",
| "show-confirm-bar",
| "selection-start",
| "selection-end",
| "adjust-position"
| ]
| },
| "navigator": {
| "description": "页面链接",
| "attributes": [
| "target",
| "url",
| "open-type",
| "delta",
| "app-id",
| "path",
| "extra-data",
| "version",
| "animation-type",
| "animation-duration",
| "hover-class",
| "hover-stop-propagation",
| "hover-start-time",
| "hover-stay-time"
| ]
| },
| "audio": {
| "description": "音频",
| "attributes": [
| "loop",
| "src",
| "controls",
| "poster",
| "name",
| "author"
| ]
| },
| "image": {
| "description": "图片",
| "attributes": [
| "loop",
| "src",
| "mode",
| "lazy-load",
| "fade-show",
| "webp",
| "show-menu-by-longpress"
| ]
| },
| "video": {
| "description": "视频",
| "attributes": [
| "loop",
| "src",
| "initial-time",
| "duration",
| "controls",
| "danmu-list",
| "danmu-btn",
| "enable-danmu",
| "autoplay",
| "muted",
| "page-gesture",
| "direction",
| "show-progress",
| "show-fullscreen-btn",
| "show-play-btn",
| "show-center-play-btn",
| "enable-progress-gesture",
| "objectFit",
| "poster",
| "show-mute-btn",
| "title",
| "play-btn-position",
| "enable-play-gesture",
| "auto-pause-if-navigate",
| "auto-pause-if-open-native",
| "vslide-gesture",
| "vslide-gesture-in-fullscreen",
| "ad-unit-id",
| "poster-for-crawler",
| "codec",
| "http-cache",
| "play-strategy"
| ]
| },
| "map": {
| "description": "地图",
| "attributes": [
| "longitude",
| "latitude",
| "scale",
| "markers",
| "covers",
| "polyline",
| "circles",
| "controls",
| "include-points",
| "show-location"
| ]
| },
| "canvas": {
| "description": "画布",
| "attributes": [
| "canvas-id",
| "disable-scroll"
| ]
| },
| "web-view": {
| "description": "承载网页的容器",
| "attributes": [
| "src",
| "webview-styles"
| ]
| },
| "cover-view": {
| "description": "覆盖在原生组件之上的文本视图,可覆盖的原生组件包括map、video、canvas、camera,只支持嵌套cover-view、cover-image",
| "attributes": []
| },
| "cover-image": {
| "description": "覆盖在原生组件之上的图片视图,可覆盖的原生组件同cover-view,支持嵌套在cover-view里。",
| "attributes": [
| "v-for",
| "v-if",
| "v-show",
| "src"
| ]
| },
| "icon": {
| "description": "图标",
| "attributes": [
| "type",
| "size",
| "color"
| ]
| },
| "picker-view-column": {
| "description": "仅可放置于 picker-view 中,其孩子节点的高度会自动设置成与picker-view的选中框的高度一致",
| "attributes": [
| "disabled"
| ]
| },
| "camera": {
| "description": "相机组件",
| "attributes": [
| "flash",
| "device-position"
| ]
| },
| "live-player": {
| "description": "实时音视频播放",
| "attributes": [
| "src",
| "mode",
| "autoplay",
| "muted",
| "orientation",
| "object-fit",
| "background-mute",
| "min-cache",
| "max-cache"
| ]
| },
| "live-pusher": {
| "description": "实时音视频录制",
| "attributes": [
| "url",
| "mode",
| "autopush",
| "muted",
| "enable-camera",
| "auto-focus",
| "orientation",
| "beauty",
| "aspect",
| "min-bitrate",
| "max-bitrate",
| "waiting-image",
| "waiting-image-md5",
| "background-mute"
| ]
| },
| "open-data": {
| "description": "用于展示微信开放的数据",
| "attributes": [
| "type",
| "open-gid",
| "lang"
| ]
| },
| "ad": {
| "description": "广告",
| "attributes": [
| "adpid"
| ]
| },
| "ad-draw": {
| "description": "Draw 信息流广告",
| "attributes": [
| "adpid"
| ]
| },
| "navigation-bar": {
| "description": "页面导航条配置节点",
| "attributes": [
| "title",
| "title-icon",
| "titleIcon-radius",
| "subtitle-text",
| "subtitle-size",
| "subtitle-color",
| "subtitle-overflow",
| "title-align",
| "background-image",
| "background-repeat",
| "blur-effect",
| "loading",
| "front-color",
| "background-color",
| "color-animation-duration",
| "color-animation-timing-func"
| ]
| },
| "custom-tab-bar": {
| "description": "自定义tabBar",
| "attributes": [
| "direction",
| "show-icon",
| "selected"
| ]
| },
| "page-meta": {
| "description": "自定义tabBar",
| "attributes": [
| "background-text-style",
| "background-color",
| "background-color-top",
| "background-color-bottom",
| "scroll-top",
| "scroll-duration",
| "page-style",
| "root-font-size",
| "enable-pull-down-refresh"
| ]
| },
| "editor": {
| "description": "富文本编辑器,可以对图片、文字进行编辑。",
| "attributes": [
| "read-only",
| "placeholder",
| "show-img-size",
| "show-img-toolbar",
| "show-img-resize"
| ]
| },
| "unicloud-db": {
| "description": "是一个数据库查询组件,它是对uni-clientdb的js库的再封装。",
| "attributes": [
| "collection",
| "field",
| "where",
| "action",
| "orderby",
| "groupby",
| "group-field",
| "distinct",
| "page-data",
| "page-current",
| "page-size",
| "getone",
| "getcount",
| "gettree",
| "startwith",
| "limitlevel",
| "manual"
| ]
| }
| }
|
|