vant 2.12.52 → 2.12.53

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.
@@ -27,58 +27,6 @@
27
27
  "type": "string",
28
28
  "description": "默认地址标签文字, 默认值: -"
29
29
  },
30
- "van-area/value": {
31
- "type": "string",
32
- "description": "当前选中的省市区`code`, 默认值: -"
33
- },
34
- "van-area/title": {
35
- "type": "string",
36
- "description": "顶部栏标题, 默认值: -"
37
- },
38
- "van-area/confirm-button-text": {
39
- "type": "string",
40
- "description": "确认按钮文字, 默认值: `确认`"
41
- },
42
- "van-area/cancel-button-text": {
43
- "type": "string",
44
- "description": "取消按钮文字, 默认值: `取消`"
45
- },
46
- "van-area/area-list": {
47
- "type": "object",
48
- "description": "省市区数据,格式见下方, 默认值: -"
49
- },
50
- "van-area/columns-placeholder": {
51
- "type": "string[]",
52
- "description": "列占位提示文字, 默认值: `[]`"
53
- },
54
- "van-area/loading": {
55
- "type": "boolean",
56
- "description": "是否显示加载状态, 默认值: `false`"
57
- },
58
- "van-area/readonly": {
59
- "type": "boolean",
60
- "description": "是否为只读状态,只读状态下无法切换选项, 默认值: `false`"
61
- },
62
- "van-area/item-height": {
63
- "type": "number | string",
64
- "description": "选项高度,支持 `px` `vw` `vh` `rem` 单位,默认 `px`, 默认值: `44`"
65
- },
66
- "van-area/columns-num": {
67
- "type": "number | string",
68
- "description": "显示列数,3-省市区,2-省市,1-省, 默认值: `3`"
69
- },
70
- "van-area/visible-item-count": {
71
- "type": "number | string",
72
- "description": "可见的选项个数, 默认值: `6`"
73
- },
74
- "van-area/swipe-duration": {
75
- "type": "number | string",
76
- "description": "快速滑动时惯性滚动的时长,单位`ms`, 默认值: `1000`"
77
- },
78
- "van-area/is-oversea-code": {
79
- "type": "() => boolean",
80
- "description": "根据`code`校验海外地址,海外地址会划分至单独的分类, 默认值: -"
81
- },
82
30
  "van-action-sheet/v-model (value)": {
83
31
  "type": "boolean",
84
32
  "description": "是否显示动作面板, 默认值: `false`"
@@ -235,6 +183,58 @@
235
183
  "type": "(key, val) => string",
236
184
  "description": "自定义校验函数, 默认值: -"
237
185
  },
186
+ "van-area/value": {
187
+ "type": "string",
188
+ "description": "当前选中的省市区`code`, 默认值: -"
189
+ },
190
+ "van-area/title": {
191
+ "type": "string",
192
+ "description": "顶部栏标题, 默认值: -"
193
+ },
194
+ "van-area/confirm-button-text": {
195
+ "type": "string",
196
+ "description": "确认按钮文字, 默认值: `确认`"
197
+ },
198
+ "van-area/cancel-button-text": {
199
+ "type": "string",
200
+ "description": "取消按钮文字, 默认值: `取消`"
201
+ },
202
+ "van-area/area-list": {
203
+ "type": "object",
204
+ "description": "省市区数据,格式见下方, 默认值: -"
205
+ },
206
+ "van-area/columns-placeholder": {
207
+ "type": "string[]",
208
+ "description": "列占位提示文字, 默认值: `[]`"
209
+ },
210
+ "van-area/loading": {
211
+ "type": "boolean",
212
+ "description": "是否显示加载状态, 默认值: `false`"
213
+ },
214
+ "van-area/readonly": {
215
+ "type": "boolean",
216
+ "description": "是否为只读状态,只读状态下无法切换选项, 默认值: `false`"
217
+ },
218
+ "van-area/item-height": {
219
+ "type": "number | string",
220
+ "description": "选项高度,支持 `px` `vw` `vh` `rem` 单位,默认 `px`, 默认值: `44`"
221
+ },
222
+ "van-area/columns-num": {
223
+ "type": "number | string",
224
+ "description": "显示列数,3-省市区,2-省市,1-省, 默认值: `3`"
225
+ },
226
+ "van-area/visible-item-count": {
227
+ "type": "number | string",
228
+ "description": "可见的选项个数, 默认值: `6`"
229
+ },
230
+ "van-area/swipe-duration": {
231
+ "type": "number | string",
232
+ "description": "快速滑动时惯性滚动的时长,单位`ms`, 默认值: `1000`"
233
+ },
234
+ "van-area/is-oversea-code": {
235
+ "type": "() => boolean",
236
+ "description": "根据`code`校验海外地址,海外地址会划分至单独的分类, 默认值: -"
237
+ },
238
238
  "van-button/type": {
239
239
  "type": "string",
240
240
  "description": "类型,可选值为 `primary` `info` `warning` `danger`, 默认值: `default`"
@@ -603,50 +603,6 @@
603
603
  "type": "any",
604
604
  "description": "描述信息额外类名, 默认值: -"
605
605
  },
606
- "van-checkbox/v-model (value)": {
607
- "type": "any[]",
608
- "description": "所有选中项的标识符, 默认值: -"
609
- },
610
- "van-checkbox/name": {
611
- "type": "any",
612
- "description": "标识符, 默认值: -"
613
- },
614
- "van-checkbox/shape": {
615
- "type": "string",
616
- "description": "形状,可选值为 `square`, 默认值: `round`"
617
- },
618
- "van-checkbox/disabled": {
619
- "type": "boolean",
620
- "description": "是否禁用所有复选框, 默认值: `false`"
621
- },
622
- "van-checkbox/label-disabled": {
623
- "type": "boolean",
624
- "description": "是否禁用复选框文本点击, 默认值: `false`"
625
- },
626
- "van-checkbox/label-position": {
627
- "type": "string",
628
- "description": "文本位置,可选值为 `left`, 默认值: `right`"
629
- },
630
- "van-checkbox/icon-size": {
631
- "type": "number | string",
632
- "description": "所有复选框的图标大小,默认单位为 `px`, 默认值: `20px`"
633
- },
634
- "van-checkbox/checked-color": {
635
- "type": "string",
636
- "description": "所有复选框的选中状态颜色, 默认值: `#1989fa`"
637
- },
638
- "van-checkbox/bind-group": {
639
- "type": "boolean",
640
- "description": "是否与复选框组绑定, 默认值: `true`"
641
- },
642
- "van-checkbox/max": {
643
- "type": "number | string",
644
- "description": "最大可选数,`0`为无限制, 默认值: `0`"
645
- },
646
- "van-checkbox/direction": {
647
- "type": "string",
648
- "description": "排列方向,可选值为 `horizontal`, 默认值: `vertical`"
649
- },
650
606
  "van-circle/v-model": {
651
607
  "type": "number",
652
608
  "description": "当前进度, 默认值: -"
@@ -691,6 +647,50 @@
691
647
  "type": "boolean",
692
648
  "description": "是否顺时针增加, 默认值: `true`"
693
649
  },
