-
Notifications
You must be signed in to change notification settings - Fork 3
/
completions.json
4620 lines (4620 loc) · 138 KB
/
completions.json
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
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"tags": {
"view": {
"attributes": [
"class",
"id",
"hover-class",
"hover-stop-propagation",
"hover-start-time",
"hover-stay-time"
],
"description": "视图容器。"
},
"scroll-view": {
"attributes": [
"class",
"id",
"scroll-x",
"scroll-y",
"upper-threshold",
"lower-threshold",
"scroll-top",
"scroll-left",
"scroll-into-view",
"scroll-with-animation",
"enable-back-to-top",
"bindscrolltoupper",
"bindscrolltolower",
"bindscroll"
],
"description": "可滚动视图区域。"
},
"swiper": {
"attributes": [
"indicator-dots",
"indicator-color",
"indicator-active-color",
"autoplay",
"current",
"current-item-id",
"interval",
"duration",
"circular",
"vertical",
"previous-margin",
"next-margin",
"display-multiple-items",
"skip-hidden-item-layout",
"bindchange",
"bindanimationfinish"
],
"description": "滑块视图容器。"
},
"swiper-item": {
"attributes": [
"swiper-item"
],
"description": "仅可放置在<swiper/>组件中,宽高自动设置为100%。"
},
"movable-view": {
"attributes": [
"direction",
"inertia",
"out-of-bounds",
"x",
"y",
"damping",
"friction",
"disabled",
"scale",
"scale-min",
"scale-max",
"scale-value",
"animation",
"bindchange",
"bindscale",
"htouchmove",
"vtouchmove"
],
"description": "可移动的视图容器,在页面中可以拖拽滑动"
},
"movable-area": {
"attributes": [
"scale-area"
],
"description": "movable-view 的可移动区域"
},
"cover-view": {
"attributes": [
"scroll-top"
],
"description": "覆盖在原生组件之上的文本视图,可覆盖的原生组件包括map、video、canvas、camera、live-player、live-pusher,只支持嵌套cover-view、cover-image。"
},
"cover-image": {
"attributes": [
"src",
"bindload",
"binderror"
],
"description": "覆盖在原生组件之上的图片视图,可覆盖的原生组件同cover-view,支持嵌套在cover-view里。"
},
"icon": {
"attributes": [
"type",
"size",
"color"
],
"description":"图标。"
},
"text": {
"attributes": [
"selectable",
"space",
"decode"
],
"description":""
},
"rich-text": {
"attributes": [
"nodes"
],
"description":"富文本。"
},
"progress": {
"attributes": [
"percent",
"show-info",
"stroke-width",
"color",
"activeColor",
"backgroundColor",
"active",
"active-mode"
],
"description":"进度条。"
},
"button": {
"attributes": [
"size",
"type",
"plain",
"disabled",
"loading",
"form-type",
"open-type",
"hover-class",
"hover-stop-propagation",
"hover-start-time",
"hover-stay-time",
"lang",
"bindgetuserinfo",
"session-from",
"send-message-title",
"send-message-path",
"send-message-img",
"show-message-card",
"bindcontact",
"bindgetphonenumber",
"app-parameter",
"binderror",
"bindopensetting"
],
"description": "按钮。"
},
"checkbox": {
"attributes": [
"value",
"disabled",
"checked",
"color"
],
"description":"多选项目。"
},
"checkbox-group": {
"attributes": [
"bindchange"
],
"description":"多项选择器,内部由多个checkbox组成。"
},
"form": {
"attributes": [
"report-submit",
"bindsubmit",
"bindreset"
],
"description":""
},
"input": {
"attributes": [
"value",
"type",
"password",
"placeholder",
"placeholder-style",
"placeholder-class",
"disabled",
"maxlength",
"cursor-spacing",
"auto-focus",
"focus",
"confirm-type",
"confirm-hold",
"cursor",
"selection-start",
"selection-end",
"adjust-position",
"bindinput",
"bindfocus",
"bindblur",
"bindconfirm"
],
"description":"输入框。"
},
"label": {
"attributes": [
"for"
],
"description":"用来改进表单组件的可用性,使用<b>for</b>属性找到对应的id,或者将控件放在该标签下,当点击时,就会触发对应的控件。for优先级高于内部控件,内部有多个控件的时候默认触发第一个控件。目前可以绑定的控件有:<button/>, <checkbox/>, <radio/>, <switch/>。"
},
"picker": {
"attributes": [
"mode",
"range",
"range-key",
"value",
"bindchange",
"disabled",
"bindcancel",
"bindcolumnchange",
"start",
"end",
"fields",
"custom-item"
],
"description":"从底部弹起的滚动选择器,现支持五种选择器,通过mode来区分,分别是普通选择器,多列选择器,时间选择器,日期选择器,省市区选择器,默认是普通选择器。"
},
"picker-view": {
"attributes": [
"value",
"indicator-style",
"indicator-class",
"mask-style",
"mask-class",
"bindchange"
],
"description":"嵌入页面的滚动选择器"
},
"picker-view-column": {
"description": "仅可放置于<picker-view />中,其孩子节点的高度会自动设置成与picker-view的选中框的高度一致"
},
"radio": {
"attributes": [
"value",
"checked",
"disabled",
"color"
],
"description":"单选项目"
},
"radio-group": {
"attributes": [
"bindchange"
],
"description":"单项选择器,内部由多个<radio/>组成。"
},
"slider": {
"attributes": [
"min",
"max",
"step",
"disabled",
"value",
"color",
"selected-color",
"activeColor",
"backgroundColor",
"block-size",
"block-color",
"show-value",
"bindchange",
"bindchanging"
],
"description":""
},
"switch": {
"attributes": [
"checked",
"type",
"bindchange",
"color"
],
"description":"开关选择器。"
},
"textarea": {
"attributes": [
"value",
"placeholder",
"placeholder-style",
"placeholder-class",
"disabled",
"maxlength",
"auto-focus",
"focus",
"auto-height",
"fixed",
"cursor-spacing",
"cursor",
"show-confirm-bar",
"selection-start",
"selection-end",
"adjust-position",
"bindfocus",
"bindblur",
"bindlinechange",
"bindinput",
"bindconfirm"
],
"description":"多行输入框。"
},
"navigator": {
"attributes": [
"target",
"url",
"open-type",
"delta",
"app-id",
"path",
"extra-data",
"version"
],
"description":"页面链接。"
},
"functional-page-navigator": {
"attributes": [
"version",
"name",
"args",
"bindsuccess",
"bindfail"
],
"description":""
},
"audio": {
"attributes": [
"id",
"src",
"loop",
"controls",
"poster",
"name",
"author",
"binderror",
"bindplay",
"bindpause",
"bindtimeupdate",
"bindended"
],
"description": "音频。注意:1.6.0 版本开始,该组件不再维护。建议使用能力更强的 wx.createInnerAudioContext 接口"
},
"image": {
"attributes": [
"src",
"mode",
"lazy-load",
"binderror",
"bindload"
],
"description":"图片。"
},
"video": {
"attributes": [
"src",
"initial-time",
"duration",
"controls",
"danmu-list",
"danmu-btn",
"enable-danmu",
"autoplay",
"loop",
"muted",
"page-gesture",
"direction",
"show-progress",
"show-fullscreen-btn",
"show-play-btn",
"show-center-play-btn",
"enable-progress-gesture",
"objectFit",
"poster",
"bindplay",
"bindpause",
"bindended",
"bindtimeupdate",
"bindfullscreenchange",
"bindwaiting",
"binderror"
],
"description":"视频。"
},
"camera": {
"attributes": [
"mode",
"device-position",
"flash",
"scan-area",
"bindstop",
"binderror",
"bindscancode"
],
"description":"系统相机。需要用户授权 scope.camera"
},
"live-player": {
"attributes": [
"src",
"mode",
"autoplay",
"muted",
"orientation",
"object-fit",
"background-mute",
"min-cache",
"max-cache",
"bindstatechange",
"bindfullscreenchange",
"bindnetstatus"
],
"description":"实时音视频播放。"
},
"live-pusher": {
"attributes": [
"url",
"mode",
"autopush",
"muted",
"enable-camera",
"auto-focus",
"orientation",
"beauty",
"whiteness",
"aspect",
"min-bitrate",
"max-bitrate",
"waiting-image",
"waiting-image-hash",
"zoom",
"background-mute",
"bindstatechange",
"bindnetstatus",
"binderror"
],
"description":"实时音视频录制。"
},
"map": {
"attributes": [
"longitude",
"latitude",
"scale",
"markers",
"covers",
"polyline",
"circles",
"controls",
"include-points",
"show-location",
"bindmarkertap",
"bindcallouttap",
"bindcontroltap",
"bindregionchange",
"bindtap",
"bindupdated"
],
"description":"地图。"
},
"canvas": {
"attributes": [
"canvas-id",
"disable-scroll",
"bindtouchstart",
"bindtouchmove",
"bindtouchend",
"bindtouchcancel",
"bindlongtap",
"binderror"
],
"description":"画布。"
},
"open-data": {
"attributes": [
"type",
"open-gid",
"lang"
],
"description":"用于展示微信开放的数据。"
},
"web-view": {
"attributes": [
"src",
"bindmessage"
],
"description":""
},
"ad": {
"attributes": [
"unit-id"
],
"description":"广告。目前暂时以邀请制开放申请,请留意后续模板消息的通知"
}
},
"attributes": {
"class": {
"global": "true",
"type": "cssStyle",
"description": "A space-separated list of the classes of the element."
},
"hover-class": {
"global": "true",
"type": "String",
"description": "指定按下去的样式类。当 hover-class='none'时,没有点击态效果"
},
"hover-stop-propagation": {
"global": "true",
"type": "boolean",
"description": "指定是否阻止本节点的祖先节点出现点击态"
},
"hover-stay-time": {
"attribOption": [
"ltr",
"rtl"
],
"global": "true",
"description": "An enumerated attribute indicates the directionality of the element's text."
},
"scroll-x": {
"type": "boolean",
"description": "允许横向滚动"
},
"scroll-y": {
"type": "boolean",
"description": "允许纵向滚动"
},
"upper-threshold": {
"type": "Boolean",
"description": "距顶部/左边多远时(单位px),触发 scrolltoupper 事件 默认50"
},
"lower-threshold": {
"type": "Boolean",
"description": "距底部/右边多远时(单位px),触发 scrolltolower 事件 默认50"
},
"scroll-top": {
"type": "Number",
"description": "设置竖向滚动条位置"
},
"scroll-left": {
"type": "Number",
"description": "设置横向滚动条位置"
},
"scroll-into-view": {
"type": "String",
"description": "值应为某子元素id(id不能以数字开头)。设置哪个方向可滚动,则在哪个方向滚动到该元素"
},
"scroll-with-animation": {
"type": "Boolean",
"description": "在设置滚动条位置时使用动画过渡"
},
"enable-back-to-top": {
"type": "Boolean",
"description": "iOS点击顶部状态栏、安卓双击标题栏时,滚动条返回顶部,只支持竖向"
},
"bindscrolltoupper": {
"type": "EventHandle",
"description": "滚动到顶部/左边,会触发 scrolltoupper 事件"
},
"bindscrolltolower": {
"type": "EventHandle",
"description": "滚动到底部/右边,会触发 scrolltolower 事件"
},
"bindscroll": {
"type": "EventHandle",
"description": "滚动时触发,event.detail = {scrollLeft, scrollTop, scrollHeight, scrollWidth, deltaX, deltaY}"
},
"indicator-dots": {
"type": "Boolean",
"description": "是否显示面板指示点"
},
"indicator-color": {
"type": "Color",
"default": "rgba(0, 0, 0, .3)",
"description": "指示点颜色"
},
"indicator-active-color": {
"type": "String",
"default": "#000000",
"description": "当前选中的指示点颜色"
},
"autoplay": {
"type": "Boolean",
"default": "false",
"description": "是否自动切换"
},
"current": {
"type": "Number",
"default": "0",
"description": "当前所在滑块的 index"
},
"current-item-id": {
"type": "String",
"default": "",
"description": "当前所在滑块的 item-id ,不能与 current 被同时指定"
},
"interval": {
"type": "Nubmer",
"default": "5000",
"description": "自动切换时间间隔"
},
"duration": {
"type": "Number",
"default": "500",
"description": "滑动动画时长"
},
"circular": {
"type": "Boolean",
"default": "false",
"description": "是否采用衔接滑动"
},
"vertical": {
"type": "Boolean",
"default": "false",
"description": "滑动方向是否为纵向"
},
"previous-margin": {
"type": "String",
"default": "0px",
"description": "前边距,可用于露出前一项的一小部分,接受 px 和 rpx 值"
},
"next-margin": {
"type": "String",
"default": "0px",
"description": "后边距,可用于露出后一项的一小部分,接受 px 和 rpx 值"
},
"display-multiple-items": {
"type": "Number",
"default": "1",
"description": "同时显示的滑块数量"
},
"skip-hidden-item-layout": {
"type": "Boolean",
"default": "false",
"description": "是否跳过未显示的滑块布局,设为 true 可优化复杂情况下的滑动性能,但会丢失隐藏状态滑块的布局信息"
},
"bindchange": {
"type": "EventHandle",
"default": "",
"description": "current 改变时会触发 change 事件,event.detail = {current: current, source: source}"
},
"bindanimationfinish": {
"type": "EventHandle",
"default": "",
"description": "动画结束时会触发 animationfinish 事件,event.detail = {current: current, source: source}"
},
"item-id": {
"type": "String",
"default": "",
"description": "该 swiper-item 的标识符"
},
"scale-area": {
"type": "Boolean",
"default": "false",
"description": "当里面的movable-view设置为支持双指缩放时,设置此值可将缩放手势生效区域修改为整个movable-area"
},
"direction": {
"type": "String",
"default": "none",
"description": "movable-view的移动方向,属性值有all、vertical、horizontal、none"
},
"inertia": {
"type": "Boolean",
"default": "false",
"description": "movable-view是否带有惯性"
},
"out-of-bounds": {
"type": "Boolean",
"default": "false",
"description": "超过可移动区域后,movable-view是否还可以移动"
},
"x": {
"type": "String",
"default": "",
"description": "定义x轴方向的偏移,如果x的值不在可移动范围内,会自动移动到可移动范围;改变x的值会触发动画"
},
"y": {
"type": "String",
"default": "",
"description": "定义y轴方向的偏移,如果y的值不在可移动范围内,会自动移动到可移动范围;改变y的值会触发动画"
},
"damping": {
"type": "Number",
"default": "20",
"description": "阻尼系数,用于控制x或y改变时的动画和过界回弹的动画,值越大移动越快"
},
"friction": {
"type": "Number",
"default": "2",
"description": "摩擦系数,用于控制惯性滑动的动画,值越大摩擦力越大,滑动越快停止;必须大于0,否则会被设置成默认值"
},
"disabled": {
"type": "Boolean",
"default": "false",
"description": "是否禁用"
},
"scale": {
"type": "Boolean",
"default": "false",
"description": "是否支持双指缩放,默认缩放手势生效区域是在movable-view内"
},
"scale-min": {
"type": "Number",
"default": "0.5",
"description": "定义缩放倍数最小值"
},
"scale-max": {
"type": "Number",
"default": "10",
"description": "定义缩放倍数最大值"
},
"scale-value": {
"type": "Number",
"default": "1",
"description": "定义缩放倍数,取值范围为 0.5 - 10"
},
"animation": {
"type": "Boolean",
"default": "true",
"description": "是否使用动画"
},
"bindchange": {
"type": "EventHandle",
"default": "",
"description": "拖动过程中触发的事件,event.detail = {x: x, y: y, source: source},其中source表示产生移动的原因,值可为touch(拖动)、touch-out-of-bounds(超出移动范围)、out-of-bounds(超出移动范围后的回弹)、friction(惯性)和空字符串(setData)"
},
"bindscale": {
"type": "EventHandle",
"default": "",
"description": "缩放过程中触发的事件,event.detail = {x: x, y: y, scale: scale},其中x和y字段在2.1.0之后开始支持返回"
},
"htouchmove": {
"type": "EventHandle",
"default": "",
"description": "movable-view 特殊事件, 触发条件:初次手指触摸后移动为横向的移动,如果catch此事件,则意味着touchmove事件也被catch"
},
"vtouchmove": {
"type": "EventHandle",
"default": "",
"description": "movable-view 特殊事件, 触发条件:初次手指触摸后移动为纵向的移动,如果catch此事件,则意味着touchmove事件也被catch"
},
"scroll-top": {
"type": "Number",
"default": "",
"description": "设置顶部滚动偏移量,仅在设置了 overflow-y: scroll 成为滚动元素后生效"
},
"bindscroll": {
"type": "String",
"default": "",
"description": ""
},
"src": {
"type": "String",
"default": "",
"description": "图标路径,支持临时路径、网络地址(1.6.0起支持)。暂不支持base64格式。"
},
"bindload": {
"type": "EventHandle",
"default": "",
"description": "图片加载成功时触发"
},
"binderror": {
"type": "EventHandle",
"default": "",
"description": "图片加载失败时触发"
},
"icon/type": {
"attribOption": [
"success",
"success_no_circle",
"info",
"warn",
"waiting",
"cancel",
"download",
"search",
"clear"
],
"type": "String",
"default": "",
"description": "icon的类型,有效值:success, success_no_circle, info, warn, waiting, cancel, download, search, clear"
},
"size": {
"type": "Number",
"default": "23",
"description": "icon的大小,单位px"
},
"color": {
"type": "Color",
"default": "",
"description": "icon的颜色,同css的color"
},
"selectable": {
"type": "Boolean",
"default": "false",
"description": "文本是否可选"
},
"space": {
"attribOption": [
"ensp",
"emsp",
"nbsp"
],
"type": "String",
"default": "",
"description": "显示连续空格"
},
"decode": {
"type": "Boolean",
"default": "false",
"description": "是否解码"
},
"nodes": {
"type": "Array/String",
"default": "[]",
"description": "节点列表 / HTML String"
},
"percent": {
"type": "Float",
"default": "",
"description": "百分比0~100"
},
"show-info": {
"type": "Boolean",
"default": "false",
"description": "在进度条右侧显示百分比"
},
"stroke-width": {
"type": "Number",
"default": "6",
"description": "进度条线的宽度,单位px"
},
"color": {
"type": "Color",
"default": "#09BB07",
"description": "进度条颜色 (请使用 activeColor)"
},
"activeColor": {
"type": "Color",
"default": "",
"description": "已选择的进度条的颜色"
},
"backgroundColor": {
"type": "Color",
"default": "",
"description": "未选择的进度条的颜色"
},
"active": {
"type": "Boolean",
"default": "false",
"description": "进度条从左往右的动画"
},
"active-mode": {
"attribOption": [
"backwards",
"forwards"
],
"type": "String",
"default": "backwards",
"description": "backwards: 动画从头播;forwards:动画从上次结束点接着播"
},
"size": {
"attribOption": [
"default",
"mini"
],
"type": "String",
"default": "default",
"description": "按钮的大小"
},
"button/type": {
"attribOption": [
"primary",
"default",
"warn"
],
"type": "String",
"default": "default",
"description": "按钮的样式类型"
},
"plain": {
"type": "Boolean",
"default": "false",
"description": "按钮是否镂空,背景色透明"
},
"disabled": {
"type": "Boolean",
"default": "false",
"description": "是否禁用"
},
"loading": {
"type": "Boolean",
"default": "false",
"description": "名称前是否带 loading 图标"
},
"form-type": {
"attribOption": [
"submit",
"reset"
],
"type": "String",
"default": "",
"description": "用于 <form/> 组件,点击分别会触发 <form/> 组件的 submit/reset 事件"
},
"open-type": {
"attribOption": [
"contact",
"share",
"getUserInfo",
"getPhoneNumber",
"launchApp",
"openSetting",
"feedback"
],
"type": "String",
"default": "",
"description": "微信开放能力"
},
"hover-class": {
"type": "String",
"default": "button-hover",
"description": "指定按钮按下去的样式类。当 hover-class='none' 时,没有点击态效果"
},
"hover-stop-propagation": {
"type": "Boolean",
"default": "false",
"description": "指定是否阻止本节点的祖先节点出现点击态"
},
"hover-start-time": {
"type": "Number",
"default": "20",
"description": "按住后多久出现点击态,单位毫秒"
},
"hover-stay-time": {
"type": "Nummber",
"default": "70",
"description": "手指松开后点击态保留时间,单位毫秒"
},
"lang": {
"attribOption": [
"zh_CN",
"zh_TW",
"en"
],
"type": "Handler",
"default": "en",
"description": "指定返回用户信息的语言,zh_CN 简体中文,zh_TW 繁体中文,en 英文。生效时机 open-type='getUserInfo'"
},
"bindgetuserinfo": {
"type": "String",
"default": "",
"description": "用户点击该按钮时,会返回获取到的用户信息,回调的detail数据与getUserInfo返回的一致,生效时机 open-type='getUserInfo'"
},
"session-from": {
"type": "String",
"default": "",
"description": "会话来源,生效时机 open-type='contact'"
},
"send-message-title": {
"type": "String",
"default": "当前标题",
"description": "会话内消息卡片标题,生效时机 open-type='contact'"
},
"send-message-path": {
"type": "String",
"default": "当前分享路径",
"description": "会话内消息卡片点击跳转小程序路径,生效时机 open-type='contact'"
},
"send-message-img": {
"type": "String",
"default": "截图",
"description": "会话内消息卡片图片,生效时机 open-type='contact'"
},
"show-message-card": {
"type": "Boolean",
"default": "false",
"description": "显示会话内消息卡片,生效时机 open-type='contact'"
},
"bindcontact": {
"type": "Handler",
"default": "",
"description": "生效时机 open-type='launchApp'"
},
"bindgetphonenumber": {
"type": "Handler",
"default": "",