vant 2.13.7 → 2.13.8

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.
@@ -1,31 +1,71 @@
1
1
  {
2
- "van-address-list/v-model": {
3
- "type": "string",
4
- "description": "当前选中地址的 id, 默认值: -"
2
+ "van-action-sheet/v-model (value)": {
3
+ "type": "boolean",
4
+ "description": "是否显示动作面板, 默认值: `false`"
5
5
  },
6
- "van-address-list/list": {
7
- "type": "Address[]",
8
- "description": "地址列表, 默认值: `[]`"
6
+ "van-action-sheet/actions": {
7
+ "type": "Action[]",
8
+ "description": "面板选项列表, 默认值: `[]`"
9
9
  },
10
- "van-address-list/disabled-list": {
11
- "type": "Address[]",
12
- "description": "不可配送地址列表, 默认值: `[]`"
10
+ "van-action-sheet/title": {
11
+ "type": "string",
12
+ "description": "顶部标题, 默认值: -"
13
13
  },
14
- "van-address-list/disabled-text": {
14
+ "van-action-sheet/cancel-text": {
15
15
  "type": "string",
16
- "description": "不可配送提示文案, 默认值: -"
16
+ "description": "取消按钮文字, 默认值: -"
17
17
  },
18
- "van-address-list/switchable": {
18
+ "van-action-sheet/description": {
19
+ "type": "string",
20
+ "description": "选项上方的描述信息, 默认值: -"
21
+ },
22
+ "van-action-sheet/closeable": {
19
23
  "type": "boolean",
20
- "description": "是否允许切换地址, 默认值: `true`"
24
+ "description": "是否显示关闭图标, 默认值: `true`"
21
25
  },
22
- "van-address-list/add-button-text": {
26
+ "van-action-sheet/close-icon": {
23
27
  "type": "string",
24
- "description": "底部按钮文字, 默认值: `新增地址`"
28
+ "description": "关闭[图标名称](#/zh-CN/icon)或图片链接, 默认值: `cross`"
25
29
  },
26
- "van-address-list/default-tag-text": {
27
- "type": "string",
28
- "description": "默认地址标签文字, 默认值: -"
30
+ "van-action-sheet/duration": {
31
+ "type": "number | string",
32
+ "description": "动画时长,单位秒, 默认值: `0.3`"
33
+ },
34
+ "van-action-sheet/round": {
35
+ "type": "boolean",
36
+ "description": "是否显示圆角, 默认值: `true`"
37
+ },
38
+ "van-action-sheet/overlay": {
39
+ "type": "boolean",
40
+ "description": "是否显示遮罩层, 默认值: `true`"
41
+ },
42
+ "van-action-sheet/lock-scroll": {
43
+ "type": "boolean",
44
+ "description": "是否锁定背景滚动, 默认值: `true`"
45
+ },
46
+ "van-action-sheet/lazy-render": {
47
+ "type": "boolean",
48
+ "description": "是否在显示弹层时才渲染节点, 默认值: `true`"
49
+ },
50
+ "van-action-sheet/close-on-popstate": {
51
+ "type": "boolean",
52
+ "description": "是否在页面回退时自动关闭, 默认值: `false`"
53
+ },
54
+ "van-action-sheet/close-on-click-action": {
55
+ "type": "boolean",
56
+ "description": "是否在点击选项后关闭, 默认值: `false`"
57
+ },
58
+ "van-action-sheet/close-on-click-overlay": {
59
+ "type": "boolean",
60
+ "description": "是否在点击遮罩层后关闭, 默认值: `true`"
61
+ },
62
+ "van-action-sheet/safe-area-inset-bottom": {
63
+ "type": "boolean",
64
+ "description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei), 默认值: `true`"
65
+ },
66
+ "van-action-sheet/get-container": {
67
+ "type": "string | () => Element",
68
+ "description": "指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi), 默认值: -"
29
69
  },
30
70
  "van-address-edit/area-list": {
31
71
  "type": "object",
@@ -115,6 +155,34 @@
115
155
  "type": "(key, val) => string",
116
156
  "description": "自定义校验函数, 默认值: -"
117
157
  },
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
+ },
118
186
  "van-area/value": {
119
187
  "type": "string",
120
188
  "description": "当前选中的省市区`code`, 默认值: -"
@@ -167,74 +235,6 @@
167
235
  "type": "() => boolean",
168
236
  "description": "根据`code`校验海外地址,海外地址会划分至单独的分类, 默认值: -"
169
237
  },
170
- "van-action-sheet/v-model (value)": {
171
- "type": "boolean",
172
- "description": "是否显示动作面板, 默认值: `false`"
173
- },
174
- "van-action-sheet/actions": {
175
- "type": "Action[]",
176
- "description": "面板选项列表, 默认值: `[]`"
177
- },
178
- "van-action-sheet/title": {
179
- "type": "string",
180
- "description": "顶部标题, 默认值: -"
181
- },
182
- "van-action-sheet/cancel-text": {
183
- "type": "string",
184
- "description": "取消按钮文字, 默认值: -"
185
- },
186
- "van-action-sheet/description": {
187
- "type": "string",
188
- "description": "选项上方的描述信息, 默认值: -"
189
- },
190
- "van-action-sheet/closeable": {
191
- "type": "boolean",
192
- "description": "是否显示关闭图标, 默认值: `true`"
193
- },
194
- "van-action-sheet/close-icon": {
195
- "type": "string",
196
- "description": "关闭[图标名称](#/zh-CN/icon)或图片链接, 默认值: `cross`"
197
- },
198
- "van-action-sheet/duration": {
199
- "type": "number | string",
200
- "description": "动画时长,单位秒, 默认值: `0.3`"
201
- },
202
- "van-action-sheet/round": {
203
- "type": "boolean",
204
- "description": "是否显示圆角, 默认值: `true`"
205
- },
206
- "van-action-sheet/overlay": {
207
- "type": "boolean",
208
- "description": "是否显示遮罩层, 默认值: `true`"
209
- },
210
- "van-action-sheet/lock-scroll": {
211
- "type": "boolean",
212
- "description": "是否锁定背景滚动, 默认值: `true`"
213
- },
214
- "van-action-sheet/lazy-render": {
215
- "type": "boolean",
216
- "description": "是否在显示弹层时才渲染节点, 默认值: `true`"
217
- },
218
- "van-action-sheet/close-on-popstate": {
219
- "type": "boolean",
220
- "description": "是否在页面回退时自动关闭, 默认值: `false`"
221
- },
222
- "van-action-sheet/close-on-click-action": {
223
- "type": "boolean",
224
- "description": "是否在点击选项后关闭, 默认值: `false`"
225
- },
226
- "van-action-sheet/close-on-click-overlay": {
227
- "type": "boolean",
228
- "description": "是否在点击遮罩层后关闭, 默认值: `true`"
229
- },
230
- "van-action-sheet/safe-area-inset-bottom": {
231
- "type": "boolean",
232
- "description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei), 默认值: `true`"
233
- },
234
- "van-action-sheet/get-container": {
235
- "type": "string | () => Element",
236
- "description": "指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi), 默认值: -"
237
- },
238
238
  "van-badge/content": {
239
239
  "type": "number | string",
240
240
  "description": "徽标内容, 默认值: -"
@@ -459,82 +459,6 @@
459
459
  "type": "string",
460
460
  "description": "选择超过最多可选天数时的提示文案, 默认值: `选择天数不能超过 xx 天`"
461
461
  },
462
- "van-card/thumb": {
463
- "type": "string",
464
- "description": "左侧图片 URL, 默认值: -"
465
- },
466
- "van-card/title": {
467
- "type": "string",
468
- "description": "标题, 默认值: -"
469
- },
470
- "van-card/desc": {
471
- "type": "string",
472
- "description": "描述, 默认值: -"
473
- },
474
- "van-card/tag": {
475
- "type": "string",
476
- "description": "图片角标, 默认值: -"
477
- },
478
- "van-card/num": {
479
- "type": "number | string",
480
- "description": "商品数量, 默认值: -"
481
- },
482
- "van-card/price": {
483
- "type": "number | string",
484
- "description": "商品价格, 默认值: -"
485
- },
486
- "van-card/origin-price": {
487
- "type": "number | string",
488
- "description": "商品划线原价, 默认值: -"
489
- },
490
- "van-card/centered": {
491
- "type": "boolean",
492
- "description": "内容是否垂直居中, 默认值: `false`"
493
- },
494
- "van-card/currency": {
495
- "type": "string",
496
- "description": "货币符号, 默认值: `¥`"
497
- },
498
- "van-card/thumb-link": {
499
- "type": "string",
500
- "description": "点击左侧图片后跳转的链接地址, 默认值: -"
501
- },
502
- "van-card/lazy-load": {
503
- "type": "boolean",
504
- "description": "是否开启图片懒加载,须配合 [Lazyload](#/zh-CN/lazyload) 组件使用, 默认值: `false`"
505
- },
506
- "van-cascader/title": {
507
- "type": "string",
508
- "description": "顶部标题, 默认值: -"
509
- },
510
- "van-cascader/value": {
511
- "type": "string | number",
512
- "description": "选中项的值, 默认值: -"
513
- },
514
- "van-cascader/options": {
515
- "type": "Option[]",
516
- "description": "可选项数据源, 默认值: `[]`"
517
- },
518
- "van-cascader/placeholder": {
519
- "type": "string",
520
- "description": "未选中时的提示文案, 默认值: `请选择`"
521
- },
522
- "van-cascader/active-color": {
523
- "type": "string",
524
- "description": "选中状态的高亮颜色, 默认值: `#ee0a24`"
525
- },
526
- "van-cascader/closeable": {
527
- "type": "boolean",
528
- "description": "是否显示关闭图标, 默认值: `true`"
529
- },
530
- "van-cascader/show-header": {
531
- "type": "boolean",
532
- "description": "是否展示标题栏, 默认值: `true`"
533
- },
534
- "van-cascader/field-names": {
535
- "type": "object",
536
- "description": "自定义 `options` 结构中的字段, 默认值: `{ text: 'text', value: 'value', children: 'children' }`"
537
- },
538
462
  "van-cell-group/title": {
539
463
  "type": "string",
540
464
  "description": "分组标题, 默认值: `-`"
@@ -619,12 +543,88 @@
619
543
  "type": "any",
620
544
  "description": "描述信息额外类名, 默认值: -"
621
545
  },
622
- "van-checkbox/v-model (value)": {
623
- "type": "boolean",
624
- "description": "是否为选中状态, 默认值: `false`"
546
+ "van-cascader/title": {
547
+ "type": "string",
548
+ "description": "顶部标题, 默认值: -"
625
549
  },
626
- "van-checkbox/name": {
627
- "type": "any",
550
+ "van-cascader/value": {
551
+ "type": "string | number",
552
+ "description": "选中项的值, 默认值: -"
553
+ },
554
+ "van-cascader/options": {
555
+ "type": "Option[]",
556
+ "description": "可选项数据源, 默认值: `[]`"
557
+ },
558
+ "van-cascader/placeholder": {
559
+ "type": "string",
560
+ "description": "未选中时的提示文案, 默认值: `请选择`"
561
+ },
562
+ "van-cascader/active-color": {
563
+ "type": "string",
564
+ "description": "选中状态的高亮颜色, 默认值: `#ee0a24`"
565
+ },
566
+ "van-cascader/closeable": {
567
+ "type": "boolean",
568
+ "description": "是否显示关闭图标, 默认值: `true`"
569
+ },
570
+ "van-cascader/show-header": {
571
+ "type": "boolean",
572
+ "description": "是否展示标题栏, 默认值: `true`"
573
+ },
574
+ "van-cascader/field-names": {
575
+ "type": "object",
576
+ "description": "自定义 `options` 结构中的字段, 默认值: `{ text: 'text', value: 'value', children: 'children' }`"
577
+ },
578
+ "van-card/thumb": {
579
+ "type": "string",
580
+ "description": "左侧图片 URL, 默认值: -"
581
+ },
582
+ "van-card/title": {
583
+ "type": "string",
584
+ "description": "标题, 默认值: -"
585
+ },
586
+ "van-card/desc": {
587
+ "type": "string",
588
+ "description": "描述, 默认值: -"
589
+ },
590
+ "van-card/tag": {
591
+ "type": "string",
592
+ "description": "图片角标, 默认值: -"
593
+ },
594
+ "van-card/num": {
595
+ "type": "number | string",
596
+ "description": "商品数量, 默认值: -"
597
+ },
598
+ "van-card/price": {
599
+ "type": "number | string",
600
+ "description": "商品价格, 默认值: -"
601
+ },
602
+ "van-card/origin-price": {
603
+ "type": "number | string",
604
+ "description": "商品划线原价, 默认值: -"
605
+ },
606
+ "van-card/centered": {
607
+ "type": "boolean",
608
+ "description": "内容是否垂直居中, 默认值: `false`"
609
+ },
610
+ "van-card/currency": {
611
+ "type": "string",
612
+ "description": "货币符号, 默认值: `¥`"
613
+ },
614
+ "van-card/thumb-link": {
615
+ "type": "string",
616
+ "description": "点击左侧图片后跳转的链接地址, 默认值: -"
617
+ },
618
+ "van-card/lazy-load": {
619
+ "type": "boolean",
620
+ "description": "是否开启图片懒加载,须配合 [Lazyload](#/zh-CN/lazyload) 组件使用, 默认值: `false`"
621
+ },
622
+ "van-checkbox/v-model (value)": {
623
+ "type": "boolean",
624
+ "description": "是否为选中状态, 默认值: `false`"
625
+ },
626
+ "van-checkbox/name": {
627
+ "type": "any",
628
628
  "description": "标识符, 默认值: -"
629
629
  },
630
630
  "van-checkbox/shape": {
@@ -819,21 +819,21 @@
819
819
  "type": "string",
820
820
  "description": "描述信息额外类名, 默认值: -"
821
821
  },
822
- "van-contact-card/type": {
823
- "type": "string",
824
- "description": "卡片类型,可选值为 `edit`, 默认值: `add`"
822
+ "van-contact-list/v-model": {
823
+ "type": "number | string",
824
+ "description": "当前选中联系人的 id, 默认值: -"
825
825
  },
826
- "van-contact-card/name": {
827
- "type": "string",
828
- "description": "联系人姓名, 默认值: -"
826
+ "van-contact-list/list": {
827
+ "type": "Contact[]",
828
+ "description": "联系人列表, 默认值: `[]`"
829
829
  },
830
- "van-contact-card/tel": {
830
+ "van-contact-list/add-text": {
831
831
  "type": "string",
832
- "description": "联系人手机号, 默认值: -"
832
+ "description": "新建按钮文案, 默认值: `新建联系人`"
833
833
  },
834
- "van-contact-card/add-text": {
834
+ "van-contact-list/default-tag-text": {
835
835
  "type": "string",
836
- "description": "添加时的文案提示, 默认值: `添加联系人`"
836
+ "description": "默认联系人标签文案, 默认值: -"
837
837
  },
838
838
  "van-contact-edit/contact-info": {
839
839
  "type": "Contact",
@@ -863,21 +863,21 @@
863
863
  "type": "string",
864
864
  "description": "默认联系人栏文案, 默认值: -"
865
865
  },
866
- "van-contact-list/v-model": {
867
- "type": "number | string",
868
- "description": "当前选中联系人的 id, 默认值: -"
866
+ "van-contact-card/type": {
867
+ "type": "string",
868
+ "description": "卡片类型,可选值为 `edit`, 默认值: `add`"
869
869
  },
870
- "van-contact-list/list": {
871
- "type": "Contact[]",
872
- "description": "联系人列表, 默认值: `[]`"
870
+ "van-contact-card/name": {
871
+ "type": "string",
872
+ "description": "联系人姓名, 默认值: -"
873
873
  },
874
- "van-contact-list/add-text": {
874
+ "van-contact-card/tel": {
875
875
  "type": "string",
876
- "description": "新建按钮文案, 默认值: `新建联系人`"
876
+ "description": "联系人手机号, 默认值: -"
877
877
  },
878
- "van-contact-list/default-tag-text": {
878
+ "van-contact-card/add-text": {
879
879
  "type": "string",
880
- "description": "默认联系人标签文案, 默认值: -"
880
+ "description": "添加时的文案提示, 默认值: `添加联系人`"
881
881
  },
882
882
  "van-count-down/time": {
883
883
  "type": "number | string",
@@ -1171,18 +1171,6 @@
1171
1171
  "type": "string | () => Element",
1172
1172
  "description": "指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi), 默认值: -"
1173
1173
  },
1174
- "van-empty/image": {
1175
- "type": "string",
1176
- "description": "图片类型,可选值为 `error` `network` `search`,支持传入图片 URL, 默认值: `default`"
1177
- },
1178
- "van-empty/image-size": {
1179
- "type": "number | string",
1180
- "description": "图片大小,默认单位为 `px`, 默认值: -"
1181
- },
1182
- "van-empty/description": {
1183
- "type": "string",
1184
- "description": "图片下方的描述文字, 默认值: -"
1185
- },
1186
1174
  "van-dropdown-menu/active-color": {
1187
1175
  "type": "string",
1188
1176
  "description": "菜单标题和选项的选中态颜色, 默认值: `#ee0a24`"
@@ -1239,6 +1227,18 @@
1239
1227
  "type": "string | () => Element",
1240
1228
  "description": "指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi), 默认值: -"
1241
1229
  },
1230
+ "van-empty/image": {
1231
+ "type": "string",
1232
+ "description": "图片类型,可选值为 `error` `network` `search`,支持传入图片 URL, 默认值: `default`"
1233
+ },
1234
+ "van-empty/image-size": {
1235
+ "type": "number | string",
1236
+ "description": "图片大小,默认单位为 `px`, 默认值: -"
1237
+ },
1238
+ "van-empty/description": {
1239
+ "type": "string",
1240
+ "description": "图片下方的描述文字, 默认值: -"
1241
+ },
1242
1242
  "van-field/v-model (value)": {
1243
1243
  "type": "number | string",
1244
1244
  "description": "当前输入的值, 默认值: -"
@@ -1379,58 +1379,6 @@
1379
1379
  "type": "string",
1380
1380
  "description": "input 标签原生的[自动完成属性](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete), 默认值: -"
1381
1381
  },
1382
- "van-form/label-width": {
1383
- "type": "number | string",
1384
- "description": "表单项 label 宽度,默认单位为`px`, 默认值: `6.2em`"
1385
- },
1386
- "van-form/label-align": {
1387
- "type": "string",
1388
- "description": "表单项 label 对齐方式,可选值为 `center` `right`, 默认值: `left`"
1389
- },
1390
- "van-form/input-align": {
1391
- "type": "string",
1392
- "description": "输入框对齐方式,可选值为 `center` `right`, 默认值: `left`"
1393
- },
1394
- "van-form/error-message-align": {
1395
- "type": "string",
1396
- "description": "错误提示文案对齐方式,可选值为 `center` `right`, 默认值: `left`"
1397
- },
1398
- "van-form/validate-trigger": {
1399
- "type": "string",
1400
- "description": "表单校验触发时机,可选值为 `onChange`、`onSubmit`,详见下表, 默认值: `onBlur`"
1401
- },
1402
- "van-form/colon": {
1403
- "type": "boolean",
1404
- "description": "是否在 label 后面添加冒号, 默认值: `false`"
1405
- },
1406
- "van-form/disabled": {
1407
- "type": "boolean",
1408
- "description": "是否禁用表单中的所有输入框, 默认值: `false`"
1409
- },
1410
- "van-form/readonly": {
1411
- "type": "boolean",
1412
- "description": "是否将表单中的所有输入框设置为只读, 默认值: `false`"
1413
- },
1414
- "van-form/validate-first": {
1415
- "type": "boolean",
1416
- "description": "是否在某一项校验不通过时停止校验, 默认值: `false`"
1417
- },
1418
- "van-form/scroll-to-error": {
1419
- "type": "boolean",
1420
- "description": "是否在提交表单且校验不通过时滚动至错误的表单项, 默认值: `false`"
1421
- },
1422
- "van-form/show-error": {
1423
- "type": "boolean",
1424
- "description": "是否在校验不通过时标红输入框, 默认值: `true`"
1425
- },
1426
- "van-form/show-error-message": {
1427
- "type": "boolean",
1428
- "description": "是否在校验不通过时在输入框下方展示错误提示, 默认值: `true`"
1429
- },
1430
- "van-form/submit-on-enter": {
1431
- "type": "boolean",
1432
- "description": "是否在按下回车键时提交表单, 默认值: `true`"
1433
- },
1434
1382
  "van-goods-action/safe-area-inset-bottom": {
1435
1383
  "type": "boolean",
1436
1384
  "description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei), 默认值: `true`"
@@ -1511,73 +1459,57 @@
1511
1459
  "type": "boolean",
1512
1460
  "description": "是否在跳转时替换当前页面历史, 默认值: `false`"
1513
1461
  },
1514
- "van-grid/column-num": {
1462
+ "van-form/label-width": {
1515
1463
  "type": "number | string",
1516
- "description": "列数, 默认值: `4`"
1464
+ "description": "表单项 label 宽度,默认单位为`px`, 默认值: `6.2em`"
1517
1465
  },
1518
- "van-grid/icon-size": {
1519
- "type": "number | string",
1520
- "description": "图标大小,默认单位为`px`, 默认值: `28px`"
1466
+ "van-form/label-align": {
1467
+ "type": "string",
1468
+ "description": "表单项 label 对齐方式,可选值为 `center` `right`, 默认值: `left`"
1521
1469
  },
1522
- "van-grid/gutter": {
1523
- "type": "number | string",
1524
- "description": "格子之间的间距,默认单位为`px`, 默认值: `0`"
1470
+ "van-form/input-align": {
1471
+ "type": "string",
1472
+ "description": "输入框对齐方式,可选值为 `center` `right`, 默认值: `left`"
1525
1473
  },
1526
- "van-grid/border": {
1527
- "type": "boolean",
1528
- "description": "是否显示边框, 默认值: `true`"
1474
+ "van-form/error-message-align": {
1475
+ "type": "string",
1476
+ "description": "错误提示文案对齐方式,可选值为 `center` `right`, 默认值: `left`"
1529
1477
  },
1530
- "van-grid/center": {
1531
- "type": "boolean",
1532
- "description": "是否将格子内容居中显示, 默认值: `true`"
1478
+ "van-form/validate-trigger": {
1479
+ "type": "string",
1480
+ "description": "表单校验触发时机,可选值为 `onChange`、`onSubmit`,详见下表, 默认值: `onBlur`"
1533
1481
  },
1534
- "van-grid/square": {
1482
+ "van-form/colon": {
1535
1483
  "type": "boolean",
1536
- "description": "是否将格子固定为正方形, 默认值: `false`"
1484
+ "description": "是否在 label 后面添加冒号, 默认值: `false`"
1537
1485
  },
1538
- "van-grid/clickable": {
1486
+ "van-form/disabled": {
1539
1487
  "type": "boolean",
1540
- "description": "是否开启格子点击反馈, 默认值: `false`"
1541
- },
1542
- "van-grid/direction": {
1543
- "type": "string",
1544
- "description": "格子内容排列的方向,可选值为 `horizontal`, 默认值: `vertical`"
1488
+ "description": "是否禁用表单中的所有输入框, 默认值: `false`"
1545
1489
  },
1546
- "van-grid-item/text": {
1547
- "type": "string",
1548
- "description": "文字, 默认值: -"
1490
+ "van-form/readonly": {
1491
+ "type": "boolean",
1492
+ "description": "是否将表单中的所有输入框设置为只读, 默认值: `false`"
1549
1493
  },
1550
- "van-grid-item/icon": {
1551
- "type": "string",
1552
- "description": "[图标名称](#/zh-CN/icon)或图片链接, 默认值: -"
1494
+ "van-form/validate-first": {
1495
+ "type": "boolean",
1496
+ "description": "是否在某一项校验不通过时停止校验, 默认值: `false`"
1553
1497
  },
1554
- "van-grid-item/icon-prefix": {
1555
- "type": "string",
1556
- "description": "图标类名前缀,同 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props), 默认值: `van-icon`"
1498
+ "van-form/scroll-to-error": {
1499
+ "type": "boolean",
1500
+ "description": "是否在提交表单且校验不通过时滚动至错误的表单项, 默认值: `false`"
1557
1501
  },
1558
- "van-grid-item/dot": {
1502
+ "van-form/show-error": {
1559
1503
  "type": "boolean",
1560
- "description": "是否显示图标右上角小红点, 默认值: `false`"
1504
+ "description": "是否在校验不通过时标红输入框, 默认值: `true`"
1561
1505
  },
1562
- "van-grid-item/badge": {
1563
- "type": "number | string",
1564
- "description": "图标右上角徽标的内容, 默认值: -"
1565
- },
1566
- "van-grid-item/info": {
1567
- "type": "number | string",
1568
- "description": "图标右上角徽标的内容(已废弃,请使用 badge 属性), 默认值: -"
1569
- },
1570
- "van-grid-item/url": {
1571
- "type": "string",
1572
- "description": "点击后跳转的链接地址, 默认值: -"
1573
- },
1574
- "van-grid-item/to": {
1575
- "type": "string | object",
1576
- "description": "点击后跳转的目标路由对象,同 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to), 默认值: -"
1506
+ "van-form/show-error-message": {
1507
+ "type": "boolean",
1508
+ "description": "是否在校验不通过时在输入框下方展示错误提示, 默认值: `true`"
1577
1509
  },
1578
- "van-grid-item/replace": {
1510
+ "van-form/submit-on-enter": {
1579
1511
  "type": "boolean",
1580
- "description": "是否在跳转时替换当前页面历史, 默认值: `false`"
1512
+ "description": "是否在按下回车键时提交表单, 默认值: `true`"
1581
1513
  },
1582
1514
  "van-icon/name": {
1583
1515
  "type": "string",
@@ -1611,6 +1543,74 @@
1611
1543
  "type": "string",
1612
1544
  "description": "HTML 标签, 默认值: `i`"
1613
1545
  },
1546
+ "van-grid/column-num": {
1547
+ "type": "number | string",
1548
+ "description": "列数, 默认值: `4`"
1549
+ },
1550
+ "van-grid/icon-size": {
1551
+ "type": "number | string",
1552
+ "description": "图标大小,默认单位为`px`, 默认值: `28px`"
1553
+ },
1554
+ "van-grid/gutter": {
1555
+ "type": "number | string",
1556
+ "description": "格子之间的间距,默认单位为`px`, 默认值: `0`"
1557
+ },
1558
+ "van-grid/border": {
1559
+ "type": "boolean",
1560
+ "description": "是否显示边框, 默认值: `true`"
1561
+ },
1562
+ "van-grid/center": {
1563
+ "type": "boolean",
1564
+ "description": "是否将格子内容居中显示, 默认值: `true`"
1565
+ },
1566
+ "van-grid/square": {
1567
+ "type": "boolean",
1568
+ "description": "是否将格子固定为正方形, 默认值: `false`"
1569
+ },
1570
+ "van-grid/clickable": {
1571
+ "type": "boolean",
1572
+ "description": "是否开启格子点击反馈, 默认值: `false`"
1573
+ },
1574
+ "van-grid/direction": {
1575
+ "type": "string",
1576
+ "description": "格子内容排列的方向,可选值为 `horizontal`, 默认值: `vertical`"
1577
+ },
1578
+ "van-grid-item/text": {
1579
+ "type": "string",
1580
+ "description": "文字, 默认值: -"
1581
+ },
1582
+ "van-grid-item/icon": {
1583
+ "type": "string",
1584
+ "description": "[图标名称](#/zh-CN/icon)或图片链接, 默认值: -"
1585
+ },
1586
+ "van-grid-item/icon-prefix": {
1587
+ "type": "string",
1588
+ "description": "图标类名前缀,同 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props), 默认值: `van-icon`"
1589
+ },
1590
+ "van-grid-item/dot": {
1591
+ "type": "boolean",
1592
+ "description": "是否显示图标右上角小红点, 默认值: `false`"
1593
+ },
1594
+ "van-grid-item/badge": {
1595
+ "type": "number | string",
1596
+ "description": "图标右上角徽标的内容, 默认值: -"
1597
+ },
1598
+ "van-grid-item/info": {
1599
+ "type": "number | string",
1600
+ "description": "图标右上角徽标的内容(已废弃,请使用 badge 属性), 默认值: -"
1601
+ },
1602
+ "van-grid-item/url": {
1603
+ "type": "string",
1604
+ "description": "点击后跳转的链接地址, 默认值: -"
1605
+ },
1606
+ "van-grid-item/to": {
1607
+ "type": "string | object",
1608
+ "description": "点击后跳转的目标路由对象,同 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to), 默认值: -"
1609
+ },
1610
+ "van-grid-item/replace": {
1611
+ "type": "boolean",
1612
+ "description": "是否在跳转时替换当前页面历史, 默认值: `false`"
1613
+ },
1614
1614
  "van-image/src": {
1615
1615
  "type": "string",
1616
1616
  "description": "图片链接, 默认值: -"
@@ -1663,6 +1663,30 @@
1663
1663
  "type": "string",
1664
1664
  "description": "图标类名前缀,同 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props), 默认值: `van-icon`"
1665
1665
  },
1666
+ "van-index-bar/index-list": {
1667
+ "type": "string[] | number[]",
1668
+ "description": "索引字符列表, 默认值: `A-Z`"
1669
+ },
1670
+ "van-index-bar/z-index": {
1671
+ "type": "number | string",
1672
+ "description": "z-index 层级, 默认值: `1`"
1673
+ },
1674
+ "van-index-bar/sticky": {
1675
+ "type": "boolean",
1676
+ "description": "是否开启锚点自动吸顶, 默认值: `true`"
1677
+ },
1678
+ "van-index-bar/sticky-offset-top": {
1679
+ "type": "number",
1680
+ "description": "锚点自动吸顶时与顶部的距离, 默认值: `0`"
1681
+ },
1682
+ "van-index-bar/highlight-color": {
1683
+ "type": "string",
1684
+ "description": "索引字符高亮颜色, 默认值: `#ee0a24`"
1685
+ },
1686
+ "van-index-anchor/index": {
1687
+ "type": "number | string",
1688
+ "description": "索引字符, 默认值: -"
1689
+ },
1666
1690
  "van-image-preview/images": {
1667
1691
  "type": "string[]",
1668
1692
  "description": "需要预览的图片 URL 数组, 默认值: `[]`"
@@ -1731,30 +1755,6 @@
1731
1755
  "type": "string | () => Element",
1732
1756
  "description": "指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi), 默认值: -"
1733
1757
  },
1734
- "van-index-bar/index-list": {
1735
- "type": "string[] | number[]",
1736
- "description": "索引字符列表, 默认值: `A-Z`"
1737
- },
1738
- "van-index-bar/z-index": {
1739
- "type": "number | string",
1740
- "description": "z-index 层级, 默认值: `1`"
1741
- },
1742
- "van-index-bar/sticky": {
1743
- "type": "boolean",
1744
- "description": "是否开启锚点自动吸顶, 默认值: `true`"
1745
- },
1746
- "van-index-bar/sticky-offset-top": {
1747
- "type": "number",
1748
- "description": "锚点自动吸顶时与顶部的距离, 默认值: `0`"
1749
- },
1750
- "van-index-bar/highlight-color": {
1751
- "type": "string",
1752
- "description": "索引字符高亮颜色, 默认值: `#ee0a24`"
1753
- },
1754
- "van-index-anchor/index": {
1755
- "type": "number | string",
1756
- "description": "索引字符, 默认值: -"
1757
- },
1758
1758
  "van-list/v-model": {
1759
1759
  "type": "boolean",
1760
1760
  "description": "是否处于加载状态,加载过程中不触发`load`事件, 默认值: `false`"
@@ -1951,30 +1951,6 @@
1951
1951
  "type": "boolean",
1952
1952
  "description": "是否将通过随机顺序展示按键, 默认值: `false`"
1953
1953
  },
1954
- "van-overlay/show": {
1955
- "type": "boolean",
1956
- "description": "是否展示遮罩层, 默认值: `false`"
1957
- },
1958
- "van-overlay/z-index": {
1959
- "type": "number | string",
1960
- "description": "z-index 层级, 默认值: `1`"
1961
- },
1962
- "van-overlay/duration": {
1963
- "type": "number | string",
1964
- "description": "动画时长,单位秒, 默认值: `0.3`"
1965
- },
1966
- "van-overlay/class-name": {
1967
- "type": "string",
1968
- "description": "自定义类名, 默认值: -"
1969
- },
1970
- "van-overlay/custom-style": {
1971
- "type": "object",
1972
- "description": "自定义样式, 默认值: -"
1973
- },
1974
- "van-overlay/lock-scroll": {
1975
- "type": "boolean",
1976
- "description": "是否锁定背景滚动,锁定时蒙层里的内容也将无法滚动, 默认值: `true`"
1977
- },
1978
1954
  "van-pagination/v-model": {
1979
1955
  "type": "number",
1980
1956
  "description": "当前页码, 默认值: -"
@@ -2011,21 +1987,29 @@
2011
1987
  "type": "boolean",
2012
1988
  "description": "是否显示省略号, 默认值: `false`"
2013
1989
  },
2014
- "van-panel/title": {
2015
- "type": "string",
2016
- "description": "标题, 默认值: -"
1990
+ "van-overlay/show": {
1991
+ "type": "boolean",
1992
+ "description": "是否展示遮罩层, 默认值: `false`"
2017
1993
  },
2018
- "van-panel/desc": {
2019
- "type": "string",
2020
- "description": "描述, 默认值: -"
1994
+ "van-overlay/z-index": {
1995
+ "type": "number | string",
1996
+ "description": "z-index 层级, 默认值: `1`"
2021
1997
  },
2022
- "van-panel/status": {
2023
- "type": "string",
2024
- "description": "状态, 默认值: -"
1998
+ "van-overlay/duration": {
1999
+ "type": "number | string",
2000
+ "description": "动画时长,单位秒, 默认值: `0.3`"
2025
2001
  },
2026
- "van-panel/icon": {
2002
+ "van-overlay/class-name": {
2027
2003
  "type": "string",
2028
- "description": "标题左侧[图标名称](#/zh-CN/icon)或图片链接, 默认值: -"
2004
+ "description": "自定义类名, 默认值: -"
2005
+ },
2006
+ "van-overlay/custom-style": {
2007
+ "type": "object",
2008
+ "description": "自定义样式, 默认值: -"
2009
+ },
2010
+ "van-overlay/lock-scroll": {
2011
+ "type": "boolean",
2012
+ "description": "是否锁定背景滚动,锁定时蒙层里的内容也将无法滚动, 默认值: `true`"
2029
2013
  },
2030
2014
  "van-password-input/value": {
2031
2015
  "type": "string",
@@ -2055,101 +2039,21 @@
2055
2039
  "type": "boolean",
2056
2040
  "description": "是否已聚焦,聚焦时会显示光标, 默认值: `false`"
2057
2041
  },
2058
- "van-picker/columns": {
2059
- "type": "Column[]",
2060
- "description": "对象数组,配置每一列显示的数据, 默认值: `[]`"
2061
- },
2062
- "van-picker/title": {
2063
- "type": "string",
2064
- "description": "顶部栏标题, 默认值: -"
2065
- },
2066
- "van-picker/confirm-button-text": {
2067
- "type": "string",
2068
- "description": "确认按钮文字, 默认值: `确认`"
2069
- },
2070
- "van-picker/cancel-button-text": {
2071
- "type": "string",
2072
- "description": "取消按钮文字, 默认值: `取消`"
2073
- },
2074
- "van-picker/value-key": {
2042
+ "van-panel/title": {
2075
2043
  "type": "string",
2076
- "description": "选项对象中,选项文字对应的键名, 默认值: `text`"
2044
+ "description": "标题, 默认值: -"
2077
2045
  },
2078
- "van-picker/toolbar-position": {
2046
+ "van-panel/desc": {
2079
2047
  "type": "string",
2080
- "description": "顶部栏位置,可选值为`bottom`, 默认值: `top`"
2081
- },
2082
- "van-picker/loading": {
2083
- "type": "boolean",
2084
- "description": "是否显示加载状态, 默认值: `false`"
2085
- },
2086
- "van-picker/readonly": {
2087
- "type": "boolean",
2088
- "description": "是否为只读状态,只读状态下无法切换选项, 默认值: `false`"
2089
- },
2090
- "van-picker/show-toolbar": {
2091
- "type": "boolean",
2092
- "description": "是否显示顶部栏, 默认值: `false`"
2093
- },
2094
- "van-picker/allow-html": {
2095
- "type": "boolean",
2096
- "description": "是否允许选项内容中渲染 HTML, 默认值: `true`"
2097
- },
2098
- "van-picker/default-index": {
2099
- "type": "number | string",
2100
- "description": "单列选择时,默认选中项的索引, 默认值: `0`"
2101
- },
2102
- "van-picker/item-height": {
2103
- "type": "number | string",
2104
- "description": "选项高度,支持 `px` `vw` `vh` `rem` 单位,默认 `px`, 默认值: `44`"
2105
- },
2106
- "van-picker/visible-item-count": {
2107
- "type": "number | string",
2108
- "description": "可见的选项个数, 默认值: `6`"
2109
- },
2110
- "van-picker/swipe-duration": {
2111
- "type": "number | string",
2112
- "description": "快速滑动时惯性滚动的时长,单位 `ms`, 默认值: `1000`"
2113
- },
2114
- "van-popover/v-model": {
2115
- "type": "boolean",
2116
- "description": "是否展示气泡弹出层, 默认值: `false`"
2117
- },
2118
- "van-popover/actions": {
2119
- "type": "Action[]",
2120
- "description": "选项列表, 默认值: `[]`"
2048
+ "description": "描述, 默认值: -"
2121
2049
  },
2122
- "van-popover/placement": {
2050
+ "van-panel/status": {
2123
2051
  "type": "string",
2124
- "description": "弹出位置, 默认值: `bottom`"
2052
+ "description": "状态, 默认值: -"
2125
2053
  },
2126
- "van-popover/theme": {
2054
+ "van-panel/icon": {
2127
2055
  "type": "string",
2128
- "description": "主题风格,可选值为 `dark`, 默认值: `light`"
2129
- },
2130
- "van-popover/trigger": {
2131
- "type": "-",
2132
- "description": "触发方式,可选值为 `click`, 默认值: undefined"
2133
- },
2134
- "van-popover/offset": {
2135
- "type": "[number, number]",
2136
- "description": "出现位置的偏移量, 默认值: `[0, 8]`"
2137
- },
2138
- "van-popover/overlay": {
2139
- "type": "boolean",
2140
- "description": "是否显示遮罩层, 默认值: `false`"
2141
- },
2142
- "van-popover/close-on-click-action": {
2143
- "type": "boolean",
2144
- "description": "是否在点击选项后关闭, 默认值: `true`"
2145
- },
2146
- "van-popover/close-on-click-outside": {
2147
- "type": "boolean",
2148
- "description": "是否在点击外部元素后关闭菜单, 默认值: `true`"
2149
- },
2150
- "van-popover/get-container": {
2151
- "type": "string | () => Element",
2152
- "description": "指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi), 默认值: `body`"
2056
+ "description": "标题左侧[图标名称](#/zh-CN/icon)或图片链接, 默认值: -"
2153
2057
  },
2154
2058
  "van-progress/percentage": {
2155
2059
  "type": "number | string",
@@ -2179,13 +2083,69 @@
2179
2083
  "type": "string",
2180
2084
  "description": "进度文字颜色, 默认值: `white`"
2181
2085
  },
2182
- "van-progress/inactive": {
2086
+ "van-progress/inactive": {
2087
+ "type": "boolean",
2088
+ "description": "是否置灰, 默认值: `false`"
2089
+ },
2090
+ "van-progress/show-pivot": {
2091
+ "type": "boolean",
2092
+ "description": "是否显示进度文字, 默认值: `true`"
2093
+ },
2094
+ "van-picker/columns": {
2095
+ "type": "Column[]",
2096
+ "description": "对象数组,配置每一列显示的数据, 默认值: `[]`"
2097
+ },
2098
+ "van-picker/title": {
2099
+ "type": "string",
2100
+ "description": "顶部栏标题, 默认值: -"
2101
+ },
2102
+ "van-picker/confirm-button-text": {
2103
+ "type": "string",
2104
+ "description": "确认按钮文字, 默认值: `确认`"
2105
+ },
2106
+ "van-picker/cancel-button-text": {
2107
+ "type": "string",
2108
+ "description": "取消按钮文字, 默认值: `取消`"
2109
+ },
2110
+ "van-picker/value-key": {
2111
+ "type": "string",
2112
+ "description": "选项对象中,选项文字对应的键名, 默认值: `text`"
2113
+ },
2114
+ "van-picker/toolbar-position": {
2115
+ "type": "string",
2116
+ "description": "顶部栏位置,可选值为`bottom`, 默认值: `top`"
2117
+ },
2118
+ "van-picker/loading": {
2119
+ "type": "boolean",
2120
+ "description": "是否显示加载状态, 默认值: `false`"
2121
+ },
2122
+ "van-picker/readonly": {
2123
+ "type": "boolean",
2124
+ "description": "是否为只读状态,只读状态下无法切换选项, 默认值: `false`"
2125
+ },
2126
+ "van-picker/show-toolbar": {
2183
2127
  "type": "boolean",
2184
- "description": "是否置灰, 默认值: `false`"
2128
+ "description": "是否显示顶部栏, 默认值: `false`"
2185
2129
  },
2186
- "van-progress/show-pivot": {
2130
+ "van-picker/allow-html": {
2187
2131
  "type": "boolean",
2188
- "description": "是否显示进度文字, 默认值: `true`"
2132
+ "description": "是否允许选项内容中渲染 HTML, 默认值: `true`"
2133
+ },
2134
+ "van-picker/default-index": {
2135
+ "type": "number | string",
2136
+ "description": "单列选择时,默认选中项的索引, 默认值: `0`"
2137
+ },
2138
+ "van-picker/item-height": {
2139
+ "type": "number | string",
2140
+ "description": "选项高度,支持 `px` `vw` `vh` `rem` 单位,默认 `px`, 默认值: `44`"
2141
+ },
2142
+ "van-picker/visible-item-count": {
2143
+ "type": "number | string",
2144
+ "description": "可见的选项个数, 默认值: `6`"
2145
+ },
2146
+ "van-picker/swipe-duration": {
2147
+ "type": "number | string",
2148
+ "description": "快速滑动时惯性滚动的时长,单位 `ms`, 默认值: `1000`"
2189
2149
  },
2190
2150
  "van-popup/v-model (value)": {
2191
2151
  "type": "boolean",
@@ -2259,45 +2219,45 @@
2259
2219
  "type": "boolean",
2260
2220
  "description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei), 默认值: `false`"
2261
2221
  },
2262
- "van-pull-refresh/v-model": {
2222
+ "van-popover/v-model": {
2263
2223
  "type": "boolean",
2264
- "description": "是否处于加载中状态, 默认值: -"
2265
- },
2266
- "van-pull-refresh/pulling-text": {
2267
- "type": "string",
2268
- "description": "下拉过程提示文案, 默认值: `下拉即可刷新...`"
2224
+ "description": "是否展示气泡弹出层, 默认值: `false`"
2269
2225
  },
2270
- "van-pull-refresh/loosing-text": {
2271
- "type": "string",
2272
- "description": "释放过程提示文案, 默认值: `释放即可刷新...`"
2226
+ "van-popover/actions": {
2227
+ "type": "Action[]",
2228
+ "description": "选项列表, 默认值: `[]`"
2273
2229
  },
2274
- "van-pull-refresh/loading-text": {
2230
+ "van-popover/placement": {
2275
2231
  "type": "string",
2276
- "description": "加载过程提示文案, 默认值: `加载中...`"
2232
+ "description": "弹出位置, 默认值: `bottom`"
2277
2233
  },
2278
- "van-pull-refresh/success-text": {
2234
+ "van-popover/theme": {
2279
2235
  "type": "string",
2280
- "description": "刷新成功提示文案, 默认值: -"
2236
+ "description": "主题风格,可选值为 `dark`, 默认值: `light`"
2281
2237
  },
2282
- "van-pull-refresh/success-duration": {
2283
- "type": "number | string",
2284
- "description": "刷新成功提示展示时长(ms), 默认值: `500`"
2238
+ "van-popover/trigger": {
2239
+ "type": "-",
2240
+ "description": "触发方式,可选值为 `click`, 默认值: undefined"
2285
2241
  },
2286
- "van-pull-refresh/animation-duration": {
2287
- "type": "number | string",
2288
- "description": "动画时长, 默认值: `300`"
2242
+ "van-popover/offset": {
2243
+ "type": "[number, number]",
2244
+ "description": "出现位置的偏移量, 默认值: `[0, 8]`"
2289
2245
  },
2290
- "van-pull-refresh/head-height": {
2291
- "type": "number | string",
2292
- "description": "顶部内容高度, 默认值: `50`"
2246
+ "van-popover/overlay": {
2247
+ "type": "boolean",
2248
+ "description": "是否显示遮罩层, 默认值: `false`"
2293
2249
  },
2294
- "van-pull-refresh/pull-distance": {
2295
- "type": "number | string",
2296
- "description": "触发下拉刷新的距离, 默认值: `head-height` 一致"
2250
+ "van-popover/close-on-click-action": {
2251
+ "type": "boolean",
2252
+ "description": "是否在点击选项后关闭, 默认值: `true`"
2297
2253
  },
2298
- "van-pull-refresh/disabled": {
2254
+ "van-popover/close-on-click-outside": {
2299
2255
  "type": "boolean",
2300
- "description": "是否禁用下拉刷新, 默认值: `false`"
2256
+ "description": "是否在点击外部元素后关闭菜单, 默认值: `true`"
2257
+ },
2258
+ "van-popover/get-container": {
2259
+ "type": "string | () => Element",
2260
+ "description": "指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi), 默认值: `body`"
2301
2261
  },
2302
2262
  "van-radio/name": {
2303
2263
  "type": "any",
@@ -2347,6 +2307,46 @@
2347
2307
  "type": "string",
2348
2308
  "description": "所有单选框的选中状态颜色, 默认值: `#1989fa`"
2349
2309
  },
2310
+ "van-pull-refresh/v-model": {
2311
+ "type": "boolean",
2312
+ "description": "是否处于加载中状态, 默认值: -"
2313
+ },
2314
+ "van-pull-refresh/pulling-text": {
2315
+ "type": "string",
2316
+ "description": "下拉过程提示文案, 默认值: `下拉即可刷新...`"
2317
+ },
2318
+ "van-pull-refresh/loosing-text": {
2319
+ "type": "string",
2320
+ "description": "释放过程提示文案, 默认值: `释放即可刷新...`"
2321
+ },
2322
+ "van-pull-refresh/loading-text": {
2323
+ "type": "string",
2324
+ "description": "加载过程提示文案, 默认值: `加载中...`"
2325
+ },
2326
+ "van-pull-refresh/success-text": {
2327
+ "type": "string",
2328
+ "description": "刷新成功提示文案, 默认值: -"
2329
+ },
2330
+ "van-pull-refresh/success-duration": {
2331
+ "type": "number | string",
2332
+ "description": "刷新成功提示展示时长(ms), 默认值: `500`"
2333
+ },
2334
+ "van-pull-refresh/animation-duration": {
2335
+ "type": "number | string",
2336
+ "description": "动画时长, 默认值: `300`"
2337
+ },
2338
+ "van-pull-refresh/head-height": {
2339
+ "type": "number | string",
2340
+ "description": "顶部内容高度, 默认值: `50`"
2341
+ },
2342
+ "van-pull-refresh/pull-distance": {
2343
+ "type": "number | string",
2344
+ "description": "触发下拉刷新的距离, 默认值: 与 `head-height` 一致"
2345
+ },
2346
+ "van-pull-refresh/disabled": {
2347
+ "type": "boolean",
2348
+ "description": "是否禁用下拉刷新, 默认值: `false`"
2349
+ },
2350
2350
  "van-rate/v-model": {
2351
2351
  "type": "number",
2352
2352
  "description": "当前分值, 默认值: -"
@@ -2515,42 +2515,6 @@
2515
2515
  "type": "string | () => Element",
2516
2516
  "description": "指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi), 默认值: -"
2517
2517
  },
2518
- "van-sidebar/v-model": {
2519
- "type": "number | string",
2520
- "description": "当前导航项的索引, 默认值: `0`"
2521
- },
2522
- "van-sidebar-item/title": {
2523
- "type": "string",
2524
- "description": "内容, 默认值: `''`"
2525
- },
2526
- "van-sidebar-item/dot": {
2527
- "type": "boolean",
2528
- "description": "是否显示右上角小红点, 默认值: `false`"
2529
- },
2530
- "van-sidebar-item/badge": {
2531
- "type": "number | string",
2532
- "description": "图标右上角徽标的内容, 默认值: -"
2533
- },
2534
- "van-sidebar-item/info": {
2535
- "type": "number | string",
2536
- "description": "图标右上角徽标的内容(已废弃,请使用 badge 属性), 默认值: -"
2537
- },
2538
- "van-sidebar-item/disabled": {
2539
- "type": "boolean",
2540
- "description": "是否禁用该项, 默认值: `false`"
2541
- },
2542
- "van-sidebar-item/url": {
2543
- "type": "string",
2544
- "description": "点击后跳转的链接地址, 默认值: -"
2545
- },
2546
- "van-sidebar-item/to": {
2547
- "type": "string | object",
2548
- "description": "点击后跳转的目标路由对象,同 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to), 默认值: -"
2549
- },
2550
- "van-sidebar-item/replace": {
2551
- "type": "boolean",
2552
- "description": "是否在跳转时替换当前页面历史, 默认值: `false`"
2553
- },
2554
2518
  "van-skeleton/row": {
2555
2519
  "type": "number | string",
2556
2520
  "description": "段落占位图行数, 默认值: `0`"
@@ -2591,6 +2555,42 @@
2591
2555
  "type": "string",
2592
2556
  "description": "头像占位图形状,可选值为`square`, 默认值: `round`"
2593
2557
  },
2558
+ "van-sidebar/v-model": {
2559
+ "type": "number | string",
2560
+ "description": "当前导航项的索引, 默认值: `0`"
2561
+ },
2562
+ "van-sidebar-item/title": {
2563
+ "type": "string",
2564
+ "description": "内容, 默认值: `''`"
2565
+ },
2566
+ "van-sidebar-item/dot": {
2567
+ "type": "boolean",
2568
+ "description": "是否显示右上角小红点, 默认值: `false`"
2569
+ },
2570
+ "van-sidebar-item/badge": {
2571
+ "type": "number | string",
2572
+ "description": "图标右上角徽标的内容, 默认值: -"
2573
+ },
2574
+ "van-sidebar-item/info": {
2575
+ "type": "number | string",
2576
+ "description": "图标右上角徽标的内容(已废弃,请使用 badge 属性), 默认值: -"
2577
+ },
2578
+ "van-sidebar-item/disabled": {
2579
+ "type": "boolean",
2580
+ "description": "是否禁用该项, 默认值: `false`"
2581
+ },
2582
+ "van-sidebar-item/url": {
2583
+ "type": "string",
2584
+ "description": "点击后跳转的链接地址, 默认值: -"
2585
+ },
2586
+ "van-sidebar-item/to": {
2587
+ "type": "string | object",
2588
+ "description": "点击后跳转的目标路由对象,同 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to), 默认值: -"
2589
+ },
2590
+ "van-sidebar-item/replace": {
2591
+ "type": "boolean",
2592
+ "description": "是否在跳转时替换当前页面历史, 默认值: `false`"
2593
+ },
2594
2594
  "van-slider/value": {
2595
2595
  "type": "number | array",
2596
2596
  "description": "当前进度百分比, 默认值: `0`"
@@ -2747,6 +2747,10 @@
2747
2747
  "type": "array",
2748
2748
  "description": "商品属性, 默认值: -"
2749
2749
  },
2750
+ "van-sku/skuProperties": {
2751
+ "type": "array",
2752
+ "description": "规格属性 `v2.13.7`, 默认值: -"
2753
+ },
2750
2754
  "van-sku/preview-on-click-image": {
2751
2755
  "type": "boolean",
2752
2756
  "description": "是否在点击商品图片时自动预览, 默认值: `true`"
@@ -3219,6 +3223,38 @@
3219
3223
  "type": "any",
3220
3224
  "description": "自定义标题类名, 默认值: -"
3221
3225
  },
3226
+ "van-tag/type": {
3227
+ "type": "string",
3228
+ "description": "类型,可选值为`primary` `success` `danger` `warning`, 默认值: `default`"
3229
+ },
3230
+ "van-tag/size": {
3231
+ "type": "string",
3232
+ "description": "大小, 可选值为`large` `medium`, 默认值: -"
3233
+ },
3234
+ "van-tag/color": {
3235
+ "type": "string",
3236
+ "description": "标签颜色, 默认值: -"
3237
+ },
3238
+ "van-tag/plain": {
3239
+ "type": "boolean",
3240
+ "description": "是否为空心样式, 默认值: `false`"
3241
+ },
3242
+ "van-tag/round": {
3243
+ "type": "boolean",
3244
+ "description": "是否为圆角样式, 默认值: `false`"
3245
+ },
3246
+ "van-tag/mark": {
3247
+ "type": "boolean",
3248
+ "description": "是否为标记样式, 默认值: `false`"
3249
+ },
3250
+ "van-tag/text-color": {
3251
+ "type": "string",
3252
+ "description": "文本颜色,优先级高于`color`属性, 默认值: `white`"
3253
+ },
3254
+ "van-tag/closeable": {
3255
+ "type": "boolean",
3256
+ "description": "是否为可关闭标签, 默认值: `false`"
3257
+ },
3222
3258
  "van-tabbar/v-model": {
3223
3259
  "type": "number | string",
3224
3260
  "description": "当前选中标签的名称或索引值, 默认值: `0`"
@@ -3295,38 +3331,6 @@
3295
3331
  "type": "boolean",
3296
3332
  "description": "是否在跳转时替换当前页面历史, 默认值: `false`"
3297
3333
  },
3298
- "van-tag/type": {
3299
- "type": "string",
3300
- "description": "类型,可选值为`primary` `success` `danger` `warning`, 默认值: `default`"
3301
- },
3302
- "van-tag/size": {
3303
- "type": "string",
3304
- "description": "大小, 可选值为`large` `medium`, 默认值: -"
3305
- },
3306
- "van-tag/color": {
3307
- "type": "string",
3308
- "description": "标签颜色, 默认值: -"
3309
- },
3310
- "van-tag/plain": {
3311
- "type": "boolean",
3312
- "description": "是否为空心样式, 默认值: `false`"
3313
- },
3314
- "van-tag/round": {
3315
- "type": "boolean",
3316
- "description": "是否为圆角样式, 默认值: `false`"
3317
- },
3318
- "van-tag/mark": {
3319
- "type": "boolean",
3320
- "description": "是否为标记样式, 默认值: `false`"
3321
- },
3322
- "van-tag/text-color": {
3323
- "type": "string",
3324
- "description": "文本颜色,优先级高于`color`属性, 默认值: `white`"
3325
- },
3326
- "van-tag/closeable": {
3327
- "type": "boolean",
3328
- "description": "是否为可关闭标签, 默认值: `false`"
3329
- },
3330
3334
  "van-tree-select/items": {
3331
3335
  "type": "Item[]",
3332
3336
  "description": "分类显示所需的数据, 默认值: `[]`"