vant 2.12.50 → 2.12.52
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/action-sheet/index.css +1 -1
- package/es/action-sheet/index.less +1 -0
- package/es/calendar/index.js +5 -3
- package/es/index.js +1 -1
- package/es/uploader/index.js +5 -1
- package/lib/action-sheet/index.css +1 -1
- package/lib/action-sheet/index.less +1 -0
- package/lib/calendar/index.js +5 -3
- package/lib/index.css +1 -1
- package/lib/index.js +1 -1
- package/lib/uploader/index.js +5 -1
- package/lib/vant.js +11 -5
- package/lib/vant.min.js +1 -1
- package/package.json +1 -1
- package/vetur/attributes.json +208 -208
- package/vetur/tags.json +72 -72
- package/vetur/web-types.json +758 -758
- package/changelog.generated.md +0 -15
package/package.json
CHANGED
package/vetur/attributes.json
CHANGED
@@ -1,4 +1,84 @@
|
|
1
1
|
{
|
2
|
+
"van-address-list/v-model": {
|
3
|
+
"type": "string",
|
4
|
+
"description": "当前选中地址的 id, 默认值: -"
|
5
|
+
},
|
6
|
+
"van-address-list/list": {
|
7
|
+
"type": "Address[]",
|
8
|
+
"description": "地址列表, 默认值: `[]`"
|
9
|
+
},
|
10
|
+
"van-address-list/disabled-list": {
|
11
|
+
"type": "Address[]",
|
12
|
+
"description": "不可配送地址列表, 默认值: `[]`"
|
13
|
+
},
|
14
|
+
"van-address-list/disabled-text": {
|
15
|
+
"type": "string",
|
16
|
+
"description": "不可配送提示文案, 默认值: -"
|
17
|
+
},
|
18
|
+
"van-address-list/switchable": {
|
19
|
+
"type": "boolean",
|
20
|
+
"description": "是否允许切换地址, 默认值: `true`"
|
21
|
+
},
|
22
|
+
"van-address-list/add-button-text": {
|
23
|
+
"type": "string",
|
24
|
+
"description": "底部按钮文字, 默认值: `新增地址`"
|
25
|
+
},
|
26
|
+
"van-address-list/default-tag-text": {
|
27
|
+
"type": "string",
|
28
|
+
"description": "默认地址标签文字, 默认值: -"
|
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
|
+
},
|
2
82
|
"van-action-sheet/v-model (value)": {
|
3
83
|
"type": "boolean",
|
4
84
|
"description": "是否显示动作面板, 默认值: `false`"
|
@@ -155,102 +235,6 @@
|
|
155
235
|
"type": "(key, val) => string",
|
156
236
|
"description": "自定义校验函数, 默认值: -"
|
157
237
|
},
|
158
|
-
"van-address-list/v-model": {
|
159
|
-
"type": "string",
|
160
|
-
"description": "当前选中地址的 id, 默认值: -"
|
161
|
-
},
|
162
|
-
"van-address-list/list": {
|
163
|
-
"type": "Address[]",
|
164
|
-
"description": "地址列表, 默认值: `[]`"
|
165
|
-
},
|
166
|
-
"van-address-list/disabled-list": {
|
167
|
-
"type": "Address[]",
|
168
|
-
"description": "不可配送地址列表, 默认值: `[]`"
|
169
|
-
},
|
170
|
-
"van-address-list/disabled-text": {
|
171
|
-
"type": "string",
|
172
|
-
"description": "不可配送提示文案, 默认值: -"
|
173
|
-
},
|
174
|
-
"van-address-list/switchable": {
|
175
|
-
"type": "boolean",
|
176
|
-
"description": "是否允许切换地址, 默认值: `true`"
|
177
|
-
},
|
178
|
-
"van-address-list/add-button-text": {
|
179
|
-
"type": "string",
|
180
|
-
"description": "底部按钮文字, 默认值: `新增地址`"
|
181
|
-
},
|
182
|
-
"van-address-list/default-tag-text": {
|
183
|
-
"type": "string",
|
184
|
-
"description": "默认地址标签文字, 默认值: -"
|
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
|
-
"van-badge/content": {
|
239
|
-
"type": "number | string",
|
240
|
-
"description": "徽标内容, 默认值: -"
|
241
|
-
},
|
242
|
-
"van-badge/color": {
|
243
|
-
"type": "string",
|
244
|
-
"description": "徽标背景颜色, 默认值: `#ee0a24`"
|
245
|
-
},
|
246
|
-
"van-badge/dot": {
|
247
|
-
"type": "boolean",
|
248
|
-
"description": "是否展示为小红点, 默认值: `false`"
|
249
|
-
},
|
250
|
-
"van-badge/max": {
|
251
|
-
"type": "number | string",
|
252
|
-
"description": "最大值,超过最大值会显示 `{max}+`,仅当 content 为数字时有效, 默认值: -"
|
253
|
-
},
|
254
238
|
"van-button/type": {
|
255
239
|
"type": "string",
|
256
240
|
"description": "类型,可选值为 `primary` `info` `warning` `danger`, 默认值: `default`"
|
@@ -339,6 +323,22 @@
|
|
339
323
|
"type": "boolean",
|
340
324
|
"description": "是否在跳转时替换当前页面历史, 默认值: `false`"
|
341
325
|
},
|
326
|
+
"van-badge/content": {
|
327
|
+
"type": "number | string",
|
328
|
+
"description": "徽标内容, 默认值: -"
|
329
|
+
},
|
330
|
+
"van-badge/color": {
|
331
|
+
"type": "string",
|
332
|
+
"description": "徽标背景颜色, 默认值: `#ee0a24`"
|
333
|
+
},
|
334
|
+
"van-badge/dot": {
|
335
|
+
"type": "boolean",
|
336
|
+
"description": "是否展示为小红点, 默认值: `false`"
|
337
|
+
},
|
338
|
+
"van-badge/max": {
|
339
|
+
"type": "number | string",
|
340
|
+
"description": "最大值,超过最大值会显示 `{max}+`,仅当 content 为数字时有效, 默认值: -"
|
341
|
+
},
|
342
342
|
"van-calendar/type": {
|
343
343
|
"type": "string",
|
344
344
|
"description": "选择类型:<br>`single`表示选择单个日期,<br>`multiple`表示选择多个日期,<br>`range`表示选择日期区间, 默认值: `single`"
|
@@ -855,6 +855,82 @@
|
|
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": {
|
863
|
+
"type": "string",
|
864
|
+
"description": "顶部栏标题, 默认值: `''`"
|
865
|
+
},
|
866
|
+
"van-datetime-picker/confirm-button-text": {
|
867
|
+
"type": "string",
|
868
|
+
"description": "确认按钮文字, 默认值: `确认`"
|
869
|
+
},
|
870
|
+
"van-datetime-picker/cancel-button-text": {
|
871
|
+
"type": "string",
|
872
|
+
"description": "取消按钮文字, 默认值: `取消`"
|
873
|
+
},
|
874
|
+
"van-datetime-picker/show-toolbar": {
|
875
|
+
"type": "boolean",
|
876
|
+
"description": "是否显示顶部栏, 默认值: `true`"
|
877
|
+
},
|
878
|
+
"van-datetime-picker/loading": {
|
879
|
+
"type": "boolean",
|
880
|
+
"description": "是否显示加载状态, 默认值: `false`"
|
881
|
+
},
|
882
|
+
"van-datetime-picker/readonly": {
|
883
|
+
"type": "boolean",
|
884
|
+
"description": "是否为只读状态,只读状态下无法切换选项, 默认值: `false`"
|
885
|
+
},
|
886
|
+
"van-datetime-picker/filter": {
|
887
|
+
"type": "(type, vals) => vals",
|
888
|
+
"description": "选项过滤函数, 默认值: -"
|
889
|
+
},
|
890
|
+
"van-datetime-picker/formatter": {
|
891
|
+
"type": "(type, val) => val",
|
892
|
+
"description": "选项格式化函数, 默认值: -"
|
893
|
+
},
|
894
|
+
"van-datetime-picker/columns-order": {
|
895
|
+
"type": "string[]",
|
896
|
+
"description": "自定义列排序数组, 子项可选值为<br> `year`、`month`、`day`、`hour`、`minute`, 默认值: -"
|
897
|
+
},
|
898
|
+
"van-datetime-picker/item-height": {
|
899
|
+
"type": "number | string",
|
900
|
+
"description": "选项高度,支持 `px` `vw` `vh` `rem` 单位,默认 `px`, 默认值: `44`"
|
901
|
+
},
|
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
|
+
},
|
858
934
|
"van-coupon/title": {
|
859
935
|
"type": "string",
|
860
936
|
"description": "单元格标题, 默认值: `优惠券`"
|
@@ -939,82 +1015,6 @@
|
|
939
1015
|
"type": "boolean",
|
940
1016
|
"description": "是否展示可用 / 不可用数量, 默认值: `true`"
|
941
1017
|
},
|
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
1018
|
"van-dialog/v-model": {
|
1019
1019
|
"type": "boolean",
|
1020
1020
|
"description": "是否显示弹窗, 默认值: -"
|
@@ -1739,42 +1739,6 @@
|
|
1739
1739
|
"type": "boolean",
|
1740
1740
|
"description": "是否垂直排列图标和文字内容, 默认值: `false`"
|
1741
1741
|
},
|
1742
|
-
"van-nav-bar/title": {
|
1743
|
-
"type": "string",
|
1744
|
-
"description": "标题, 默认值: `''`"
|
1745
|
-
},
|
1746
|
-
"van-nav-bar/left-text": {
|
1747
|
-
"type": "string",
|
1748
|
-
"description": "左侧文案, 默认值: `''`"
|
1749
|
-
},
|
1750
|
-
"van-nav-bar/right-text": {
|
1751
|
-
"type": "string",
|
1752
|
-
"description": "右侧文案, 默认值: `''`"
|
1753
|
-
},
|
1754
|
-
"van-nav-bar/left-arrow": {
|
1755
|
-
"type": "boolean",
|
1756
|
-
"description": "是否显示左侧箭头, 默认值: `false`"
|
1757
|
-
},
|
1758
|
-
"van-nav-bar/border": {
|
1759
|
-
"type": "boolean",
|
1760
|
-
"description": "是否显示下边框, 默认值: `true`"
|
1761
|
-
},
|
1762
|
-
"van-nav-bar/fixed": {
|
1763
|
-
"type": "boolean",
|
1764
|
-
"description": "是否固定在顶部, 默认值: `false`"
|
1765
|
-
},
|
1766
|
-
"van-nav-bar/placeholder": {
|
1767
|
-
"type": "boolean",
|
1768
|
-
"description": "固定在顶部时,是否在标签位置生成一个等高的占位元素, 默认值: `false`"
|
1769
|
-
},
|
1770
|
-
"van-nav-bar/z-index": {
|
1771
|
-
"type": "number | string",
|
1772
|
-
"description": "导航栏 z-index, 默认值: `1`"
|
1773
|
-
},
|
1774
|
-
"van-nav-bar/safe-area-inset-top": {
|
1775
|
-
"type": "boolean",
|
1776
|
-
"description": "是否开启[顶部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei), 默认值: `false`"
|
1777
|
-
},
|
1778
1742
|
"van-notice-bar/mode": {
|
1779
1743
|
"type": "string",
|
1780
1744
|
"description": "通知栏模式,可选值为 `closeable` `link`, 默认值: `''`"
|
@@ -1811,6 +1775,42 @@
|
|
1811
1775
|
"type": "boolean",
|
1812
1776
|
"description": "是否开启文本换行,只在禁用滚动时生效, 默认值: `false`"
|
1813
1777
|
},
|
1778
|
+
"van-nav-bar/title": {
|
1779
|
+
"type": "string",
|
1780
|
+
"description": "标题, 默认值: `''`"
|
1781
|
+
},
|
1782
|
+
"van-nav-bar/left-text": {
|
1783
|
+
"type": "string",
|
1784
|
+
"description": "左侧文案, 默认值: `''`"
|
1785
|
+
},
|
1786
|
+
"van-nav-bar/right-text": {
|
1787
|
+
"type": "string",
|
1788
|
+
"description": "右侧文案, 默认值: `''`"
|
1789
|
+
},
|
1790
|
+
"van-nav-bar/left-arrow": {
|
1791
|
+
"type": "boolean",
|
1792
|
+
"description": "是否显示左侧箭头, 默认值: `false`"
|
1793
|
+
},
|
1794
|
+
"van-nav-bar/border": {
|
1795
|
+
"type": "boolean",
|
1796
|
+
"description": "是否显示下边框, 默认值: `true`"
|
1797
|
+
},
|
1798
|
+
"van-nav-bar/fixed": {
|
1799
|
+
"type": "boolean",
|
1800
|
+
"description": "是否固定在顶部, 默认值: `false`"
|
1801
|
+
},
|
1802
|
+
"van-nav-bar/placeholder": {
|
1803
|
+
"type": "boolean",
|
1804
|
+
"description": "固定在顶部时,是否在标签位置生成一个等高的占位元素, 默认值: `false`"
|
1805
|
+
},
|
1806
|
+
"van-nav-bar/z-index": {
|
1807
|
+
"type": "number | string",
|
1808
|
+
"description": "导航栏 z-index, 默认值: `1`"
|
1809
|
+
},
|
1810
|
+
"van-nav-bar/safe-area-inset-top": {
|
1811
|
+
"type": "boolean",
|
1812
|
+
"description": "是否开启[顶部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei), 默认值: `false`"
|
1813
|
+
},
|
1814
1814
|
"van-number-keyboard/v-model (value)": {
|
1815
1815
|
"type": "string",
|
1816
1816
|
"description": "当前输入值, 默认值: -"
|
package/vetur/tags.json
CHANGED
@@ -1,4 +1,32 @@
|
|
1
1
|
{
|
2
|
+
"van-address-list": {
|
3
|
+
"attributes": [
|
4
|
+
"v-model",
|
5
|
+
"list",
|
6
|
+
"disabled-list",
|
7
|
+
"disabled-text",
|
8
|
+
"switchable",
|
9
|
+
"add-button-text",
|
10
|
+
"default-tag-text"
|
11
|
+
]
|
12
|
+
},
|
13
|
+
"van-area": {
|
14
|
+
"attributes": [
|
15
|
+
"value",
|
16
|
+
"title",
|
17
|
+
"confirm-button-text",
|
18
|
+
"cancel-button-text",
|
19
|
+
"area-list",
|
20
|
+
"columns-placeholder",
|
21
|
+
"loading",
|
22
|
+
"readonly",
|
23
|
+
"item-height",
|
24
|
+
"columns-num",
|
25
|
+
"visible-item-count",
|
26
|
+
"swipe-duration",
|
27
|
+
"is-oversea-code"
|
28
|
+
]
|
29
|
+
},
|
2
30
|
"van-action-sheet": {
|
3
31
|
"attributes": [
|
4
32
|
"v-model (value)",
|
@@ -46,42 +74,6 @@
|
|
46
74
|
"validator"
|
47
75
|
]
|
48
76
|
},
|
49
|
-
"van-address-list": {
|
50
|
-
"attributes": [
|
51
|
-
"v-model",
|
52
|
-
"list",
|
53
|
-
"disabled-list",
|
54
|
-
"disabled-text",
|
55
|
-
"switchable",
|
56
|
-
"add-button-text",
|
57
|
-
"default-tag-text"
|
58
|
-
]
|
59
|
-
},
|
60
|
-
"van-area": {
|
61
|
-
"attributes": [
|
62
|
-
"value",
|
63
|
-
"title",
|
64
|
-
"confirm-button-text",
|
65
|
-
"cancel-button-text",
|
66
|
-
"area-list",
|
67
|
-
"columns-placeholder",
|
68
|
-
"loading",
|
69
|
-
"readonly",
|
70
|
-
"item-height",
|
71
|
-
"columns-num",
|
72
|
-
"visible-item-count",
|
73
|
-
"swipe-duration",
|
74
|
-
"is-oversea-code"
|
75
|
-
]
|
76
|
-
},
|
77
|
-
"van-badge": {
|
78
|
-
"attributes": [
|
79
|
-
"content",
|
80
|
-
"color",
|
81
|
-
"dot",
|
82
|
-
"max"
|
83
|
-
]
|
84
|
-
},
|
85
77
|
"van-button": {
|
86
78
|
"attributes": [
|
87
79
|
"type",
|
@@ -108,6 +100,14 @@
|
|
108
100
|
"replace"
|
109
101
|
]
|
110
102
|
},
|
103
|
+
"van-badge": {
|
104
|
+
"attributes": [
|
105
|
+
"content",
|
106
|
+
"color",
|
107
|
+
"dot",
|
108
|
+
"max"
|
109
|
+
]
|
110
|
+
},
|
111
111
|
"van-calendar": {
|
112
112
|
"attributes": [
|
113
113
|
"type",
|
@@ -295,6 +295,29 @@
|
|
295
295
|
"millisecond"
|
296
296
|
]
|
297
297
|
},
|
298
|
+
"van-datetime-picker": {
|
299
|
+
"attributes": [
|
300
|
+
"type",
|
301
|
+
"title",
|
302
|
+
"confirm-button-text",
|
303
|
+
"cancel-button-text",
|
304
|
+
"show-toolbar",
|
305
|
+
"loading",
|
306
|
+
"readonly",
|
307
|
+
"filter",
|
308
|
+
"formatter",
|
309
|
+
"columns-order",
|
310
|
+
"item-height",
|
311
|
+
"visible-item-count",
|
312
|
+
"swipe-duration",
|
313
|
+
"min-date",
|
314
|
+
"max-date",
|
315
|
+
"min-hour",
|
316
|
+
"max-hour",
|
317
|
+
"min-minute",
|
318
|
+
"max-minute"
|
319
|
+
]
|
320
|
+
},
|
298
321
|
"van-coupon": {
|
299
322
|
"attributes": [
|
300
323
|
"title",
|
@@ -323,29 +346,6 @@
|
|
323
346
|
"show-count"
|
324
347
|
]
|
325
348
|
},
|
326
|
-
"van-datetime-picker": {
|
327
|
-
"attributes": [
|
328
|
-
"type",
|
329
|
-
"title",
|
330
|
-
"confirm-button-text",
|
331
|
-
"cancel-button-text",
|
332
|
-
"show-toolbar",
|
333
|
-
"loading",
|
334
|
-
"readonly",
|
335
|
-
"filter",
|
336
|
-
"formatter",
|
337
|
-
"columns-order",
|
338
|
-
"item-height",
|
339
|
-
"visible-item-count",
|
340
|
-
"swipe-duration",
|
341
|
-
"min-date",
|
342
|
-
"max-date",
|
343
|
-
"min-hour",
|
344
|
-
"max-hour",
|
345
|
-
"min-minute",
|
346
|
-
"max-minute"
|
347
|
-
]
|
348
|
-
},
|
349
349
|
"van-dialog": {
|
350
350
|
"attributes": [
|
351
351
|
"v-model",
|
@@ -595,19 +595,6 @@
|
|
595
595
|
"van-国际化": {
|
596
596
|
"attributes": []
|
597
597
|
},
|
598
|
-
"van-nav-bar": {
|
599
|
-
"attributes": [
|
600
|
-
"title",
|
601
|
-
"left-text",
|
602
|
-
"right-text",
|
603
|
-
"left-arrow",
|
604
|
-
"border",
|
605
|
-
"fixed",
|
606
|
-
"placeholder",
|
607
|
-
"z-index",
|
608
|
-
"safe-area-inset-top"
|
609
|
-
]
|
610
|
-
},
|
611
598
|
"van-notice-bar": {
|
612
599
|
"attributes": [
|
613
600
|
"mode",
|
@@ -621,6 +608,19 @@
|
|
621
608
|
"wrapable"
|
622
609
|
]
|
623
610
|
},
|
611
|
+
"van-nav-bar": {
|
612
|
+
"attributes": [
|
613
|
+
"title",
|
614
|
+
"left-text",
|
615
|
+
"right-text",
|
616
|
+
"left-arrow",
|
617
|
+
"border",
|
618
|
+
"fixed",
|
619
|
+
"placeholder",
|
620
|
+
"z-index",
|
621
|
+
"safe-area-inset-top"
|
622
|
+
]
|
623
|
+
},
|
624
624
|
"van-notify": {
|
625
625
|
"attributes": []
|
626
626
|
},
|