vant 3.3.3 → 3.3.4
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/index.d.ts +1 -1
- package/es/index.js +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/ssr.js +7 -0
- package/lib/ssr.mjs +1 -0
- package/lib/vant.cjs.js +1 -1
- package/lib/vant.cjs.min.js +1 -1
- package/lib/vant.es.js +1 -1
- package/lib/vant.es.min.js +1 -1
- package/lib/vant.js +1 -1
- package/lib/vant.min.js +1 -1
- package/package.json +1 -1
- package/vetur/attributes.json +191 -191
- package/vetur/tags.json +78 -78
- package/vetur/web-types.json +701 -701
package/vetur/web-types.json
CHANGED
@@ -2,7 +2,7 @@
|
|
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": "3.3.
|
5
|
+
"version": "3.3.4",
|
6
6
|
"contributions": {
|
7
7
|
"html": {
|
8
8
|
"tags": [
|
@@ -494,6 +494,125 @@
|
|
494
494
|
}
|
495
495
|
]
|
496
496
|
},
|
497
|
+
{
|
498
|
+
"name": "van-address-list",
|
499
|
+
"slots": [
|
500
|
+
{
|
501
|
+
"name": "default",
|
502
|
+
"description": "在列表下方插入内容"
|
503
|
+
},
|
504
|
+
{
|
505
|
+
"name": "top",
|
506
|
+
"description": "在顶部插入内容"
|
507
|
+
},
|
508
|
+
{
|
509
|
+
"name": "item-bottom",
|
510
|
+
"description": "在列表项底部插入内容"
|
511
|
+
},
|
512
|
+
{
|
513
|
+
"name": "tag",
|
514
|
+
"description": "自定义列表项标签内容"
|
515
|
+
}
|
516
|
+
],
|
517
|
+
"events": [
|
518
|
+
{
|
519
|
+
"name": "add",
|
520
|
+
"description": "点击新增按钮时触发"
|
521
|
+
},
|
522
|
+
{
|
523
|
+
"name": "edit",
|
524
|
+
"description": "点击编辑按钮时触发"
|
525
|
+
},
|
526
|
+
{
|
527
|
+
"name": "select",
|
528
|
+
"description": "切换选中的地址时触发"
|
529
|
+
},
|
530
|
+
{
|
531
|
+
"name": "edit-disabled",
|
532
|
+
"description": "编辑不可配送的地址时触发"
|
533
|
+
},
|
534
|
+
{
|
535
|
+
"name": "select-disabled",
|
536
|
+
"description": "选中不可配送的地址时触发"
|
537
|
+
},
|
538
|
+
{
|
539
|
+
"name": "click-item",
|
540
|
+
"description": "点击任意地址时触发"
|
541
|
+
}
|
542
|
+
],
|
543
|
+
"attributes": [
|
544
|
+
{
|
545
|
+
"name": "v-model",
|
546
|
+
"default": "-",
|
547
|
+
"description": "当前选中地址的 id",
|
548
|
+
"options": [],
|
549
|
+
"value": {
|
550
|
+
"type": "string",
|
551
|
+
"kind": "expression"
|
552
|
+
}
|
553
|
+
},
|
554
|
+
{
|
555
|
+
"name": "list",
|
556
|
+
"default": "`[]`",
|
557
|
+
"description": "地址列表",
|
558
|
+
"options": [],
|
559
|
+
"value": {
|
560
|
+
"type": "AddressListAddress[]",
|
561
|
+
"kind": "expression"
|
562
|
+
}
|
563
|
+
},
|
564
|
+
{
|
565
|
+
"name": "disabled-list",
|
566
|
+
"default": "`[]`",
|
567
|
+
"description": "不可配送地址列表",
|
568
|
+
"options": [],
|
569
|
+
"value": {
|
570
|
+
"type": "AddressListAddress[]",
|
571
|
+
"kind": "expression"
|
572
|
+
}
|
573
|
+
},
|
574
|
+
{
|
575
|
+
"name": "disabled-text",
|
576
|
+
"default": "-",
|
577
|
+
"description": "不可配送提示文案",
|
578
|
+
"options": [],
|
579
|
+
"value": {
|
580
|
+
"type": "string",
|
581
|
+
"kind": "expression"
|
582
|
+
}
|
583
|
+
},
|
584
|
+
{
|
585
|
+
"name": "switchable",
|
586
|
+
"default": "`true`",
|
587
|
+
"description": "是否允许切换地址",
|
588
|
+
"options": [],
|
589
|
+
"value": {
|
590
|
+
"type": "boolean",
|
591
|
+
"kind": "expression"
|
592
|
+
}
|
593
|
+
},
|
594
|
+
{
|
595
|
+
"name": "add-button-text",
|
596
|
+
"default": "`新增地址`",
|
597
|
+
"description": "底部按钮文字",
|
598
|
+
"options": [],
|
599
|
+
"value": {
|
600
|
+
"type": "string",
|
601
|
+
"kind": "expression"
|
602
|
+
}
|
603
|
+
},
|
604
|
+
{
|
605
|
+
"name": "default-tag-text",
|
606
|
+
"default": "-",
|
607
|
+
"description": "默认地址标签文字",
|
608
|
+
"options": [],
|
609
|
+
"value": {
|
610
|
+
"type": "string",
|
611
|
+
"kind": "expression"
|
612
|
+
}
|
613
|
+
}
|
614
|
+
]
|
615
|
+
},
|
497
616
|
{
|
498
617
|
"name": "van-address-edit",
|
499
618
|
"slots": [
|
@@ -760,119 +879,78 @@
|
|
760
879
|
]
|
761
880
|
},
|
762
881
|
{
|
763
|
-
"name": "van-
|
882
|
+
"name": "van-badge",
|
764
883
|
"slots": [
|
765
884
|
{
|
766
885
|
"name": "default",
|
767
|
-
"description": "
|
768
|
-
},
|
769
|
-
{
|
770
|
-
"name": "top",
|
771
|
-
"description": "在顶部插入内容"
|
772
|
-
},
|
773
|
-
{
|
774
|
-
"name": "item-bottom",
|
775
|
-
"description": "在列表项底部插入内容"
|
776
|
-
},
|
777
|
-
{
|
778
|
-
"name": "tag",
|
779
|
-
"description": "自定义列表项标签内容"
|
780
|
-
}
|
781
|
-
],
|
782
|
-
"events": [
|
783
|
-
{
|
784
|
-
"name": "add",
|
785
|
-
"description": "点击新增按钮时触发"
|
786
|
-
},
|
787
|
-
{
|
788
|
-
"name": "edit",
|
789
|
-
"description": "点击编辑按钮时触发"
|
790
|
-
},
|
791
|
-
{
|
792
|
-
"name": "select",
|
793
|
-
"description": "切换选中的地址时触发"
|
794
|
-
},
|
795
|
-
{
|
796
|
-
"name": "edit-disabled",
|
797
|
-
"description": "编辑不可配送的地址时触发"
|
798
|
-
},
|
799
|
-
{
|
800
|
-
"name": "select-disabled",
|
801
|
-
"description": "选中不可配送的地址时触发"
|
886
|
+
"description": "徽标包裹的子元素"
|
802
887
|
},
|
803
888
|
{
|
804
|
-
"name": "
|
805
|
-
"description": "
|
889
|
+
"name": "content",
|
890
|
+
"description": "自定义徽标内容"
|
806
891
|
}
|
807
892
|
],
|
893
|
+
"events": [],
|
808
894
|
"attributes": [
|
809
895
|
{
|
810
|
-
"name": "
|
896
|
+
"name": "content",
|
811
897
|
"default": "-",
|
812
|
-
"description": "
|
898
|
+
"description": "徽标内容",
|
813
899
|
"options": [],
|
814
900
|
"value": {
|
815
|
-
"type": "string",
|
901
|
+
"type": "number | string",
|
816
902
|
"kind": "expression"
|
817
903
|
}
|
818
904
|
},
|
819
905
|
{
|
820
|
-
"name": "
|
821
|
-
"default": "`
|
822
|
-
"description": "
|
906
|
+
"name": "color",
|
907
|
+
"default": "`#ee0a24`",
|
908
|
+
"description": "徽标背景颜色",
|
823
909
|
"options": [],
|
824
910
|
"value": {
|
825
|
-
"type": "
|
911
|
+
"type": "string",
|
826
912
|
"kind": "expression"
|
827
913
|
}
|
828
914
|
},
|
829
915
|
{
|
830
|
-
"name": "
|
831
|
-
"default": "`
|
832
|
-
"description": "
|
916
|
+
"name": "dot",
|
917
|
+
"default": "`false`",
|
918
|
+
"description": "是否展示为小红点",
|
833
919
|
"options": [],
|
834
920
|
"value": {
|
835
|
-
"type": "
|
921
|
+
"type": "boolean",
|
836
922
|
"kind": "expression"
|
837
923
|
}
|
838
924
|
},
|
839
925
|
{
|
840
|
-
"name": "
|
926
|
+
"name": "max",
|
841
927
|
"default": "-",
|
842
|
-
"description": "
|
843
|
-
"options": [],
|
844
|
-
"value": {
|
845
|
-
"type": "string",
|
846
|
-
"kind": "expression"
|
847
|
-
}
|
848
|
-
},
|
849
|
-
{
|
850
|
-
"name": "switchable",
|
851
|
-
"default": "`true`",
|
852
|
-
"description": "是否允许切换地址",
|
928
|
+
"description": "最大值,超过最大值会显示 `{max}+`,仅当 content 为数字时有效",
|
853
929
|
"options": [],
|
854
930
|
"value": {
|
855
|
-
"type": "
|
931
|
+
"type": "number | string",
|
856
932
|
"kind": "expression"
|
857
933
|
}
|
858
934
|
},
|
859
935
|
{
|
860
|
-
"name": "
|
861
|
-
"default": "
|
862
|
-
"description": "
|
863
|
-
"options": [
|
936
|
+
"name": "offset",
|
937
|
+
"default": "string]_",
|
938
|
+
"description": "设置徽标的偏移量,数组的两项分别对应水平和垂直方向的偏移量,默认单位为 `px`",
|
939
|
+
"options": [
|
940
|
+
"-"
|
941
|
+
],
|
864
942
|
"value": {
|
865
|
-
"type": "string",
|
943
|
+
"type": "[number | string, number \\",
|
866
944
|
"kind": "expression"
|
867
945
|
}
|
868
946
|
},
|
869
947
|
{
|
870
|
-
"name": "
|
871
|
-
"default": "
|
872
|
-
"description": "
|
948
|
+
"name": "show-zero",
|
949
|
+
"default": "`true`",
|
950
|
+
"description": "当 content 为数字 0 时,是否展示徽标",
|
873
951
|
"options": [],
|
874
952
|
"value": {
|
875
|
-
"type": "
|
953
|
+
"type": "boolean",
|
876
954
|
"kind": "expression"
|
877
955
|
}
|
878
956
|
}
|
@@ -1054,117 +1132,39 @@
|
|
1054
1132
|
]
|
1055
1133
|
},
|
1056
1134
|
{
|
1057
|
-
"name": "van-
|
1135
|
+
"name": "van-button",
|
1058
1136
|
"slots": [
|
1059
1137
|
{
|
1060
1138
|
"name": "default",
|
1061
|
-
"description": "
|
1139
|
+
"description": "按钮内容"
|
1062
1140
|
},
|
1063
1141
|
{
|
1064
|
-
"name": "
|
1065
|
-
"description": "
|
1142
|
+
"name": "icon",
|
1143
|
+
"description": "自定义图标"
|
1144
|
+
},
|
1145
|
+
{
|
1146
|
+
"name": "loading",
|
1147
|
+
"description": "自定义加载图标"
|
1148
|
+
}
|
1149
|
+
],
|
1150
|
+
"events": [
|
1151
|
+
{
|
1152
|
+
"name": "click",
|
1153
|
+
"description": "点击按钮,且按钮状态不为加载或禁用时触发"
|
1154
|
+
},
|
1155
|
+
{
|
1156
|
+
"name": "touchstart",
|
1157
|
+
"description": "开始触摸按钮时触发"
|
1066
1158
|
}
|
1067
1159
|
],
|
1068
|
-
"events": [],
|
1069
1160
|
"attributes": [
|
1070
1161
|
{
|
1071
|
-
"name": "
|
1072
|
-
"default": "
|
1073
|
-
"description": "
|
1162
|
+
"name": "type",
|
1163
|
+
"default": "`default`",
|
1164
|
+
"description": "类型,可选值为 `primary` `success` `warning` `danger`",
|
1074
1165
|
"options": [],
|
1075
1166
|
"value": {
|
1076
|
-
"type": "
|
1077
|
-
"kind": "expression"
|
1078
|
-
}
|
1079
|
-
},
|
1080
|
-
{
|
1081
|
-
"name": "color",
|
1082
|
-
"default": "`#ee0a24`",
|
1083
|
-
"description": "徽标背景颜色",
|
1084
|
-
"options": [],
|
1085
|
-
"value": {
|
1086
|
-
"type": "string",
|
1087
|
-
"kind": "expression"
|
1088
|
-
}
|
1089
|
-
},
|
1090
|
-
{
|
1091
|
-
"name": "dot",
|
1092
|
-
"default": "`false`",
|
1093
|
-
"description": "是否展示为小红点",
|
1094
|
-
"options": [],
|
1095
|
-
"value": {
|
1096
|
-
"type": "boolean",
|
1097
|
-
"kind": "expression"
|
1098
|
-
}
|
1099
|
-
},
|
1100
|
-
{
|
1101
|
-
"name": "max",
|
1102
|
-
"default": "-",
|
1103
|
-
"description": "最大值,超过最大值会显示 `{max}+`,仅当 content 为数字时有效",
|
1104
|
-
"options": [],
|
1105
|
-
"value": {
|
1106
|
-
"type": "number | string",
|
1107
|
-
"kind": "expression"
|
1108
|
-
}
|
1109
|
-
},
|
1110
|
-
{
|
1111
|
-
"name": "offset",
|
1112
|
-
"default": "string]_",
|
1113
|
-
"description": "设置徽标的偏移量,数组的两项分别对应水平和垂直方向的偏移量,默认单位为 `px`",
|
1114
|
-
"options": [
|
1115
|
-
"-"
|
1116
|
-
],
|
1117
|
-
"value": {
|
1118
|
-
"type": "[number | string, number \\",
|
1119
|
-
"kind": "expression"
|
1120
|
-
}
|
1121
|
-
},
|
1122
|
-
{
|
1123
|
-
"name": "show-zero",
|
1124
|
-
"default": "`true`",
|
1125
|
-
"description": "当 content 为数字 0 时,是否展示徽标",
|
1126
|
-
"options": [],
|
1127
|
-
"value": {
|
1128
|
-
"type": "boolean",
|
1129
|
-
"kind": "expression"
|
1130
|
-
}
|
1131
|
-
}
|
1132
|
-
]
|
1133
|
-
},
|
1134
|
-
{
|
1135
|
-
"name": "van-button",
|
1136
|
-
"slots": [
|
1137
|
-
{
|
1138
|
-
"name": "default",
|
1139
|
-
"description": "按钮内容"
|
1140
|
-
},
|
1141
|
-
{
|
1142
|
-
"name": "icon",
|
1143
|
-
"description": "自定义图标"
|
1144
|
-
},
|
1145
|
-
{
|
1146
|
-
"name": "loading",
|
1147
|
-
"description": "自定义加载图标"
|
1148
|
-
}
|
1149
|
-
],
|
1150
|
-
"events": [
|
1151
|
-
{
|
1152
|
-
"name": "click",
|
1153
|
-
"description": "点击按钮,且按钮状态不为加载或禁用时触发"
|
1154
|
-
},
|
1155
|
-
{
|
1156
|
-
"name": "touchstart",
|
1157
|
-
"description": "开始触摸按钮时触发"
|
1158
|
-
}
|
1159
|
-
],
|
1160
|
-
"attributes": [
|
1161
|
-
{
|
1162
|
-
"name": "type",
|
1163
|
-
"default": "`default`",
|
1164
|
-
"description": "类型,可选值为 `primary` `success` `warning` `danger`",
|
1165
|
-
"options": [],
|
1166
|
-
"value": {
|
1167
|
-
"type": "string",
|
1167
|
+
"type": "string",
|
1168
1168
|
"kind": "expression"
|
1169
1169
|
}
|
1170
1170
|
},
|
@@ -3799,52 +3799,19 @@
|
|
3799
3799
|
]
|
3800
3800
|
},
|
3801
3801
|
{
|
3802
|
-
"name": "van-
|
3802
|
+
"name": "van-divider",
|
3803
3803
|
"slots": [
|
3804
3804
|
{
|
3805
3805
|
"name": "default",
|
3806
|
-
"description": "
|
3807
|
-
},
|
3808
|
-
{
|
3809
|
-
"name": "title",
|
3810
|
-
"description": "自定义标题"
|
3811
|
-
},
|
3812
|
-
{
|
3813
|
-
"name": "footer",
|
3814
|
-
"description": "自定义底部按钮区域"
|
3815
|
-
}
|
3816
|
-
],
|
3817
|
-
"events": [
|
3818
|
-
{
|
3819
|
-
"name": "confirm",
|
3820
|
-
"description": "点击确认按钮时触发"
|
3821
|
-
},
|
3822
|
-
{
|
3823
|
-
"name": "cancel",
|
3824
|
-
"description": "点击取消按钮时触发"
|
3825
|
-
},
|
3826
|
-
{
|
3827
|
-
"name": "open",
|
3828
|
-
"description": "打开弹窗时触发"
|
3829
|
-
},
|
3830
|
-
{
|
3831
|
-
"name": "close",
|
3832
|
-
"description": "关闭弹窗时触发"
|
3833
|
-
},
|
3834
|
-
{
|
3835
|
-
"name": "opened",
|
3836
|
-
"description": "打开弹窗且动画结束后触发"
|
3837
|
-
},
|
3838
|
-
{
|
3839
|
-
"name": "closed",
|
3840
|
-
"description": "关闭弹窗且动画结束后触发"
|
3806
|
+
"description": "内容"
|
3841
3807
|
}
|
3842
3808
|
],
|
3809
|
+
"events": [],
|
3843
3810
|
"attributes": [
|
3844
3811
|
{
|
3845
|
-
"name": "
|
3846
|
-
"default": "
|
3847
|
-
"description": "
|
3812
|
+
"name": "dashed",
|
3813
|
+
"default": "`false`",
|
3814
|
+
"description": "是否使用虚线",
|
3848
3815
|
"options": [],
|
3849
3816
|
"value": {
|
3850
3817
|
"type": "boolean",
|
@@ -3852,39 +3819,46 @@
|
|
3852
3819
|
}
|
3853
3820
|
},
|
3854
3821
|
{
|
3855
|
-
"name": "
|
3856
|
-
"default": "
|
3857
|
-
"description": "
|
3822
|
+
"name": "hairline",
|
3823
|
+
"default": "`true`",
|
3824
|
+
"description": "是否使用 0.5px 线",
|
3858
3825
|
"options": [],
|
3859
3826
|
"value": {
|
3860
|
-
"type": "
|
3827
|
+
"type": "boolean",
|
3861
3828
|
"kind": "expression"
|
3862
3829
|
}
|
3863
3830
|
},
|
3864
3831
|
{
|
3865
|
-
"name": "
|
3866
|
-
"default": "`
|
3867
|
-
"description": "
|
3832
|
+
"name": "content-position",
|
3833
|
+
"default": "`center`",
|
3834
|
+
"description": "内容位置,可选值为 `left` `right`",
|
3868
3835
|
"options": [],
|
3869
3836
|
"value": {
|
3870
|
-
"type": "
|
3837
|
+
"type": "string",
|
3871
3838
|
"kind": "expression"
|
3872
3839
|
}
|
3873
|
-
}
|
3840
|
+
}
|
3841
|
+
]
|
3842
|
+
},
|
3843
|
+
{
|
3844
|
+
"name": "van-dropdown-menu",
|
3845
|
+
"slots": [],
|
3846
|
+
"events": [],
|
3847
|
+
"attributes": [
|
3874
3848
|
{
|
3875
|
-
"name": "
|
3876
|
-
"default": "
|
3877
|
-
"description": "
|
3849
|
+
"name": "active-color",
|
3850
|
+
"default": "`#ee0a24`",
|
3851
|
+
"description": "菜单标题和选项的选中态颜色",
|
3878
3852
|
"options": [],
|
3879
3853
|
"value": {
|
3880
|
-
"type": "string
|
3854
|
+
"type": "string",
|
3881
3855
|
"kind": "expression"
|
3882
3856
|
}
|
3883
3857
|
},
|
3884
3858
|
{
|
3885
|
-
"name": "
|
3886
|
-
"default": "`
|
3887
|
-
"description": "
|
3859
|
+
"name": "direction",
|
3860
|
+
"default": "`down`",
|
3861
|
+
"description": "菜单展开方向,可选值为`up`",
|
3888
3862
|
"options": [],
|
3889
3863
|
"value": {
|
3890
3864
|
"type": "string",
|
@@ -3892,29 +3866,29 @@
|
|
3892
3866
|
}
|
3893
3867
|
},
|
3894
3868
|
{
|
3895
|
-
"name": "
|
3896
|
-
"default": "`
|
3897
|
-
"description": "
|
3869
|
+
"name": "z-index",
|
3870
|
+
"default": "`10`",
|
3871
|
+
"description": "菜单栏 z-index 层级",
|
3898
3872
|
"options": [],
|
3899
3873
|
"value": {
|
3900
|
-
"type": "string",
|
3874
|
+
"type": "number | string",
|
3901
3875
|
"kind": "expression"
|
3902
3876
|
}
|
3903
3877
|
},
|
3904
3878
|
{
|
3905
|
-
"name": "
|
3906
|
-
"default": "`
|
3907
|
-
"description": "
|
3879
|
+
"name": "duration",
|
3880
|
+
"default": "`0.2`",
|
3881
|
+
"description": "动画时长,单位秒,设置为 0 可以禁用动画",
|
3908
3882
|
"options": [],
|
3909
3883
|
"value": {
|
3910
|
-
"type": "
|
3884
|
+
"type": "number | string",
|
3911
3885
|
"kind": "expression"
|
3912
3886
|
}
|
3913
3887
|
},
|
3914
3888
|
{
|
3915
|
-
"name": "
|
3916
|
-
"default": "`
|
3917
|
-
"description": "
|
3889
|
+
"name": "overlay",
|
3890
|
+
"default": "`true`",
|
3891
|
+
"description": "是否显示遮罩层",
|
3918
3892
|
"options": [],
|
3919
3893
|
"value": {
|
3920
3894
|
"type": "boolean",
|
@@ -3922,39 +3896,76 @@
|
|
3922
3896
|
}
|
3923
3897
|
},
|
3924
3898
|
{
|
3925
|
-
"name": "
|
3926
|
-
"default": "
|
3927
|
-
"description": "
|
3899
|
+
"name": "close-on-click-overlay",
|
3900
|
+
"default": "`true`",
|
3901
|
+
"description": "是否在点击遮罩层后关闭菜单",
|
3928
3902
|
"options": [],
|
3929
3903
|
"value": {
|
3930
|
-
"type": "
|
3904
|
+
"type": "boolean",
|
3931
3905
|
"kind": "expression"
|
3932
3906
|
}
|
3933
3907
|
},
|
3934
3908
|
{
|
3935
|
-
"name": "
|
3936
|
-
"default": "
|
3937
|
-
"description": "
|
3909
|
+
"name": "close-on-click-outside",
|
3910
|
+
"default": "`true`",
|
3911
|
+
"description": "是否在点击外部元素后关闭菜单",
|
3938
3912
|
"options": [],
|
3939
3913
|
"value": {
|
3940
|
-
"type": "
|
3914
|
+
"type": "boolean",
|
3941
3915
|
"kind": "expression"
|
3942
3916
|
}
|
3917
|
+
}
|
3918
|
+
]
|
3919
|
+
},
|
3920
|
+
{
|
3921
|
+
"name": "van-dropdown-item",
|
3922
|
+
"slots": [
|
3923
|
+
{
|
3924
|
+
"name": "default",
|
3925
|
+
"description": "菜单内容"
|
3943
3926
|
},
|
3944
3927
|
{
|
3945
|
-
"name": "
|
3946
|
-
"
|
3947
|
-
|
3928
|
+
"name": "title",
|
3929
|
+
"description": "自定义菜单项标题"
|
3930
|
+
}
|
3931
|
+
],
|
3932
|
+
"events": [
|
3933
|
+
{
|
3934
|
+
"name": "change",
|
3935
|
+
"description": "点击选项导致 value 变化时触发"
|
3936
|
+
},
|
3937
|
+
{
|
3938
|
+
"name": "open",
|
3939
|
+
"description": "打开菜单栏时触发"
|
3940
|
+
},
|
3941
|
+
{
|
3942
|
+
"name": "close",
|
3943
|
+
"description": "关闭菜单栏时触发"
|
3944
|
+
},
|
3945
|
+
{
|
3946
|
+
"name": "opened",
|
3947
|
+
"description": "打开菜单栏且动画结束后触发"
|
3948
|
+
},
|
3949
|
+
{
|
3950
|
+
"name": "closed",
|
3951
|
+
"description": "关闭菜单栏且动画结束后触发"
|
3952
|
+
}
|
3953
|
+
],
|
3954
|
+
"attributes": [
|
3955
|
+
{
|
3956
|
+
"name": "v-model",
|
3957
|
+
"default": "-",
|
3958
|
+
"description": "当前选中项对应的 value",
|
3948
3959
|
"options": [],
|
3949
3960
|
"value": {
|
3950
|
-
"type": "string",
|
3961
|
+
"type": "number | string",
|
3951
3962
|
"kind": "expression"
|
3952
3963
|
}
|
3953
3964
|
},
|
3954
3965
|
{
|
3955
|
-
"name": "
|
3956
|
-
"default": "
|
3957
|
-
"description": "
|
3966
|
+
"name": "title",
|
3967
|
+
"default": "当前选中项文字",
|
3968
|
+
"description": "菜单项标题",
|
3958
3969
|
"options": [],
|
3959
3970
|
"value": {
|
3960
3971
|
"type": "string",
|
@@ -3962,59 +3973,106 @@
|
|
3962
3973
|
}
|
3963
3974
|
},
|
3964
3975
|
{
|
3965
|
-
"name": "
|
3966
|
-
"default": "`
|
3967
|
-
"description": "
|
3976
|
+
"name": "options",
|
3977
|
+
"default": "`[]`",
|
3978
|
+
"description": "选项数组",
|
3968
3979
|
"options": [],
|
3969
3980
|
"value": {
|
3970
|
-
"type": "
|
3981
|
+
"type": "Option[]",
|
3971
3982
|
"kind": "expression"
|
3972
3983
|
}
|
3973
3984
|
},
|
3974
3985
|
{
|
3975
|
-
"name": "
|
3976
|
-
"default": "
|
3977
|
-
"description": "
|
3986
|
+
"name": "disabled",
|
3987
|
+
"default": "`false`",
|
3988
|
+
"description": "是否禁用菜单",
|
3978
3989
|
"options": [],
|
3979
3990
|
"value": {
|
3980
|
-
"type": "
|
3991
|
+
"type": "boolean",
|
3981
3992
|
"kind": "expression"
|
3982
3993
|
}
|
3983
3994
|
},
|
3984
3995
|
{
|
3985
|
-
"name": "
|
3986
|
-
"default": "
|
3987
|
-
"description": "
|
3996
|
+
"name": "lazy-render",
|
3997
|
+
"default": "`true`",
|
3998
|
+
"description": "是否在首次展开时才渲染菜单内容",
|
3988
3999
|
"options": [],
|
3989
4000
|
"value": {
|
3990
|
-
"type": "
|
4001
|
+
"type": "boolean",
|
3991
4002
|
"kind": "expression"
|
3992
4003
|
}
|
3993
4004
|
},
|
3994
4005
|
{
|
3995
|
-
"name": "
|
3996
|
-
"default": "
|
3997
|
-
"description": "
|
3998
|
-
"options": [
|
4006
|
+
"name": "title-class",
|
4007
|
+
"default": "object_",
|
4008
|
+
"description": "标题额外类名",
|
4009
|
+
"options": [
|
4010
|
+
"-"
|
4011
|
+
],
|
3999
4012
|
"value": {
|
4000
|
-
"type": "
|
4013
|
+
"type": "string | Array \\",
|
4001
4014
|
"kind": "expression"
|
4002
4015
|
}
|
4003
4016
|
},
|
4004
4017
|
{
|
4005
|
-
"name": "
|
4006
|
-
"default": "
|
4007
|
-
"description": "
|
4018
|
+
"name": "teleport",
|
4019
|
+
"default": "-",
|
4020
|
+
"description": "指定挂载的节点,等同于 Teleport 组件的 [to 属性](https://v3.cn.vuejs.org/api/built-in-components.html#teleport)",
|
4008
4021
|
"options": [],
|
4009
4022
|
"value": {
|
4010
|
-
"type": "
|
4023
|
+
"type": "string | Element",
|
4011
4024
|
"kind": "expression"
|
4012
4025
|
}
|
4026
|
+
}
|
4027
|
+
]
|
4028
|
+
},
|
4029
|
+
{
|
4030
|
+
"name": "van-dialog",
|
4031
|
+
"slots": [
|
4032
|
+
{
|
4033
|
+
"name": "default",
|
4034
|
+
"description": "自定义内容"
|
4013
4035
|
},
|
4014
4036
|
{
|
4015
|
-
"name": "
|
4016
|
-
"
|
4017
|
-
|
4037
|
+
"name": "title",
|
4038
|
+
"description": "自定义标题"
|
4039
|
+
},
|
4040
|
+
{
|
4041
|
+
"name": "footer",
|
4042
|
+
"description": "自定义底部按钮区域"
|
4043
|
+
}
|
4044
|
+
],
|
4045
|
+
"events": [
|
4046
|
+
{
|
4047
|
+
"name": "confirm",
|
4048
|
+
"description": "点击确认按钮时触发"
|
4049
|
+
},
|
4050
|
+
{
|
4051
|
+
"name": "cancel",
|
4052
|
+
"description": "点击取消按钮时触发"
|
4053
|
+
},
|
4054
|
+
{
|
4055
|
+
"name": "open",
|
4056
|
+
"description": "打开弹窗时触发"
|
4057
|
+
},
|
4058
|
+
{
|
4059
|
+
"name": "close",
|
4060
|
+
"description": "关闭弹窗时触发"
|
4061
|
+
},
|
4062
|
+
{
|
4063
|
+
"name": "opened",
|
4064
|
+
"description": "打开弹窗且动画结束后触发"
|
4065
|
+
},
|
4066
|
+
{
|
4067
|
+
"name": "closed",
|
4068
|
+
"description": "关闭弹窗且动画结束后触发"
|
4069
|
+
}
|
4070
|
+
],
|
4071
|
+
"attributes": [
|
4072
|
+
{
|
4073
|
+
"name": "v-model:show",
|
4074
|
+
"default": "-",
|
4075
|
+
"description": "是否显示弹窗",
|
4018
4076
|
"options": [],
|
4019
4077
|
"value": {
|
4020
4078
|
"type": "boolean",
|
@@ -4022,39 +4080,39 @@
|
|
4022
4080
|
}
|
4023
4081
|
},
|
4024
4082
|
{
|
4025
|
-
"name": "
|
4026
|
-
"default": "
|
4027
|
-
"description": "
|
4083
|
+
"name": "title",
|
4084
|
+
"default": "-",
|
4085
|
+
"description": "标题",
|
4028
4086
|
"options": [],
|
4029
4087
|
"value": {
|
4030
|
-
"type": "
|
4088
|
+
"type": "string",
|
4031
4089
|
"kind": "expression"
|
4032
4090
|
}
|
4033
4091
|
},
|
4034
4092
|
{
|
4035
|
-
"name": "
|
4036
|
-
"default": "`
|
4037
|
-
"description": "
|
4093
|
+
"name": "width",
|
4094
|
+
"default": "`320px`",
|
4095
|
+
"description": "弹窗宽度,默认单位为 `px`",
|
4038
4096
|
"options": [],
|
4039
4097
|
"value": {
|
4040
|
-
"type": "
|
4098
|
+
"type": "number | string",
|
4041
4099
|
"kind": "expression"
|
4042
4100
|
}
|
4043
4101
|
},
|
4044
4102
|
{
|
4045
|
-
"name": "
|
4103
|
+
"name": "message",
|
4046
4104
|
"default": "-",
|
4047
|
-
"description": "
|
4105
|
+
"description": "文本内容,支持通过 `\\n` 换行",
|
4048
4106
|
"options": [],
|
4049
4107
|
"value": {
|
4050
|
-
"type": "(
|
4108
|
+
"type": "string | () => JSX.ELement",
|
4051
4109
|
"kind": "expression"
|
4052
4110
|
}
|
4053
4111
|
},
|
4054
4112
|
{
|
4055
|
-
"name": "
|
4056
|
-
"default": "
|
4057
|
-
"description": "
|
4113
|
+
"name": "message-align",
|
4114
|
+
"default": "`center`",
|
4115
|
+
"description": "内容水平对齐方式,可选值为 `left` `right`",
|
4058
4116
|
"options": [],
|
4059
4117
|
"value": {
|
4060
4118
|
"type": "string",
|
@@ -4062,31 +4120,19 @@
|
|
4062
4120
|
}
|
4063
4121
|
},
|
4064
4122
|
{
|
4065
|
-
"name": "
|
4066
|
-
"default": "
|
4067
|
-
"description": "
|
4123
|
+
"name": "theme",
|
4124
|
+
"default": "`default`",
|
4125
|
+
"description": "样式风格,可选值为 `round-button`",
|
4068
4126
|
"options": [],
|
4069
4127
|
"value": {
|
4070
|
-
"type": "string
|
4128
|
+
"type": "string",
|
4071
4129
|
"kind": "expression"
|
4072
4130
|
}
|
4073
|
-
}
|
4074
|
-
]
|
4075
|
-
},
|
4076
|
-
{
|
4077
|
-
"name": "van-divider",
|
4078
|
-
"slots": [
|
4079
|
-
{
|
4080
|
-
"name": "default",
|
4081
|
-
"description": "内容"
|
4082
|
-
}
|
4083
|
-
],
|
4084
|
-
"events": [],
|
4085
|
-
"attributes": [
|
4131
|
+
},
|
4086
4132
|
{
|
4087
|
-
"name": "
|
4088
|
-
"default": "`
|
4089
|
-
"description": "
|
4133
|
+
"name": "show-confirm-button",
|
4134
|
+
"default": "`true`",
|
4135
|
+
"description": "是否展示确认按钮",
|
4090
4136
|
"options": [],
|
4091
4137
|
"value": {
|
4092
4138
|
"type": "boolean",
|
@@ -4094,9 +4140,9 @@
|
|
4094
4140
|
}
|
4095
4141
|
},
|
4096
4142
|
{
|
4097
|
-
"name": "
|
4098
|
-
"default": "`
|
4099
|
-
"description": "
|
4143
|
+
"name": "show-cancel-button",
|
4144
|
+
"default": "`false`",
|
4145
|
+
"description": "是否展示取消按钮",
|
4100
4146
|
"options": [],
|
4101
4147
|
"value": {
|
4102
4148
|
"type": "boolean",
|
@@ -4104,26 +4150,19 @@
|
|
4104
4150
|
}
|
4105
4151
|
},
|
4106
4152
|
{
|
4107
|
-
"name": "
|
4108
|
-
"default": "
|
4109
|
-
"description": "
|
4153
|
+
"name": "confirm-button-text",
|
4154
|
+
"default": "`确认`",
|
4155
|
+
"description": "确认按钮文案",
|
4110
4156
|
"options": [],
|
4111
4157
|
"value": {
|
4112
4158
|
"type": "string",
|
4113
4159
|
"kind": "expression"
|
4114
4160
|
}
|
4115
|
-
}
|
4116
|
-
]
|
4117
|
-
},
|
4118
|
-
{
|
4119
|
-
"name": "van-dropdown-menu",
|
4120
|
-
"slots": [],
|
4121
|
-
"events": [],
|
4122
|
-
"attributes": [
|
4161
|
+
},
|
4123
4162
|
{
|
4124
|
-
"name": "
|
4163
|
+
"name": "confirm-button-color",
|
4125
4164
|
"default": "`#ee0a24`",
|
4126
|
-
"description": "
|
4165
|
+
"description": "确认按钮颜色",
|
4127
4166
|
"options": [],
|
4128
4167
|
"value": {
|
4129
4168
|
"type": "string",
|
@@ -4131,9 +4170,9 @@
|
|
4131
4170
|
}
|
4132
4171
|
},
|
4133
4172
|
{
|
4134
|
-
"name": "
|
4135
|
-
"default": "
|
4136
|
-
"description": "
|
4173
|
+
"name": "cancel-button-text",
|
4174
|
+
"default": "`取消`",
|
4175
|
+
"description": "取消按钮文案",
|
4137
4176
|
"options": [],
|
4138
4177
|
"value": {
|
4139
4178
|
"type": "string",
|
@@ -4141,126 +4180,89 @@
|
|
4141
4180
|
}
|
4142
4181
|
},
|
4143
4182
|
{
|
4144
|
-
"name": "
|
4145
|
-
"default": "`
|
4146
|
-
"description": "
|
4183
|
+
"name": "cancel-button-color",
|
4184
|
+
"default": "`black`",
|
4185
|
+
"description": "取消按钮颜色",
|
4147
4186
|
"options": [],
|
4148
4187
|
"value": {
|
4149
|
-
"type": "
|
4188
|
+
"type": "string",
|
4150
4189
|
"kind": "expression"
|
4151
4190
|
}
|
4152
4191
|
},
|
4153
4192
|
{
|
4154
|
-
"name": "
|
4155
|
-
"default": "`
|
4156
|
-
"description": "
|
4193
|
+
"name": "overlay",
|
4194
|
+
"default": "`true`",
|
4195
|
+
"description": "是否展示遮罩层",
|
4157
4196
|
"options": [],
|
4158
4197
|
"value": {
|
4159
|
-
"type": "
|
4198
|
+
"type": "boolean",
|
4160
4199
|
"kind": "expression"
|
4161
4200
|
}
|
4162
4201
|
},
|
4163
4202
|
{
|
4164
|
-
"name": "overlay",
|
4165
|
-
"default": "
|
4166
|
-
"description": "
|
4203
|
+
"name": "overlay-class",
|
4204
|
+
"default": "-",
|
4205
|
+
"description": "自定义遮罩层类名",
|
4167
4206
|
"options": [],
|
4168
4207
|
"value": {
|
4169
|
-
"type": "
|
4208
|
+
"type": "string",
|
4170
4209
|
"kind": "expression"
|
4171
4210
|
}
|
4172
4211
|
},
|
4173
4212
|
{
|
4174
|
-
"name": "
|
4175
|
-
"default": "
|
4176
|
-
"description": "
|
4213
|
+
"name": "overlay-style",
|
4214
|
+
"default": "-",
|
4215
|
+
"description": "自定义遮罩层样式",
|
4177
4216
|
"options": [],
|
4178
4217
|
"value": {
|
4179
|
-
"type": "
|
4218
|
+
"type": "object",
|
4180
4219
|
"kind": "expression"
|
4181
4220
|
}
|
4182
4221
|
},
|
4183
4222
|
{
|
4184
|
-
"name": "close-on-
|
4223
|
+
"name": "close-on-popstate",
|
4185
4224
|
"default": "`true`",
|
4186
|
-
"description": "
|
4225
|
+
"description": "是否在页面回退时自动关闭",
|
4187
4226
|
"options": [],
|
4188
4227
|
"value": {
|
4189
4228
|
"type": "boolean",
|
4190
4229
|
"kind": "expression"
|
4191
4230
|
}
|
4192
|
-
}
|
4193
|
-
]
|
4194
|
-
},
|
4195
|
-
{
|
4196
|
-
"name": "van-dropdown-item",
|
4197
|
-
"slots": [
|
4198
|
-
{
|
4199
|
-
"name": "default",
|
4200
|
-
"description": "菜单内容"
|
4201
|
-
},
|
4202
|
-
{
|
4203
|
-
"name": "title",
|
4204
|
-
"description": "自定义菜单项标题"
|
4205
|
-
}
|
4206
|
-
],
|
4207
|
-
"events": [
|
4208
|
-
{
|
4209
|
-
"name": "change",
|
4210
|
-
"description": "点击选项导致 value 变化时触发"
|
4211
|
-
},
|
4212
|
-
{
|
4213
|
-
"name": "open",
|
4214
|
-
"description": "打开菜单栏时触发"
|
4215
|
-
},
|
4216
|
-
{
|
4217
|
-
"name": "close",
|
4218
|
-
"description": "关闭菜单栏时触发"
|
4219
4231
|
},
|
4220
4232
|
{
|
4221
|
-
"name": "
|
4222
|
-
"
|
4223
|
-
|
4224
|
-
{
|
4225
|
-
"name": "closed",
|
4226
|
-
"description": "关闭菜单栏且动画结束后触发"
|
4227
|
-
}
|
4228
|
-
],
|
4229
|
-
"attributes": [
|
4230
|
-
{
|
4231
|
-
"name": "v-model",
|
4232
|
-
"default": "-",
|
4233
|
-
"description": "当前选中项对应的 value",
|
4233
|
+
"name": "close-on-click-overlay",
|
4234
|
+
"default": "`false`",
|
4235
|
+
"description": "是否在点击遮罩层后关闭弹窗",
|
4234
4236
|
"options": [],
|
4235
4237
|
"value": {
|
4236
|
-
"type": "
|
4238
|
+
"type": "boolean",
|
4237
4239
|
"kind": "expression"
|
4238
4240
|
}
|
4239
4241
|
},
|
4240
4242
|
{
|
4241
|
-
"name": "
|
4242
|
-
"default": "
|
4243
|
-
"description": "
|
4243
|
+
"name": "lazy-render",
|
4244
|
+
"default": "`true`",
|
4245
|
+
"description": "是否在显示弹层时才渲染节点",
|
4244
4246
|
"options": [],
|
4245
4247
|
"value": {
|
4246
|
-
"type": "
|
4248
|
+
"type": "boolean",
|
4247
4249
|
"kind": "expression"
|
4248
4250
|
}
|
4249
4251
|
},
|
4250
4252
|
{
|
4251
|
-
"name": "
|
4252
|
-
"default": "`
|
4253
|
-
"description": "
|
4253
|
+
"name": "lock-scroll",
|
4254
|
+
"default": "`true`",
|
4255
|
+
"description": "是否锁定背景滚动",
|
4254
4256
|
"options": [],
|
4255
4257
|
"value": {
|
4256
|
-
"type": "
|
4258
|
+
"type": "boolean",
|
4257
4259
|
"kind": "expression"
|
4258
4260
|
}
|
4259
4261
|
},
|
4260
4262
|
{
|
4261
|
-
"name": "
|
4263
|
+
"name": "allow-html",
|
4262
4264
|
"default": "`false`",
|
4263
|
-
"description": "
|
4265
|
+
"description": "是否允许 message 内容中渲染 HTML",
|
4264
4266
|
"options": [],
|
4265
4267
|
"value": {
|
4266
4268
|
"type": "boolean",
|
@@ -4268,24 +4270,22 @@
|
|
4268
4270
|
}
|
4269
4271
|
},
|
4270
4272
|
{
|
4271
|
-
"name": "
|
4272
|
-
"default": "
|
4273
|
-
"description": "
|
4273
|
+
"name": "before-close",
|
4274
|
+
"default": "-",
|
4275
|
+
"description": "关闭前的回调函数,返回 `false` 可阻止关闭,支持返回 Promise",
|
4274
4276
|
"options": [],
|
4275
4277
|
"value": {
|
4276
|
-
"type": "boolean",
|
4278
|
+
"type": "(action: string) => boolean | Promise\\<boolean\\>",
|
4277
4279
|
"kind": "expression"
|
4278
4280
|
}
|
4279
4281
|
},
|
4280
4282
|
{
|
4281
|
-
"name": "
|
4282
|
-
"default": "
|
4283
|
-
"description": "
|
4284
|
-
"options": [
|
4285
|
-
"-"
|
4286
|
-
],
|
4283
|
+
"name": "transition",
|
4284
|
+
"default": "-",
|
4285
|
+
"description": "动画类名,等价于 [transition](https://v3.cn.vuejs.org/api/built-in-components.html#transition) 的 `name` 属性",
|
4286
|
+
"options": [],
|
4287
4287
|
"value": {
|
4288
|
-
"type": "string
|
4288
|
+
"type": "string",
|
4289
4289
|
"kind": "expression"
|
4290
4290
|
}
|
4291
4291
|
},
|
@@ -4852,39 +4852,121 @@
|
|
4852
4852
|
}
|
4853
4853
|
},
|
4854
4854
|
{
|
4855
|
-
"name": "validate-trigger",
|
4856
|
-
"default": "`onBlur`",
|
4857
|
-
"description": "表单校验触发时机,可选值为 `onChange`、`onSubmit`,详见下表",
|
4855
|
+
"name": "validate-trigger",
|
4856
|
+
"default": "`onBlur`",
|
4857
|
+
"description": "表单校验触发时机,可选值为 `onChange`、`onSubmit`,详见下表",
|
4858
|
+
"options": [],
|
4859
|
+
"value": {
|
4860
|
+
"type": "string",
|
4861
|
+
"kind": "expression"
|
4862
|
+
}
|
4863
|
+
},
|
4864
|
+
{
|
4865
|
+
"name": "colon",
|
4866
|
+
"default": "`false`",
|
4867
|
+
"description": "是否在 label 后面添加冒号",
|
4868
|
+
"options": [],
|
4869
|
+
"value": {
|
4870
|
+
"type": "boolean",
|
4871
|
+
"kind": "expression"
|
4872
|
+
}
|
4873
|
+
},
|
4874
|
+
{
|
4875
|
+
"name": "disabled",
|
4876
|
+
"default": "`false`",
|
4877
|
+
"description": "是否禁用表单中的所有输入框",
|
4878
|
+
"options": [],
|
4879
|
+
"value": {
|
4880
|
+
"type": "boolean",
|
4881
|
+
"kind": "expression"
|
4882
|
+
}
|
4883
|
+
},
|
4884
|
+
{
|
4885
|
+
"name": "readonly",
|
4886
|
+
"default": "`false`",
|
4887
|
+
"description": "是否将表单中的所有输入框设置为只读状态",
|
4888
|
+
"options": [],
|
4889
|
+
"value": {
|
4890
|
+
"type": "boolean",
|
4891
|
+
"kind": "expression"
|
4892
|
+
}
|
4893
|
+
},
|
4894
|
+
{
|
4895
|
+
"name": "validate-first",
|
4896
|
+
"default": "`false`",
|
4897
|
+
"description": "是否在某一项校验不通过时停止校验",
|
4898
|
+
"options": [],
|
4899
|
+
"value": {
|
4900
|
+
"type": "boolean",
|
4901
|
+
"kind": "expression"
|
4902
|
+
}
|
4903
|
+
},
|
4904
|
+
{
|
4905
|
+
"name": "scroll-to-error",
|
4906
|
+
"default": "`false`",
|
4907
|
+
"description": "是否在提交表单且校验不通过时滚动至错误的表单项",
|
4908
|
+
"options": [],
|
4909
|
+
"value": {
|
4910
|
+
"type": "boolean",
|
4911
|
+
"kind": "expression"
|
4912
|
+
}
|
4913
|
+
},
|
4914
|
+
{
|
4915
|
+
"name": "show-error",
|
4916
|
+
"default": "`false`",
|
4917
|
+
"description": "是否在校验不通过时标红输入框",
|
4918
|
+
"options": [],
|
4919
|
+
"value": {
|
4920
|
+
"type": "boolean",
|
4921
|
+
"kind": "expression"
|
4922
|
+
}
|
4923
|
+
},
|
4924
|
+
{
|
4925
|
+
"name": "show-error-message",
|
4926
|
+
"default": "`true`",
|
4927
|
+
"description": "是否在校验不通过时在输入框下方展示错误提示",
|
4858
4928
|
"options": [],
|
4859
4929
|
"value": {
|
4860
|
-
"type": "
|
4930
|
+
"type": "boolean",
|
4861
4931
|
"kind": "expression"
|
4862
4932
|
}
|
4863
4933
|
},
|
4864
4934
|
{
|
4865
|
-
"name": "
|
4866
|
-
"default": "`
|
4867
|
-
"description": "
|
4935
|
+
"name": "submit-on-enter",
|
4936
|
+
"default": "`true`",
|
4937
|
+
"description": "是否在按下回车键时提交表单",
|
4868
4938
|
"options": [],
|
4869
4939
|
"value": {
|
4870
4940
|
"type": "boolean",
|
4871
4941
|
"kind": "expression"
|
4872
4942
|
}
|
4873
|
-
}
|
4943
|
+
}
|
4944
|
+
]
|
4945
|
+
},
|
4946
|
+
{
|
4947
|
+
"name": "van-icon",
|
4948
|
+
"slots": [],
|
4949
|
+
"events": [
|
4874
4950
|
{
|
4875
|
-
"name": "
|
4876
|
-
"
|
4877
|
-
|
4951
|
+
"name": "click",
|
4952
|
+
"description": "点击图标时触发"
|
4953
|
+
}
|
4954
|
+
],
|
4955
|
+
"attributes": [
|
4956
|
+
{
|
4957
|
+
"name": "name",
|
4958
|
+
"default": "-",
|
4959
|
+
"description": "图标名称或图片链接",
|
4878
4960
|
"options": [],
|
4879
4961
|
"value": {
|
4880
|
-
"type": "
|
4962
|
+
"type": "string",
|
4881
4963
|
"kind": "expression"
|
4882
4964
|
}
|
4883
4965
|
},
|
4884
4966
|
{
|
4885
|
-
"name": "
|
4967
|
+
"name": "dot",
|
4886
4968
|
"default": "`false`",
|
4887
|
-
"description": "
|
4969
|
+
"description": "是否显示图标右上角小红点",
|
4888
4970
|
"options": [],
|
4889
4971
|
"value": {
|
4890
4972
|
"type": "boolean",
|
@@ -4892,52 +4974,52 @@
|
|
4892
4974
|
}
|
4893
4975
|
},
|
4894
4976
|
{
|
4895
|
-
"name": "
|
4896
|
-
"default": "
|
4897
|
-
"description": "
|
4977
|
+
"name": "badge",
|
4978
|
+
"default": "-",
|
4979
|
+
"description": "图标右上角徽标的内容",
|
4898
4980
|
"options": [],
|
4899
4981
|
"value": {
|
4900
|
-
"type": "
|
4982
|
+
"type": "number | string",
|
4901
4983
|
"kind": "expression"
|
4902
4984
|
}
|
4903
4985
|
},
|
4904
4986
|
{
|
4905
|
-
"name": "
|
4906
|
-
"default": "`
|
4907
|
-
"description": "
|
4987
|
+
"name": "color",
|
4988
|
+
"default": "`inherit`",
|
4989
|
+
"description": "图标颜色",
|
4908
4990
|
"options": [],
|
4909
4991
|
"value": {
|
4910
|
-
"type": "
|
4992
|
+
"type": "string",
|
4911
4993
|
"kind": "expression"
|
4912
4994
|
}
|
4913
4995
|
},
|
4914
4996
|
{
|
4915
|
-
"name": "
|
4916
|
-
"default": "`
|
4917
|
-
"description": "
|
4997
|
+
"name": "size",
|
4998
|
+
"default": "`inherit`",
|
4999
|
+
"description": "图标大小,如 `20px` `2em`,默认单位为 `px`",
|
4918
5000
|
"options": [],
|
4919
5001
|
"value": {
|
4920
|
-
"type": "
|
5002
|
+
"type": "number | string",
|
4921
5003
|
"kind": "expression"
|
4922
5004
|
}
|
4923
5005
|
},
|
4924
5006
|
{
|
4925
|
-
"name": "
|
4926
|
-
"default": "`
|
4927
|
-
"description": "
|
5007
|
+
"name": "class-prefix",
|
5008
|
+
"default": "`van-icon`",
|
5009
|
+
"description": "类名前缀,用于使用自定义图标",
|
4928
5010
|
"options": [],
|
4929
5011
|
"value": {
|
4930
|
-
"type": "
|
5012
|
+
"type": "string",
|
4931
5013
|
"kind": "expression"
|
4932
5014
|
}
|
4933
5015
|
},
|
4934
5016
|
{
|
4935
|
-
"name": "
|
4936
|
-
"default": "`
|
4937
|
-
"description": "
|
5017
|
+
"name": "tag",
|
5018
|
+
"default": "`i`",
|
5019
|
+
"description": "根节点对应的 HTML 标签名",
|
4938
5020
|
"options": [],
|
4939
5021
|
"value": {
|
4940
|
-
"type": "
|
5022
|
+
"type": "string",
|
4941
5023
|
"kind": "expression"
|
4942
5024
|
}
|
4943
5025
|
}
|
@@ -5156,82 +5238,98 @@
|
|
5156
5238
|
]
|
5157
5239
|
},
|
5158
5240
|
{
|
5159
|
-
"name": "van-
|
5241
|
+
"name": "van-index-bar",
|
5160
5242
|
"slots": [],
|
5161
5243
|
"events": [
|
5162
5244
|
{
|
5163
|
-
"name": "
|
5164
|
-
"description": "
|
5245
|
+
"name": "select",
|
5246
|
+
"description": "点击索引栏的字符时触发"
|
5247
|
+
},
|
5248
|
+
{
|
5249
|
+
"name": "change",
|
5250
|
+
"description": "当前高亮的索引字符变化时触发"
|
5165
5251
|
}
|
5166
5252
|
],
|
5167
5253
|
"attributes": [
|
5168
5254
|
{
|
5169
|
-
"name": "
|
5170
|
-
"default": "-",
|
5171
|
-
"description": "
|
5255
|
+
"name": "index-list",
|
5256
|
+
"default": "`A-Z`",
|
5257
|
+
"description": "索引字符列表",
|
5172
5258
|
"options": [],
|
5173
5259
|
"value": {
|
5174
|
-
"type": "string",
|
5260
|
+
"type": "string[] | number[]",
|
5175
5261
|
"kind": "expression"
|
5176
5262
|
}
|
5177
5263
|
},
|
5178
5264
|
{
|
5179
|
-
"name": "
|
5180
|
-
"default": "`
|
5181
|
-
"description": "
|
5265
|
+
"name": "z-index",
|
5266
|
+
"default": "`1`",
|
5267
|
+
"description": "z-index 层级",
|
5182
5268
|
"options": [],
|
5183
5269
|
"value": {
|
5184
|
-
"type": "
|
5270
|
+
"type": "number | string",
|
5185
5271
|
"kind": "expression"
|
5186
5272
|
}
|
5187
5273
|
},
|
5188
5274
|
{
|
5189
|
-
"name": "
|
5190
|
-
"default": "
|
5191
|
-
"description": "
|
5275
|
+
"name": "sticky",
|
5276
|
+
"default": "`true`",
|
5277
|
+
"description": "是否开启锚点自动吸顶",
|
5192
5278
|
"options": [],
|
5193
5279
|
"value": {
|
5194
|
-
"type": "
|
5280
|
+
"type": "boolean",
|
5195
5281
|
"kind": "expression"
|
5196
5282
|
}
|
5197
5283
|
},
|
5198
5284
|
{
|
5199
|
-
"name": "
|
5200
|
-
"default": "`
|
5201
|
-
"description": "
|
5285
|
+
"name": "sticky-offset-top",
|
5286
|
+
"default": "`0`",
|
5287
|
+
"description": "锚点自动吸顶时与顶部的距离",
|
5202
5288
|
"options": [],
|
5203
5289
|
"value": {
|
5204
|
-
"type": "
|
5290
|
+
"type": "number",
|
5205
5291
|
"kind": "expression"
|
5206
5292
|
}
|
5207
5293
|
},
|
5208
5294
|
{
|
5209
|
-
"name": "
|
5210
|
-
"default": "`
|
5211
|
-
"description": "
|
5295
|
+
"name": "highlight-color",
|
5296
|
+
"default": "`#ee0a24`",
|
5297
|
+
"description": "索引字符高亮颜色",
|
5212
5298
|
"options": [],
|
5213
5299
|
"value": {
|
5214
|
-
"type": "
|
5300
|
+
"type": "string",
|
5215
5301
|
"kind": "expression"
|
5216
5302
|
}
|
5217
5303
|
},
|
5218
5304
|
{
|
5219
|
-
"name": "
|
5220
|
-
"default": "
|
5221
|
-
"description": "
|
5305
|
+
"name": "teleport",
|
5306
|
+
"default": "-",
|
5307
|
+
"description": "指定索引栏挂载的节点",
|
5222
5308
|
"options": [],
|
5223
5309
|
"value": {
|
5224
|
-
"type": "string",
|
5310
|
+
"type": "string | Element",
|
5225
5311
|
"kind": "expression"
|
5226
5312
|
}
|
5227
|
-
}
|
5313
|
+
}
|
5314
|
+
]
|
5315
|
+
},
|
5316
|
+
{
|
5317
|
+
"name": "van-index-anchor",
|
5318
|
+
"slots": [
|
5228
5319
|
{
|
5229
|
-
"name": "
|
5230
|
-
"
|
5231
|
-
|
5320
|
+
"name": "default",
|
5321
|
+
"description": "锚点位置显示内容,默认为索引字符"
|
5322
|
+
}
|
5323
|
+
],
|
5324
|
+
"events": [],
|
5325
|
+
"attributes": [
|
5326
|
+
{
|
5327
|
+
"name": "index",
|
5328
|
+
"default": "-",
|
5329
|
+
"description": "索引字符",
|
5232
5330
|
"options": [],
|
5233
5331
|
"value": {
|
5234
|
-
"type": "string",
|
5332
|
+
"type": "number | string",
|
5235
5333
|
"kind": "expression"
|
5236
5334
|
}
|
5237
5335
|
}
|
@@ -5544,115 +5642,19 @@
|
|
5544
5642
|
}
|
5545
5643
|
},
|
5546
5644
|
{
|
5547
|
-
"name": "max-zoom",
|
5548
|
-
"default": "`3`",
|
5549
|
-
"description": "手势缩放时,最大缩放比例",
|
5550
|
-
"options": [],
|
5551
|
-
"value": {
|
5552
|
-
"type": "number | string",
|
5553
|
-
"kind": "expression"
|
5554
|
-
}
|
5555
|
-
},
|
5556
|
-
{
|
5557
|
-
"name": "min-zoom",
|
5558
|
-
"default": "`1/3`",
|
5559
|
-
"description": "手势缩放时,最小缩放比例",
|
5560
|
-
"options": [],
|
5561
|
-
"value": {
|
5562
|
-
"type": "number | string",
|
5563
|
-
"kind": "expression"
|
5564
|
-
}
|
5565
|
-
},
|
5566
|
-
{
|
5567
|
-
"name": "closeable",
|
5568
|
-
"default": "`false`",
|
5569
|
-
"description": "是否显示关闭图标",
|
5570
|
-
"options": [],
|
5571
|
-
"value": {
|
5572
|
-
"type": "boolean",
|
5573
|
-
"kind": "expression"
|
5574
|
-
}
|
5575
|
-
},
|
5576
|
-
{
|
5577
|
-
"name": "close-icon",
|
5578
|
-
"default": "`clear`",
|
5579
|
-
"description": "关闭图标名称或图片链接",
|
5580
|
-
"options": [],
|
5581
|
-
"value": {
|
5582
|
-
"type": "string",
|
5583
|
-
"kind": "expression"
|
5584
|
-
}
|
5585
|
-
},
|
5586
|
-
{
|
5587
|
-
"name": "close-icon-position",
|
5588
|
-
"default": "`top-right`",
|
5589
|
-
"description": "关闭图标位置,可选值为 `top-left`<br>`bottom-left` `bottom-right`",
|
5590
|
-
"options": [],
|
5591
|
-
"value": {
|
5592
|
-
"type": "string",
|
5593
|
-
"kind": "expression"
|
5594
|
-
}
|
5595
|
-
},
|
5596
|
-
{
|
5597
|
-
"name": "transition",
|
5598
|
-
"default": "`van-fade`",
|
5599
|
-
"description": "动画类名,等价于 [transition](https://v3.cn.vuejs.org/api/built-in-components.html#transition) 的 `name` 属性",
|
5600
|
-
"options": [],
|
5601
|
-
"value": {
|
5602
|
-
"type": "string",
|
5603
|
-
"kind": "expression"
|
5604
|
-
}
|
5605
|
-
},
|
5606
|
-
{
|
5607
|
-
"name": "overlay-style",
|
5608
|
-
"default": "-",
|
5609
|
-
"description": "自定义遮罩层样式",
|
5610
|
-
"options": [],
|
5611
|
-
"value": {
|
5612
|
-
"type": "object",
|
5613
|
-
"kind": "expression"
|
5614
|
-
}
|
5615
|
-
},
|
5616
|
-
{
|
5617
|
-
"name": "teleport",
|
5618
|
-
"default": "-",
|
5619
|
-
"description": "指定挂载的节点,等同于 Teleport 组件的 [to 属性](https://v3.cn.vuejs.org/api/built-in-components.html#teleport)",
|
5620
|
-
"options": [],
|
5621
|
-
"value": {
|
5622
|
-
"type": "string | Element",
|
5623
|
-
"kind": "expression"
|
5624
|
-
}
|
5625
|
-
}
|
5626
|
-
]
|
5627
|
-
},
|
5628
|
-
{
|
5629
|
-
"name": "van-index-bar",
|
5630
|
-
"slots": [],
|
5631
|
-
"events": [
|
5632
|
-
{
|
5633
|
-
"name": "select",
|
5634
|
-
"description": "点击索引栏的字符时触发"
|
5635
|
-
},
|
5636
|
-
{
|
5637
|
-
"name": "change",
|
5638
|
-
"description": "当前高亮的索引字符变化时触发"
|
5639
|
-
}
|
5640
|
-
],
|
5641
|
-
"attributes": [
|
5642
|
-
{
|
5643
|
-
"name": "index-list",
|
5644
|
-
"default": "`A-Z`",
|
5645
|
-
"description": "索引字符列表",
|
5645
|
+
"name": "max-zoom",
|
5646
|
+
"default": "`3`",
|
5647
|
+
"description": "手势缩放时,最大缩放比例",
|
5646
5648
|
"options": [],
|
5647
5649
|
"value": {
|
5648
|
-
"type": "
|
5650
|
+
"type": "number | string",
|
5649
5651
|
"kind": "expression"
|
5650
5652
|
}
|
5651
5653
|
},
|
5652
5654
|
{
|
5653
|
-
"name": "
|
5654
|
-
"default": "`1`",
|
5655
|
-
"description": "
|
5655
|
+
"name": "min-zoom",
|
5656
|
+
"default": "`1/3`",
|
5657
|
+
"description": "手势缩放时,最小缩放比例",
|
5656
5658
|
"options": [],
|
5657
5659
|
"value": {
|
5658
5660
|
"type": "number | string",
|
@@ -5660,9 +5662,9 @@
|
|
5660
5662
|
}
|
5661
5663
|
},
|
5662
5664
|
{
|
5663
|
-
"name": "
|
5664
|
-
"default": "`
|
5665
|
-
"description": "
|
5665
|
+
"name": "closeable",
|
5666
|
+
"default": "`false`",
|
5667
|
+
"description": "是否显示关闭图标",
|
5666
5668
|
"options": [],
|
5667
5669
|
"value": {
|
5668
5670
|
"type": "boolean",
|
@@ -5670,19 +5672,19 @@
|
|
5670
5672
|
}
|
5671
5673
|
},
|
5672
5674
|
{
|
5673
|
-
"name": "
|
5674
|
-
"default": "`
|
5675
|
-
"description": "
|
5675
|
+
"name": "close-icon",
|
5676
|
+
"default": "`clear`",
|
5677
|
+
"description": "关闭图标名称或图片链接",
|
5676
5678
|
"options": [],
|
5677
5679
|
"value": {
|
5678
|
-
"type": "
|
5680
|
+
"type": "string",
|
5679
5681
|
"kind": "expression"
|
5680
5682
|
}
|
5681
5683
|
},
|
5682
5684
|
{
|
5683
|
-
"name": "
|
5684
|
-
"default": "
|
5685
|
-
"description": "
|
5685
|
+
"name": "close-icon-position",
|
5686
|
+
"default": "`top-right`",
|
5687
|
+
"description": "关闭图标位置,可选值为 `top-left`<br>`bottom-left` `bottom-right`",
|
5686
5688
|
"options": [],
|
5687
5689
|
"value": {
|
5688
5690
|
"type": "string",
|
@@ -5690,34 +5692,32 @@
|
|
5690
5692
|
}
|
5691
5693
|
},
|
5692
5694
|
{
|
5693
|
-
"name": "
|
5694
|
-
"default": "-",
|
5695
|
-
"description": "
|
5695
|
+
"name": "transition",
|
5696
|
+
"default": "`van-fade`",
|
5697
|
+
"description": "动画类名,等价于 [transition](https://v3.cn.vuejs.org/api/built-in-components.html#transition) 的 `name` 属性",
|
5696
5698
|
"options": [],
|
5697
5699
|
"value": {
|
5698
|
-
"type": "string
|
5700
|
+
"type": "string",
|
5699
5701
|
"kind": "expression"
|
5700
5702
|
}
|
5701
|
-
}
|
5702
|
-
]
|
5703
|
-
},
|
5704
|
-
{
|
5705
|
-
"name": "van-index-anchor",
|
5706
|
-
"slots": [
|
5703
|
+
},
|
5707
5704
|
{
|
5708
|
-
"name": "
|
5709
|
-
"
|
5710
|
-
|
5711
|
-
|
5712
|
-
|
5713
|
-
|
5705
|
+
"name": "overlay-style",
|
5706
|
+
"default": "-",
|
5707
|
+
"description": "自定义遮罩层样式",
|
5708
|
+
"options": [],
|
5709
|
+
"value": {
|
5710
|
+
"type": "object",
|
5711
|
+
"kind": "expression"
|
5712
|
+
}
|
5713
|
+
},
|
5714
5714
|
{
|
5715
|
-
"name": "
|
5715
|
+
"name": "teleport",
|
5716
5716
|
"default": "-",
|
5717
|
-
"description": "
|
5717
|
+
"description": "指定挂载的节点,等同于 Teleport 组件的 [to 属性](https://v3.cn.vuejs.org/api/built-in-components.html#teleport)",
|
5718
5718
|
"options": [],
|
5719
5719
|
"value": {
|
5720
|
-
"type": "
|
5720
|
+
"type": "string | Element",
|
5721
5721
|
"kind": "expression"
|
5722
5722
|
}
|
5723
5723
|
}
|
@@ -9319,6 +9319,99 @@
|
|
9319
9319
|
}
|
9320
9320
|
]
|
9321
9321
|
},
|
9322
|
+
{
|
9323
|
+
"name": "van-swipe-cell",
|
9324
|
+
"slots": [
|
9325
|
+
{
|
9326
|
+
"name": "default",
|
9327
|
+
"description": "默认显示的内容"
|
9328
|
+
},
|
9329
|
+
{
|
9330
|
+
"name": "left",
|
9331
|
+
"description": "左侧滑动区域的内容"
|
9332
|
+
},
|
9333
|
+
{
|
9334
|
+
"name": "right",
|
9335
|
+
"description": "右侧滑动区域的内容"
|
9336
|
+
}
|
9337
|
+
],
|
9338
|
+
"events": [
|
9339
|
+
{
|
9340
|
+
"name": "click",
|
9341
|
+
"description": "点击时触发"
|
9342
|
+
},
|
9343
|
+
{
|
9344
|
+
"name": "open",
|
9345
|
+
"description": "打开时触发"
|
9346
|
+
},
|
9347
|
+
{
|
9348
|
+
"name": "close",
|
9349
|
+
"description": "关闭时触发"
|
9350
|
+
}
|
9351
|
+
],
|
9352
|
+
"attributes": [
|
9353
|
+
{
|
9354
|
+
"name": "name",
|
9355
|
+
"default": "`''`",
|
9356
|
+
"description": "标识符,可以在事件参数中获取到",
|
9357
|
+
"options": [],
|
9358
|
+
"value": {
|
9359
|
+
"type": "number | string",
|
9360
|
+
"kind": "expression"
|
9361
|
+
}
|
9362
|
+
},
|
9363
|
+
{
|
9364
|
+
"name": "left-width",
|
9365
|
+
"default": "`auto`",
|
9366
|
+
"description": "指定左侧滑动区域宽度,单位为 `px`",
|
9367
|
+
"options": [],
|
9368
|
+
"value": {
|
9369
|
+
"type": "number | string",
|
9370
|
+
"kind": "expression"
|
9371
|
+
}
|
9372
|
+
},
|
9373
|
+
{
|
9374
|
+
"name": "right-width",
|
9375
|
+
"default": "`auto`",
|
9376
|
+
"description": "指定右侧滑动区域宽度,单位为 `px`",
|
9377
|
+
"options": [],
|
9378
|
+
"value": {
|
9379
|
+
"type": "number | string",
|
9380
|
+
"kind": "expression"
|
9381
|
+
}
|
9382
|
+
},
|
9383
|
+
{
|
9384
|
+
"name": "before-close",
|
9385
|
+
"default": "-",
|
9386
|
+
"description": "关闭前的回调函数,返回 `false` 可阻止关闭,支持返回 Promise",
|
9387
|
+
"options": [],
|
9388
|
+
"value": {
|
9389
|
+
"type": "(args) => boolean | Promise\\<boolean\\>",
|
9390
|
+
"kind": "expression"
|
9391
|
+
}
|
9392
|
+
},
|
9393
|
+
{
|
9394
|
+
"name": "disabled",
|
9395
|
+
"default": "`false`",
|
9396
|
+
"description": "是否禁用滑动",
|
9397
|
+
"options": [],
|
9398
|
+
"value": {
|
9399
|
+
"type": "boolean",
|
9400
|
+
"kind": "expression"
|
9401
|
+
}
|
9402
|
+
},
|
9403
|
+
{
|
9404
|
+
"name": "stop-propagation",
|
9405
|
+
"default": "`false`",
|
9406
|
+
"description": "是否阻止滑动事件冒泡",
|
9407
|
+
"options": [],
|
9408
|
+
"value": {
|
9409
|
+
"type": "boolean",
|
9410
|
+
"kind": "expression"
|
9411
|
+
}
|
9412
|
+
}
|
9413
|
+
]
|
9414
|
+
},
|
9322
9415
|
{
|
9323
9416
|
"name": "van-swipe",
|
9324
9417
|
"slots": [
|
@@ -9471,99 +9564,6 @@
|
|
9471
9564
|
],
|
9472
9565
|
"attributes": []
|
9473
9566
|
},
|
9474
|
-
{
|
9475
|
-
"name": "van-swipe-cell",
|
9476
|
-
"slots": [
|
9477
|
-
{
|
9478
|
-
"name": "default",
|
9479
|
-
"description": "默认显示的内容"
|
9480
|
-
},
|
9481
|
-
{
|
9482
|
-
"name": "left",
|
9483
|
-
"description": "左侧滑动区域的内容"
|
9484
|
-
},
|
9485
|
-
{
|
9486
|
-
"name": "right",
|
9487
|
-
"description": "右侧滑动区域的内容"
|
9488
|
-
}
|
9489
|
-
],
|
9490
|
-
"events": [
|
9491
|
-
{
|
9492
|
-
"name": "click",
|
9493
|
-
"description": "点击时触发"
|
9494
|
-
},
|
9495
|
-
{
|
9496
|
-
"name": "open",
|
9497
|
-
"description": "打开时触发"
|
9498
|
-
},
|
9499
|
-
{
|
9500
|
-
"name": "close",
|
9501
|
-
"description": "关闭时触发"
|
9502
|
-
}
|
9503
|
-
],
|
9504
|
-
"attributes": [
|
9505
|
-
{
|
9506
|
-
"name": "name",
|
9507
|
-
"default": "`''`",
|
9508
|
-
"description": "标识符,可以在事件参数中获取到",
|
9509
|
-
"options": [],
|
9510
|
-
"value": {
|
9511
|
-
"type": "number | string",
|
9512
|
-
"kind": "expression"
|
9513
|
-
}
|
9514
|
-
},
|
9515
|
-
{
|
9516
|
-
"name": "left-width",
|
9517
|
-
"default": "`auto`",
|
9518
|
-
"description": "指定左侧滑动区域宽度,单位为 `px`",
|
9519
|
-
"options": [],
|
9520
|
-
"value": {
|
9521
|
-
"type": "number | string",
|
9522
|
-
"kind": "expression"
|
9523
|
-
}
|
9524
|
-
},
|
9525
|
-
{
|
9526
|
-
"name": "right-width",
|
9527
|
-
"default": "`auto`",
|
9528
|
-
"description": "指定右侧滑动区域宽度,单位为 `px`",
|
9529
|
-
"options": [],
|
9530
|
-
"value": {
|
9531
|
-
"type": "number | string",
|
9532
|
-
"kind": "expression"
|
9533
|
-
}
|
9534
|
-
},
|
9535
|
-
{
|
9536
|
-
"name": "before-close",
|
9537
|
-
"default": "-",
|
9538
|
-
"description": "关闭前的回调函数,返回 `false` 可阻止关闭,支持返回 Promise",
|
9539
|
-
"options": [],
|
9540
|
-
"value": {
|
9541
|
-
"type": "(args) => boolean | Promise\\<boolean\\>",
|
9542
|
-
"kind": "expression"
|
9543
|
-
}
|
9544
|
-
},
|
9545
|
-
{
|
9546
|
-
"name": "disabled",
|
9547
|
-
"default": "`false`",
|
9548
|
-
"description": "是否禁用滑动",
|
9549
|
-
"options": [],
|
9550
|
-
"value": {
|
9551
|
-
"type": "boolean",
|
9552
|
-
"kind": "expression"
|
9553
|
-
}
|
9554
|
-
},
|
9555
|
-
{
|
9556
|
-
"name": "stop-propagation",
|
9557
|
-
"default": "`false`",
|
9558
|
-
"description": "是否阻止滑动事件冒泡",
|
9559
|
-
"options": [],
|
9560
|
-
"value": {
|
9561
|
-
"type": "boolean",
|
9562
|
-
"kind": "expression"
|
9563
|
-
}
|
9564
|
-
}
|
9565
|
-
]
|
9566
|
-
},
|
9567
9567
|
{
|
9568
9568
|
"name": "van-switch",
|
9569
9569
|
"slots": [],
|