vant 2.12.53 → 2.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/icon/index.css +1 -1
- package/es/icon/local.css +1 -0
- package/es/icon/local.less +1 -1
- package/es/index.js +1 -1
- package/es/picker/PickerColumn.js +3 -4
- package/es/popover/index.js +14 -2
- package/es/search/index.css +1 -1
- package/es/search/index.less +1 -1
- package/lib/icon/index.css +1 -1
- package/lib/icon/local.css +1 -0
- package/lib/icon/local.less +1 -1
- package/lib/index.css +1 -1
- package/lib/index.js +1 -1
- package/lib/picker/PickerColumn.js +3 -4
- package/lib/popover/index.js +13 -1
- package/lib/search/index.css +1 -1
- package/lib/search/index.less +1 -1
- package/lib/vant.js +17 -6
- package/lib/vant.min.js +1 -1
- package/package.json +2 -2
- package/vetur/attributes.json +364 -364
- package/vetur/tags.json +123 -123
- package/vetur/web-types.json +949 -949
package/vetur/web-types.json
CHANGED
@@ -2,122 +2,10 @@
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
3
3
|
"framework": "vue",
|
4
4
|
"name": "vant",
|
5
|
-
"version": "2.
|
5
|
+
"version": "2.13.0",
|
6
6
|
"contributions": {
|
7
7
|
"html": {
|
8
8
|
"tags": [
|
9
|
-
{
|
10
|
-
"name": "van-address-list",
|
11
|
-
"slots": [
|
12
|
-
{
|
13
|
-
"name": "default",
|
14
|
-
"description": "在列表下方插入内容"
|
15
|
-
},
|
16
|
-
{
|
17
|
-
"name": "top",
|
18
|
-
"description": "在顶部插入内容"
|
19
|
-
},
|
20
|
-
{
|
21
|
-
"name": "item-bottom",
|
22
|
-
"description": "在列表项底部插入内容"
|
23
|
-
},
|
24
|
-
{
|
25
|
-
"name": "tag",
|
26
|
-
"description": "列表项标签内容自定义"
|
27
|
-
}
|
28
|
-
],
|
29
|
-
"events": [
|
30
|
-
{
|
31
|
-
"name": "add",
|
32
|
-
"description": "点击新增按钮时触发"
|
33
|
-
},
|
34
|
-
{
|
35
|
-
"name": "edit",
|
36
|
-
"description": "点击编辑按钮时触发"
|
37
|
-
},
|
38
|
-
{
|
39
|
-
"name": "select",
|
40
|
-
"description": "切换选中的地址时触发"
|
41
|
-
},
|
42
|
-
{
|
43
|
-
"name": "edit-disabled",
|
44
|
-
"description": "编辑不可配送的地址时触发"
|
45
|
-
},
|
46
|
-
{
|
47
|
-
"name": "select-disabled",
|
48
|
-
"description": "选中不可配送的地址时触发"
|
49
|
-
},
|
50
|
-
{
|
51
|
-
"name": "click-item",
|
52
|
-
"description": "点击任意地址时触发"
|
53
|
-
}
|
54
|
-
],
|
55
|
-
"attributes": [
|
56
|
-
{
|
57
|
-
"name": "v-model",
|
58
|
-
"default": "-",
|
59
|
-
"description": "当前选中地址的 id",
|
60
|
-
"value": {
|
61
|
-
"type": "string",
|
62
|
-
"kind": "expression"
|
63
|
-
}
|
64
|
-
},
|
65
|
-
{
|
66
|
-
"name": "list",
|
67
|
-
"default": "`[]`",
|
68
|
-
"description": "地址列表",
|
69
|
-
"value": {
|
70
|
-
"type": "Address[]",
|
71
|
-
"kind": "expression"
|
72
|
-
}
|
73
|
-
},
|
74
|
-
{
|
75
|
-
"name": "disabled-list",
|
76
|
-
"default": "`[]`",
|
77
|
-
"description": "不可配送地址列表",
|
78
|
-
"value": {
|
79
|
-
"type": "Address[]",
|
80
|
-
"kind": "expression"
|
81
|
-
}
|
82
|
-
},
|
83
|
-
{
|
84
|
-
"name": "disabled-text",
|
85
|
-
"default": "-",
|
86
|
-
"description": "不可配送提示文案",
|
87
|
-
"value": {
|
88
|
-
"type": "string",
|
89
|
-
"kind": "expression"
|
90
|
-
}
|
91
|
-
},
|
92
|
-
{
|
93
|
-
"name": "switchable",
|
94
|
-
"default": "`true`",
|
95
|
-
"description": "是否允许切换地址",
|
96
|
-
"value": {
|
97
|
-
"type": "boolean",
|
98
|
-
"kind": "expression"
|
99
|
-
}
|
100
|
-
},
|
101
|
-
{
|
102
|
-
"name": "add-button-text",
|
103
|
-
"default": "`新增地址`",
|
104
|
-
"description": "底部按钮文字",
|
105
|
-
"value": {
|
106
|
-
"type": "string",
|
107
|
-
"kind": "expression"
|
108
|
-
}
|
109
|
-
},
|
110
|
-
{
|
111
|
-
"name": "default-tag-text",
|
112
|
-
"default": "-",
|
113
|
-
"description": "默认地址标签文字",
|
114
|
-
"value": {
|
115
|
-
"type": "string",
|
116
|
-
"kind": "expression"
|
117
|
-
}
|
118
|
-
}
|
119
|
-
]
|
120
|
-
},
|
121
9
|
{
|
122
10
|
"name": "van-action-sheet",
|
123
11
|
"slots": [
|
@@ -564,150 +452,164 @@
|
|
564
452
|
]
|
565
453
|
},
|
566
454
|
{
|
567
|
-
"name": "van-
|
455
|
+
"name": "van-badge",
|
568
456
|
"slots": [
|
569
457
|
{
|
570
|
-
"name": "
|
571
|
-
"description": "
|
572
|
-
},
|
573
|
-
{
|
574
|
-
"name": "columns-top",
|
575
|
-
"description": "自定义选项上方内容"
|
576
|
-
},
|
577
|
-
{
|
578
|
-
"name": "columns-bottom",
|
579
|
-
"description": "自定义选项下方内容"
|
580
|
-
}
|
581
|
-
],
|
582
|
-
"events": [
|
583
|
-
{
|
584
|
-
"name": "confirm",
|
585
|
-
"description": "点击右上方完成按钮"
|
586
|
-
},
|
587
|
-
{
|
588
|
-
"name": "cancel",
|
589
|
-
"description": "点击取消按钮时"
|
458
|
+
"name": "default",
|
459
|
+
"description": "徽标包裹的子元素"
|
590
460
|
},
|
591
461
|
{
|
592
|
-
"name": "
|
593
|
-
"description": "
|
462
|
+
"name": "content",
|
463
|
+
"description": "自定义徽标内容"
|
594
464
|
}
|
595
465
|
],
|
466
|
+
"events": [],
|
596
467
|
"attributes": [
|
597
468
|
{
|
598
|
-
"name": "
|
469
|
+
"name": "content",
|
599
470
|
"default": "-",
|
600
|
-
"description": "
|
471
|
+
"description": "徽标内容",
|
601
472
|
"value": {
|
602
|
-
"type": "string",
|
473
|
+
"type": "number | string",
|
603
474
|
"kind": "expression"
|
604
475
|
}
|
605
476
|
},
|
606
477
|
{
|
607
|
-
"name": "
|
608
|
-
"default": "
|
609
|
-
"description": "
|
478
|
+
"name": "color",
|
479
|
+
"default": "`#ee0a24`",
|
480
|
+
"description": "徽标背景颜色",
|
610
481
|
"value": {
|
611
482
|
"type": "string",
|
612
483
|
"kind": "expression"
|
613
484
|
}
|
614
485
|
},
|
615
486
|
{
|
616
|
-
"name": "
|
617
|
-
"default": "
|
618
|
-
"description": "
|
487
|
+
"name": "dot",
|
488
|
+
"default": "`false`",
|
489
|
+
"description": "是否展示为小红点",
|
619
490
|
"value": {
|
620
|
-
"type": "
|
491
|
+
"type": "boolean",
|
621
492
|
"kind": "expression"
|
622
493
|
}
|
623
494
|
},
|
624
495
|
{
|
625
|
-
"name": "
|
626
|
-
"default": "
|
627
|
-
"description": "
|
496
|
+
"name": "max",
|
497
|
+
"default": "-",
|
498
|
+
"description": "最大值,超过最大值会显示 `{max}+`,仅当 content 为数字时有效",
|
628
499
|
"value": {
|
629
|
-
"type": "string",
|
500
|
+
"type": "number | string",
|
630
501
|
"kind": "expression"
|
631
502
|
}
|
503
|
+
}
|
504
|
+
]
|
505
|
+
},
|
506
|
+
{
|
507
|
+
"name": "van-address-list",
|
508
|
+
"slots": [
|
509
|
+
{
|
510
|
+
"name": "default",
|
511
|
+
"description": "在列表下方插入内容"
|
632
512
|
},
|
633
513
|
{
|
634
|
-
"name": "
|
514
|
+
"name": "top",
|
515
|
+
"description": "在顶部插入内容"
|
516
|
+
},
|
517
|
+
{
|
518
|
+
"name": "item-bottom",
|
519
|
+
"description": "在列表项底部插入内容"
|
520
|
+
},
|
521
|
+
{
|
522
|
+
"name": "tag",
|
523
|
+
"description": "列表项标签内容自定义"
|
524
|
+
}
|
525
|
+
],
|
526
|
+
"events": [
|
527
|
+
{
|
528
|
+
"name": "add",
|
529
|
+
"description": "点击新增按钮时触发"
|
530
|
+
},
|
531
|
+
{
|
532
|
+
"name": "edit",
|
533
|
+
"description": "点击编辑按钮时触发"
|
534
|
+
},
|
535
|
+
{
|
536
|
+
"name": "select",
|
537
|
+
"description": "切换选中的地址时触发"
|
538
|
+
},
|
539
|
+
{
|
540
|
+
"name": "edit-disabled",
|
541
|
+
"description": "编辑不可配送的地址时触发"
|
542
|
+
},
|
543
|
+
{
|
544
|
+
"name": "select-disabled",
|
545
|
+
"description": "选中不可配送的地址时触发"
|
546
|
+
},
|
547
|
+
{
|
548
|
+
"name": "click-item",
|
549
|
+
"description": "点击任意地址时触发"
|
550
|
+
}
|
551
|
+
],
|
552
|
+
"attributes": [
|
553
|
+
{
|
554
|
+
"name": "v-model",
|
635
555
|
"default": "-",
|
636
|
-
"description": "
|
556
|
+
"description": "当前选中地址的 id",
|
637
557
|
"value": {
|
638
|
-
"type": "
|
558
|
+
"type": "string",
|
639
559
|
"kind": "expression"
|
640
560
|
}
|
641
561
|
},
|
642
562
|
{
|
643
|
-
"name": "
|
563
|
+
"name": "list",
|
644
564
|
"default": "`[]`",
|
645
|
-
"description": "
|
565
|
+
"description": "地址列表",
|
646
566
|
"value": {
|
647
|
-
"type": "
|
567
|
+
"type": "Address[]",
|
648
568
|
"kind": "expression"
|
649
569
|
}
|
650
570
|
},
|
651
571
|
{
|
652
|
-
"name": "
|
653
|
-
"default": "`
|
654
|
-
"description": "
|
572
|
+
"name": "disabled-list",
|
573
|
+
"default": "`[]`",
|
574
|
+
"description": "不可配送地址列表",
|
655
575
|
"value": {
|
656
|
-
"type": "
|
576
|
+
"type": "Address[]",
|
657
577
|
"kind": "expression"
|
658
578
|
}
|
659
579
|
},
|
660
580
|
{
|
661
|
-
"name": "
|
662
|
-
"default": "
|
663
|
-
"description": "
|
581
|
+
"name": "disabled-text",
|
582
|
+
"default": "-",
|
583
|
+
"description": "不可配送提示文案",
|
664
584
|
"value": {
|
665
|
-
"type": "
|
585
|
+
"type": "string",
|
666
586
|
"kind": "expression"
|
667
587
|
}
|
668
588
|
},
|
669
589
|
{
|
670
|
-
"name": "
|
671
|
-
"default": "`
|
672
|
-
"description": "
|
590
|
+
"name": "switchable",
|
591
|
+
"default": "`true`",
|
592
|
+
"description": "是否允许切换地址",
|
673
593
|
"value": {
|
674
|
-
"type": "
|
594
|
+
"type": "boolean",
|
675
595
|
"kind": "expression"
|
676
596
|
}
|
677
597
|
},
|
678
598
|
{
|
679
|
-
"name": "
|
680
|
-
"default": "
|
681
|
-
"description": "
|
682
|
-
"value": {
|
683
|
-
"type": "number | string",
|
684
|
-
"kind": "expression"
|
685
|
-
}
|
686
|
-
},
|
687
|
-
{
|
688
|
-
"name": "visible-item-count",
|
689
|
-
"default": "`6`",
|
690
|
-
"description": "可见的选项个数",
|
691
|
-
"value": {
|
692
|
-
"type": "number | string",
|
693
|
-
"kind": "expression"
|
694
|
-
}
|
695
|
-
},
|
696
|
-
{
|
697
|
-
"name": "swipe-duration",
|
698
|
-
"default": "`1000`",
|
699
|
-
"description": "快速滑动时惯性滚动的时长,单位`ms`",
|
599
|
+
"name": "add-button-text",
|
600
|
+
"default": "`新增地址`",
|
601
|
+
"description": "底部按钮文字",
|
700
602
|
"value": {
|
701
|
-
"type": "
|
603
|
+
"type": "string",
|
702
604
|
"kind": "expression"
|
703
605
|
}
|
704
606
|
},
|
705
607
|
{
|
706
|
-
"name": "
|
608
|
+
"name": "default-tag-text",
|
707
609
|
"default": "-",
|
708
|
-
"description": "
|
610
|
+
"description": "默认地址标签文字",
|
709
611
|
"value": {
|
710
|
-
"type": "
|
612
|
+
"type": "string",
|
711
613
|
"kind": "expression"
|
712
614
|
}
|
713
615
|
}
|
@@ -941,54 +843,152 @@
|
|
941
843
|
]
|
942
844
|
},
|
943
845
|
{
|
944
|
-
"name": "van-
|
846
|
+
"name": "van-area",
|
945
847
|
"slots": [
|
946
848
|
{
|
947
|
-
"name": "
|
948
|
-
"description": "
|
849
|
+
"name": "title",
|
850
|
+
"description": "自定义标题内容"
|
949
851
|
},
|
950
852
|
{
|
951
|
-
"name": "
|
952
|
-
"description": "
|
853
|
+
"name": "columns-top",
|
854
|
+
"description": "自定义选项上方内容"
|
855
|
+
},
|
856
|
+
{
|
857
|
+
"name": "columns-bottom",
|
858
|
+
"description": "自定义选项下方内容"
|
859
|
+
}
|
860
|
+
],
|
861
|
+
"events": [
|
862
|
+
{
|
863
|
+
"name": "confirm",
|
864
|
+
"description": "点击右上方完成按钮"
|
865
|
+
},
|
866
|
+
{
|
867
|
+
"name": "cancel",
|
868
|
+
"description": "点击取消按钮时"
|
869
|
+
},
|
870
|
+
{
|
871
|
+
"name": "change",
|
872
|
+
"description": "选项改变时触发"
|
953
873
|
}
|
954
874
|
],
|
955
|
-
"events": [],
|
956
875
|
"attributes": [
|
957
876
|
{
|
958
|
-
"name": "
|
877
|
+
"name": "value",
|
959
878
|
"default": "-",
|
960
|
-
"description": "
|
879
|
+
"description": "当前选中的省市区`code`",
|
961
880
|
"value": {
|
962
|
-
"type": "
|
881
|
+
"type": "string",
|
963
882
|
"kind": "expression"
|
964
883
|
}
|
965
884
|
},
|
966
885
|
{
|
967
|
-
"name": "
|
968
|
-
"default": "
|
969
|
-
"description": "
|
886
|
+
"name": "title",
|
887
|
+
"default": "-",
|
888
|
+
"description": "顶部栏标题",
|
970
889
|
"value": {
|
971
890
|
"type": "string",
|
972
891
|
"kind": "expression"
|
973
892
|
}
|
974
893
|
},
|
975
894
|
{
|
976
|
-
"name": "
|
895
|
+
"name": "confirm-button-text",
|
896
|
+
"default": "`确认`",
|
897
|
+
"description": "确认按钮文字",
|
898
|
+
"value": {
|
899
|
+
"type": "string",
|
900
|
+
"kind": "expression"
|
901
|
+
}
|
902
|
+
},
|
903
|
+
{
|
904
|
+
"name": "cancel-button-text",
|
905
|
+
"default": "`取消`",
|
906
|
+
"description": "取消按钮文字",
|
907
|
+
"value": {
|
908
|
+
"type": "string",
|
909
|
+
"kind": "expression"
|
910
|
+
}
|
911
|
+
},
|
912
|
+
{
|
913
|
+
"name": "area-list",
|
914
|
+
"default": "-",
|
915
|
+
"description": "省市区数据,格式见下方",
|
916
|
+
"value": {
|
917
|
+
"type": "object",
|
918
|
+
"kind": "expression"
|
919
|
+
}
|
920
|
+
},
|
921
|
+
{
|
922
|
+
"name": "columns-placeholder",
|
923
|
+
"default": "`[]`",
|
924
|
+
"description": "列占位提示文字",
|
925
|
+
"value": {
|
926
|
+
"type": "string[]",
|
927
|
+
"kind": "expression"
|
928
|
+
}
|
929
|
+
},
|
930
|
+
{
|
931
|
+
"name": "loading",
|
977
932
|
"default": "`false`",
|
978
|
-
"description": "
|
933
|
+
"description": "是否显示加载状态",
|
979
934
|
"value": {
|
980
935
|
"type": "boolean",
|
981
936
|
"kind": "expression"
|
982
937
|
}
|
983
938
|
},
|
984
939
|
{
|
985
|
-
"name": "
|
986
|
-
"default": "
|
987
|
-
"description": "
|
940
|
+
"name": "readonly",
|
941
|
+
"default": "`false`",
|
942
|
+
"description": "是否为只读状态,只读状态下无法切换选项",
|
943
|
+
"value": {
|
944
|
+
"type": "boolean",
|
945
|
+
"kind": "expression"
|
946
|
+
}
|
947
|
+
},
|
948
|
+
{
|
949
|
+
"name": "item-height",
|
950
|
+
"default": "`44`",
|
951
|
+
"description": "选项高度,支持 `px` `vw` `vh` `rem` 单位,默认 `px`",
|
952
|
+
"value": {
|
953
|
+
"type": "number | string",
|
954
|
+
"kind": "expression"
|
955
|
+
}
|
956
|
+
},
|
957
|
+
{
|
958
|
+
"name": "columns-num",
|
959
|
+
"default": "`3`",
|
960
|
+
"description": "显示列数,3-省市区,2-省市,1-省",
|
961
|
+
"value": {
|
962
|
+
"type": "number | string",
|
963
|
+
"kind": "expression"
|
964
|
+
}
|
965
|
+
},
|
966
|
+
{
|
967
|
+
"name": "visible-item-count",
|
968
|
+
"default": "`6`",
|
969
|
+
"description": "可见的选项个数",
|
988
970
|
"value": {
|
989
971
|
"type": "number | string",
|
990
972
|
"kind": "expression"
|
991
973
|
}
|
974
|
+
},
|
975
|
+
{
|
976
|
+
"name": "swipe-duration",
|
977
|
+
"default": "`1000`",
|
978
|
+
"description": "快速滑动时惯性滚动的时长,单位`ms`",
|
979
|
+
"value": {
|
980
|
+
"type": "number | string",
|
981
|
+
"kind": "expression"
|
982
|
+
}
|
983
|
+
},
|
984
|
+
{
|
985
|
+
"name": "is-oversea-code",
|
986
|
+
"default": "-",
|
987
|
+
"description": "根据`code`校验海外地址,海外地址会划分至单独的分类",
|
988
|
+
"value": {
|
989
|
+
"type": "() => boolean",
|
990
|
+
"kind": "expression"
|
991
|
+
}
|
992
992
|
}
|
993
993
|
]
|
994
994
|
},
|
@@ -1815,277 +1815,277 @@
|
|
1815
1815
|
]
|
1816
1816
|
},
|
1817
1817
|
{
|
1818
|
-
"name": "van-
|
1818
|
+
"name": "van-checkbox",
|
1819
1819
|
"slots": [
|
1820
1820
|
{
|
1821
1821
|
"name": "default",
|
1822
|
-
"description": "
|
1822
|
+
"description": "自定义文本"
|
1823
|
+
},
|
1824
|
+
{
|
1825
|
+
"name": "icon",
|
1826
|
+
"description": "自定义图标"
|
1823
1827
|
}
|
1824
1828
|
],
|
1825
|
-
"events": [
|
1826
|
-
"attributes": [
|
1829
|
+
"events": [
|
1827
1830
|
{
|
1828
|
-
"name": "
|
1829
|
-
"
|
1830
|
-
"description": "当前进度",
|
1831
|
-
"value": {
|
1832
|
-
"type": "number",
|
1833
|
-
"kind": "expression"
|
1834
|
-
}
|
1831
|
+
"name": "change",
|
1832
|
+
"description": "当绑定值变化时触发的事件"
|
1835
1833
|
},
|
1836
1834
|
{
|
1837
|
-
"name": "
|
1838
|
-
"
|
1839
|
-
"description": "目标进度",
|
1840
|
-
"value": {
|
1841
|
-
"type": "number | string",
|
1842
|
-
"kind": "expression"
|
1843
|
-
}
|
1835
|
+
"name": "click",
|
1836
|
+
"description": "点击复选框时触发"
|
1844
1837
|
},
|
1845
1838
|
{
|
1846
|
-
"name": "
|
1847
|
-
"
|
1848
|
-
|
1839
|
+
"name": "change",
|
1840
|
+
"description": "当绑定值变化时触发的事件"
|
1841
|
+
}
|
1842
|
+
],
|
1843
|
+
"attributes": [
|
1844
|
+
{
|
1845
|
+
"name": "v-model (value)",
|
1846
|
+
"default": "`false`",
|
1847
|
+
"description": "是否为选中状态",
|
1849
1848
|
"value": {
|
1850
|
-
"type": "
|
1849
|
+
"type": "boolean",
|
1851
1850
|
"kind": "expression"
|
1852
1851
|
}
|
1853
1852
|
},
|
1854
1853
|
{
|
1855
|
-
"name": "
|
1856
|
-
"default": "
|
1857
|
-
"description": "
|
1854
|
+
"name": "name",
|
1855
|
+
"default": "-",
|
1856
|
+
"description": "标识符",
|
1858
1857
|
"value": {
|
1859
|
-
"type": "
|
1858
|
+
"type": "any",
|
1860
1859
|
"kind": "expression"
|
1861
1860
|
}
|
1862
1861
|
},
|
1863
1862
|
{
|
1864
|
-
"name": "
|
1865
|
-
"default": "`
|
1866
|
-
"description": "
|
1863
|
+
"name": "shape",
|
1864
|
+
"default": "`round`",
|
1865
|
+
"description": "形状,可选值为 `square`",
|
1867
1866
|
"value": {
|
1868
1867
|
"type": "string",
|
1869
1868
|
"kind": "expression"
|
1870
1869
|
}
|
1871
1870
|
},
|
1872
1871
|
{
|
1873
|
-
"name": "
|
1874
|
-
"default": "`
|
1875
|
-
"description": "
|
1872
|
+
"name": "disabled",
|
1873
|
+
"default": "`false`",
|
1874
|
+
"description": "是否禁用复选框",
|
1876
1875
|
"value": {
|
1877
|
-
"type": "
|
1876
|
+
"type": "boolean",
|
1878
1877
|
"kind": "expression"
|
1879
1878
|
}
|
1880
1879
|
},
|
1881
1880
|
{
|
1882
|
-
"name": "
|
1883
|
-
"default": "`
|
1884
|
-
"description": "
|
1881
|
+
"name": "label-disabled",
|
1882
|
+
"default": "`false`",
|
1883
|
+
"description": "是否禁用复选框文本点击",
|
1885
1884
|
"value": {
|
1886
|
-
"type": "
|
1885
|
+
"type": "boolean",
|
1887
1886
|
"kind": "expression"
|
1888
1887
|
}
|
1889
1888
|
},
|
1890
1889
|
{
|
1891
|
-
"name": "
|
1892
|
-
"default": "
|
1893
|
-
"description": "
|
1890
|
+
"name": "label-position",
|
1891
|
+
"default": "`right`",
|
1892
|
+
"description": "文本位置,可选值为 `left`",
|
1894
1893
|
"value": {
|
1895
1894
|
"type": "string",
|
1896
1895
|
"kind": "expression"
|
1897
1896
|
}
|
1898
1897
|
},
|
1899
1898
|
{
|
1900
|
-
"name": "
|
1901
|
-
"default": "`
|
1902
|
-
"description": "
|
1899
|
+
"name": "icon-size",
|
1900
|
+
"default": "`20px`",
|
1901
|
+
"description": "图标大小,默认单位为 `px`",
|
1903
1902
|
"value": {
|
1904
1903
|
"type": "number | string",
|
1905
1904
|
"kind": "expression"
|
1906
1905
|
}
|
1907
1906
|
},
|
1908
1907
|
{
|
1909
|
-
"name": "
|
1910
|
-
"default": "`
|
1911
|
-
"description": "
|
1908
|
+
"name": "checked-color",
|
1909
|
+
"default": "`#1989fa`",
|
1910
|
+
"description": "选中状态颜色",
|
1912
1911
|
"value": {
|
1913
1912
|
"type": "string",
|
1914
1913
|
"kind": "expression"
|
1915
1914
|
}
|
1916
1915
|
},
|
1917
1916
|
{
|
1918
|
-
"name": "
|
1917
|
+
"name": "bind-group",
|
1919
1918
|
"default": "`true`",
|
1920
|
-
"description": "
|
1919
|
+
"description": "是否与复选框组绑定",
|
1921
1920
|
"value": {
|
1922
1921
|
"type": "boolean",
|
1923
1922
|
"kind": "expression"
|
1924
1923
|
}
|
1925
|
-
}
|
1926
|
-
]
|
1927
|
-
},
|
1928
|
-
{
|
1929
|
-
"name": "van-checkbox",
|
1930
|
-
"slots": [
|
1931
|
-
{
|
1932
|
-
"name": "default",
|
1933
|
-
"description": "自定义文本"
|
1934
|
-
},
|
1935
|
-
{
|
1936
|
-
"name": "icon",
|
1937
|
-
"description": "自定义图标"
|
1938
|
-
}
|
1939
|
-
],
|
1940
|
-
"events": [
|
1941
|
-
{
|
1942
|
-
"name": "change",
|
1943
|
-
"description": "当绑定值变化时触发的事件"
|
1944
1924
|
},
|
1945
1925
|
{
|
1946
|
-
"name": "
|
1947
|
-
"
|
1926
|
+
"name": "v-model (value)",
|
1927
|
+
"default": "-",
|
1928
|
+
"description": "所有选中项的标识符",
|
1929
|
+
"value": {
|
1930
|
+
"type": "any[]",
|
1931
|
+
"kind": "expression"
|
1932
|
+
}
|
1948
1933
|
},
|
1949
1934
|
{
|
1950
|
-
"name": "
|
1951
|
-
"description": "当绑定值变化时触发的事件"
|
1952
|
-
}
|
1953
|
-
],
|
1954
|
-
"attributes": [
|
1955
|
-
{
|
1956
|
-
"name": "v-model (value)",
|
1935
|
+
"name": "disabled",
|
1957
1936
|
"default": "`false`",
|
1958
|
-
"description": "
|
1937
|
+
"description": "是否禁用所有复选框",
|
1959
1938
|
"value": {
|
1960
1939
|
"type": "boolean",
|
1961
1940
|
"kind": "expression"
|
1962
1941
|
}
|
1963
1942
|
},
|
1964
1943
|
{
|
1965
|
-
"name": "
|
1966
|
-
"default": "
|
1967
|
-
"description": "
|
1944
|
+
"name": "max",
|
1945
|
+
"default": "`0`",
|
1946
|
+
"description": "最大可选数,`0`为无限制",
|
1968
1947
|
"value": {
|
1969
|
-
"type": "
|
1948
|
+
"type": "number | string",
|
1970
1949
|
"kind": "expression"
|
1971
1950
|
}
|
1972
1951
|
},
|
1973
1952
|
{
|
1974
|
-
"name": "
|
1975
|
-
"default": "`
|
1976
|
-
"description": "
|
1953
|
+
"name": "direction",
|
1954
|
+
"default": "`vertical`",
|
1955
|
+
"description": "排列方向,可选值为 `horizontal`",
|
1977
1956
|
"value": {
|
1978
1957
|
"type": "string",
|
1979
1958
|
"kind": "expression"
|
1980
1959
|
}
|
1981
1960
|
},
|
1982
1961
|
{
|
1983
|
-
"name": "
|
1984
|
-
"default": "`
|
1985
|
-
"description": "
|
1962
|
+
"name": "icon-size",
|
1963
|
+
"default": "`20px`",
|
1964
|
+
"description": "所有复选框的图标大小,默认单位为 `px`",
|
1986
1965
|
"value": {
|
1987
|
-
"type": "
|
1966
|
+
"type": "number | string",
|
1988
1967
|
"kind": "expression"
|
1989
1968
|
}
|
1990
1969
|
},
|
1991
1970
|
{
|
1992
|
-
"name": "
|
1993
|
-
"default": "`
|
1994
|
-
"description": "
|
1971
|
+
"name": "checked-color",
|
1972
|
+
"default": "`#1989fa`",
|
1973
|
+
"description": "所有复选框的选中状态颜色",
|
1995
1974
|
"value": {
|
1996
|
-
"type": "
|
1975
|
+
"type": "string",
|
1997
1976
|
"kind": "expression"
|
1998
1977
|
}
|
1999
|
-
}
|
1978
|
+
}
|
1979
|
+
]
|
1980
|
+
},
|
1981
|
+
{
|
1982
|
+
"name": "van-circle",
|
1983
|
+
"slots": [
|
2000
1984
|
{
|
2001
|
-
"name": "
|
2002
|
-
"
|
2003
|
-
|
1985
|
+
"name": "default",
|
1986
|
+
"description": "自定义文字内容"
|
1987
|
+
}
|
1988
|
+
],
|
1989
|
+
"events": [],
|
1990
|
+
"attributes": [
|
1991
|
+
{
|
1992
|
+
"name": "v-model",
|
1993
|
+
"default": "-",
|
1994
|
+
"description": "当前进度",
|
2004
1995
|
"value": {
|
2005
|
-
"type": "
|
1996
|
+
"type": "number",
|
2006
1997
|
"kind": "expression"
|
2007
1998
|
}
|
2008
1999
|
},
|
2009
2000
|
{
|
2010
|
-
"name": "
|
2011
|
-
"default": "`
|
2012
|
-
"description": "
|
2001
|
+
"name": "rate",
|
2002
|
+
"default": "`100`",
|
2003
|
+
"description": "目标进度",
|
2013
2004
|
"value": {
|
2014
2005
|
"type": "number | string",
|
2015
2006
|
"kind": "expression"
|
2016
2007
|
}
|
2017
2008
|
},
|
2018
2009
|
{
|
2019
|
-
"name": "
|
2020
|
-
"default": "
|
2021
|
-
"description": "
|
2010
|
+
"name": "size",
|
2011
|
+
"default": "`100px`",
|
2012
|
+
"description": "圆环直径,默认单位为 `px`",
|
2022
2013
|
"value": {
|
2023
|
-
"type": "string",
|
2014
|
+
"type": "number | string",
|
2024
2015
|
"kind": "expression"
|
2025
2016
|
}
|
2026
2017
|
},
|
2027
2018
|
{
|
2028
|
-
"name": "
|
2029
|
-
"default": "`
|
2030
|
-
"description": "
|
2019
|
+
"name": "color",
|
2020
|
+
"default": "`#1989fa`",
|
2021
|
+
"description": "进度条颜色,传入对象格式可以定义渐变色",
|
2031
2022
|
"value": {
|
2032
|
-
"type": "
|
2023
|
+
"type": "string | object",
|
2033
2024
|
"kind": "expression"
|
2034
2025
|
}
|
2035
2026
|
},
|
2036
2027
|
{
|
2037
|
-
"name": "
|
2038
|
-
"default": "
|
2039
|
-
"description": "
|
2028
|
+
"name": "layer-color",
|
2029
|
+
"default": "`white`",
|
2030
|
+
"description": "轨道颜色",
|
2040
2031
|
"value": {
|
2041
|
-
"type": "
|
2032
|
+
"type": "string",
|
2042
2033
|
"kind": "expression"
|
2043
2034
|
}
|
2044
2035
|
},
|
2045
2036
|
{
|
2046
|
-
"name": "
|
2047
|
-
"default": "`
|
2048
|
-
"description": "
|
2037
|
+
"name": "fill",
|
2038
|
+
"default": "`none`",
|
2039
|
+
"description": "填充颜色",
|
2049
2040
|
"value": {
|
2050
|
-
"type": "
|
2041
|
+
"type": "string",
|
2051
2042
|
"kind": "expression"
|
2052
2043
|
}
|
2053
2044
|
},
|
2054
2045
|
{
|
2055
|
-
"name": "
|
2046
|
+
"name": "speed",
|
2056
2047
|
"default": "`0`",
|
2057
|
-
"description": "
|
2048
|
+
"description": "动画速度(单位为 rate/s)",
|
2058
2049
|
"value": {
|
2059
2050
|
"type": "number | string",
|
2060
2051
|
"kind": "expression"
|
2061
2052
|
}
|
2062
2053
|
},
|
2063
2054
|
{
|
2064
|
-
"name": "
|
2065
|
-
"default": "
|
2066
|
-
"description": "
|
2055
|
+
"name": "text",
|
2056
|
+
"default": "-",
|
2057
|
+
"description": "文字",
|
2067
2058
|
"value": {
|
2068
2059
|
"type": "string",
|
2069
2060
|
"kind": "expression"
|
2070
2061
|
}
|
2071
2062
|
},
|
2072
2063
|
{
|
2073
|
-
"name": "
|
2074
|
-
"default": "`
|
2075
|
-
"description": "
|
2064
|
+
"name": "stroke-width",
|
2065
|
+
"default": "`40`",
|
2066
|
+
"description": "进度条宽度",
|
2076
2067
|
"value": {
|
2077
2068
|
"type": "number | string",
|
2078
2069
|
"kind": "expression"
|
2079
2070
|
}
|
2080
2071
|
},
|
2081
2072
|
{
|
2082
|
-
"name": "
|
2083
|
-
"default": "
|
2084
|
-
"description": "
|
2073
|
+
"name": "stroke-linecap",
|
2074
|
+
"default": "`round`",
|
2075
|
+
"description": "进度条端点的形状,可选值为`square` `butt`",
|
2085
2076
|
"value": {
|
2086
2077
|
"type": "string",
|
2087
2078
|
"kind": "expression"
|
2088
2079
|
}
|
2080
|
+
},
|
2081
|
+
{
|
2082
|
+
"name": "clockwise",
|
2083
|
+
"default": "`true`",
|
2084
|
+
"description": "是否顺时针增加",
|
2085
|
+
"value": {
|
2086
|
+
"type": "boolean",
|
2087
|
+
"kind": "expression"
|
2088
|
+
}
|
2089
2089
|
}
|
2090
2090
|
]
|
2091
2091
|
},
|
@@ -3055,45 +3055,6 @@
|
|
3055
3055
|
}
|
3056
3056
|
]
|
3057
3057
|
},
|
3058
|
-
{
|
3059
|
-
"name": "van-divider",
|
3060
|
-
"slots": [
|
3061
|
-
{
|
3062
|
-
"name": "default",
|
3063
|
-
"description": "内容"
|
3064
|
-
}
|
3065
|
-
],
|
3066
|
-
"events": [],
|
3067
|
-
"attributes": [
|
3068
|
-
{
|
3069
|
-
"name": "dashed",
|
3070
|
-
"default": "`false`",
|
3071
|
-
"description": "是否使用虚线",
|
3072
|
-
"value": {
|
3073
|
-
"type": "boolean",
|
3074
|
-
"kind": "expression"
|
3075
|
-
}
|
3076
|
-
},
|
3077
|
-
{
|
3078
|
-
"name": "hairline",
|
3079
|
-
"default": "`true`",
|
3080
|
-
"description": "是否使用 0.5px 线",
|
3081
|
-
"value": {
|
3082
|
-
"type": "boolean",
|
3083
|
-
"kind": "expression"
|
3084
|
-
}
|
3085
|
-
},
|
3086
|
-
{
|
3087
|
-
"name": "content-position",
|
3088
|
-
"default": "`center`",
|
3089
|
-
"description": "内容位置,可选值为`left` `right`",
|
3090
|
-
"value": {
|
3091
|
-
"type": "string",
|
3092
|
-
"kind": "expression"
|
3093
|
-
}
|
3094
|
-
}
|
3095
|
-
]
|
3096
|
-
},
|
3097
3058
|
{
|
3098
3059
|
"name": "van-dialog",
|
3099
3060
|
"slots": [
|
@@ -3342,6 +3303,45 @@
|
|
3342
3303
|
}
|
3343
3304
|
]
|
3344
3305
|
},
|
3306
|
+
{
|
3307
|
+
"name": "van-divider",
|
3308
|
+
"slots": [
|
3309
|
+
{
|
3310
|
+
"name": "default",
|
3311
|
+
"description": "内容"
|
3312
|
+
}
|
3313
|
+
],
|
3314
|
+
"events": [],
|
3315
|
+
"attributes": [
|
3316
|
+
{
|
3317
|
+
"name": "dashed",
|
3318
|
+
"default": "`false`",
|
3319
|
+
"description": "是否使用虚线",
|
3320
|
+
"value": {
|
3321
|
+
"type": "boolean",
|
3322
|
+
"kind": "expression"
|
3323
|
+
}
|
3324
|
+
},
|
3325
|
+
{
|
3326
|
+
"name": "hairline",
|
3327
|
+
"default": "`true`",
|
3328
|
+
"description": "是否使用 0.5px 线",
|
3329
|
+
"value": {
|
3330
|
+
"type": "boolean",
|
3331
|
+
"kind": "expression"
|
3332
|
+
}
|
3333
|
+
},
|
3334
|
+
{
|
3335
|
+
"name": "content-position",
|
3336
|
+
"default": "`center`",
|
3337
|
+
"description": "内容位置,可选值为`left` `right`",
|
3338
|
+
"value": {
|
3339
|
+
"type": "string",
|
3340
|
+
"kind": "expression"
|
3341
|
+
}
|
3342
|
+
}
|
3343
|
+
]
|
3344
|
+
},
|
3345
3345
|
{
|
3346
3346
|
"name": "van-dropdown-menu",
|
3347
3347
|
"slots": [
|
@@ -3553,493 +3553,446 @@
|
|
3553
3553
|
]
|
3554
3554
|
},
|
3555
3555
|
{
|
3556
|
-
"name": "van-
|
3556
|
+
"name": "van-field",
|
3557
3557
|
"slots": [
|
3558
3558
|
{
|
3559
|
-
"name": "
|
3560
|
-
"description": "
|
3561
|
-
}
|
3562
|
-
],
|
3563
|
-
"events": [
|
3559
|
+
"name": "label",
|
3560
|
+
"description": "自定义输入框 label 标签"
|
3561
|
+
},
|
3564
3562
|
{
|
3565
|
-
"name": "
|
3566
|
-
"description": "
|
3563
|
+
"name": "input",
|
3564
|
+
"description": "自定义输入框,使用此插槽后,与输入框相关的属性和事件将失效。<br>在 Form 组件进行表单校验时,会使用 input 插槽中子组件的 `value`,而不是 Field 组件的 `value`。"
|
3567
3565
|
},
|
3568
3566
|
{
|
3569
|
-
"name": "
|
3570
|
-
"description": "
|
3571
|
-
}
|
3572
|
-
|
3567
|
+
"name": "left-icon",
|
3568
|
+
"description": "自定义输入框头部图标"
|
3569
|
+
},
|
3570
|
+
{
|
3571
|
+
"name": "right-icon",
|
3572
|
+
"description": "自定义输入框尾部图标"
|
3573
|
+
},
|
3574
|
+
{
|
3575
|
+
"name": "button",
|
3576
|
+
"description": "自定义输入框尾部按钮"
|
3577
|
+
},
|
3578
|
+
{
|
3579
|
+
"name": "extra",
|
3580
|
+
"description": "自定义输入框最右侧的额外内容"
|
3581
|
+
}
|
3582
|
+
],
|
3583
|
+
"events": [
|
3584
|
+
{
|
3585
|
+
"name": "input",
|
3586
|
+
"description": "输入框内容变化时触发"
|
3587
|
+
},
|
3588
|
+
{
|
3589
|
+
"name": "focus",
|
3590
|
+
"description": "输入框获得焦点时触发"
|
3591
|
+
},
|
3592
|
+
{
|
3593
|
+
"name": "blur",
|
3594
|
+
"description": "输入框失去焦点时触发"
|
3595
|
+
},
|
3596
|
+
{
|
3597
|
+
"name": "clear",
|
3598
|
+
"description": "点击清除按钮时触发"
|
3599
|
+
},
|
3600
|
+
{
|
3601
|
+
"name": "click",
|
3602
|
+
"description": "点击 Field 时触发"
|
3603
|
+
},
|
3604
|
+
{
|
3605
|
+
"name": "click-input",
|
3606
|
+
"description": "点击输入区域时触发"
|
3607
|
+
},
|
3608
|
+
{
|
3609
|
+
"name": "click-left-icon",
|
3610
|
+
"description": "点击左侧图标时触发"
|
3611
|
+
},
|
3612
|
+
{
|
3613
|
+
"name": "click-right-icon",
|
3614
|
+
"description": "点击右侧图标时触发"
|
3615
|
+
}
|
3616
|
+
],
|
3573
3617
|
"attributes": [
|
3574
3618
|
{
|
3575
|
-
"name": "
|
3576
|
-
"default": "
|
3577
|
-
"description": "
|
3619
|
+
"name": "v-model (value)",
|
3620
|
+
"default": "-",
|
3621
|
+
"description": "当前输入的值",
|
3578
3622
|
"value": {
|
3579
3623
|
"type": "number | string",
|
3580
3624
|
"kind": "expression"
|
3581
3625
|
}
|
3582
3626
|
},
|
3583
3627
|
{
|
3584
|
-
"name": "label
|
3585
|
-
"default": "
|
3586
|
-
"description": "
|
3628
|
+
"name": "label",
|
3629
|
+
"default": "-",
|
3630
|
+
"description": "输入框左侧文本",
|
3587
3631
|
"value": {
|
3588
3632
|
"type": "string",
|
3589
3633
|
"kind": "expression"
|
3590
3634
|
}
|
3591
3635
|
},
|
3592
3636
|
{
|
3593
|
-
"name": "
|
3594
|
-
"default": "
|
3595
|
-
"description": "
|
3637
|
+
"name": "name",
|
3638
|
+
"default": "-",
|
3639
|
+
"description": "名称,提交表单的标识符",
|
3596
3640
|
"value": {
|
3597
3641
|
"type": "string",
|
3598
3642
|
"kind": "expression"
|
3599
3643
|
}
|
3600
3644
|
},
|
3601
3645
|
{
|
3602
|
-
"name": "
|
3603
|
-
"default": "`
|
3604
|
-
"description": "
|
3646
|
+
"name": "type",
|
3647
|
+
"default": "`text`",
|
3648
|
+
"description": "输入框类型, 可选值为 `tel` `digit`<br>`number` `textarea` `password` 等",
|
3605
3649
|
"value": {
|
3606
3650
|
"type": "string",
|
3607
3651
|
"kind": "expression"
|
3608
3652
|
}
|
3609
3653
|
},
|
3610
3654
|
{
|
3611
|
-
"name": "
|
3612
|
-
"default": "
|
3613
|
-
"description": "
|
3655
|
+
"name": "size",
|
3656
|
+
"default": "-",
|
3657
|
+
"description": "大小,可选值为 `large`",
|
3614
3658
|
"value": {
|
3615
3659
|
"type": "string",
|
3616
3660
|
"kind": "expression"
|
3617
3661
|
}
|
3618
3662
|
},
|
3619
3663
|
{
|
3620
|
-
"name": "
|
3621
|
-
"default": "
|
3622
|
-
"description": "
|
3664
|
+
"name": "maxlength",
|
3665
|
+
"default": "-",
|
3666
|
+
"description": "输入的最大字符数",
|
3623
3667
|
"value": {
|
3624
|
-
"type": "
|
3668
|
+
"type": "number | string",
|
3625
3669
|
"kind": "expression"
|
3626
3670
|
}
|
3627
3671
|
},
|
3628
3672
|
{
|
3629
|
-
"name": "
|
3630
|
-
"default": "
|
3631
|
-
"description": "
|
3673
|
+
"name": "placeholder",
|
3674
|
+
"default": "-",
|
3675
|
+
"description": "输入框占位提示文字",
|
3632
3676
|
"value": {
|
3633
|
-
"type": "
|
3677
|
+
"type": "string",
|
3634
3678
|
"kind": "expression"
|
3635
3679
|
}
|
3636
3680
|
},
|
3637
3681
|
{
|
3638
|
-
"name": "
|
3639
|
-
"default": "`
|
3640
|
-
"description": "
|
3682
|
+
"name": "border",
|
3683
|
+
"default": "`true`",
|
3684
|
+
"description": "是否显示内边框",
|
3641
3685
|
"value": {
|
3642
3686
|
"type": "boolean",
|
3643
3687
|
"kind": "expression"
|
3644
3688
|
}
|
3645
3689
|
},
|
3646
3690
|
{
|
3647
|
-
"name": "
|
3691
|
+
"name": "disabled",
|
3648
3692
|
"default": "`false`",
|
3649
|
-
"description": "
|
3693
|
+
"description": "是否禁用输入框",
|
3650
3694
|
"value": {
|
3651
3695
|
"type": "boolean",
|
3652
3696
|
"kind": "expression"
|
3653
3697
|
}
|
3654
3698
|
},
|
3655
3699
|
{
|
3656
|
-
"name": "
|
3700
|
+
"name": "readonly",
|
3657
3701
|
"default": "`false`",
|
3658
|
-
"description": "
|
3702
|
+
"description": "是否只读",
|
3659
3703
|
"value": {
|
3660
3704
|
"type": "boolean",
|
3661
3705
|
"kind": "expression"
|
3662
3706
|
}
|
3663
3707
|
},
|
3664
3708
|
{
|
3665
|
-
"name": "
|
3666
|
-
"default": "`
|
3667
|
-
"description": "
|
3709
|
+
"name": "colon",
|
3710
|
+
"default": "`false`",
|
3711
|
+
"description": "是否在 label 后面添加冒号",
|
3668
3712
|
"value": {
|
3669
3713
|
"type": "boolean",
|
3670
3714
|
"kind": "expression"
|
3671
3715
|
}
|
3672
3716
|
},
|
3673
3717
|
{
|
3674
|
-
"name": "
|
3675
|
-
"default": "`
|
3676
|
-
"description": "
|
3718
|
+
"name": "required",
|
3719
|
+
"default": "`false`",
|
3720
|
+
"description": "是否显示表单必填星号",
|
3677
3721
|
"value": {
|
3678
3722
|
"type": "boolean",
|
3679
3723
|
"kind": "expression"
|
3680
3724
|
}
|
3681
3725
|
},
|
3682
3726
|
{
|
3683
|
-
"name": "
|
3684
|
-
"default": "`
|
3685
|
-
"description": "
|
3727
|
+
"name": "center",
|
3728
|
+
"default": "`false`",
|
3729
|
+
"description": "是否使内容垂直居中",
|
3686
3730
|
"value": {
|
3687
3731
|
"type": "boolean",
|
3688
3732
|
"kind": "expression"
|
3689
3733
|
}
|
3690
|
-
}
|
3691
|
-
]
|
3692
|
-
},
|
3693
|
-
{
|
3694
|
-
"name": "van-goods-action",
|
3695
|
-
"slots": [
|
3696
|
-
{
|
3697
|
-
"name": "default",
|
3698
|
-
"description": "文本内容"
|
3699
|
-
},
|
3700
|
-
{
|
3701
|
-
"name": "icon",
|
3702
|
-
"description": "自定义图标"
|
3703
3734
|
},
|
3704
3735
|
{
|
3705
|
-
"name": "
|
3706
|
-
"
|
3707
|
-
|
3708
|
-
],
|
3709
|
-
"events": [],
|
3710
|
-
"attributes": [
|
3711
|
-
{
|
3712
|
-
"name": "safe-area-inset-bottom",
|
3713
|
-
"default": "`true`",
|
3714
|
-
"description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei)",
|
3736
|
+
"name": "clearable",
|
3737
|
+
"default": "`false`",
|
3738
|
+
"description": "是否启用清除图标,点击清除图标后会清空输入框",
|
3715
3739
|
"value": {
|
3716
3740
|
"type": "boolean",
|
3717
3741
|
"kind": "expression"
|
3718
3742
|
}
|
3719
3743
|
},
|
3720
3744
|
{
|
3721
|
-
"name": "
|
3722
|
-
"default": "
|
3723
|
-
"description": "
|
3724
|
-
"value": {
|
3725
|
-
"type": "string",
|
3726
|
-
"kind": "expression"
|
3727
|
-
}
|
3728
|
-
},
|
3729
|
-
{
|
3730
|
-
"name": "icon",
|
3731
|
-
"default": "-",
|
3732
|
-
"description": "图标",
|
3733
|
-
"value": {
|
3734
|
-
"type": "string",
|
3735
|
-
"kind": "expression"
|
3736
|
-
}
|
3737
|
-
},
|
3738
|
-
{
|
3739
|
-
"name": "color",
|
3740
|
-
"default": "`#323233`",
|
3741
|
-
"description": "图标颜色",
|
3745
|
+
"name": "clear-trigger",
|
3746
|
+
"default": "`focus`",
|
3747
|
+
"description": "显示清除图标的时机,`always` 表示输入框不为空时展示,<br>`focus` 表示输入框聚焦且不为空时展示",
|
3742
3748
|
"value": {
|
3743
3749
|
"type": "string",
|
3744
3750
|
"kind": "expression"
|
3745
3751
|
}
|
3746
3752
|
},
|
3747
3753
|
{
|
3748
|
-
"name": "
|
3749
|
-
"default": "-",
|
3750
|
-
"description": "图标额外类名",
|
3751
|
-
"value": {
|
3752
|
-
"type": "any",
|
3753
|
-
"kind": "expression"
|
3754
|
-
}
|
3755
|
-
},
|
3756
|
-
{
|
3757
|
-
"name": "dot",
|
3754
|
+
"name": "clickable",
|
3758
3755
|
"default": "`false`",
|
3759
|
-
"description": "
|
3756
|
+
"description": "是否开启点击反馈",
|
3760
3757
|
"value": {
|
3761
3758
|
"type": "boolean",
|
3762
3759
|
"kind": "expression"
|
3763
3760
|
}
|
3764
3761
|
},
|
3765
3762
|
{
|
3766
|
-
"name": "
|
3767
|
-
"default": "
|
3768
|
-
"description": "
|
3769
|
-
"value": {
|
3770
|
-
"type": "number | string",
|
3771
|
-
"kind": "expression"
|
3772
|
-
}
|
3773
|
-
},
|
3774
|
-
{
|
3775
|
-
"name": "info",
|
3776
|
-
"default": "-",
|
3777
|
-
"description": "图标右上角徽标的内容(已废弃,请使用 badge 属性)",
|
3763
|
+
"name": "is-link",
|
3764
|
+
"default": "`false`",
|
3765
|
+
"description": "是否展示右侧箭头并开启点击反馈",
|
3778
3766
|
"value": {
|
3779
|
-
"type": "
|
3767
|
+
"type": "boolean",
|
3780
3768
|
"kind": "expression"
|
3781
3769
|
}
|
3782
3770
|
},
|
3783
3771
|
{
|
3784
|
-
"name": "
|
3785
|
-
"default": "
|
3786
|
-
"description": "
|
3772
|
+
"name": "autofocus",
|
3773
|
+
"default": "`false`",
|
3774
|
+
"description": "是否自动聚焦,iOS 系统不支持该属性",
|
3787
3775
|
"value": {
|
3788
|
-
"type": "
|
3776
|
+
"type": "boolean",
|
3789
3777
|
"kind": "expression"
|
3790
3778
|
}
|
3791
3779
|
},
|
3792
3780
|
{
|
3793
|
-
"name": "
|
3794
|
-
"default": "
|
3795
|
-
"description": "
|
3781
|
+
"name": "show-word-limit",
|
3782
|
+
"default": "`false`",
|
3783
|
+
"description": "是否显示字数统计,需要设置`maxlength`属性",
|
3796
3784
|
"value": {
|
3797
|
-
"type": "
|
3785
|
+
"type": "boolean",
|
3798
3786
|
"kind": "expression"
|
3799
3787
|
}
|
3800
3788
|
},
|
3801
3789
|
{
|
3802
|
-
"name": "
|
3790
|
+
"name": "error",
|
3803
3791
|
"default": "`false`",
|
3804
|
-
"description": "
|
3792
|
+
"description": "是否将输入内容标红",
|
3805
3793
|
"value": {
|
3806
3794
|
"type": "boolean",
|
3807
3795
|
"kind": "expression"
|
3808
3796
|
}
|
3809
3797
|
},
|
3810
3798
|
{
|
3811
|
-
"name": "
|
3799
|
+
"name": "error-message",
|
3812
3800
|
"default": "-",
|
3813
|
-
"description": "
|
3801
|
+
"description": "底部错误提示文案,为空时不展示",
|
3814
3802
|
"value": {
|
3815
3803
|
"type": "string",
|
3816
3804
|
"kind": "expression"
|
3817
3805
|
}
|
3818
3806
|
},
|
3819
3807
|
{
|
3820
|
-
"name": "
|
3821
|
-
"default": "
|
3822
|
-
"description": "
|
3808
|
+
"name": "formatter",
|
3809
|
+
"default": "-",
|
3810
|
+
"description": "输入内容格式化函数",
|
3823
3811
|
"value": {
|
3824
|
-
"type": "
|
3812
|
+
"type": "Function",
|
3825
3813
|
"kind": "expression"
|
3826
3814
|
}
|
3827
3815
|
},
|
3828
3816
|
{
|
3829
|
-
"name": "
|
3830
|
-
"default": "
|
3831
|
-
"description": "
|
3817
|
+
"name": "format-trigger",
|
3818
|
+
"default": "`onChange`",
|
3819
|
+
"description": "格式化函数触发的时机,可选值为 `onBlur`",
|
3832
3820
|
"value": {
|
3833
3821
|
"type": "string",
|
3834
3822
|
"kind": "expression"
|
3835
3823
|
}
|
3836
3824
|
},
|
3837
3825
|
{
|
3838
|
-
"name": "
|
3839
|
-
"default": "
|
3840
|
-
"description": "
|
3826
|
+
"name": "arrow-direction",
|
3827
|
+
"default": "`right`",
|
3828
|
+
"description": "箭头方向,可选值为 `left` `up` `down`",
|
3841
3829
|
"value": {
|
3842
3830
|
"type": "string",
|
3843
3831
|
"kind": "expression"
|
3844
3832
|
}
|
3845
3833
|
},
|
3846
3834
|
{
|
3847
|
-
"name": "
|
3848
|
-
"default": "
|
3849
|
-
"description": "
|
3835
|
+
"name": "label-class",
|
3836
|
+
"default": "-",
|
3837
|
+
"description": "左侧文本额外类名",
|
3850
3838
|
"value": {
|
3851
|
-
"type": "
|
3839
|
+
"type": "any",
|
3852
3840
|
"kind": "expression"
|
3853
3841
|
}
|
3854
3842
|
},
|
3855
3843
|
{
|
3856
|
-
"name": "
|
3857
|
-
"default": "`
|
3858
|
-
"description": "
|
3844
|
+
"name": "label-width",
|
3845
|
+
"default": "`6.2em`",
|
3846
|
+
"description": "左侧文本宽度,默认单位为`px`",
|
3859
3847
|
"value": {
|
3860
|
-
"type": "
|
3848
|
+
"type": "number | string",
|
3861
3849
|
"kind": "expression"
|
3862
3850
|
}
|
3863
3851
|
},
|
3864
3852
|
{
|
3865
|
-
"name": "
|
3866
|
-
"default": "
|
3867
|
-
"description": "
|
3853
|
+
"name": "label-align",
|
3854
|
+
"default": "`left`",
|
3855
|
+
"description": "左侧文本对齐方式,可选值为 `center` `right`",
|
3868
3856
|
"value": {
|
3869
3857
|
"type": "string",
|
3870
3858
|
"kind": "expression"
|
3871
3859
|
}
|
3872
3860
|
},
|
3873
3861
|
{
|
3874
|
-
"name": "
|
3875
|
-
"default": "
|
3876
|
-
"description": "
|
3862
|
+
"name": "input-align",
|
3863
|
+
"default": "`left`",
|
3864
|
+
"description": "输入框对齐方式,可选值为 `center` `right`",
|
3877
3865
|
"value": {
|
3878
|
-
"type": "string
|
3866
|
+
"type": "string",
|
3879
3867
|
"kind": "expression"
|
3880
3868
|
}
|
3881
3869
|
},
|
3882
3870
|
{
|
3883
|
-
"name": "
|
3884
|
-
"default": "`
|
3885
|
-
"description": "
|
3871
|
+
"name": "error-message-align",
|
3872
|
+
"default": "`left`",
|
3873
|
+
"description": "错误提示文案对齐方式,可选值为 `center` `right`",
|
3886
3874
|
"value": {
|
3887
|
-
"type": "
|
3875
|
+
"type": "string",
|
3888
3876
|
"kind": "expression"
|
3889
|
-
}
|
3890
|
-
}
|
3891
|
-
]
|
3892
|
-
},
|
3893
|
-
{
|
3894
|
-
"name": "van-field",
|
3895
|
-
"slots": [
|
3896
|
-
{
|
3897
|
-
"name": "label",
|
3898
|
-
"description": "自定义输入框 label 标签"
|
3899
|
-
},
|
3900
|
-
{
|
3901
|
-
"name": "input",
|
3902
|
-
"description": "自定义输入框,使用此插槽后,与输入框相关的属性和事件将失效。<br>在 Form 组件进行表单校验时,会使用 input 插槽中子组件的 `value`,而不是 Field 组件的 `value`。"
|
3903
|
-
},
|
3904
|
-
{
|
3905
|
-
"name": "left-icon",
|
3906
|
-
"description": "自定义输入框头部图标"
|
3907
|
-
},
|
3908
|
-
{
|
3909
|
-
"name": "right-icon",
|
3910
|
-
"description": "自定义输入框尾部图标"
|
3911
|
-
},
|
3912
|
-
{
|
3913
|
-
"name": "button",
|
3914
|
-
"description": "自定义输入框尾部按钮"
|
3915
|
-
},
|
3916
|
-
{
|
3917
|
-
"name": "extra",
|
3918
|
-
"description": "自定义输入框最右侧的额外内容"
|
3919
|
-
}
|
3920
|
-
],
|
3921
|
-
"events": [
|
3922
|
-
{
|
3923
|
-
"name": "input",
|
3924
|
-
"description": "输入框内容变化时触发"
|
3925
|
-
},
|
3926
|
-
{
|
3927
|
-
"name": "focus",
|
3928
|
-
"description": "输入框获得焦点时触发"
|
3929
|
-
},
|
3930
|
-
{
|
3931
|
-
"name": "blur",
|
3932
|
-
"description": "输入框失去焦点时触发"
|
3933
|
-
},
|
3934
|
-
{
|
3935
|
-
"name": "clear",
|
3936
|
-
"description": "点击清除按钮时触发"
|
3937
|
-
},
|
3938
|
-
{
|
3939
|
-
"name": "click",
|
3940
|
-
"description": "点击 Field 时触发"
|
3941
|
-
},
|
3942
|
-
{
|
3943
|
-
"name": "click-input",
|
3944
|
-
"description": "点击输入区域时触发"
|
3945
|
-
},
|
3946
|
-
{
|
3947
|
-
"name": "click-left-icon",
|
3948
|
-
"description": "点击左侧图标时触发"
|
3949
|
-
},
|
3950
|
-
{
|
3951
|
-
"name": "click-right-icon",
|
3952
|
-
"description": "点击右侧图标时触发"
|
3953
|
-
}
|
3954
|
-
],
|
3955
|
-
"attributes": [
|
3877
|
+
}
|
3878
|
+
},
|
3956
3879
|
{
|
3957
|
-
"name": "
|
3958
|
-
"default": "
|
3959
|
-
"description": "
|
3880
|
+
"name": "autosize",
|
3881
|
+
"default": "`false`",
|
3882
|
+
"description": "是否自适应内容高度,只对 textarea 有效,<br>可传入对象,如 { maxHeight: 100, minHeight: 50 },<br>单位为`px`",
|
3960
3883
|
"value": {
|
3961
|
-
"type": "
|
3884
|
+
"type": "boolean | object",
|
3962
3885
|
"kind": "expression"
|
3963
3886
|
}
|
3964
3887
|
},
|
3965
3888
|
{
|
3966
|
-
"name": "
|
3889
|
+
"name": "left-icon",
|
3967
3890
|
"default": "-",
|
3968
|
-
"description": "
|
3891
|
+
"description": "左侧[图标名称](#/zh-CN/icon)或图片链接",
|
3969
3892
|
"value": {
|
3970
3893
|
"type": "string",
|
3971
3894
|
"kind": "expression"
|
3972
3895
|
}
|
3973
3896
|
},
|
3974
3897
|
{
|
3975
|
-
"name": "
|
3898
|
+
"name": "right-icon",
|
3976
3899
|
"default": "-",
|
3977
|
-
"description": "
|
3900
|
+
"description": "右侧[图标名称](#/zh-CN/icon)或图片链接",
|
3978
3901
|
"value": {
|
3979
3902
|
"type": "string",
|
3980
3903
|
"kind": "expression"
|
3981
3904
|
}
|
3982
3905
|
},
|
3983
3906
|
{
|
3984
|
-
"name": "
|
3985
|
-
"default": "`
|
3986
|
-
"description": "
|
3907
|
+
"name": "icon-prefix",
|
3908
|
+
"default": "`van-icon`",
|
3909
|
+
"description": "图标类名前缀,同 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props)",
|
3987
3910
|
"value": {
|
3988
3911
|
"type": "string",
|
3989
3912
|
"kind": "expression"
|
3990
3913
|
}
|
3991
3914
|
},
|
3992
3915
|
{
|
3993
|
-
"name": "
|
3916
|
+
"name": "rules",
|
3994
3917
|
"default": "-",
|
3995
|
-
"description": "
|
3918
|
+
"description": "表单校验规则,详见 [Form 组件](#/zh-CN/form#rule-shu-ju-jie-gou)",
|
3996
3919
|
"value": {
|
3997
|
-
"type": "
|
3920
|
+
"type": "Rule[]",
|
3998
3921
|
"kind": "expression"
|
3999
3922
|
}
|
4000
3923
|
},
|
4001
3924
|
{
|
4002
|
-
"name": "
|
3925
|
+
"name": "autocomplete",
|
4003
3926
|
"default": "-",
|
4004
|
-
"description": "
|
3927
|
+
"description": "input 标签原生的[自动完成属性](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete)",
|
3928
|
+
"value": {
|
3929
|
+
"type": "string",
|
3930
|
+
"kind": "expression"
|
3931
|
+
}
|
3932
|
+
}
|
3933
|
+
]
|
3934
|
+
},
|
3935
|
+
{
|
3936
|
+
"name": "van-form",
|
3937
|
+
"slots": [
|
3938
|
+
{
|
3939
|
+
"name": "default",
|
3940
|
+
"description": "表单内容"
|
3941
|
+
}
|
3942
|
+
],
|
3943
|
+
"events": [
|
3944
|
+
{
|
3945
|
+
"name": "submit",
|
3946
|
+
"description": "提交表单且验证通过后触发"
|
3947
|
+
},
|
3948
|
+
{
|
3949
|
+
"name": "failed",
|
3950
|
+
"description": "提交表单且验证不通过后触发"
|
3951
|
+
}
|
3952
|
+
],
|
3953
|
+
"attributes": [
|
3954
|
+
{
|
3955
|
+
"name": "label-width",
|
3956
|
+
"default": "`6.2em`",
|
3957
|
+
"description": "表单项 label 宽度,默认单位为`px`",
|
4005
3958
|
"value": {
|
4006
3959
|
"type": "number | string",
|
4007
3960
|
"kind": "expression"
|
4008
3961
|
}
|
4009
3962
|
},
|
4010
3963
|
{
|
4011
|
-
"name": "
|
4012
|
-
"default": "
|
4013
|
-
"description": "
|
3964
|
+
"name": "label-align",
|
3965
|
+
"default": "`left`",
|
3966
|
+
"description": "表单项 label 对齐方式,可选值为 `center` `right`",
|
4014
3967
|
"value": {
|
4015
3968
|
"type": "string",
|
4016
3969
|
"kind": "expression"
|
4017
3970
|
}
|
4018
3971
|
},
|
4019
3972
|
{
|
4020
|
-
"name": "
|
4021
|
-
"default": "`
|
4022
|
-
"description": "
|
3973
|
+
"name": "input-align",
|
3974
|
+
"default": "`left`",
|
3975
|
+
"description": "输入框对齐方式,可选值为 `center` `right`",
|
4023
3976
|
"value": {
|
4024
|
-
"type": "
|
3977
|
+
"type": "string",
|
4025
3978
|
"kind": "expression"
|
4026
3979
|
}
|
4027
3980
|
},
|
4028
3981
|
{
|
4029
|
-
"name": "
|
4030
|
-
"default": "`
|
4031
|
-
"description": "
|
3982
|
+
"name": "error-message-align",
|
3983
|
+
"default": "`left`",
|
3984
|
+
"description": "错误提示文案对齐方式,可选值为 `center` `right`",
|
4032
3985
|
"value": {
|
4033
|
-
"type": "
|
3986
|
+
"type": "string",
|
4034
3987
|
"kind": "expression"
|
4035
3988
|
}
|
4036
3989
|
},
|
4037
3990
|
{
|
4038
|
-
"name": "
|
4039
|
-
"default": "`
|
4040
|
-
"description": "
|
3991
|
+
"name": "validate-trigger",
|
3992
|
+
"default": "`onBlur`",
|
3993
|
+
"description": "表单校验触发时机,可选值为 `onChange`、`onSubmit`,详见下表",
|
4041
3994
|
"value": {
|
4042
|
-
"type": "
|
3995
|
+
"type": "string",
|
4043
3996
|
"kind": "expression"
|
4044
3997
|
}
|
4045
3998
|
},
|
@@ -4053,218 +4006,265 @@
|
|
4053
4006
|
}
|
4054
4007
|
},
|
4055
4008
|
{
|
4056
|
-
"name": "
|
4009
|
+
"name": "disabled",
|
4057
4010
|
"default": "`false`",
|
4058
|
-
"description": "
|
4011
|
+
"description": "是否禁用表单中的所有输入框",
|
4059
4012
|
"value": {
|
4060
4013
|
"type": "boolean",
|
4061
4014
|
"kind": "expression"
|
4062
4015
|
}
|
4063
4016
|
},
|
4064
4017
|
{
|
4065
|
-
"name": "
|
4018
|
+
"name": "readonly",
|
4066
4019
|
"default": "`false`",
|
4067
|
-
"description": "
|
4020
|
+
"description": "是否将表单中的所有输入框设置为只读",
|
4068
4021
|
"value": {
|
4069
4022
|
"type": "boolean",
|
4070
4023
|
"kind": "expression"
|
4071
4024
|
}
|
4072
4025
|
},
|
4073
4026
|
{
|
4074
|
-
"name": "
|
4027
|
+
"name": "validate-first",
|
4075
4028
|
"default": "`false`",
|
4076
|
-
"description": "
|
4029
|
+
"description": "是否在某一项校验不通过时停止校验",
|
4077
4030
|
"value": {
|
4078
4031
|
"type": "boolean",
|
4079
4032
|
"kind": "expression"
|
4080
4033
|
}
|
4081
4034
|
},
|
4082
4035
|
{
|
4083
|
-
"name": "
|
4084
|
-
"default": "`
|
4085
|
-
"description": "
|
4036
|
+
"name": "scroll-to-error",
|
4037
|
+
"default": "`false`",
|
4038
|
+
"description": "是否在提交表单且校验不通过时滚动至错误的表单项",
|
4086
4039
|
"value": {
|
4087
|
-
"type": "
|
4040
|
+
"type": "boolean",
|
4088
4041
|
"kind": "expression"
|
4089
4042
|
}
|
4090
4043
|
},
|
4091
4044
|
{
|
4092
|
-
"name": "
|
4093
|
-
"default": "`
|
4094
|
-
"description": "
|
4045
|
+
"name": "show-error",
|
4046
|
+
"default": "`true`",
|
4047
|
+
"description": "是否在校验不通过时标红输入框",
|
4095
4048
|
"value": {
|
4096
4049
|
"type": "boolean",
|
4097
4050
|
"kind": "expression"
|
4098
4051
|
}
|
4099
4052
|
},
|
4100
4053
|
{
|
4101
|
-
"name": "
|
4102
|
-
"default": "`
|
4103
|
-
"description": "
|
4054
|
+
"name": "show-error-message",
|
4055
|
+
"default": "`true`",
|
4056
|
+
"description": "是否在校验不通过时在输入框下方展示错误提示",
|
4104
4057
|
"value": {
|
4105
4058
|
"type": "boolean",
|
4106
4059
|
"kind": "expression"
|
4107
4060
|
}
|
4108
4061
|
},
|
4109
4062
|
{
|
4110
|
-
"name": "
|
4111
|
-
"default": "`
|
4112
|
-
"description": "
|
4063
|
+
"name": "submit-on-enter",
|
4064
|
+
"default": "`true`",
|
4065
|
+
"description": "是否在按下回车键时提交表单",
|
4113
4066
|
"value": {
|
4114
4067
|
"type": "boolean",
|
4115
4068
|
"kind": "expression"
|
4116
4069
|
}
|
4070
|
+
}
|
4071
|
+
]
|
4072
|
+
},
|
4073
|
+
{
|
4074
|
+
"name": "van-goods-action",
|
4075
|
+
"slots": [
|
4076
|
+
{
|
4077
|
+
"name": "default",
|
4078
|
+
"description": "文本内容"
|
4117
4079
|
},
|
4118
4080
|
{
|
4119
|
-
"name": "
|
4120
|
-
"
|
4121
|
-
|
4081
|
+
"name": "icon",
|
4082
|
+
"description": "自定义图标"
|
4083
|
+
},
|
4084
|
+
{
|
4085
|
+
"name": "default",
|
4086
|
+
"description": "按钮显示内容"
|
4087
|
+
}
|
4088
|
+
],
|
4089
|
+
"events": [],
|
4090
|
+
"attributes": [
|
4091
|
+
{
|
4092
|
+
"name": "safe-area-inset-bottom",
|
4093
|
+
"default": "`true`",
|
4094
|
+
"description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei)",
|
4122
4095
|
"value": {
|
4123
4096
|
"type": "boolean",
|
4124
4097
|
"kind": "expression"
|
4125
4098
|
}
|
4126
4099
|
},
|
4127
4100
|
{
|
4128
|
-
"name": "
|
4129
|
-
"default": "
|
4130
|
-
"description": "
|
4101
|
+
"name": "text",
|
4102
|
+
"default": "-",
|
4103
|
+
"description": "按钮文字",
|
4131
4104
|
"value": {
|
4132
|
-
"type": "
|
4105
|
+
"type": "string",
|
4133
4106
|
"kind": "expression"
|
4134
4107
|
}
|
4135
4108
|
},
|
4136
4109
|
{
|
4137
|
-
"name": "
|
4110
|
+
"name": "icon",
|
4138
4111
|
"default": "-",
|
4139
|
-
"description": "
|
4112
|
+
"description": "图标",
|
4140
4113
|
"value": {
|
4141
4114
|
"type": "string",
|
4142
4115
|
"kind": "expression"
|
4143
4116
|
}
|
4144
4117
|
},
|
4145
4118
|
{
|
4146
|
-
"name": "
|
4119
|
+
"name": "color",
|
4120
|
+
"default": "`#323233`",
|
4121
|
+
"description": "图标颜色",
|
4122
|
+
"value": {
|
4123
|
+
"type": "string",
|
4124
|
+
"kind": "expression"
|
4125
|
+
}
|
4126
|
+
},
|
4127
|
+
{
|
4128
|
+
"name": "icon-class",
|
4147
4129
|
"default": "-",
|
4148
|
-
"description": "
|
4130
|
+
"description": "图标额外类名",
|
4149
4131
|
"value": {
|
4150
|
-
"type": "
|
4132
|
+
"type": "any",
|
4151
4133
|
"kind": "expression"
|
4152
4134
|
}
|
4153
4135
|
},
|
4154
4136
|
{
|
4155
|
-
"name": "
|
4156
|
-
"default": "`
|
4157
|
-
"description": "
|
4137
|
+
"name": "dot",
|
4138
|
+
"default": "`false`",
|
4139
|
+
"description": "是否显示图标右上角小红点",
|
4158
4140
|
"value": {
|
4159
|
-
"type": "
|
4141
|
+
"type": "boolean",
|
4160
4142
|
"kind": "expression"
|
4161
4143
|
}
|
4162
4144
|
},
|
4163
4145
|
{
|
4164
|
-
"name": "
|
4165
|
-
"default": "
|
4166
|
-
"description": "
|
4146
|
+
"name": "badge",
|
4147
|
+
"default": "-",
|
4148
|
+
"description": "图标右上角徽标的内容",
|
4149
|
+
"value": {
|
4150
|
+
"type": "number | string",
|
4151
|
+
"kind": "expression"
|
4152
|
+
}
|
4153
|
+
},
|
4154
|
+
{
|
4155
|
+
"name": "info",
|
4156
|
+
"default": "-",
|
4157
|
+
"description": "图标右上角徽标的内容(已废弃,请使用 badge 属性)",
|
4158
|
+
"value": {
|
4159
|
+
"type": "number | string",
|
4160
|
+
"kind": "expression"
|
4161
|
+
}
|
4162
|
+
},
|
4163
|
+
{
|
4164
|
+
"name": "url",
|
4165
|
+
"default": "-",
|
4166
|
+
"description": "点击后跳转的链接地址",
|
4167
4167
|
"value": {
|
4168
4168
|
"type": "string",
|
4169
4169
|
"kind": "expression"
|
4170
4170
|
}
|
4171
4171
|
},
|
4172
4172
|
{
|
4173
|
-
"name": "
|
4173
|
+
"name": "to",
|
4174
4174
|
"default": "-",
|
4175
|
-
"description": "
|
4175
|
+
"description": "点击后跳转的目标路由对象,同 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to)",
|
4176
4176
|
"value": {
|
4177
|
-
"type": "
|
4177
|
+
"type": "string | object",
|
4178
4178
|
"kind": "expression"
|
4179
4179
|
}
|
4180
4180
|
},
|
4181
4181
|
{
|
4182
|
-
"name": "
|
4183
|
-
"default": "`
|
4184
|
-
"description": "
|
4182
|
+
"name": "replace",
|
4183
|
+
"default": "`false`",
|
4184
|
+
"description": "是否在跳转时替换当前页面历史",
|
4185
4185
|
"value": {
|
4186
|
-
"type": "
|
4186
|
+
"type": "boolean",
|
4187
4187
|
"kind": "expression"
|
4188
4188
|
}
|
4189
4189
|
},
|
4190
4190
|
{
|
4191
|
-
"name": "
|
4192
|
-
"default": "
|
4193
|
-
"description": "
|
4191
|
+
"name": "text",
|
4192
|
+
"default": "-",
|
4193
|
+
"description": "按钮文字",
|
4194
4194
|
"value": {
|
4195
4195
|
"type": "string",
|
4196
4196
|
"kind": "expression"
|
4197
4197
|
}
|
4198
4198
|
},
|
4199
4199
|
{
|
4200
|
-
"name": "
|
4201
|
-
"default": "`
|
4202
|
-
"description": "
|
4200
|
+
"name": "type",
|
4201
|
+
"default": "`default`",
|
4202
|
+
"description": "按钮类型,可选值为 `primary` `info` `warning` `danger`",
|
4203
4203
|
"value": {
|
4204
4204
|
"type": "string",
|
4205
4205
|
"kind": "expression"
|
4206
4206
|
}
|
4207
4207
|
},
|
4208
4208
|
{
|
4209
|
-
"name": "
|
4210
|
-
"default": "
|
4211
|
-
"description": "
|
4209
|
+
"name": "color",
|
4210
|
+
"default": "-",
|
4211
|
+
"description": "按钮颜色,支持传入`linear-gradient`渐变色",
|
4212
4212
|
"value": {
|
4213
4213
|
"type": "string",
|
4214
4214
|
"kind": "expression"
|
4215
4215
|
}
|
4216
4216
|
},
|
4217
4217
|
{
|
4218
|
-
"name": "
|
4219
|
-
"default": "
|
4220
|
-
"description": "
|
4218
|
+
"name": "icon",
|
4219
|
+
"default": "-",
|
4220
|
+
"description": "左侧[图标名称](#/zh-CN/icon)或图片链接",
|
4221
4221
|
"value": {
|
4222
|
-
"type": "
|
4222
|
+
"type": "string",
|
4223
4223
|
"kind": "expression"
|
4224
4224
|
}
|
4225
4225
|
},
|
4226
4226
|
{
|
4227
|
-
"name": "
|
4228
|
-
"default": "
|
4229
|
-
"description": "
|
4227
|
+
"name": "disabled",
|
4228
|
+
"default": "`false`",
|
4229
|
+
"description": "是否禁用按钮",
|
4230
4230
|
"value": {
|
4231
|
-
"type": "
|
4231
|
+
"type": "boolean",
|
4232
4232
|
"kind": "expression"
|
4233
4233
|
}
|
4234
4234
|
},
|
4235
4235
|
{
|
4236
|
-
"name": "
|
4237
|
-
"default": "
|
4238
|
-
"description": "
|
4236
|
+
"name": "loading",
|
4237
|
+
"default": "`false`",
|
4238
|
+
"description": "是否显示为加载状态",
|
4239
4239
|
"value": {
|
4240
|
-
"type": "
|
4240
|
+
"type": "boolean",
|
4241
4241
|
"kind": "expression"
|
4242
4242
|
}
|
4243
4243
|
},
|
4244
4244
|
{
|
4245
|
-
"name": "
|
4246
|
-
"default": "
|
4247
|
-
"description": "
|
4245
|
+
"name": "url",
|
4246
|
+
"default": "-",
|
4247
|
+
"description": "点击后跳转的链接地址",
|
4248
4248
|
"value": {
|
4249
4249
|
"type": "string",
|
4250
4250
|
"kind": "expression"
|
4251
4251
|
}
|
4252
4252
|
},
|
4253
4253
|
{
|
4254
|
-
"name": "
|
4254
|
+
"name": "to",
|
4255
4255
|
"default": "-",
|
4256
|
-
"description": "
|
4256
|
+
"description": "点击后跳转的目标路由对象,同 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to)",
|
4257
4257
|
"value": {
|
4258
|
-
"type": "
|
4258
|
+
"type": "string | object",
|
4259
4259
|
"kind": "expression"
|
4260
4260
|
}
|
4261
4261
|
},
|
4262
4262
|
{
|
4263
|
-
"name": "
|
4264
|
-
"default": "
|
4265
|
-
"description": "
|
4263
|
+
"name": "replace",
|
4264
|
+
"default": "`false`",
|
4265
|
+
"description": "是否在跳转时替换当前页面历史",
|
4266
4266
|
"value": {
|
4267
|
-
"type": "
|
4267
|
+
"type": "boolean",
|
4268
4268
|
"kind": "expression"
|
4269
4269
|
}
|
4270
4270
|
}
|
@@ -4448,90 +4448,6 @@
|
|
4448
4448
|
}
|
4449
4449
|
]
|
4450
4450
|
},
|
4451
|
-
{
|
4452
|
-
"name": "van-icon",
|
4453
|
-
"slots": [],
|
4454
|
-
"events": [
|
4455
|
-
{
|
4456
|
-
"name": "click",
|
4457
|
-
"description": "点击图标时触发"
|
4458
|
-
}
|
4459
|
-
],
|
4460
|
-
"attributes": [
|
4461
|
-
{
|
4462
|
-
"name": "name",
|
4463
|
-
"default": "-",
|
4464
|
-
"description": "图标名称或图片链接",
|
4465
|
-
"value": {
|
4466
|
-
"type": "string",
|
4467
|
-
"kind": "expression"
|
4468
|
-
}
|
4469
|
-
},
|
4470
|
-
{
|
4471
|
-
"name": "dot",
|
4472
|
-
"default": "`false`",
|
4473
|
-
"description": "是否显示图标右上角小红点",
|
4474
|
-
"value": {
|
4475
|
-
"type": "boolean",
|
4476
|
-
"kind": "expression"
|
4477
|
-
}
|
4478
|
-
},
|
4479
|
-
{
|
4480
|
-
"name": "badge",
|
4481
|
-
"default": "-",
|
4482
|
-
"description": "图标右上角徽标的内容",
|
4483
|
-
"value": {
|
4484
|
-
"type": "number | string",
|
4485
|
-
"kind": "expression"
|
4486
|
-
}
|
4487
|
-
},
|
4488
|
-
{
|
4489
|
-
"name": "info",
|
4490
|
-
"default": "-",
|
4491
|
-
"description": "图标右上角徽标的内容(已废弃,请使用 badge 属性)",
|
4492
|
-
"value": {
|
4493
|
-
"type": "number | string",
|
4494
|
-
"kind": "expression"
|
4495
|
-
}
|
4496
|
-
},
|
4497
|
-
{
|
4498
|
-
"name": "color",
|
4499
|
-
"default": "`inherit`",
|
4500
|
-
"description": "图标颜色",
|
4501
|
-
"value": {
|
4502
|
-
"type": "string",
|
4503
|
-
"kind": "expression"
|
4504
|
-
}
|
4505
|
-
},
|
4506
|
-
{
|
4507
|
-
"name": "size",
|
4508
|
-
"default": "`inherit`",
|
4509
|
-
"description": "图标大小,如 `20px` `2em`,默认单位为`px`",
|
4510
|
-
"value": {
|
4511
|
-
"type": "number | string",
|
4512
|
-
"kind": "expression"
|
4513
|
-
}
|
4514
|
-
},
|
4515
|
-
{
|
4516
|
-
"name": "class-prefix",
|
4517
|
-
"default": "`van-icon`",
|
4518
|
-
"description": "类名前缀,用于使用自定义图标",
|
4519
|
-
"value": {
|
4520
|
-
"type": "string",
|
4521
|
-
"kind": "expression"
|
4522
|
-
}
|
4523
|
-
},
|
4524
|
-
{
|
4525
|
-
"name": "tag",
|
4526
|
-
"default": "`i`",
|
4527
|
-
"description": "HTML 标签",
|
4528
|
-
"value": {
|
4529
|
-
"type": "string",
|
4530
|
-
"kind": "expression"
|
4531
|
-
}
|
4532
|
-
}
|
4533
|
-
]
|
4534
|
-
},
|
4535
4451
|
{
|
4536
4452
|
"name": "van-image",
|
4537
4453
|
"slots": [
|
@@ -4682,6 +4598,90 @@
|
|
4682
4598
|
}
|
4683
4599
|
]
|
4684
4600
|
},
|
4601
|
+
{
|
4602
|
+
"name": "van-icon",
|
4603
|
+
"slots": [],
|
4604
|
+
"events": [
|
4605
|
+
{
|
4606
|
+
"name": "click",
|
4607
|
+
"description": "点击图标时触发"
|
4608
|
+
}
|
4609
|
+
],
|
4610
|
+
"attributes": [
|
4611
|
+
{
|
4612
|
+
"name": "name",
|
4613
|
+
"default": "-",
|
4614
|
+
"description": "图标名称或图片链接",
|
4615
|
+
"value": {
|
4616
|
+
"type": "string",
|
4617
|
+
"kind": "expression"
|
4618
|
+
}
|
4619
|
+
},
|
4620
|
+
{
|
4621
|
+
"name": "dot",
|
4622
|
+
"default": "`false`",
|
4623
|
+
"description": "是否显示图标右上角小红点",
|
4624
|
+
"value": {
|
4625
|
+
"type": "boolean",
|
4626
|
+
"kind": "expression"
|
4627
|
+
}
|
4628
|
+
},
|
4629
|
+
{
|
4630
|
+
"name": "badge",
|
4631
|
+
"default": "-",
|
4632
|
+
"description": "图标右上角徽标的内容",
|
4633
|
+
"value": {
|
4634
|
+
"type": "number | string",
|
4635
|
+
"kind": "expression"
|
4636
|
+
}
|
4637
|
+
},
|
4638
|
+
{
|
4639
|
+
"name": "info",
|
4640
|
+
"default": "-",
|
4641
|
+
"description": "图标右上角徽标的内容(已废弃,请使用 badge 属性)",
|
4642
|
+
"value": {
|
4643
|
+
"type": "number | string",
|
4644
|
+
"kind": "expression"
|
4645
|
+
}
|
4646
|
+
},
|
4647
|
+
{
|
4648
|
+
"name": "color",
|
4649
|
+
"default": "`inherit`",
|
4650
|
+
"description": "图标颜色",
|
4651
|
+
"value": {
|
4652
|
+
"type": "string",
|
4653
|
+
"kind": "expression"
|
4654
|
+
}
|
4655
|
+
},
|
4656
|
+
{
|
4657
|
+
"name": "size",
|
4658
|
+
"default": "`inherit`",
|
4659
|
+
"description": "图标大小,如 `20px` `2em`,默认单位为`px`",
|
4660
|
+
"value": {
|
4661
|
+
"type": "number | string",
|
4662
|
+
"kind": "expression"
|
4663
|
+
}
|
4664
|
+
},
|
4665
|
+
{
|
4666
|
+
"name": "class-prefix",
|
4667
|
+
"default": "`van-icon`",
|
4668
|
+
"description": "类名前缀,用于使用自定义图标",
|
4669
|
+
"value": {
|
4670
|
+
"type": "string",
|
4671
|
+
"kind": "expression"
|
4672
|
+
}
|
4673
|
+
},
|
4674
|
+
{
|
4675
|
+
"name": "tag",
|
4676
|
+
"default": "`i`",
|
4677
|
+
"description": "HTML 标签",
|
4678
|
+
"value": {
|
4679
|
+
"type": "string",
|
4680
|
+
"kind": "expression"
|
4681
|
+
}
|
4682
|
+
}
|
4683
|
+
]
|
4684
|
+
},
|
4685
4685
|
{
|
4686
4686
|
"name": "van-image-preview",
|
4687
4687
|
"slots": [
|
@@ -5712,16 +5712,72 @@
|
|
5712
5712
|
"default": "`5`",
|
5713
5713
|
"description": "显示的页码个数",
|
5714
5714
|
"value": {
|
5715
|
-
"type": "number | string",
|
5715
|
+
"type": "number | string",
|
5716
|
+
"kind": "expression"
|
5717
|
+
}
|
5718
|
+
},
|
5719
|
+
{
|
5720
|
+
"name": "force-ellipses",
|
5721
|
+
"default": "`false`",
|
5722
|
+
"description": "是否显示省略号",
|
5723
|
+
"value": {
|
5724
|
+
"type": "boolean",
|
5725
|
+
"kind": "expression"
|
5726
|
+
}
|
5727
|
+
}
|
5728
|
+
]
|
5729
|
+
},
|
5730
|
+
{
|
5731
|
+
"name": "van-panel",
|
5732
|
+
"slots": [
|
5733
|
+
{
|
5734
|
+
"name": "default",
|
5735
|
+
"description": "自定义内容"
|
5736
|
+
},
|
5737
|
+
{
|
5738
|
+
"name": "header",
|
5739
|
+
"description": "自定义 header"
|
5740
|
+
},
|
5741
|
+
{
|
5742
|
+
"name": "footer",
|
5743
|
+
"description": "自定义 footer"
|
5744
|
+
}
|
5745
|
+
],
|
5746
|
+
"events": [],
|
5747
|
+
"attributes": [
|
5748
|
+
{
|
5749
|
+
"name": "title",
|
5750
|
+
"default": "-",
|
5751
|
+
"description": "标题",
|
5752
|
+
"value": {
|
5753
|
+
"type": "string",
|
5754
|
+
"kind": "expression"
|
5755
|
+
}
|
5756
|
+
},
|
5757
|
+
{
|
5758
|
+
"name": "desc",
|
5759
|
+
"default": "-",
|
5760
|
+
"description": "描述",
|
5761
|
+
"value": {
|
5762
|
+
"type": "string",
|
5763
|
+
"kind": "expression"
|
5764
|
+
}
|
5765
|
+
},
|
5766
|
+
{
|
5767
|
+
"name": "status",
|
5768
|
+
"default": "-",
|
5769
|
+
"description": "状态",
|
5770
|
+
"value": {
|
5771
|
+
"type": "string",
|
5716
5772
|
"kind": "expression"
|
5717
5773
|
}
|
5718
5774
|
},
|
5719
5775
|
{
|
5720
|
-
"name": "
|
5721
|
-
"default": "
|
5722
|
-
"description": "
|
5776
|
+
"name": "icon",
|
5777
|
+
"default": "-",
|
5778
|
+
"description": "标题左侧[图标名称](#/zh-CN/icon)或图片链接",
|
5723
5779
|
"value": {
|
5724
|
-
"type": "
|
5780
|
+
"type": "string",
|
5725
5781
|
"kind": "expression"
|
5726
5782
|
}
|
5727
5783
|
}
|
@@ -5977,62 +6033,6 @@
|
|
5977
6033
|
}
|
5978
6034
|
]
|
5979
6035
|
},
|
5980
|
-
{
|
5981
|
-
"name": "van-panel",
|
5982
|
-
"slots": [
|
5983
|
-
{
|
5984
|
-
"name": "default",
|
5985
|
-
"description": "自定义内容"
|
5986
|
-
},
|
5987
|
-
{
|
5988
|
-
"name": "header",
|
5989
|
-
"description": "自定义 header"
|
5990
|
-
},
|
5991
|
-
{
|
5992
|
-
"name": "footer",
|
5993
|
-
"description": "自定义 footer"
|
5994
|
-
}
|
5995
|
-
],
|
5996
|
-
"events": [],
|
5997
|
-
"attributes": [
|
5998
|
-
{
|
5999
|
-
"name": "title",
|
6000
|
-
"default": "-",
|
6001
|
-
"description": "标题",
|
6002
|
-
"value": {
|
6003
|
-
"type": "string",
|
6004
|
-
"kind": "expression"
|
6005
|
-
}
|
6006
|
-
},
|
6007
|
-
{
|
6008
|
-
"name": "desc",
|
6009
|
-
"default": "-",
|
6010
|
-
"description": "描述",
|
6011
|
-
"value": {
|
6012
|
-
"type": "string",
|
6013
|
-
"kind": "expression"
|
6014
|
-
}
|
6015
|
-
},
|
6016
|
-
{
|
6017
|
-
"name": "status",
|
6018
|
-
"default": "-",
|
6019
|
-
"description": "状态",
|
6020
|
-
"value": {
|
6021
|
-
"type": "string",
|
6022
|
-
"kind": "expression"
|
6023
|
-
}
|
6024
|
-
},
|
6025
|
-
{
|
6026
|
-
"name": "icon",
|
6027
|
-
"default": "-",
|
6028
|
-
"description": "标题左侧[图标名称](#/zh-CN/icon)或图片链接",
|
6029
|
-
"value": {
|
6030
|
-
"type": "string",
|
6031
|
-
"kind": "expression"
|
6032
|
-
}
|
6033
|
-
}
|
6034
|
-
]
|
6035
|
-
},
|
6036
6036
|
{
|
6037
6037
|
"name": "van-popover",
|
6038
6038
|
"slots": [
|
@@ -6817,7 +6817,7 @@
|
|
6817
6817
|
{
|
6818
6818
|
"name": "readonly",
|
6819
6819
|
"default": "`false`",
|
6820
|
-
"description": "是否为只读状态
|
6820
|
+
"description": "是否为只读状态",
|
6821
6821
|
"value": {
|
6822
6822
|
"type": "boolean",
|
6823
6823
|
"kind": "expression"
|
@@ -9342,6 +9342,99 @@
|
|
9342
9342
|
}
|
9343
9343
|
]
|
9344
9344
|
},
|
9345
|
+
{
|
9346
|
+
"name": "van-tag",
|
9347
|
+
"slots": [
|
9348
|
+
{
|
9349
|
+
"name": "default",
|
9350
|
+
"description": "标签显示内容"
|
9351
|
+
}
|
9352
|
+
],
|
9353
|
+
"events": [
|
9354
|
+
{
|
9355
|
+
"name": "click",
|
9356
|
+
"description": "点击时触发"
|
9357
|
+
},
|
9358
|
+
{
|
9359
|
+
"name": "close",
|
9360
|
+
"description": "关闭标签时触发"
|
9361
|
+
}
|
9362
|
+
],
|
9363
|
+
"attributes": [
|
9364
|
+
{
|
9365
|
+
"name": "type",
|
9366
|
+
"default": "`default`",
|
9367
|
+
"description": "类型,可选值为`primary` `success` `danger` `warning`",
|
9368
|
+
"value": {
|
9369
|
+
"type": "string",
|
9370
|
+
"kind": "expression"
|
9371
|
+
}
|
9372
|
+
},
|
9373
|
+
{
|
9374
|
+
"name": "size",
|
9375
|
+
"default": "-",
|
9376
|
+
"description": "大小, 可选值为`large` `medium`",
|
9377
|
+
"value": {
|
9378
|
+
"type": "string",
|
9379
|
+
"kind": "expression"
|
9380
|
+
}
|
9381
|
+
},
|
9382
|
+
{
|
9383
|
+
"name": "color",
|
9384
|
+
"default": "-",
|
9385
|
+
"description": "标签颜色",
|
9386
|
+
"value": {
|
9387
|
+
"type": "string",
|
9388
|
+
"kind": "expression"
|
9389
|
+
}
|
9390
|
+
},
|
9391
|
+
{
|
9392
|
+
"name": "plain",
|
9393
|
+
"default": "`false`",
|
9394
|
+
"description": "是否为空心样式",
|
9395
|
+
"value": {
|
9396
|
+
"type": "boolean",
|
9397
|
+
"kind": "expression"
|
9398
|
+
}
|
9399
|
+
},
|
9400
|
+
{
|
9401
|
+
"name": "round",
|
9402
|
+
"default": "`false`",
|
9403
|
+
"description": "是否为圆角样式",
|
9404
|
+
"value": {
|
9405
|
+
"type": "boolean",
|
9406
|
+
"kind": "expression"
|
9407
|
+
}
|
9408
|
+
},
|
9409
|
+
{
|
9410
|
+
"name": "mark",
|
9411
|
+
"default": "`false`",
|
9412
|
+
"description": "是否为标记样式",
|
9413
|
+
"value": {
|
9414
|
+
"type": "boolean",
|
9415
|
+
"kind": "expression"
|
9416
|
+
}
|
9417
|
+
},
|
9418
|
+
{
|
9419
|
+
"name": "text-color",
|
9420
|
+
"default": "`white`",
|
9421
|
+
"description": "文本颜色,优先级高于`color`属性",
|
9422
|
+
"value": {
|
9423
|
+
"type": "string",
|
9424
|
+
"kind": "expression"
|
9425
|
+
}
|
9426
|
+
},
|
9427
|
+
{
|
9428
|
+
"name": "closeable",
|
9429
|
+
"default": "`false`",
|
9430
|
+
"description": "是否为可关闭标签",
|
9431
|
+
"value": {
|
9432
|
+
"type": "boolean",
|
9433
|
+
"kind": "expression"
|
9434
|
+
}
|
9435
|
+
}
|
9436
|
+
]
|
9437
|
+
},
|
9345
9438
|
{
|
9346
9439
|
"name": "van-toast",
|
9347
9440
|
"slots": [],
|
@@ -9666,99 +9759,6 @@
|
|
9666
9759
|
}
|
9667
9760
|
}
|
9668
9761
|
]
|
9669
|
-
},
|
9670
|
-
{
|
9671
|
-
"name": "van-tag",
|
9672
|
-
"slots": [
|
9673
|
-
{
|
9674
|
-
"name": "default",
|
9675
|
-
"description": "标签显示内容"
|
9676
|
-
}
|
9677
|
-
],
|
9678
|
-
"events": [
|
9679
|
-
{
|
9680
|
-
"name": "click",
|
9681
|
-
"description": "点击时触发"
|
9682
|
-
},
|
9683
|
-
{
|
9684
|
-
"name": "close",
|
9685
|
-
"description": "关闭标签时触发"
|
9686
|
-
}
|
9687
|
-
],
|
9688
|
-
"attributes": [
|
9689
|
-
{
|
9690
|
-
"name": "type",
|
9691
|
-
"default": "`default`",
|
9692
|
-
"description": "类型,可选值为`primary` `success` `danger` `warning`",
|
9693
|
-
"value": {
|
9694
|
-
"type": "string",
|
9695
|
-
"kind": "expression"
|
9696
|
-
}
|
9697
|
-
},
|
9698
|
-
{
|
9699
|
-
"name": "size",
|
9700
|
-
"default": "-",
|
9701
|
-
"description": "大小, 可选值为`large` `medium`",
|
9702
|
-
"value": {
|
9703
|
-
"type": "string",
|
9704
|
-
"kind": "expression"
|
9705
|
-
}
|
9706
|
-
},
|
9707
|
-
{
|
9708
|
-
"name": "color",
|
9709
|
-
"default": "-",
|
9710
|
-
"description": "标签颜色",
|
9711
|
-
"value": {
|
9712
|
-
"type": "string",
|
9713
|
-
"kind": "expression"
|
9714
|
-
}
|
9715
|
-
},
|
9716
|
-
{
|
9717
|
-
"name": "plain",
|
9718
|
-
"default": "`false`",
|
9719
|
-
"description": "是否为空心样式",
|
9720
|
-
"value": {
|
9721
|
-
"type": "boolean",
|
9722
|
-
"kind": "expression"
|
9723
|
-
}
|
9724
|
-
},
|
9725
|
-
{
|
9726
|
-
"name": "round",
|
9727
|
-
"default": "`false`",
|
9728
|
-
"description": "是否为圆角样式",
|
9729
|
-
"value": {
|
9730
|
-
"type": "boolean",
|
9731
|
-
"kind": "expression"
|
9732
|
-
}
|
9733
|
-
},
|
9734
|
-
{
|
9735
|
-
"name": "mark",
|
9736
|
-
"default": "`false`",
|
9737
|
-
"description": "是否为标记样式",
|
9738
|
-
"value": {
|
9739
|
-
"type": "boolean",
|
9740
|
-
"kind": "expression"
|
9741
|
-
}
|
9742
|
-
},
|
9743
|
-
{
|
9744
|
-
"name": "text-color",
|
9745
|
-
"default": "`white`",
|
9746
|
-
"description": "文本颜色,优先级高于`color`属性",
|
9747
|
-
"value": {
|
9748
|
-
"type": "string",
|
9749
|
-
"kind": "expression"
|
9750
|
-
}
|
9751
|
-
},
|
9752
|
-
{
|
9753
|
-
"name": "closeable",
|
9754
|
-
"default": "`false`",
|
9755
|
-
"description": "是否为可关闭标签",
|
9756
|
-
"value": {
|
9757
|
-
"type": "boolean",
|
9758
|
-
"kind": "expression"
|
9759
|
-
}
|
9760
|
-
}
|
9761
|
-
]
|
9762
9762
|
}
|
9763
9763
|
],
|
9764
9764
|
"attributes": [],
|