vant 2.12.51 → 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/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/index.css +1 -1
- package/lib/index.js +1 -1
- package/lib/uploader/index.js +5 -1
- package/lib/vant.js +6 -2
- package/lib/vant.min.js +1 -1
- package/package.json +1 -1
- package/vetur/attributes.json +267 -267
- package/vetur/tags.json +93 -93
- package/vetur/web-types.json +802 -802
- package/changelog.generated.md +0 -11
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`"
|
@@ -67,58 +147,6 @@
|
|
67
147
|
"type": "string | () => Element",
|
68
148
|
"description": "指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi), 默认值: -"
|
69
149
|
},
|
70
|
-
"van-area/value": {
|
71
|
-
"type": "string",
|
72
|
-
"description": "当前选中的省市区`code`, 默认值: -"
|
73
|
-
},
|
74
|
-
"van-area/title": {
|
75
|
-
"type": "string",
|
76
|
-
"description": "顶部栏标题, 默认值: -"
|
77
|
-
},
|
78
|
-
"van-area/confirm-button-text": {
|
79
|
-
"type": "string",
|
80
|
-
"description": "确认按钮文字, 默认值: `确认`"
|
81
|
-
},
|
82
|
-
"van-area/cancel-button-text": {
|
83
|
-
"type": "string",
|
84
|
-
"description": "取消按钮文字, 默认值: `取消`"
|
85
|
-
},
|
86
|
-
"van-area/area-list": {
|
87
|
-
"type": "object",
|
88
|
-
"description": "省市区数据,格式见下方, 默认值: -"
|
89
|
-
},
|
90
|
-
"van-area/columns-placeholder": {
|
91
|
-
"type": "string[]",
|
92
|
-
"description": "列占位提示文字, 默认值: `[]`"
|
93
|
-
},
|
94
|
-
"van-area/loading": {
|
95
|
-
"type": "boolean",
|
96
|
-
"description": "是否显示加载状态, 默认值: `false`"
|
97
|
-
},
|
98
|
-
"van-area/readonly": {
|
99
|
-
"type": "boolean",
|
100
|
-
"description": "是否为只读状态,只读状态下无法切换选项, 默认值: `false`"
|
101
|
-
},
|
102
|
-
"van-area/item-height": {
|
103
|
-
"type": "number | string",
|
104
|
-
"description": "选项高度,支持 `px` `vw` `vh` `rem` 单位,默认 `px`, 默认值: `44`"
|
105
|
-
},
|
106
|
-
"van-area/columns-num": {
|
107
|
-
"type": "number | string",
|
108
|
-
"description": "显示列数,3-省市区,2-省市,1-省, 默认值: `3`"
|
109
|
-
},
|
110
|
-
"van-area/visible-item-count": {
|
111
|
-
"type": "number | string",
|
112
|
-
"description": "可见的选项个数, 默认值: `6`"
|
113
|
-
},
|
114
|
-
"van-area/swipe-duration": {
|
115
|
-
"type": "number | string",
|
116
|
-
"description": "快速滑动时惯性滚动的时长,单位`ms`, 默认值: `1000`"
|
117
|
-
},
|
118
|
-
"van-area/is-oversea-code": {
|
119
|
-
"type": "() => boolean",
|
120
|
-
"description": "根据`code`校验海外地址,海外地址会划分至单独的分类, 默认值: -"
|
121
|
-
},
|
122
150
|
"van-address-edit/area-list": {
|
123
151
|
"type": "object",
|
124
152
|
"description": "地区列表, 默认值: -"
|
@@ -207,22 +235,6 @@
|
|
207
235
|
"type": "(key, val) => string",
|
208
236
|
"description": "自定义校验函数, 默认值: -"
|
209
237
|
},
|
210
|
-
"van-badge/content": {
|
211
|
-
"type": "number | string",
|
212
|
-
"description": "徽标内容, 默认值: -"
|
213
|
-
},
|
214
|
-
"van-badge/color": {
|
215
|
-
"type": "string",
|
216
|
-
"description": "徽标背景颜色, 默认值: `#ee0a24`"
|
217
|
-
},
|
218
|
-
"van-badge/dot": {
|
219
|
-
"type": "boolean",
|
220
|
-
"description": "是否展示为小红点, 默认值: `false`"
|
221
|
-
},
|
222
|
-
"van-badge/max": {
|
223
|
-
"type": "number | string",
|
224
|
-
"description": "最大值,超过最大值会显示 `{max}+`,仅当 content 为数字时有效, 默认值: -"
|
225
|
-
},
|
226
238
|
"van-button/type": {
|
227
239
|
"type": "string",
|
228
240
|
"description": "类型,可选值为 `primary` `info` `warning` `danger`, 默认值: `default`"
|
@@ -311,81 +323,21 @@
|
|
311
323
|
"type": "boolean",
|
312
324
|
"description": "是否在跳转时替换当前页面历史, 默认值: `false`"
|
313
325
|
},
|
314
|
-
"van-
|
315
|
-
"type": "string",
|
316
|
-
"description": "
|
317
|
-
},
|
318
|
-
"van-cascader/value": {
|
319
|
-
"type": "string | number",
|
320
|
-
"description": "选中项的值, 默认值: -"
|
321
|
-
},
|
322
|
-
"van-cascader/options": {
|
323
|
-
"type": "Option[]",
|
324
|
-
"description": "可选项数据源, 默认值: `[]`"
|
325
|
-
},
|
326
|
-
"van-cascader/placeholder": {
|
327
|
-
"type": "string",
|
328
|
-
"description": "未选中时的提示文案, 默认值: `请选择`"
|
326
|
+
"van-badge/content": {
|
327
|
+
"type": "number | string",
|
328
|
+
"description": "徽标内容, 默认值: -"
|
329
329
|
},
|
330
|
-
"van-
|
330
|
+
"van-badge/color": {
|
331
331
|
"type": "string",
|
332
|
-
"description": "
|
333
|
-
},
|
334
|
-
"van-cascader/closeable": {
|
335
|
-
"type": "boolean",
|
336
|
-
"description": "是否显示关闭图标, 默认值: `true`"
|
332
|
+
"description": "徽标背景颜色, 默认值: `#ee0a24`"
|
337
333
|
},
|
338
|
-
"van-
|
334
|
+
"van-badge/dot": {
|
339
335
|
"type": "boolean",
|
340
|
-
"description": "
|
341
|
-
},
|
342
|
-
"van-cascader/field-names": {
|
343
|
-
"type": "object",
|
344
|
-
"description": "自定义 `options` 结构中的字段, 默认值: `{ text: 'text', value: 'value', children: 'children' }`"
|
345
|
-
},
|
346
|
-
"van-card/thumb": {
|
347
|
-
"type": "string",
|
348
|
-
"description": "左侧图片 URL, 默认值: -"
|
349
|
-
},
|
350
|
-
"van-card/title": {
|
351
|
-
"type": "string",
|
352
|
-
"description": "标题, 默认值: -"
|
353
|
-
},
|
354
|
-
"van-card/desc": {
|
355
|
-
"type": "string",
|
356
|
-
"description": "描述, 默认值: -"
|
357
|
-
},
|
358
|
-
"van-card/tag": {
|
359
|
-
"type": "string",
|
360
|
-
"description": "图片角标, 默认值: -"
|
361
|
-
},
|
362
|
-
"van-card/num": {
|
363
|
-
"type": "number | string",
|
364
|
-
"description": "商品数量, 默认值: -"
|
365
|
-
},
|
366
|
-
"van-card/price": {
|
367
|
-
"type": "number | string",
|
368
|
-
"description": "商品价格, 默认值: -"
|
336
|
+
"description": "是否展示为小红点, 默认值: `false`"
|
369
337
|
},
|
370
|
-
"van-
|
338
|
+
"van-badge/max": {
|
371
339
|
"type": "number | string",
|
372
|
-
"description": "
|
373
|
-
},
|
374
|
-
"van-card/centered": {
|
375
|
-
"type": "boolean",
|
376
|
-
"description": "内容是否垂直居中, 默认值: `false`"
|
377
|
-
},
|
378
|
-
"van-card/currency": {
|
379
|
-
"type": "string",
|
380
|
-
"description": "货币符号, 默认值: `¥`"
|
381
|
-
},
|
382
|
-
"van-card/thumb-link": {
|
383
|
-
"type": "string",
|
384
|
-
"description": "点击左侧图片后跳转的链接地址, 默认值: -"
|
385
|
-
},
|
386
|
-
"van-card/lazy-load": {
|
387
|
-
"type": "boolean",
|
388
|
-
"description": "是否开启图片懒加载,须配合 [Lazyload](#/zh-CN/lazyload) 组件使用, 默认值: `false`"
|
340
|
+
"description": "最大值,超过最大值会显示 `{max}+`,仅当 content 为数字时有效, 默认值: -"
|
389
341
|
},
|
390
342
|
"van-calendar/type": {
|
391
343
|
"type": "string",
|
@@ -499,33 +451,81 @@
|
|
499
451
|
"type": "boolean",
|
500
452
|
"description": "是否允许日期范围的起止时间为同一天, 默认值: `false`"
|
501
453
|
},
|
502
|
-
"van-
|
454
|
+
"van-card/thumb": {
|
503
455
|
"type": "string",
|
504
|
-
"description": "
|
456
|
+
"description": "左侧图片 URL, 默认值: -"
|
457
|
+
},
|
458
|
+
"van-card/title": {
|
459
|
+
"type": "string",
|
460
|
+
"description": "标题, 默认值: -"
|
461
|
+
},
|
462
|
+
"van-card/desc": {
|
463
|
+
"type": "string",
|
464
|
+
"description": "描述, 默认值: -"
|
465
|
+
},
|
466
|
+
"van-card/tag": {
|
467
|
+
"type": "string",
|
468
|
+
"description": "图片角标, 默认值: -"
|
469
|
+
},
|
470
|
+
"van-card/num": {
|
471
|
+
"type": "number | string",
|
472
|
+
"description": "商品数量, 默认值: -"
|
473
|
+
},
|
474
|
+
"van-card/price": {
|
475
|
+
"type": "number | string",
|
476
|
+
"description": "商品价格, 默认值: -"
|
477
|
+
},
|
478
|
+
"van-card/origin-price": {
|
479
|
+
"type": "number | string",
|
480
|
+
"description": "商品划线原价, 默认值: -"
|
481
|
+
},
|
482
|
+
"van-card/centered": {
|
483
|
+
"type": "boolean",
|
484
|
+
"description": "内容是否垂直居中, 默认值: `false`"
|
485
|
+
},
|
486
|
+
"van-card/currency": {
|
487
|
+
"type": "string",
|
488
|
+
"description": "货币符号, 默认值: `¥`"
|
489
|
+
},
|
490
|
+
"van-card/thumb-link": {
|
491
|
+
"type": "string",
|
492
|
+
"description": "点击左侧图片后跳转的链接地址, 默认值: -"
|
493
|
+
},
|
494
|
+
"van-card/lazy-load": {
|
495
|
+
"type": "boolean",
|
496
|
+
"description": "是否开启图片懒加载,须配合 [Lazyload](#/zh-CN/lazyload) 组件使用, 默认值: `false`"
|
497
|
+
},
|
498
|
+
"van-cascader/title": {
|
499
|
+
"type": "string",
|
500
|
+
"description": "顶部标题, 默认值: -"
|
501
|
+
},
|
502
|
+
"van-cascader/value": {
|
503
|
+
"type": "string | number",
|
504
|
+
"description": "选中项的值, 默认值: -"
|
505
505
|
},
|
506
|
-
"van-
|
507
|
-
"type": "
|
508
|
-
"description": "
|
506
|
+
"van-cascader/options": {
|
507
|
+
"type": "Option[]",
|
508
|
+
"description": "可选项数据源, 默认值: `[]`"
|
509
509
|
},
|
510
|
-
"van-
|
511
|
-
"type": "
|
512
|
-
"description": "
|
510
|
+
"van-cascader/placeholder": {
|
511
|
+
"type": "string",
|
512
|
+
"description": "未选中时的提示文案, 默认值: `请选择`"
|
513
513
|
},
|
514
|
-
"van-
|
514
|
+
"van-cascader/active-color": {
|
515
515
|
"type": "string",
|
516
|
-
"description": "
|
516
|
+
"description": "选中状态的高亮颜色, 默认值: `#ee0a24`"
|
517
517
|
},
|
518
|
-
"van-
|
518
|
+
"van-cascader/closeable": {
|
519
519
|
"type": "boolean",
|
520
|
-
"description": "
|
520
|
+
"description": "是否显示关闭图标, 默认值: `true`"
|
521
521
|
},
|
522
|
-
"van-
|
523
|
-
"type": "
|
524
|
-
"description": "
|
522
|
+
"van-cascader/show-header": {
|
523
|
+
"type": "boolean",
|
524
|
+
"description": "是否展示标题栏, 默认值: `true`"
|
525
525
|
},
|
526
|
-
"van-
|
527
|
-
"type": "
|
528
|
-
"description": "
|
526
|
+
"van-cascader/field-names": {
|
527
|
+
"type": "object",
|
528
|
+
"description": "自定义 `options` 结构中的字段, 默认值: `{ text: 'text', value: 'value', children: 'children' }`"
|
529
529
|
},
|
530
530
|
"van-cell/title": {
|
531
531
|
"type": "number | string",
|
@@ -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": "当前输入值, 默认值: -"
|