650
+ "van-checkbox/v-model (value)": {
651
+ "type": "any[]",
652
+ "description": "所有选中项的标识符, 默认值: -"
653
+ },
654
+ "van-checkbox/name": {
655
+ "type": "any",
656
+ "description": "标识符, 默认值: -"
657
+ },
658
+ "van-checkbox/shape": {
659
+ "type": "string",
660
+ "description": "形状,可选值为 `square`, 默认值: `round`"
661
+ },
662
+ "van-checkbox/disabled": {
663
+ "type": "boolean",
664
+ "description": "是否禁用所有复选框, 默认值: `false`"
665
+ },
666
+ "van-checkbox/label-disabled": {
667
+ "type": "boolean",
668
+ "description": "是否禁用复选框文本点击, 默认值: `false`"
669
+ },
670
+ "van-checkbox/label-position": {
671
+ "type": "string",
672
+ "description": "文本位置,可选值为 `left`, 默认值: `right`"
673
+ },
674
+ "van-checkbox/icon-size": {
675
+ "type": "number | string",
676
+ "description": "所有复选框的图标大小,默认单位为 `px`, 默认值: `20px`"
677
+ },
678
+ "van-checkbox/checked-color": {
679
+ "type": "string",
680
+ "description": "所有复选框的选中状态颜色, 默认值: `#1989fa`"
681
+ },
682
+ "van-checkbox/bind-group": {
683
+ "type": "boolean",
684
+ "description": "是否与复选框组绑定, 默认值: `true`"
685
+ },
686
+ "van-checkbox/max": {
687
+ "type": "number | string",
688
+ "description": "最大可选数,`0`为无限制, 默认值: `0`"
689
+ },
690
+ "van-checkbox/direction": {
691
+ "type": "string",
692
+ "description": "排列方向,可选值为 `horizontal`, 默认值: `vertical`"
693
+ },
694
694
  "van-layout/type": {
695
695
  "type": "string",
696
696
  "description": "布局方式,可选值为`flex`, 默认值: -"
@@ -855,125 +855,49 @@
855
855
  "type": "boolean",
856
856
  "description": "是否开启毫秒级渲染, 默认值: `false`"
857
857
  },
858
- "van-datetime-picker/type": {
859
- "type": "string",
860
- "description": "时间类型,可选值为 `date` `time` <br> `year-month` `month-day` `datehour`, 默认值: `datetime`"
861
- },
862
- "van-datetime-picker/title": {
858
+ "van-coupon/title": {
863
859
  "type": "string",
864
- "description": "顶部栏标题, 默认值: `''`"
860
+ "description": "单元格标题, 默认值: `优惠券`"
865
861
  },
866
- "van-datetime-picker/confirm-button-text": {
867
- "type": "string",
868
- "description": "确认按钮文字, 默认值: `确认`"
862
+ "van-coupon/chosen-coupon": {
863
+ "type": "number",
864
+ "description": "当前选中优惠券的索引, 默认值: `-1`"
869
865
  },
870
- "van-datetime-picker/cancel-button-text": {
871
- "type": "string",
872
- "description": "取消按钮文字, 默认值: `取消`"
866
+ "van-coupon/coupons": {
867
+ "type": "Coupon[]",
868
+ "description": "可用优惠券列表, 默认值: `[]`"
873
869
  },
874
- "van-datetime-picker/show-toolbar": {
870
+ "van-coupon/editable": {
875
871
  "type": "boolean",
876
- "description": "是否显示顶部栏, 默认值: `true`"
872
+ "description": "能否切换优惠券, 默认值: `true`"
877
873
  },
878
- "van-datetime-picker/loading": {
874
+ "van-coupon/border": {
879
875
  "type": "boolean",
880
- "description": "是否显示加载状态, 默认值: `false`"
876
+ "description": "是否显示内边框, 默认值: `true`"
881
877
  },
882
- "van-datetime-picker/readonly": {
883
- "type": "boolean",
884
- "description": "是否为只读状态,只读状态下无法切换选项, 默认值: `false`"
878
+ "van-coupon/currency": {
879
+ "type": "string",
880
+ "description": "货币符号, 默认值: `¥`"
885
881
  },
886
- "van-datetime-picker/filter": {
887
- "type": "(type, vals) => vals",
888
- "description": "选项过滤函数, 默认值: -"
882
+ "van-coupon/v-model": {
883
+ "type": "string",
884
+ "description": "当前输入的兑换码, 默认值: -"
889
885
  },
890
- "van-datetime-picker/formatter": {
891
- "type": "(type, val) => val",
892
- "description": "选项格式化函数, 默认值: -"
886
+ "van-coupon/disabled-coupons": {
887
+ "type": "Coupon[]",
888
+ "description": "不可用优惠券列表, 默认值: `[]`"
893
889
  },
894
- "van-datetime-picker/columns-order": {
895
- "type": "string[]",
896
- "description": "自定义列排序数组, 子项可选值为<br> `year`、`month`、`day`、`hour`、`minute`, 默认值: -"
890
+ "van-coupon/enabled-title": {
891
+ "type": "string",
892
+ "description": "可用优惠券列表标题, 默认值: `可使用优惠券`"
897
893
  },
898
- "van-datetime-picker/item-height": {
899
- "type": "number | string",
900
- "description": "选项高度,支持 `px` `vw` `vh` `rem` 单位,默认 `px`, 默认值: `44`"
894
+ "van-coupon/disabled-title": {
895
+ "type": "string",
896
+ "description": "不可用优惠券列表标题, 默认值: `不可使用优惠券`"
901
897
  },
902
- "van-datetime-picker/visible-item-count": {
903
- "type": "number | string",
904
- "description": "可见的选项个数, 默认值: `6`"
905
- },
906
- "van-datetime-picker/swipe-duration": {
907
- "type": "number | string",
908
- "description": "快速滑动时惯性滚动的时长,单位`ms`, 默认值: `1000`"
909
- },
910
- "van-datetime-picker/min-date": {
911
- "type": "Date",
912
- "description": "可选的最小时间,精确到分钟, 默认值: 十年前"
913
- },
914
- "van-datetime-picker/max-date": {
915
- "type": "Date",
916
- "description": "可选的最大时间,精确到分钟, 默认值: 十年后"
917
- },
918
- "van-datetime-picker/min-hour": {
919
- "type": "number | string",
920
- "description": "可选的最小小时, 默认值: `0`"
921
- },
922
- "van-datetime-picker/max-hour": {
923
- "type": "number | string",
924
- "description": "可选的最大小时, 默认值: `23`"
925
- },
926
- "van-datetime-picker/min-minute": {
927
- "type": "number | string",
928
- "description": "可选的最小分钟, 默认值: `0`"
929
- },
930
- "van-datetime-picker/max-minute": {
931
- "type": "number | string",
932
- "description": "可选的最大分钟, 默认值: `59`"
933
- },
934
- "van-coupon/title": {
935
- "type": "string",
936
- "description": "单元格标题, 默认值: `优惠券`"
937
- },
938
- "van-coupon/chosen-coupon": {
939
- "type": "number",
940
- "description": "当前选中优惠券的索引, 默认值: `-1`"
941
- },
942
- "van-coupon/coupons": {
943
- "type": "Coupon[]",
944
- "description": "可用优惠券列表, 默认值: `[]`"
945
- },
946
- "van-coupon/editable": {
947
- "type": "boolean",
948
- "description": "能否切换优惠券, 默认值: `true`"
949
- },
950
- "van-coupon/border": {
951
- "type": "boolean",
952
- "description": "是否显示内边框, 默认值: `true`"
953
- },
954
- "van-coupon/currency": {
955
- "type": "string",
956
- "description": "货币符号, 默认值: `¥`"
957
- },
958
- "van-coupon/v-model": {
959
- "type": "string",
960
- "description": "当前输入的兑换码, 默认值: -"
961
- },
962
- "van-coupon/disabled-coupons": {
963
- "type": "Coupon[]",
964
- "description": "不可用优惠券列表, 默认值: `[]`"
965
- },
966
- "van-coupon/enabled-title": {
967
- "type": "string",
968
- "description": "可用优惠券列表标题, 默认值: `可使用优惠券`"
969
- },
970
- "van-coupon/disabled-title": {
971
- "type": "string",
972
- "description": "不可用优惠券列表标题, 默认值: `不可使用优惠券`"
973
- },
974
- "van-coupon/exchange-button-text": {
975
- "type": "string",
976
- "description": "兑换按钮文字, 默认值: `兑换`"
898
+ "van-coupon/exchange-button-text": {
899
+ "type": "string",
900
+ "description": "兑换按钮文字, 默认值: `兑换`"
977
901
  },
978
902
  "van-coupon/exchange-button-loading": {
979
903
  "type": "boolean",
@@ -1015,6 +939,94 @@
1015
939
  "type": "boolean",
1016
940
  "description": "是否展示可用 / 不可用数量, 默认值: `true`"
1017
941
  },
942
+ "van-datetime-picker/type": {
943
+ "type": "string",
944
+ "description": "时间类型,可选值为 `date` `time` <br> `year-month` `month-day` `datehour`, 默认值: `datetime`"
945
+ },
946
+ "van-datetime-picker/title": {
947
+ "type": "string",
948
+ "description": "顶部栏标题, 默认值: `''`"
949
+ },
950
+ "van-datetime-picker/confirm-button-text": {
951
+ "type": "string",
952
+ "description": "确认按钮文字, 默认值: `确认`"
953
+ },
954
+ "van-datetime-picker/cancel-button-text": {
955
+ "type": "string",
956
+ "description": "取消按钮文字, 默认值: `取消`"
957
+ },
958
+ "van-datetime-picker/show-toolbar": {
959
+ "type": "boolean",
960
+ "description": "是否显示顶部栏, 默认值: `true`"
961
+ },
962
+ "van-datetime-picker/loading": {
963
+ "type": "boolean",
964
+ "description": "是否显示加载状态, 默认值: `false`"
965
+ },
966
+ "van-datetime-picker/readonly": {
967
+ "type": "boolean",
968
+ "description": "是否为只读状态,只读状态下无法切换选项, 默认值: `false`"
969
+ },
970
+ "van-datetime-picker/filter": {
971
+ "type": "(type, vals) => vals",
972
+ "description": "选项过滤函数, 默认值: -"
973
+ },
974
+ "van-datetime-picker/formatter": {
975
+ "type": "(type, val) => val",
976
+ "description": "选项格式化函数, 默认值: -"
977
+ },
978
+ "van-datetime-picker/columns-order": {
979
+ "type": "string[]",
980
+ "description": "自定义列排序数组, 子项可选值为<br> `year`、`month`、`day`、`hour`、`minute`, 默认值: -"
981
+ },
982
+ "van-datetime-picker/item-height": {
983
+ "type": "number | string",
984
+ "description": "选项高度,支持 `px` `vw` `vh` `rem` 单位,默认 `px`, 默认值: `44`"
985
+ },
986
+ "van-datetime-picker/visible-item-count": {
987
+ "type": "number | string",
988
+ "description": "可见的选项个数, 默认值: `6`"
989
+ },
990
+ "van-datetime-picker/swipe-duration": {
991
+ "type": "number | string",
992
+ "description": "快速滑动时惯性滚动的时长,单位`ms`, 默认值: `1000`"
993
+ },
994
+ "van-datetime-picker/min-date": {
995
+ "type": "Date",
996
+ "description": "可选的最小时间,精确到分钟, 默认值: 十年前"
997
+ },
998
+ "van-datetime-picker/max-date": {
999
+ "type": "Date",
1000
+ "description": "可选的最大时间,精确到分钟, 默认值: 十年后"
1001
+ },
1002
+ "van-datetime-picker/min-hour": {
1003
+ "type": "number | string",
1004
+ "description": "可选的最小小时, 默认值: `0`"
1005
+ },
1006
+ "van-datetime-picker/max-hour": {
1007
+ "type": "number | string",
1008
+ "description": "可选的最大小时, 默认值: `23`"
1009
+ },
1010
+ "van-datetime-picker/min-minute": {
1011
+ "type": "number | string",
1012
+ "description": "可选的最小分钟, 默认值: `0`"
1013
+ },
1014
+ "van-datetime-picker/max-minute": {
1015
+ "type": "number | string",
1016
+ "description": "可选的最大分钟, 默认值: `59`"
1017
+ },
1018
+ "van-divider/dashed": {
1019
+ "type": "boolean",
1020
+ "description": "是否使用虚线, 默认值: `false`"
1021
+ },
1022
+ "van-divider/hairline": {
1023
+ "type": "boolean",
1024
+ "description": "是否使用 0.5px 线, 默认值: `true`"
1025
+ },
1026
+ "van-divider/content-position": {
1027
+ "type": "string",
1028
+ "description": "内容位置,可选值为`left` `right`, 默认值: `center`"
1029
+ },
1018
1030
  "van-dialog/v-model": {
1019
1031
  "type": "boolean",
1020
1032
  "description": "是否显示弹窗, 默认值: -"
@@ -1107,18 +1119,6 @@
1107
1119
  "type": "string | () => Element",
1108
1120
  "description": "指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi), 默认值: -"
1109
1121
  },
1110
- "van-divider/dashed": {
1111
- "type": "boolean",
1112
- "description": "是否使用虚线, 默认值: `false`"
1113
- },
1114
- "van-divider/hairline": {
1115
- "type": "boolean",
1116
- "description": "是否使用 0.5px 线, 默认值: `true`"
1117
- },
1118
- "van-divider/content-position": {
1119
- "type": "string",
1120
- "description": "内容位置,可选值为`left` `right`, 默认值: `center`"
1121
- },
1122
1122
  "van-dropdown-menu/active-color": {
1123
1123
  "type": "string",
1124
1124
  "description": "菜单标题和选项的选中态颜色, 默认值: `#ee0a24`"
@@ -1187,253 +1187,253 @@
1187
1187
  "type": "string",
1188
1188
  "description": "图片下方的描述文字, 默认值: -"
1189
1189
  },
1190
- "van-field/v-model (value)": {
1190
+ "van-form/label-width": {
1191
1191
  "type": "number | string",
1192
- "description": "当前输入的值, 默认值: -"
1193
- },
1194
- "van-field/label": {
1195
- "type": "string",
1196
- "description": "输入框左侧文本, 默认值: -"
1192
+ "description": "表单项 label 宽度,默认单位为`px`, 默认值: `6.2em`"
1197
1193
  },
1198
- "van-field/name": {
1194
+ "van-form/label-align": {
1199
1195
  "type": "string",
1200
- "description": "名称,提交表单的标识符, 默认值: -"
1196
+ "description": "\b 表单项 label 对齐方式,可选值为 `center` `right`, 默认值: `left`"
1201
1197
  },
1202
- "van-field/type": {
1198
+ "van-form/input-align": {
1203
1199
  "type": "string",
1204
- "description": "输入框类型, 可选值为 `tel` `digit`<br>`number` `textarea` `password` 等, 默认值: `text`"
1200
+ "description": "输入框对齐方式,可选值为 `center` `right`, 默认值: `left`"
1205
1201
  },
1206
- "van-field/size": {
1202
+ "van-form/error-message-align": {
1207
1203
  "type": "string",
1208
- "description": "大小,可选值为 `large`, 默认值: -"
1209
- },
1210
- "van-field/maxlength": {
1211
- "type": "number | string",
1212
- "description": "输入的最大字符数, 默认值: -"
1204
+ "description": "错误提示文案对齐方式,可选值为 `center` `right`, 默认值: `left`"
1213
1205
  },
1214
- "van-field/placeholder": {
1206
+ "van-form/validate-trigger": {
1215
1207
  "type": "string",
1216
- "description": "输入框占位提示文字, 默认值: -"
1217
- },
1218
- "van-field/border": {
1219
- "type": "boolean",
1220
- "description": "是否显示内边框, 默认值: `true`"
1221
- },
1222
- "van-field/disabled": {
1223
- "type": "boolean",
1224
- "description": "是否禁用输入框, 默认值: `false`"
1225
- },
1226
- "van-field/readonly": {
1227
- "type": "boolean",
1228
- "description": "是否只读, 默认值: `false`"
1208
+ "description": "表单校验触发时机,可选值为 `onChange`、`onSubmit`,详见下表, 默认值: `onBlur`"
1229
1209
  },
1230
- "van-field/colon": {
1210
+ "van-form/colon": {
1231
1211
  "type": "boolean",
1232
1212
  "description": "是否在 label 后面添加冒号, 默认值: `false`"
1233
1213
  },
1234
- "van-field/required": {
1214
+ "van-form/disabled": {
1235
1215
  "type": "boolean",
1236
- "description": "是否显示表单必填星号, 默认值: `false`"
1216
+ "description": "是否禁用表单中的所有输入框, 默认值: `false`"
1237
1217
  },
1238
- "van-field/center": {
1218
+ "van-form/readonly": {
1239
1219
  "type": "boolean",
1240
- "description": "是否使内容垂直居中, 默认值: `false`"
1220
+ "description": "是否将表单中的所有输入框设置为只读, 默认值: `false`"
1241
1221
  },
1242
- "van-field/clearable": {
1222
+ "van-form/validate-first": {
1243
1223
  "type": "boolean",
1244
- "description": "是否启用清除图标,点击清除图标后会清空输入框, 默认值: `false`"
1245
- },
1246
- "van-field/clear-trigger": {
1247
- "type": "string",
1248
- "description": "显示清除图标的时机,`always` 表示输入框不为空时展示,<br>`focus` 表示输入框聚焦且不为空时展示, 默认值: `focus`"
1224
+ "description": "是否在某一项校验不通过时停止校验, 默认值: `false`"
1249
1225
  },
1250
- "van-field/clickable": {
1226
+ "van-form/scroll-to-error": {
1251
1227
  "type": "boolean",
1252
- "description": "是否开启点击反馈, 默认值: `false`"
1228
+ "description": "是否在提交表单且校验不通过时滚动至错误的表单项, 默认值: `false`"
1253
1229
  },
1254
- "van-field/is-link": {
1230
+ "van-form/show-error": {
1255
1231
  "type": "boolean",
1256
- "description": "是否展示右侧箭头并开启点击反馈, 默认值: `false`"
1232
+ "description": "是否在校验不通过时标红输入框, 默认值: `true`"
1257
1233
  },
1258
- "van-field/autofocus": {
1234
+ "van-form/show-error-message": {
1259
1235
  "type": "boolean",
1260
- "description": "是否自动聚焦,iOS 系统不支持该属性, 默认值: `false`"
1236
+ "description": "是否在校验不通过时在输入框下方展示错误提示, 默认值: `true`"
1261
1237
  },
1262
- "van-field/show-word-limit": {
1238
+ "van-form/submit-on-enter": {
1263
1239
  "type": "boolean",
1264
- "description": "是否显示字数统计,需要设置`maxlength`属性, 默认值: `false`"
1240
+ "description": "是否在按下回车键时提交表单, 默认值: `true`"
1265
1241
  },
1266
- "van-field/error": {
1242
+ "van-goods-action/safe-area-inset-bottom": {
1267
1243
  "type": "boolean",
1268
- "description": "是否将输入内容标红, 默认值: `false`"
1244
+ "description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei), 默认值: `true`"
1269
1245
  },
1270
- "van-field/error-message": {
1246
+ "van-goods-action/text": {
1271
1247
  "type": "string",
1272
- "description": "底部错误提示文案,为空时不展示, 默认值: -"
1273
- },
1274
- "van-field/formatter": {
1275
- "type": "Function",
1276
- "description": "输入内容格式化函数, 默认值: -"
1248
+ "description": "按钮文字, 默认值: -"
1277
1249
  },
1278
- "van-field/format-trigger": {
1250
+ "van-goods-action/icon": {
1279
1251
  "type": "string",
1280
- "description": "格式化函数触发的时机,可选值为 `onBlur`, 默认值: `onChange`"
1252
+ "description": "左侧[图标名称](#/zh-CN/icon)或图片链接, 默认值: -"
1281
1253
  },
1282
- "van-field/arrow-direction": {
1254
+ "van-goods-action/color": {
1283
1255
  "type": "string",
1284
- "description": "箭头方向,可选值为 `left` `up` `down`, 默认值: `right`"
1256
+ "description": "按钮颜色,支持传入`linear-gradient`渐变色, 默认值: -"
1285
1257
  },
1286
- "van-field/label-class": {
1258
+ "van-goods-action/icon-class": {
1287
1259
  "type": "any",
1288
- "description": "左侧文本额外类名, 默认值: -"
1260
+ "description": "图标额外类名, 默认值: -"
1289
1261
  },
1290
- "van-field/label-width": {
1262
+ "van-goods-action/dot": {
1263
+ "type": "boolean",
1264
+ "description": "是否显示图标右上角小红点, 默认值: `false`"
1265
+ },
1266
+ "van-goods-action/badge": {
1291
1267
  "type": "number | string",
1292
- "description": "左侧文本宽度,默认单位为`px`, 默认值: `6.2em`"
1268
+ "description": "图标右上角徽标的内容, 默认值: -"
1293
1269
  },
1294
- "van-field/label-align": {
1295
- "type": "string",
1296
- "description": "左侧文本对齐方式,可选值为 `center` `right`, 默认值: `left`"
1270
+ "van-goods-action/info": {
1271
+ "type": "number | string",
1272
+ "description": "图标右上角徽标的内容(已废弃,请使用 badge 属性), 默认值: -"
1297
1273
  },
1298
- "van-field/input-align": {
1274
+ "van-goods-action/url": {
1299
1275
  "type": "string",
1300
- "description": "输入框对齐方式,可选值为 `center` `right`, 默认值: `left`"
1276
+ "description": "点击后跳转的链接地址, 默认值: -"
1301
1277
  },
1302
- "van-field/error-message-align": {
1303
- "type": "string",
1304
- "description": "错误提示文案对齐方式,可选值为 `center` `right`, 默认值: `left`"
1278
+ "van-goods-action/to": {
1279
+ "type": "string | object",
1280
+ "description": "点击后跳转的目标路由对象,同 vue-router [to 属性](https://router.vuejs.org/zh/api/#to), 默认值: -"
1305
1281
  },
1306
- "van-field/autosize": {
1307
- "type": "boolean | object",
1308
- "description": "是否自适应内容高度,只对 textarea 有效,<br>可传入对象,如 { maxHeight: 100, minHeight: 50 },<br>单位为`px`, 默认值: `false`"
1282
+ "van-goods-action/replace": {
1283
+ "type": "boolean",
1284
+ "description": "是否在跳转时替换当前页面历史, 默认值: `false`"
1309
1285
  },
1310
- "van-field/left-icon": {
1286
+ "van-goods-action/type": {
1311
1287
  "type": "string",
1312
- "description": "左侧[图标名称](#/zh-CN/icon)或图片链接, 默认值: -"
1288
+ "description": "按钮类型,可选值为 `primary` `info` `warning` `danger`, 默认值: `default`"
1313
1289
  },
1314
- "van-field/right-icon": {
1290
+ "van-goods-action/disabled": {
1291
+ "type": "boolean",
1292
+ "description": "是否禁用按钮, 默认值: `false`"
1293
+ },
1294
+ "van-goods-action/loading": {
1295
+ "type": "boolean",
1296
+ "description": "是否显示为加载状态, 默认值: `false`"
1297
+ },
1298
+ "van-field/v-model (value)": {
1299
+ "type": "number | string",
1300
+ "description": "当前输入的值, 默认值: -"
1301
+ },
1302
+ "van-field/label": {
1315
1303
  "type": "string",
1316
- "description": "右侧[图标名称](#/zh-CN/icon)或图片链接, 默认值: -"
1304
+ "description": "输入框左侧文本, 默认值: -"
1317
1305
  },
1318
- "van-field/icon-prefix": {
1306
+ "van-field/name": {
1319
1307
  "type": "string",
1320
- "description": "图标类名前缀,同 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props), 默认值: `van-icon`"
1308
+ "description": "名称,提交表单的标识符, 默认值: -"
1321
1309
  },
1322
- "van-field/rules": {
1323
- "type": "Rule[]",
1324
- "description": "表单校验规则,详见 [Form 组件](#/zh-CN/form#rule-shu-ju-jie-gou), 默认值: -"
1310
+ "van-field/type": {
1311
+ "type": "string",
1312
+ "description": "输入框类型, 可选值为 `tel` `digit`<br>`number` `textarea` `password` 等, 默认值: `text`"
1325
1313
  },
1326
- "van-field/autocomplete": {
1314
+ "van-field/size": {
1327
1315
  "type": "string",
1328
- "description": "input 标签原生的[自动完成属性](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete), 默认值: -"
1316
+ "description": "大小,可选值为 `large`, 默认值: -"
1329
1317
  },
1330
- "van-form/label-width": {
1318
+ "van-field/maxlength": {
1331
1319
  "type": "number | string",
1332
- "description": "表单项 label 宽度,默认单位为`px`, 默认值: `6.2em`"
1320
+ "description": "输入的最大字符数, 默认值: -"
1333
1321
  },
1334
- "van-form/label-align": {
1322
+ "van-field/placeholder": {
1335
1323
  "type": "string",
1336
- "description": "\b 表单项 label 对齐方式,可选值为 `center` `right`, 默认值: `left`"
1324
+ "description": "输入框占位提示文字, 默认值: -"
1337
1325
  },
1338
- "van-form/input-align": {
1339
- "type": "string",
1340
- "description": "输入框对齐方式,可选值为 `center` `right`, 默认值: `left`"
1326
+ "van-field/border": {
1327
+ "type": "boolean",
1328
+ "description": "是否显示内边框, 默认值: `true`"
1341
1329
  },
1342
- "van-form/error-message-align": {
1343
- "type": "string",
1344
- "description": "错误提示文案对齐方式,可选值为 `center` `right`, 默认值: `left`"
1330
+ "van-field/disabled": {
1331
+ "type": "boolean",
1332
+ "description": "是否禁用输入框, 默认值: `false`"
1345
1333
  },
1346
- "van-form/validate-trigger": {
1347
- "type": "string",
1348
- "description": "表单校验触发时机,可选值为 `onChange`、`onSubmit`,详见下表, 默认值: `onBlur`"
1334
+ "van-field/readonly": {
1335
+ "type": "boolean",
1336
+ "description": "是否只读, 默认值: `false`"
1349
1337
  },
1350
- "van-form/colon": {
1338
+ "van-field/colon": {
1351
1339
  "type": "boolean",
1352
1340
  "description": "是否在 label 后面添加冒号, 默认值: `false`"
1353
1341
  },
1354
- "van-form/disabled": {
1342
+ "van-field/required": {
1355
1343
  "type": "boolean",
1356
- "description": "是否禁用表单中的所有输入框, 默认值: `false`"
1344
+ "description": "是否显示表单必填星号, 默认值: `false`"
1357
1345
  },
1358
- "van-form/readonly": {
1346
+ "van-field/center": {
1359
1347
  "type": "boolean",
1360
- "description": "是否将表单中的所有输入框设置为只读, 默认值: `false`"
1348
+ "description": "是否使内容垂直居中, 默认值: `false`"
1361
1349
  },
1362
- "van-form/validate-first": {
1350
+ "van-field/clearable": {
1363
1351
  "type": "boolean",
1364
- "description": "是否在某一项校验不通过时停止校验, 默认值: `false`"
1352
+ "description": "是否启用清除图标,点击清除图标后会清空输入框, 默认值: `false`"
1365
1353
  },
1366
- "van-form/scroll-to-error": {
1354
+ "van-field/clear-trigger": {
1355
+ "type": "string",
1356
+ "description": "显示清除图标的时机,`always` 表示输入框不为空时展示,<br>`focus` 表示输入框聚焦且不为空时展示, 默认值: `focus`"
1357
+ },
1358
+ "van-field/clickable": {
1367
1359
  "type": "boolean",
1368
- "description": "是否在提交表单且校验不通过时滚动至错误的表单项, 默认值: `false`"
1360
+ "description": "是否开启点击反馈, 默认值: `false`"
1369
1361
  },
1370
- "van-form/show-error": {
1362
+ "van-field/is-link": {
1371
1363
  "type": "boolean",
1372
- "description": "是否在校验不通过时标红输入框, 默认值: `true`"
1364
+ "description": "是否展示右侧箭头并开启点击反馈, 默认值: `false`"
1373
1365
  },
1374
- "van-form/show-error-message": {
1366
+ "van-field/autofocus": {
1375
1367
  "type": "boolean",
1376
- "description": "是否在校验不通过时在输入框下方展示错误提示, 默认值: `true`"
1368
+ "description": "是否自动聚焦,iOS 系统不支持该属性, 默认值: `false`"
1377
1369
  },
1378
- "van-form/submit-on-enter": {
1370
+ "van-field/show-word-limit": {
1379
1371
  "type": "boolean",
1380
- "description": "是否在按下回车键时提交表单, 默认值: `true`"
1372
+ "description": "是否显示字数统计,需要设置`maxlength`属性, 默认值: `false`"
1381
1373
  },
1382
- "van-goods-action/safe-area-inset-bottom": {
1374
+ "van-field/error": {
1383
1375
  "type": "boolean",
1384
- "description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei), 默认值: `true`"
1376
+ "description": "是否将输入内容标红, 默认值: `false`"
1385
1377
  },
1386
- "van-goods-action/text": {
1378
+ "van-field/error-message": {
1387
1379
  "type": "string",
1388
- "description": "按钮文字, 默认值: -"
1380
+ "description": "底部错误提示文案,为空时不展示, 默认值: -"
1389
1381
  },
1390
- "van-goods-action/icon": {
1382
+ "van-field/formatter": {
1383
+ "type": "Function",
1384
+ "description": "输入内容格式化函数, 默认值: -"
1385
+ },
1386
+ "van-field/format-trigger": {
1391
1387
  "type": "string",
1392
- "description": "左侧[图标名称](#/zh-CN/icon)或图片链接, 默认值: -"
1388
+ "description": "格式化函数触发的时机,可选值为 `onBlur`, 默认值: `onChange`"
1393
1389
  },
1394
- "van-goods-action/color": {
1390
+ "van-field/arrow-direction": {
1395
1391
  "type": "string",
1396
- "description": "按钮颜色,支持传入`linear-gradient`渐变色, 默认值: -"
1392
+ "description": "箭头方向,可选值为 `left` `up` `down`, 默认值: `right`"
1397
1393
  },
1398
- "van-goods-action/icon-class": {
1394
+ "van-field/label-class": {
1399
1395
  "type": "any",
1400
- "description": "图标额外类名, 默认值: -"
1401
- },
1402
- "van-goods-action/dot": {
1403
- "type": "boolean",
1404
- "description": "是否显示图标右上角小红点, 默认值: `false`"
1396
+ "description": "左侧文本额外类名, 默认值: -"
1405
1397
  },
1406
- "van-goods-action/badge": {
1398
+ "van-field/label-width": {
1407
1399
  "type": "number | string",
1408
- "description": "图标右上角徽标的内容, 默认值: -"
1400
+ "description": "左侧文本宽度,默认单位为`px`, 默认值: `6.2em`"
1409
1401
  },
1410
- "van-goods-action/info": {
1411
- "type": "number | string",
1412
- "description": "图标右上角徽标的内容(已废弃,请使用 badge 属性), 默认值: -"
1402
+ "van-field/label-align": {
1403
+ "type": "string",
1404
+ "description": "左侧文本对齐方式,可选值为 `center` `right`, 默认值: `left`"
1413
1405
  },
1414
- "van-goods-action/url": {
1406
+ "van-field/input-align": {
1415
1407
  "type": "string",
1416
- "description": "点击后跳转的链接地址, 默认值: -"
1408
+ "description": "输入框对齐方式,可选值为 `center` `right`, 默认值: `left`"
1417
1409
  },
1418
- "van-goods-action/to": {
1419
- "type": "string | object",
1420
- "description": "点击后跳转的目标路由对象,同 vue-router [to 属性](https://router.vuejs.org/zh/api/#to), 默认值: -"
1410
+ "van-field/error-message-align": {
1411
+ "type": "string",
1412
+ "description": "错误提示文案对齐方式,可选值为 `center` `right`, 默认值: `left`"
1421
1413
  },
1422
- "van-goods-action/replace": {
1423
- "type": "boolean",
1424
- "description": "是否在跳转时替换当前页面历史, 默认值: `false`"
1414
+ "van-field/autosize": {
1415
+ "type": "boolean | object",
1416
+ "description": "是否自适应内容高度,只对 textarea 有效,<br>可传入对象,如 { maxHeight: 100, minHeight: 50 },<br>单位为`px`, 默认值: `false`"
1425
1417
  },
1426
- "van-goods-action/type": {
1418
+ "van-field/left-icon": {
1427
1419
  "type": "string",
1428
- "description": "按钮类型,可选值为 `primary` `info` `warning` `danger`, 默认值: `default`"
1420
+ "description": "左侧[图标名称](#/zh-CN/icon)或图片链接, 默认值: -"
1429
1421
  },
1430
- "van-goods-action/disabled": {
1431
- "type": "boolean",
1432
- "description": "是否禁用按钮, 默认值: `false`"
1422
+ "van-field/right-icon": {
1423
+ "type": "string",
1424
+ "description": "右侧[图标名称](#/zh-CN/icon)或图片链接, 默认值: -"
1433
1425
  },
1434
- "van-goods-action/loading": {
1435
- "type": "boolean",
1436
- "description": "是否显示为加载状态, 默认值: `false`"
1426
+ "van-field/icon-prefix": {
1427
+ "type": "string",
1428
+ "description": "图标类名前缀,同 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props), 默认值: `van-icon`"
1429
+ },
1430
+ "van-field/rules": {
1431
+ "type": "Rule[]",
1432
+ "description": "表单校验规则,详见 [Form 组件](#/zh-CN/form#rule-shu-ju-jie-gou), 默认值: -"
1433
+ },
1434
+ "van-field/autocomplete": {
1435
+ "type": "string",
1436
+ "description": "input 标签原生的[自动完成属性](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete), 默认值: -"
1437
1437
  },
1438
1438
  "van-grid/column-num": {
1439
1439
  "type": "number | string",
@@ -1739,42 +1739,6 @@
1739
1739
  "type": "boolean",
1740
1740
  "description": "是否垂直排列图标和文字内容, 默认值: `false`"
1741
1741
  },
1742
- "van-notice-bar/mode": {
1743
- "type": "string",
1744
- "description": "通知栏模式,可选值为 `closeable` `link`, 默认值: `''`"
1745
- },
1746
- "van-notice-bar/text": {
1747
- "type": "string",
1748
- "description": "通知文本内容, 默认值: `''`"
1749
- },
1750
- "van-notice-bar/color": {
1751
- "type": "string",
1752
- "description": "通知文本颜色, 默认值: `#f60`"
1753
- },
1754
- "van-notice-bar/background": {
1755
- "type": "string",
1756
- "description": "滚动条背景, 默认值: `#fff7cc`"
1757
- },
1758
- "van-notice-bar/left-icon": {
1759
- "type": "string",
1760
- "description": "左侧[图标名称](#/zh-CN/icon)或图片链接, 默认值: -"
1761
- },
1762
- "van-notice-bar/delay": {
1763
- "type": "number | string",
1764
- "description": "动画延迟时间 (s), 默认值: `1`"
1765
- },
1766
- "van-notice-bar/speed": {
1767
- "type": "number | string",
1768
- "description": "滚动速率 (px/s), 默认值: `60`"
1769
- },
1770
- "van-notice-bar/scrollable": {
1771
- "type": "boolean",
1772
- "description": "是否开启滚动播放,内容长度溢出时默认开启, 默认值: -"
1773
- },
1774
- "van-notice-bar/wrapable": {
1775
- "type": "boolean",
1776
- "description": "是否开启文本换行,只在禁用滚动时生效, 默认值: `false`"
1777
- },
1778
1742
  "van-nav-bar/title": {
1779
1743
  "type": "string",
1780
1744
  "description": "标题, 默认值: `''`"
@@ -1811,6 +1775,42 @@
1811
1775
  "type": "boolean",
1812
1776
  "description": "是否开启[顶部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei), 默认值: `false`"
1813
1777
  },
1778
+ "van-notice-bar/mode": {
1779
+ "type": "string",
1780
+ "description": "通知栏模式,可选值为 `closeable` `link`, 默认值: `''`"
1781
+ },
1782
+ "van-notice-bar/text": {
1783
+ "type": "string",
1784
+ "description": "通知文本内容, 默认值: `''`"
1785
+ },
1786
+ "van-notice-bar/color": {
1787
+ "type": "string",
1788
+ "description": "通知文本颜色, 默认值: `#f60`"
1789
+ },
1790
+ "van-notice-bar/background": {
1791
+ "type": "string",
1792
+ "description": "滚动条背景, 默认值: `#fff7cc`"
1793
+ },
1794
+ "van-notice-bar/left-icon": {
1795
+ "type": "string",
1796
+ "description": "左侧[图标名称](#/zh-CN/icon)或图片链接, 默认值: -"
1797
+ },
1798
+ "van-notice-bar/delay": {
1799
+ "type": "number | string",
1800
+ "description": "动画延迟时间 (s), 默认值: `1`"
1801
+ },
1802
+ "van-notice-bar/speed": {
1803
+ "type": "number | string",
1804
+ "description": "滚动速率 (px/s), 默认值: `60`"
1805
+ },
1806
+ "van-notice-bar/scrollable": {
1807
+ "type": "boolean",
1808
+ "description": "是否开启滚动播放,内容长度溢出时默认开启, 默认值: -"
1809
+ },
1810
+ "van-notice-bar/wrapable": {
1811
+ "type": "boolean",
1812
+ "description": "是否开启文本换行,只在禁用滚动时生效, 默认值: `false`"
1813
+ },
1814
1814
  "van-number-keyboard/v-model (value)": {
1815
1815
  "type": "string",
1816
1816
  "description": "当前输入值, 默认值: -"
@@ -1935,22 +1935,6 @@
1935
1935
  "type": "boolean",
1936
1936
  "description": "是否显示省略号, 默认值: `false`"
1937
1937
  },
1938
- "van-panel/title": {
1939
- "type": "string",
1940
- "description": "标题, 默认值: -"
1941
- },
1942
- "van-panel/desc": {
1943
- "type": "string",
1944
- "description": "描述, 默认值: -"
1945
- },
1946
- "van-panel/status": {
1947
- "type": "string",
1948
- "description": "状态, 默认值: -"
1949
- },
1950
- "van-panel/icon": {
1951
- "type": "string",
1952
- "description": "标题左侧[图标名称](#/zh-CN/icon)或图片链接, 默认值: -"
1953
- },
1954
1938
  "van-password-input/value": {
1955
1939
  "type": "string",
1956
1940
  "description": "密码值, 默认值: `''`"
@@ -2035,6 +2019,22 @@
2035
2019
  "type": "number | string",
2036
2020
  "description": "快速滑动时惯性滚动的时长,单位 `ms`, 默认值: `1000`"
2037
2021
  },
2022
+ "van-panel/title": {
2023
+ "type": "string",
2024
+ "description": "标题, 默认值: -"
2025
+ },
2026
+ "van-panel/desc": {
2027
+ "type": "string",
2028
+ "description": "描述, 默认值: -"
2029
+ },
2030
+ "van-panel/status": {
2031
+ "type": "string",
2032
+ "description": "状态, 默认值: -"
2033
+ },
2034
+ "van-panel/icon": {
2035
+ "type": "string",
2036
+ "description": "标题左侧[图标名称](#/zh-CN/icon)或图片链接, 默认值: -"
2037
+ },
2038
2038
  "van-popover/v-model": {
2039
2039
  "type": "boolean",
2040
2040
  "description": "是否展示气泡弹出层, 默认值: `false`"
@@ -3207,38 +3207,6 @@
3207
3207
  "type": "boolean",
3208
3208
  "description": "是否在跳转时替换当前页面历史, 默认值: `false`"
3209
3209
  },
3210
- "van-tag/type": {
3211
- "type": "string",
3212
- "description": "类型,可选值为`primary` `success` `danger` `warning`, 默认值: `default`"
3213
- },
3214
- "van-tag/size": {
3215
- "type": "string",
3216
- "description": "大小, 可选值为`large` `medium`, 默认值: -"
3217
- },
3218
- "van-tag/color": {
3219
- "type": "string",
3220
- "description": "标签颜色, 默认值: -"
3221
- },
3222
- "van-tag/plain": {
3223
- "type": "boolean",
3224
- "description": "是否为空心样式, 默认值: `false`"
3225
- },
3226
- "van-tag/round": {
3227
- "type": "boolean",
3228
- "description": "是否为圆角样式, 默认值: `false`"
3229
- },
3230
- "van-tag/mark": {
3231
- "type": "boolean",
3232
- "description": "是否为标记样式, 默认值: `false`"
3233
- },
3234
- "van-tag/text-color": {
3235
- "type": "string",
3236
- "description": "文本颜色,优先级高于`color`属性, 默认值: `white`"
3237
- },
3238
- "van-tag/closeable": {
3239
- "type": "boolean",
3240
- "description": "是否为可关闭标签, 默认值: `false`"
3241
- },
3242
3210
  "van-tree-select/items": {
3243
3211
  "type": "Item[]",
3244
3212
  "description": "分类显示所需的数据, 默认值: `[]`"
@@ -3354,5 +3322,37 @@
3354
3322
  "van-uploader/upload-icon": {
3355
3323
  "type": "string",
3356
3324
  "description": "上传区域[图标名称](#/zh-CN/icon)或图片链接, 默认值: `photograph`"
3325
+ },
3326
+ "van-tag/type": {
3327
+ "type": "string",
3328
+ "description": "类型,可选值为`primary` `success` `danger` `warning`, 默认值: `default`"
3329
+ },
3330
+ "van-tag/size": {
3331
+ "type": "string",
3332
+ "description": "大小, 可选值为`large` `medium`, 默认值: -"
3333
+ },
3334
+ "van-tag/color": {
3335
+ "type": "string",
3336
+ "description": "标签颜色, 默认值: -"
3337
+ },
3338
+ "van-tag/plain": {
3339
+ "type": "boolean",
3340
+ "description": "是否为空心样式, 默认值: `false`"
3341
+ },
3342
+ "van-tag/round": {
3343
+ "type": "boolean",
3344
+ "description": "是否为圆角样式, 默认值: `false`"
3345
+ },
3346
+ "van-tag/mark": {
3347
+ "type": "boolean",
3348
+ "description": "是否为标记样式, 默认值: `false`"
3349
+ },
3350
+ "van-tag/text-color": {
3351
+ "type": "string",
3352
+ "description": "文本颜色,优先级高于`color`属性, 默认值: `white`"
3353
+ },
3354
+ "van-tag/closeable": {
3355
+ "type": "boolean",
3356
+ "description": "是否为可关闭标签, 默认值: `false`"
3357
3357
  }
3358
3358
  }