vant 2.13.6 → 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,4 +1,72 @@
1
1
  {
2
+ "van-action-sheet/v-model (value)": {
3
+ "type": "boolean",
4
+ "description": "是否显示动作面板, 默认值: `false`"
5
+ },
6
+ "van-action-sheet/actions": {
7
+ "type": "Action[]",
8
+ "description": "面板选项列表, 默认值: `[]`"
9
+ },
10
+ "van-action-sheet/title": {
11
+ "type": "string",
12
+ "description": "顶部标题, 默认值: -"
13
+ },
14
+ "van-action-sheet/cancel-text": {
15
+ "type": "string",
16
+ "description": "取消按钮文字, 默认值: -"
17
+ },
18
+ "van-action-sheet/description": {
19
+ "type": "string",
20
+ "description": "选项上方的描述信息, 默认值: -"
21
+ },
22
+ "van-action-sheet/closeable": {
23
+ "type": "boolean",
24
+ "description": "是否显示关闭图标, 默认值: `true`"
25
+ },
26
+ "van-action-sheet/close-icon": {
27
+ "type": "string",
28
+ "description": "关闭[图标名称](#/zh-CN/icon)或图片链接, 默认值: `cross`"
29
+ },
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), 默认值: -"
69
+ },
2
70
  "van-address-edit/area-list": {
3
71
  "type": "object",
4
72
  "description": "地区列表, 默认值: -"
@@ -115,74 +183,6 @@
115
183
  "type": "string",
116
184
  "description": "默认地址标签文字, 默认值: -"
117
185
  },
118
- "van-action-sheet/v-model (value)": {
119
- "type": "boolean",
120
- "description": "是否显示动作面板, 默认值: `false`"
121
- },
122
- "van-action-sheet/actions": {
123
- "type": "Action[]",
124
- "description": "面板选项列表, 默认值: `[]`"
125
- },
126
- "van-action-sheet/title": {
127
- "type": "string",
128
- "description": "顶部标题, 默认值: -"
129
- },
130
- "van-action-sheet/cancel-text": {
131
- "type": "string",
132
- "description": "取消按钮文字, 默认值: -"
133
- },
134
- "van-action-sheet/description": {
135
- "type": "string",
136
- "description": "选项上方的描述信息, 默认值: -"
137
- },
138
- "van-action-sheet/closeable": {
139
- "type": "boolean",
140
- "description": "是否显示关闭图标, 默认值: `true`"
141
- },
142
- "van-action-sheet/close-icon": {
143
- "type": "string",
144
- "description": "关闭[图标名称](#/zh-CN/icon)或图片链接, 默认值: `cross`"
145
- },
146
- "van-action-sheet/duration": {
147
- "type": "number | string",
148
- "description": "动画时长,单位秒, 默认值: `0.3`"
149
- },
150
- "van-action-sheet/round": {
151
- "type": "boolean",
152
- "description": "是否显示圆角, 默认值: `true`"
153
- },
154
- "van-action-sheet/overlay": {
155
- "type": "boolean",
156
- "description": "是否显示遮罩层, 默认值: `true`"
157
- },
158
- "van-action-sheet/lock-scroll": {
159
- "type": "boolean",
160
- "description": "是否锁定背景滚动, 默认值: `true`"
161
- },
162
- "van-action-sheet/lazy-render": {
163
- "type": "boolean",
164
- "description": "是否在显示弹层时才渲染节点, 默认值: `true`"
165
- },
166
- "van-action-sheet/close-on-popstate": {
167
- "type": "boolean",
168
- "description": "是否在页面回退时自动关闭, 默认值: `false`"
169
- },
170
- "van-action-sheet/close-on-click-action": {
171
- "type": "boolean",
172
- "description": "是否在点击选项后关闭, 默认值: `false`"
173
- },
174
- "van-action-sheet/close-on-click-overlay": {
175
- "type": "boolean",
176
- "description": "是否在点击遮罩层后关闭, 默认值: `true`"
177
- },
178
- "van-action-sheet/safe-area-inset-bottom": {
179
- "type": "boolean",
180
- "description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei), 默认值: `true`"
181
- },
182
- "van-action-sheet/get-container": {
183
- "type": "string | () => Element",
184
- "description": "指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi), 默认值: -"
185
- },
186
186
  "van-area/value": {
187
187
  "type": "string",
188
188
  "description": "当前选中的省市区`code`, 默认值: -"
@@ -459,49 +459,89 @@
459
459
  "type": "string",
460
460
  "description": "选择超过最多可选天数时的提示文案, 默认值: `选择天数不能超过 xx 天`"
461
461
  },
462
- "van-card/thumb": {
462
+ "van-cell-group/title": {
463
463
  "type": "string",
464
- "description": "左侧图片 URL, 默认值: -"
464
+ "description": "分组标题, 默认值: `-`"
465
465
  },
466
- "van-card/title": {
466
+ "van-cell-group/border": {
467
+ "type": "boolean",
468
+ "description": "是否显示外边框, 默认值: `true`"
469
+ },
470
+ "van-cell/title": {
471
+ "type": "number | string",
472
+ "description": "左侧标题, 默认值: -"
473
+ },
474
+ "van-cell/value": {
475
+ "type": "number | string",
476
+ "description": "右侧内容, 默认值: -"
477
+ },
478
+ "van-cell/label": {
467
479
  "type": "string",
468
- "description": "标题, 默认值: -"
480
+ "description": "标题下方的描述信息, 默认值: -"
469
481
  },
470
- "van-card/desc": {
482
+ "van-cell/size": {
471
483
  "type": "string",
472
- "description": "描述, 默认值: -"
484
+ "description": "单元格大小,可选值为 `large`, 默认值: -"
473
485
  },
474
- "van-card/tag": {
486
+ "van-cell/icon": {
475
487
  "type": "string",
476
- "description": "图片角标, 默认值: -"
488
+ "description": "左侧[图标名称](#/zh-CN/icon)或图片链接, 默认值: -"
477
489
  },
478
- "van-card/num": {
479
- "type": "number | string",
480
- "description": "商品数量, 默认值: -"
490
+ "van-cell/icon-prefix": {
491
+ "type": "string",
492
+ "description": "图标类名前缀,同 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props), 默认值: `van-icon`"
481
493
  },
482
- "van-card/price": {
483
- "type": "number | string",
484
- "description": "商品价格, 默认值: -"
494
+ "van-cell/url": {
495
+ "type": "string",
496
+ "description": "点击后跳转的链接地址, 默认值: -"
485
497
  },
486
- "van-card/origin-price": {
487
- "type": "number | string",
488
- "description": "商品划线原价, 默认值: -"
498
+ "van-cell/to": {
499
+ "type": "string | object",
500
+ "description": "点击后跳转的目标路由对象,同 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to), 默认值: -"
489
501
  },
490
- "van-card/centered": {
502
+ "van-cell/border": {
491
503
  "type": "boolean",
492
- "description": "内容是否垂直居中, 默认值: `false`"
504
+ "description": "是否显示内边框, 默认值: `true`"
493
505
  },
494
- "van-card/currency": {
495
- "type": "string",
496
- "description": "货币符号, 默认值: `¥`"
506
+ "van-cell/replace": {
507
+ "type": "boolean",
508
+ "description": "是否在跳转时替换当前页面历史, 默认值: `false`"
497
509
  },
498
- "van-card/thumb-link": {
499
- "type": "string",
500
- "description": "点击左侧图片后跳转的链接地址, 默认值: -"
510
+ "van-cell/clickable": {
511
+ "type": "boolean",
512
+ "description": "是否开启点击反馈, 默认值: `null`"
501
513
  },
502
- "van-card/lazy-load": {
514
+ "van-cell/is-link": {
503
515
  "type": "boolean",
504
- "description": "是否开启图片懒加载,须配合 [Lazyload](#/zh-CN/lazyload) 组件使用, 默认值: `false`"
516
+ "description": "是否展示右侧箭头并开启点击反馈, 默认值: `false`"
517
+ },
518
+ "van-cell/required": {
519
+ "type": "boolean",
520
+ "description": "是否显示表单必填星号, 默认值: `false`"
521
+ },
522
+ "van-cell/center": {
523
+ "type": "boolean",
524
+ "description": "是否使内容垂直居中, 默认值: `false`"
525
+ },
526
+ "van-cell/arrow-direction": {
527
+ "type": "string",
528
+ "description": "箭头方向,可选值为 `left` `up` `down`, 默认值: `right`"
529
+ },
530
+ "van-cell/title-style": {
531
+ "type": "any",
532
+ "description": "左侧标题额外样式, 默认值: -"
533
+ },
534
+ "van-cell/title-class": {
535
+ "type": "any",
536
+ "description": "左侧标题额外类名, 默认值: -"
537
+ },
538
+ "van-cell/value-class": {
539
+ "type": "any",
540
+ "description": "右侧内容额外类名, 默认值: -"
541
+ },
542
+ "van-cell/label-class": {
543
+ "type": "any",
544
+ "description": "描述信息额外类名, 默认值: -"
505
545
  },
506
546
  "van-cascader/title": {
507
547
  "type": "string",
@@ -535,29 +575,73 @@
535
575
  "type": "object",
536
576
  "description": "自定义 `options` 结构中的字段, 默认值: `{ text: 'text', value: 'value', children: 'children' }`"
537
577
  },
538
- "van-checkbox/v-model (value)": {
539
- "type": "boolean",
540
- "description": "是否为选中状态, 默认值: `false`"
541
- },
542
- "van-checkbox/name": {
543
- "type": "any",
544
- "description": "标识符, 默认值: -"
545
- },
546
- "van-checkbox/shape": {
578
+ "van-card/thumb": {
547
579
  "type": "string",
548
- "description": "形状,可选值为 `square`, 默认值: `round`"
549
- },
550
- "van-checkbox/disabled": {
551
- "type": "boolean",
552
- "description": "是否禁用复选框, 默认值: `false`"
580
+ "description": "左侧图片 URL, 默认值: -"
553
581
  },
554
- "van-checkbox/label-disabled": {
555
- "type": "boolean",
556
- "description": "是否禁用复选框文本点击, 默认值: `false`"
582
+ "van-card/title": {
583
+ "type": "string",
584
+ "description": "标题, 默认值: -"
557
585
  },
558
- "van-checkbox/label-position": {
586
+ "van-card/desc": {
559
587
  "type": "string",
560
- "description": "文本位置,可选值为 `left`, 默认值: `right`"
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
+ "description": "标识符, 默认值: -"
629
+ },
630
+ "van-checkbox/shape": {
631
+ "type": "string",
632
+ "description": "形状,可选值为 `square`, 默认值: `round`"
633
+ },
634
+ "van-checkbox/disabled": {
635
+ "type": "boolean",
636
+ "description": "是否禁用复选框, 默认值: `false`"
637
+ },
638
+ "van-checkbox/label-disabled": {
639
+ "type": "boolean",
640
+ "description": "是否禁用复选框文本点击, 默认值: `false`"
641
+ },
642
+ "van-checkbox/label-position": {
643
+ "type": "string",
644
+ "description": "文本位置,可选值为 `left`, 默认值: `right`"
561
645
  },
562
646
  "van-checkbox/icon-size": {
563
647
  "type": "number | string",
@@ -595,90 +679,6 @@
595
679
  "type": "string",
596
680
  "description": "所有复选框的选中状态颜色, 默认值: `#1989fa`"
597
681
  },
598
- "van-cell-group/title": {
599
- "type": "string",
600
- "description": "分组标题, 默认值: `-`"
601
- },
602
- "van-cell-group/border": {
603
- "type": "boolean",
604
- "description": "是否显示外边框, 默认值: `true`"
605
- },
606
- "van-cell/title": {
607
- "type": "number | string",
608
- "description": "左侧标题, 默认值: -"
609
- },
610
- "van-cell/value": {
611
- "type": "number | string",
612
- "description": "右侧内容, 默认值: -"
613
- },
614
- "van-cell/label": {
615
- "type": "string",
616
- "description": "标题下方的描述信息, 默认值: -"
617
- },
618
- "van-cell/size": {
619
- "type": "string",
620
- "description": "单元格大小,可选值为 `large`, 默认值: -"
621
- },
622
- "van-cell/icon": {
623
- "type": "string",
624
- "description": "左侧[图标名称](#/zh-CN/icon)或图片链接, 默认值: -"
625
- },
626
- "van-cell/icon-prefix": {
627
- "type": "string",
628
- "description": "图标类名前缀,同 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props), 默认值: `van-icon`"
629
- },
630
- "van-cell/url": {
631
- "type": "string",
632
- "description": "点击后跳转的链接地址, 默认值: -"
633
- },
634
- "van-cell/to": {
635
- "type": "string | object",
636
- "description": "点击后跳转的目标路由对象,同 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to), 默认值: -"
637
- },
638
- "van-cell/border": {
639
- "type": "boolean",
640
- "description": "是否显示内边框, 默认值: `true`"
641
- },
642
- "van-cell/replace": {
643
- "type": "boolean",
644
- "description": "是否在跳转时替换当前页面历史, 默认值: `false`"
645
- },
646
- "van-cell/clickable": {
647
- "type": "boolean",
648
- "description": "是否开启点击反馈, 默认值: `null`"
649
- },
650
- "van-cell/is-link": {
651
- "type": "boolean",
652
- "description": "是否展示右侧箭头并开启点击反馈, 默认值: `false`"
653
- },
654
- "van-cell/required": {
655
- "type": "boolean",
656
- "description": "是否显示表单必填星号, 默认值: `false`"
657
- },
658
- "van-cell/center": {
659
- "type": "boolean",
660
- "description": "是否使内容垂直居中, 默认值: `false`"
661
- },
662
- "van-cell/arrow-direction": {
663
- "type": "string",
664
- "description": "箭头方向,可选值为 `left` `up` `down`, 默认值: `right`"
665
- },
666
- "van-cell/title-style": {
667
- "type": "any",
668
- "description": "左侧标题额外样式, 默认值: -"
669
- },
670
- "van-cell/title-class": {
671
- "type": "any",
672
- "description": "左侧标题额外类名, 默认值: -"
673
- },
674
- "van-cell/value-class": {
675
- "type": "any",
676
- "description": "右侧内容额外类名, 默认值: -"
677
- },
678
- "van-cell/label-class": {
679
- "type": "any",
680
- "description": "描述信息额外类名, 默认值: -"
681
- },
682
682
  "van-circle/v-model": {
683
683
  "type": "number",
684
684
  "description": "当前进度, 默认值: -"
@@ -819,6 +819,22 @@
819
819
  "type": "string",
820
820
  "description": "描述信息额外类名, 默认值: -"
821
821
  },
822
+ "van-contact-list/v-model": {
823
+ "type": "number | string",
824
+ "description": "当前选中联系人的 id, 默认值: -"
825
+ },
826
+ "van-contact-list/list": {
827
+ "type": "Contact[]",
828
+ "description": "联系人列表, 默认值: `[]`"
829
+ },
830
+ "van-contact-list/add-text": {
831
+ "type": "string",
832
+ "description": "新建按钮文案, 默认值: `新建联系人`"
833
+ },
834
+ "van-contact-list/default-tag-text": {
835
+ "type": "string",
836
+ "description": "默认联系人标签文案, 默认值: -"
837
+ },
822
838
  "van-contact-edit/contact-info": {
823
839
  "type": "Contact",
824
840
  "description": "联系人信息, 默认值: `{}`"
@@ -847,22 +863,6 @@
847
863
  "type": "string",
848
864
  "description": "默认联系人栏文案, 默认值: -"
849
865
  },
850
- "van-contact-list/v-model": {
851
- "type": "number | string",
852
- "description": "当前选中联系人的 id, 默认值: -"
853
- },
854
- "van-contact-list/list": {
855
- "type": "Contact[]",
856
- "description": "联系人列表, 默认值: `[]`"
857
- },
858
- "van-contact-list/add-text": {
859
- "type": "string",
860
- "description": "新建按钮文案, 默认值: `新建联系人`"
861
- },
862
- "van-contact-list/default-tag-text": {
863
- "type": "string",
864
- "description": "默认联系人标签文案, 默认值: -"
865
- },
866
866
  "van-contact-card/type": {
867
867
  "type": "string",
868
868
  "description": "卡片类型,可选值为 `edit`, 默认值: `add`"
@@ -1067,6 +1067,18 @@
1067
1067
  "type": "number | string",
1068
1068
  "description": "可选的最大分钟, 默认值: `59`"
1069
1069
  },
1070
+ "van-divider/dashed": {
1071
+ "type": "boolean",
1072
+ "description": "是否使用虚线, 默认值: `false`"
1073
+ },
1074
+ "van-divider/hairline": {
1075
+ "type": "boolean",
1076
+ "description": "是否使用 0.5px 线, 默认值: `true`"
1077
+ },
1078
+ "van-divider/content-position": {
1079
+ "type": "string",
1080
+ "description": "内容位置,可选值为`left` `right`, 默认值: `center`"
1081
+ },
1070
1082
  "van-dialog/v-model": {
1071
1083
  "type": "boolean",
1072
1084
  "description": "是否显示弹窗, 默认值: -"
@@ -1159,30 +1171,6 @@
1159
1171
  "type": "string | () => Element",
1160
1172
  "description": "指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi), 默认值: -"
1161
1173
  },
1162
- "van-divider/dashed": {
1163
- "type": "boolean",
1164
- "description": "是否使用虚线, 默认值: `false`"
1165
- },
1166
- "van-divider/hairline": {
1167
- "type": "boolean",
1168
- "description": "是否使用 0.5px 线, 默认值: `true`"
1169
- },
1170
- "van-divider/content-position": {
1171
- "type": "string",
1172
- "description": "内容位置,可选值为`left` `right`, 默认值: `center`"
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,85 +1379,33 @@
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`"
1382
+ "van-goods-action/safe-area-inset-bottom": {
1383
+ "type": "boolean",
1384
+ "description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei), 默认值: `true`"
1385
1385
  },
1386
- "van-form/label-align": {
1386
+ "van-goods-action-icon/text": {
1387
1387
  "type": "string",
1388
- "description": "表单项 label 对齐方式,可选值为 `center` `right`, 默认值: `left`"
1388
+ "description": "按钮文字, 默认值: -"
1389
1389
  },
1390
- "van-form/input-align": {
1390
+ "van-goods-action-icon/icon": {
1391
1391
  "type": "string",
1392
- "description": "输入框对齐方式,可选值为 `center` `right`, 默认值: `left`"
1392
+ "description": "图标, 默认值: -"
1393
1393
  },
1394
- "van-form/error-message-align": {
1394
+ "van-goods-action-icon/color": {
1395
1395
  "type": "string",
1396
- "description": "错误提示文案对齐方式,可选值为 `center` `right`, 默认值: `left`"
1396
+ "description": "图标颜色, 默认值: `#323233`"
1397
1397
  },
1398
- "van-form/validate-trigger": {
1399
- "type": "string",
1400
- "description": "表单校验触发时机,可选值为 `onChange`、`onSubmit`,详见下表, 默认值: `onBlur`"
1398
+ "van-goods-action-icon/icon-class": {
1399
+ "type": "any",
1400
+ "description": "图标额外类名, 默认值: -"
1401
1401
  },
1402
- "van-form/colon": {
1402
+ "van-goods-action-icon/dot": {
1403
1403
  "type": "boolean",
1404
- "description": "是否在 label 后面添加冒号, 默认值: `false`"
1404
+ "description": "是否显示图标右上角小红点, 默认值: `false`"
1405
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
- "van-goods-action/safe-area-inset-bottom": {
1435
- "type": "boolean",
1436
- "description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei), 默认值: `true`"
1437
- },
1438
- "van-goods-action-icon/text": {
1439
- "type": "string",
1440
- "description": "按钮文字, 默认值: -"
1441
- },
1442
- "van-goods-action-icon/icon": {
1443
- "type": "string",
1444
- "description": "图标, 默认值: -"
1445
- },
1446
- "van-goods-action-icon/color": {
1447
- "type": "string",
1448
- "description": "图标颜色, 默认值: `#323233`"
1449
- },
1450
- "van-goods-action-icon/icon-class": {
1451
- "type": "any",
1452
- "description": "图标额外类名, 默认值: -"
1453
- },
1454
- "van-goods-action-icon/dot": {
1455
- "type": "boolean",
1456
- "description": "是否显示图标右上角小红点, 默认值: `false`"
1457
- },
1458
- "van-goods-action-icon/badge": {
1459
- "type": "number | string",
1460
- "description": "图标右上角徽标的内容, 默认值: -"
1406
+ "van-goods-action-icon/badge": {
1407
+ "type": "number | string",
1408
+ "description": "图标右上角徽标的内容, 默认值: -"
1461
1409
  },
1462
1410
  "van-goods-action-icon/info": {
1463
1411
  "type": "number | string",
@@ -1511,73 +1459,57 @@
1511
1459
  "type": "boolean",
1512
1460
  "description": "是否在跳转时替换当前页面历史, 默认值: `false`"
1513
1461
  },
1514
- "van-grid/column-num": {
1515
- "type": "number | string",
1516
- "description": "列数, 默认值: `4`"
1517
- },
1518
- "van-grid/icon-size": {
1519
- "type": "number | string",
1520
- "description": "图标大小,默认单位为`px`, 默认值: `28px`"
1521
- },
1522
- "van-grid/gutter": {
1462
+ "van-form/label-width": {
1523
1463
  "type": "number | string",
1524
- "description": "格子之间的间距,默认单位为`px`, 默认值: `0`"
1525
- },
1526
- "van-grid/border": {
1527
- "type": "boolean",
1528
- "description": "是否显示边框, 默认值: `true`"
1529
- },
1530
- "van-grid/center": {
1531
- "type": "boolean",
1532
- "description": "是否将格子内容居中显示, 默认值: `true`"
1533
- },
1534
- "van-grid/square": {
1535
- "type": "boolean",
1536
- "description": "是否将格子固定为正方形, 默认值: `false`"
1537
- },
1538
- "van-grid/clickable": {
1539
- "type": "boolean",
1540
- "description": "是否开启格子点击反馈, 默认值: `false`"
1464
+ "description": "表单项 label 宽度,默认单位为`px`, 默认值: `6.2em`"
1541
1465
  },
1542
- "van-grid/direction": {
1466
+ "van-form/label-align": {
1543
1467
  "type": "string",
1544
- "description": "格子内容排列的方向,可选值为 `horizontal`, 默认值: `vertical`"
1468
+ "description": "表单项 label 对齐方式,可选值为 `center` `right`, 默认值: `left`"
1545
1469
  },
1546
- "van-grid-item/text": {
1470
+ "van-form/input-align": {
1547
1471
  "type": "string",
1548
- "description": "文字, 默认值: -"
1472
+ "description": "输入框对齐方式,可选值为 `center` `right`, 默认值: `left`"
1549
1473
  },
1550
- "van-grid-item/icon": {
1474
+ "van-form/error-message-align": {
1551
1475
  "type": "string",
1552
- "description": "[图标名称](#/zh-CN/icon)或图片链接, 默认值: -"
1476
+ "description": "错误提示文案对齐方式,可选值为 `center` `right`, 默认值: `left`"
1553
1477
  },
1554
- "van-grid-item/icon-prefix": {
1478
+ "van-form/validate-trigger": {
1555
1479
  "type": "string",
1556
- "description": "图标类名前缀,同 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props), 默认值: `van-icon`"
1480
+ "description": "表单校验触发时机,可选值为 `onChange`、`onSubmit`,详见下表, 默认值: `onBlur`"
1557
1481
  },
1558
- "van-grid-item/dot": {
1482
+ "van-form/colon": {
1559
1483
  "type": "boolean",
1560
- "description": "是否显示图标右上角小红点, 默认值: `false`"
1484
+ "description": "是否在 label 后面添加冒号, 默认值: `false`"
1561
1485
  },
1562
- "van-grid-item/badge": {
1563
- "type": "number | string",
1564
- "description": "图标右上角徽标的内容, 默认值: -"
1486
+ "van-form/disabled": {
1487
+ "type": "boolean",
1488
+ "description": "是否禁用表单中的所有输入框, 默认值: `false`"
1565
1489
  },
1566
- "van-grid-item/info": {
1567
- "type": "number | string",
1568
- "description": "图标右上角徽标的内容(已废弃,请使用 badge 属性), 默认值: -"
1490
+ "van-form/readonly": {
1491
+ "type": "boolean",
1492
+ "description": "是否将表单中的所有输入框设置为只读, 默认值: `false`"
1569
1493
  },
1570
- "van-grid-item/url": {
1571
- "type": "string",
1572
- "description": "点击后跳转的链接地址, 默认值: -"
1494
+ "van-form/validate-first": {
1495
+ "type": "boolean",
1496
+ "description": "是否在某一项校验不通过时停止校验, 默认值: `false`"
1573
1497
  },
1574
- "van-grid-item/to": {
1575
- "type": "string | object",
1576
- "description": "点击后跳转的目标路由对象,同 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to), 默认值: -"
1498
+ "van-form/scroll-to-error": {
1499
+ "type": "boolean",
1500
+ "description": "是否在提交表单且校验不通过时滚动至错误的表单项, 默认值: `false`"
1577
1501
  },
1578
- "van-grid-item/replace": {
1502
+ "van-form/show-error": {
1579
1503
  "type": "boolean",
1580
- "description": "是否在跳转时替换当前页面历史, 默认值: `false`"
1504
+ "description": "是否在校验不通过时标红输入框, 默认值: `true`"
1505
+ },
1506
+ "van-form/show-error-message": {
1507
+ "type": "boolean",
1508
+ "description": "是否在校验不通过时在输入框下方展示错误提示, 默认值: `true`"
1509
+ },
1510
+ "van-form/submit-on-enter": {
1511
+ "type": "boolean",
1512
+ "description": "是否在按下回车键时提交表单, 默认值: `true`"
1581
1513
  },
1582
1514
  "van-icon/name": {
1583
1515
  "type": "string",
@@ -1611,73 +1543,73 @@
1611
1543
  "type": "string",
1612
1544
  "description": "HTML 标签, 默认值: `i`"
1613
1545
  },
1614
- "van-image-preview/images": {
1615
- "type": "string[]",
1616
- "description": "需要预览的图片 URL 数组, 默认值: `[]`"
1546
+ "van-grid/column-num": {
1547
+ "type": "number | string",
1548
+ "description": "列数, 默认值: `4`"
1617
1549
  },
1618
- "van-image-preview/start-position": {
1550
+ "van-grid/icon-size": {
1619
1551
  "type": "number | string",
1620
- "description": "图片预览起始位置索引, 默认值: `0`"
1552
+ "description": "图标大小,默认单位为`px`, 默认值: `28px`"
1621
1553
  },
1622
- "van-image-preview/swipe-duration": {
1554
+ "van-grid/gutter": {
1623
1555
  "type": "number | string",
1624
- "description": "动画时长,单位为 ms, 默认值: `300`"
1556
+ "description": "格子之间的间距,默认单位为`px`, 默认值: `0`"
1625
1557
  },
1626
- "van-image-preview/show-index": {
1558
+ "van-grid/border": {
1627
1559
  "type": "boolean",
1628
- "description": "是否显示页码, 默认值: `true`"
1560
+ "description": "是否显示边框, 默认值: `true`"
1629
1561
  },
1630
- "van-image-preview/show-indicators": {
1562
+ "van-grid/center": {
1631
1563
  "type": "boolean",
1632
- "description": "是否显示轮播指示器, 默认值: `false`"
1564
+ "description": "是否将格子内容居中显示, 默认值: `true`"
1633
1565
  },
1634
- "van-image-preview/loop": {
1566
+ "van-grid/square": {
1635
1567
  "type": "boolean",
1636
- "description": "是否开启循环播放, 默认值: `true`"
1568
+ "description": "是否将格子固定为正方形, 默认值: `false`"
1637
1569
  },
1638
- "van-image-preview/async-close": {
1570
+ "van-grid/clickable": {
1639
1571
  "type": "boolean",
1640
- "description": "是否开启异步关闭, 默认值: `false`"
1572
+ "description": "是否开启格子点击反馈, 默认值: `false`"
1641
1573
  },
1642
- "van-image-preview/close-on-popstate": {
1643
- "type": "boolean",
1644
- "description": "是否在页面回退时自动关闭, 默认值: `true`"
1574
+ "van-grid/direction": {
1575
+ "type": "string",
1576
+ "description": "格子内容排列的方向,可选值为 `horizontal`, 默认值: `vertical`"
1645
1577
  },
1646
- "van-image-preview/class-name": {
1647
- "type": "any",
1648
- "description": "自定义类名, 默认值: -"
1578
+ "van-grid-item/text": {
1579
+ "type": "string",
1580
+ "description": "文字, 默认值: -"
1649
1581
  },
1650
- "van-image-preview/max-zoom": {
1651
- "type": "number | string",
1652
- "description": "手势缩放时,最大缩放比例, 默认值: `3`"
1582
+ "van-grid-item/icon": {
1583
+ "type": "string",
1584
+ "description": "[图标名称](#/zh-CN/icon)或图片链接, 默认值: -"
1653
1585
  },
1654
- "van-image-preview/min-zoom": {
1655
- "type": "number | string",
1656
- "description": "手势缩放时,最小缩放比例, 默认值: `1/3`"
1586
+ "van-grid-item/icon-prefix": {
1587
+ "type": "string",
1588
+ "description": "图标类名前缀,同 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props), 默认值: `van-icon`"
1657
1589
  },
1658
- "van-image-preview/closeable": {
1590
+ "van-grid-item/dot": {
1659
1591
  "type": "boolean",
1660
- "description": "是否显示关闭图标, 默认值: `false`"
1592
+ "description": "是否显示图标右上角小红点, 默认值: `false`"
1661
1593
  },
1662
- "van-image-preview/close-icon": {
1663
- "type": "string",
1664
- "description": "关闭图标名称或图片链接, 默认值: `clear`"
1594
+ "van-grid-item/badge": {
1595
+ "type": "number | string",
1596
+ "description": "图标右上角徽标的内容, 默认值: -"
1665
1597
  },
1666
- "van-image-preview/close-icon-position": {
1667
- "type": "string",
1668
- "description": "关闭图标位置,可选值为`top-left`<br>`bottom-left` `bottom-right`, 默认值: `top-right`"
1598
+ "van-grid-item/info": {
1599
+ "type": "number | string",
1600
+ "description": "图标右上角徽标的内容(已废弃,请使用 badge 属性), 默认值: -"
1669
1601
  },
1670
- "van-image-preview/transition": {
1602
+ "van-grid-item/url": {
1671
1603
  "type": "string",
1672
- "description": "动画类名,等价于 [transition](https://cn.vuejs.org/v2/api/index.html#transition) 的 `name` 属性, 默认值: `van-fade`"
1604
+ "description": "点击后跳转的链接地址, 默认值: -"
1673
1605
  },
1674
- "van-image-preview/overlay-style": {
1675
- "type": "object",
1676
- "description": "自定义遮罩层样式, 默认值: -"
1606
+ "van-grid-item/to": {
1607
+ "type": "string | object",
1608
+ "description": "点击后跳转的目标路由对象,同 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to), 默认值: -"
1677
1609
  },
1678
- "van-image-preview/get-container": {
1679
- "type": "string | () => Element",
1680
- "description": "指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi), 默认值: -"
1610
+ "van-grid-item/replace": {
1611
+ "type": "boolean",
1612
+ "description": "是否在跳转时替换当前页面历史, 默认值: `false`"
1681
1613
  },
1682
1614
  "van-image/src": {
1683
1615
  "type": "string",
@@ -1755,6 +1687,74 @@
1755
1687
  "type": "number | string",
1756
1688
  "description": "索引字符, 默认值: -"
1757
1689
  },
1690
+ "van-image-preview/images": {
1691
+ "type": "string[]",
1692
+ "description": "需要预览的图片 URL 数组, 默认值: `[]`"
1693
+ },
1694
+ "van-image-preview/start-position": {
1695
+ "type": "number | string",
1696
+ "description": "图片预览起始位置索引, 默认值: `0`"
1697
+ },
1698
+ "van-image-preview/swipe-duration": {
1699
+ "type": "number | string",
1700
+ "description": "动画时长,单位为 ms, 默认值: `300`"
1701
+ },
1702
+ "van-image-preview/show-index": {
1703
+ "type": "boolean",
1704
+ "description": "是否显示页码, 默认值: `true`"
1705
+ },
1706
+ "van-image-preview/show-indicators": {
1707
+ "type": "boolean",
1708
+ "description": "是否显示轮播指示器, 默认值: `false`"
1709
+ },
1710
+ "van-image-preview/loop": {
1711
+ "type": "boolean",
1712
+ "description": "是否开启循环播放, 默认值: `true`"
1713
+ },
1714
+ "van-image-preview/async-close": {
1715
+ "type": "boolean",
1716
+ "description": "是否开启异步关闭, 默认值: `false`"
1717
+ },
1718
+ "van-image-preview/close-on-popstate": {
1719
+ "type": "boolean",
1720
+ "description": "是否在页面回退时自动关闭, 默认值: `true`"
1721
+ },
1722
+ "van-image-preview/class-name": {
1723
+ "type": "any",
1724
+ "description": "自定义类名, 默认值: -"
1725
+ },
1726
+ "van-image-preview/max-zoom": {
1727
+ "type": "number | string",
1728
+ "description": "手势缩放时,最大缩放比例, 默认值: `3`"
1729
+ },
1730
+ "van-image-preview/min-zoom": {
1731
+ "type": "number | string",
1732
+ "description": "手势缩放时,最小缩放比例, 默认值: `1/3`"
1733
+ },
1734
+ "van-image-preview/closeable": {
1735
+ "type": "boolean",
1736
+ "description": "是否显示关闭图标, 默认值: `false`"
1737
+ },
1738
+ "van-image-preview/close-icon": {
1739
+ "type": "string",
1740
+ "description": "关闭图标名称或图片链接, 默认值: `clear`"
1741
+ },
1742
+ "van-image-preview/close-icon-position": {
1743
+ "type": "string",
1744
+ "description": "关闭图标位置,可选值为`top-left`<br>`bottom-left` `bottom-right`, 默认值: `top-right`"
1745
+ },
1746
+ "van-image-preview/transition": {
1747
+ "type": "string",
1748
+ "description": "动画类名,等价于 [transition](https://cn.vuejs.org/v2/api/index.html#transition) 的 `name` 属性, 默认值: `van-fade`"
1749
+ },
1750
+ "van-image-preview/overlay-style": {
1751
+ "type": "object",
1752
+ "description": "自定义遮罩层样式, 默认值: -"
1753
+ },
1754
+ "van-image-preview/get-container": {
1755
+ "type": "string | () => Element",
1756
+ "description": "指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi), 默认值: -"
1757
+ },
1758
1758
  "van-list/v-model": {
1759
1759
  "type": "boolean",
1760
1760
  "description": "是否处于加载状态,加载过程中不触发`load`事件, 默认值: `false`"
@@ -1887,42 +1887,6 @@
1887
1887
  "type": "boolean",
1888
1888
  "description": "是否开启文本换行,只在禁用滚动时生效, 默认值: `false`"
1889
1889
  },
1890
- "van-pagination/v-model": {
1891
- "type": "number",
1892
- "description": "当前页码, 默认值: -"
1893
- },
1894
- "van-pagination/mode": {
1895
- "type": "string",
1896
- "description": "显示模式,可选值为 `simple`, 默认值: `multi`"
1897
- },
1898
- "van-pagination/prev-text": {
1899
- "type": "string",
1900
- "description": "上一页按钮文字, 默认值: `上一页`"
1901
- },
1902
- "van-pagination/next-text": {
1903
- "type": "string",
1904
- "description": "下一页按钮文字, 默认值: `下一页`"
1905
- },
1906
- "van-pagination/page-count": {
1907
- "type": "number | string",
1908
- "description": "总页数, 默认值: 根据页数计算"
1909
- },
1910
- "van-pagination/total-items": {
1911
- "type": "number | string",
1912
- "description": "总记录数, 默认值: `0`"
1913
- },
1914
- "van-pagination/items-per-page": {
1915
- "type": "number | string",
1916
- "description": "每页记录数, 默认值: `10`"
1917
- },
1918
- "van-pagination/show-page-size": {
1919
- "type": "number | string",
1920
- "description": "显示的页码个数, 默认值: `5`"
1921
- },
1922
- "van-pagination/force-ellipses": {
1923
- "type": "boolean",
1924
- "description": "是否显示省略号, 默认值: `false`"
1925
- },
1926
1890
  "van-number-keyboard/v-model (value)": {
1927
1891
  "type": "string",
1928
1892
  "description": "当前输入值, 默认值: -"
@@ -1987,6 +1951,42 @@
1987
1951
  "type": "boolean",
1988
1952
  "description": "是否将通过随机顺序展示按键, 默认值: `false`"
1989
1953
  },
1954
+ "van-pagination/v-model": {
1955
+ "type": "number",
1956
+ "description": "当前页码, 默认值: -"
1957
+ },
1958
+ "van-pagination/mode": {
1959
+ "type": "string",
1960
+ "description": "显示模式,可选值为 `simple`, 默认值: `multi`"
1961
+ },
1962
+ "van-pagination/prev-text": {
1963
+ "type": "string",
1964
+ "description": "上一页按钮文字, 默认值: `上一页`"
1965
+ },
1966
+ "van-pagination/next-text": {
1967
+ "type": "string",
1968
+ "description": "下一页按钮文字, 默认值: `下一页`"
1969
+ },
1970
+ "van-pagination/page-count": {
1971
+ "type": "number | string",
1972
+ "description": "总页数, 默认值: 根据页数计算"
1973
+ },
1974
+ "van-pagination/total-items": {
1975
+ "type": "number | string",
1976
+ "description": "总记录数, 默认值: `0`"
1977
+ },
1978
+ "van-pagination/items-per-page": {
1979
+ "type": "number | string",
1980
+ "description": "每页记录数, 默认值: `10`"
1981
+ },
1982
+ "van-pagination/show-page-size": {
1983
+ "type": "number | string",
1984
+ "description": "显示的页码个数, 默认值: `5`"
1985
+ },
1986
+ "van-pagination/force-ellipses": {
1987
+ "type": "boolean",
1988
+ "description": "是否显示省略号, 默认值: `false`"
1989
+ },
1990
1990
  "van-overlay/show": {
1991
1991
  "type": "boolean",
1992
1992
  "description": "是否展示遮罩层, 默认值: `false`"
@@ -2011,22 +2011,6 @@
2011
2011
  "type": "boolean",
2012
2012
  "description": "是否锁定背景滚动,锁定时蒙层里的内容也将无法滚动, 默认值: `true`"
2013
2013
  },
2014
- "van-panel/title": {
2015
- "type": "string",
2016
- "description": "标题, 默认值: -"
2017
- },
2018
- "van-panel/desc": {
2019
- "type": "string",
2020
- "description": "描述, 默认值: -"
2021
- },
2022
- "van-panel/status": {
2023
- "type": "string",
2024
- "description": "状态, 默认值: -"
2025
- },
2026
- "van-panel/icon": {
2027
- "type": "string",
2028
- "description": "标题左侧[图标名称](#/zh-CN/icon)或图片链接, 默认值: -"
2029
- },
2030
2014
  "van-password-input/value": {
2031
2015
  "type": "string",
2032
2016
  "description": "密码值, 默认值: `''`"
@@ -2055,6 +2039,58 @@
2055
2039
  "type": "boolean",
2056
2040
  "description": "是否已聚焦,聚焦时会显示光标, 默认值: `false`"
2057
2041
  },
2042
+ "van-panel/title": {
2043
+ "type": "string",
2044
+ "description": "标题, 默认值: -"
2045
+ },
2046
+ "van-panel/desc": {
2047
+ "type": "string",
2048
+ "description": "描述, 默认值: -"
2049
+ },
2050
+ "van-panel/status": {
2051
+ "type": "string",
2052
+ "description": "状态, 默认值: -"
2053
+ },
2054
+ "van-panel/icon": {
2055
+ "type": "string",
2056
+ "description": "标题左侧[图标名称](#/zh-CN/icon)或图片链接, 默认值: -"
2057
+ },
2058
+ "van-progress/percentage": {
2059
+ "type": "number | string",
2060
+ "description": "进度百分比, 默认值: `0`"
2061
+ },
2062
+ "van-progress/stroke-width": {
2063
+ "type": "number | string",
2064
+ "description": "进度条粗细,默认单位为`px`, 默认值: `4px`"
2065
+ },
2066
+ "van-progress/color": {
2067
+ "type": "string",
2068
+ "description": "进度条颜色, 默认值: `#1989fa`"
2069
+ },
2070
+ "van-progress/track-color": {
2071
+ "type": "string",
2072
+ "description": "轨道颜色, 默认值: `#e5e5e5`"
2073
+ },
2074
+ "van-progress/pivot-text": {
2075
+ "type": "string",
2076
+ "description": "进度文字内容, 默认值: 百分比"
2077
+ },
2078
+ "van-progress/pivot-color": {
2079
+ "type": "string",
2080
+ "description": "进度文字背景色, 默认值: 同进度条颜色"
2081
+ },
2082
+ "van-progress/text-color": {
2083
+ "type": "string",
2084
+ "description": "进度文字颜色, 默认值: `white`"
2085
+ },
2086
+ "van-progress/inactive": {
2087
+ "type": "boolean",
2088
+ "description": "是否置灰, 默认值: `false`"
2089
+ },
2090
+ "van-progress/show-pivot": {
2091
+ "type": "boolean",
2092
+ "description": "是否显示进度文字, 默认值: `true`"
2093
+ },
2058
2094
  "van-picker/columns": {
2059
2095
  "type": "Column[]",
2060
2096
  "description": "对象数组,配置每一列显示的数据, 默认值: `[]`"
@@ -2111,46 +2147,6 @@
2111
2147
  "type": "number | string",
2112
2148
  "description": "快速滑动时惯性滚动的时长,单位 `ms`, 默认值: `1000`"
2113
2149
  },
2114
- "van-popover/v-model": {
2115
- "type": "boolean",
2116
- "description": "是否展示气泡弹出层, 默认值: `false`"
2117
- },
2118
- "van-popover/actions": {
2119
- "type": "Action[]",
2120
- "description": "选项列表, 默认值: `[]`"
2121
- },
2122
- "van-popover/placement": {
2123
- "type": "string",
2124
- "description": "弹出位置, 默认值: `bottom`"
2125
- },
2126
- "van-popover/theme": {
2127
- "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`"
2153
- },
2154
2150
  "van-popup/v-model (value)": {
2155
2151
  "type": "boolean",
2156
2152
  "description": "是否显示弹出层, 默认值: `false`"
@@ -2223,81 +2219,45 @@
2223
2219
  "type": "boolean",
2224
2220
  "description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei), 默认值: `false`"
2225
2221
  },
2226
- "van-progress/percentage": {
2227
- "type": "number | string",
2228
- "description": "进度百分比, 默认值: `0`"
2229
- },
2230
- "van-progress/stroke-width": {
2231
- "type": "number | string",
2232
- "description": "进度条粗细,默认单位为`px`, 默认值: `4px`"
2222
+ "van-popover/v-model": {
2223
+ "type": "boolean",
2224
+ "description": "是否展示气泡弹出层, 默认值: `false`"
2233
2225
  },
2234
- "van-progress/color": {
2235
- "type": "string",
2236
- "description": "进度条颜色, 默认值: `#1989fa`"
2226
+ "van-popover/actions": {
2227
+ "type": "Action[]",
2228
+ "description": "选项列表, 默认值: `[]`"
2237
2229
  },
2238
- "van-progress/track-color": {
2230
+ "van-popover/placement": {
2239
2231
  "type": "string",
2240
- "description": "轨道颜色, 默认值: `#e5e5e5`"
2232
+ "description": "弹出位置, 默认值: `bottom`"
2241
2233
  },
2242
- "van-progress/pivot-text": {
2234
+ "van-popover/theme": {
2243
2235
  "type": "string",
2244
- "description": "进度文字内容, 默认值: 百分比"
2236
+ "description": "主题风格,可选值为 `dark`, 默认值: `light`"
2245
2237
  },
2246
- "van-progress/pivot-color": {
2247
- "type": "string",
2248
- "description": "进度文字背景色, 默认值: 同进度条颜色"
2238
+ "van-popover/trigger": {
2239
+ "type": "-",
2240
+ "description": "触发方式,可选值为 `click`, 默认值: undefined"
2249
2241
  },
2250
- "van-progress/text-color": {
2251
- "type": "string",
2252
- "description": "进度文字颜色, 默认值: `white`"
2242
+ "van-popover/offset": {
2243
+ "type": "[number, number]",
2244
+ "description": "出现位置的偏移量, 默认值: `[0, 8]`"
2253
2245
  },
2254
- "van-progress/inactive": {
2246
+ "van-popover/overlay": {
2255
2247
  "type": "boolean",
2256
- "description": "是否置灰, 默认值: `false`"
2248
+ "description": "是否显示遮罩层, 默认值: `false`"
2257
2249
  },
2258
- "van-progress/show-pivot": {
2250
+ "van-popover/close-on-click-action": {
2259
2251
  "type": "boolean",
2260
- "description": "是否显示进度文字, 默认值: `true`"
2252
+ "description": "是否在点击选项后关闭, 默认值: `true`"
2261
2253
  },
2262
- "van-pull-refresh/v-model": {
2254
+ "van-popover/close-on-click-outside": {
2263
2255
  "type": "boolean",
2264
- "description": "是否处于加载中状态, 默认值: -"
2265
- },
2266
- "van-pull-refresh/pulling-text": {
2267
- "type": "string",
2268
- "description": "下拉过程提示文案, 默认值: `下拉即可刷新...`"
2269
- },
2270
- "van-pull-refresh/loosing-text": {
2271
- "type": "string",
2272
- "description": "释放过程提示文案, 默认值: `释放即可刷新...`"
2273
- },
2274
- "van-pull-refresh/loading-text": {
2275
- "type": "string",
2276
- "description": "加载过程提示文案, 默认值: `加载中...`"
2277
- },
2278
- "van-pull-refresh/success-text": {
2279
- "type": "string",
2280
- "description": "刷新成功提示文案, 默认值: -"
2281
- },
2282
- "van-pull-refresh/success-duration": {
2283
- "type": "number | string",
2284
- "description": "刷新成功提示展示时长(ms), 默认值: `500`"
2285
- },
2286
- "van-pull-refresh/animation-duration": {
2287
- "type": "number | string",
2288
- "description": "动画时长, 默认值: `300`"
2289
- },
2290
- "van-pull-refresh/head-height": {
2291
- "type": "number | string",
2292
- "description": "顶部内容高度, 默认值: `50`"
2293
- },
2294
- "van-pull-refresh/pull-distance": {
2295
- "type": "number | string",
2296
- "description": "触发下拉刷新的距离, 默认值: 与 `head-height` 一致"
2256
+ "description": "是否在点击外部元素后关闭菜单, 默认值: `true`"
2297
2257
  },
2298
- "van-pull-refresh/disabled": {
2299
- "type": "boolean",
2300
- "description": "是否禁用下拉刷新, 默认值: `false`"
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,69 +2307,45 @@
2347
2307
  "type": "string",
2348
2308
  "description": "所有单选框的选中状态颜色, 默认值: `#1989fa`"
2349
2309
  },
2350
- "van-search/label": {
2351
- "type": "string",
2352
- "description": "搜索框左侧文本, 默认值: -"
2310
+ "van-pull-refresh/v-model": {
2311
+ "type": "boolean",
2312
+ "description": "是否处于加载中状态, 默认值: -"
2353
2313
  },
2354
- "van-search/shape": {
2314
+ "van-pull-refresh/pulling-text": {
2355
2315
  "type": "string",
2356
- "description": "搜索框形状,可选值为 `round`, 默认值: `square`"
2316
+ "description": "下拉过程提示文案, 默认值: `下拉即可刷新...`"
2357
2317
  },
2358
- "van-search/background": {
2318
+ "van-pull-refresh/loosing-text": {
2359
2319
  "type": "string",
2360
- "description": "搜索框外部背景色, 默认值: `#f2f2f2`"
2361
- },
2362
- "van-search/maxlength": {
2363
- "type": "number | string",
2364
- "description": "输入的最大字符数, 默认值: -"
2320
+ "description": "释放过程提示文案, 默认值: `释放即可刷新...`"
2365
2321
  },
2366
- "van-search/placeholder": {
2322
+ "van-pull-refresh/loading-text": {
2367
2323
  "type": "string",
2368
- "description": "占位提示文字, 默认值: -"
2369
- },
2370
- "van-search/clearable": {
2371
- "type": "boolean",
2372
- "description": "是否启用清除图标,点击清除图标后会清空输入框, 默认值: `true`"
2324
+ "description": "加载过程提示文案, 默认值: `加载中...`"
2373
2325
  },
2374
- "van-search/clear-trigger": {
2326
+ "van-pull-refresh/success-text": {
2375
2327
  "type": "string",
2376
- "description": "显示清除图标的时机,`always` 表示输入框不为空时展示,<br>`focus` 表示输入框聚焦且不为空时展示, 默认值: `focus`"
2377
- },
2378
- "van-search/autofocus": {
2379
- "type": "boolean",
2380
- "description": "是否自动聚焦,iOS 系统不支持该属性, 默认值: `false`"
2328
+ "description": "刷新成功提示文案, 默认值: -"
2381
2329
  },
2382
- "van-search/show-action": {
2383
- "type": "boolean",
2384
- "description": "是否在搜索框右侧显示取消按钮, 默认值: `false`"
2330
+ "van-pull-refresh/success-duration": {
2331
+ "type": "number | string",
2332
+ "description": "刷新成功提示展示时长(ms), 默认值: `500`"
2385
2333
  },
2386
- "van-search/action-text": {
2387
- "type": "boolean",
2388
- "description": "取消按钮文字, 默认值: `取消`"
2334
+ "van-pull-refresh/animation-duration": {
2335
+ "type": "number | string",
2336
+ "description": "动画时长, 默认值: `300`"
2389
2337
  },
2390
- "van-search/disabled": {
2391
- "type": "boolean",
2392
- "description": "是否禁用输入框, 默认值: `false`"
2338
+ "van-pull-refresh/head-height": {
2339
+ "type": "number | string",
2340
+ "description": "顶部内容高度, 默认值: `50`"
2393
2341
  },
2394
- "van-search/readonly": {
2395
- "type": "boolean",
2396
- "description": "是否将输入框设为只读, 默认值: `false`"
2342
+ "van-pull-refresh/pull-distance": {
2343
+ "type": "number | string",
2344
+ "description": "触发下拉刷新的距离, 默认值: `head-height` 一致"
2397
2345
  },
2398
- "van-search/error": {
2346
+ "van-pull-refresh/disabled": {
2399
2347
  "type": "boolean",
2400
- "description": "是否将输入内容标红, 默认值: `false`"
2401
- },
2402
- "van-search/input-align": {
2403
- "type": "string",
2404
- "description": "输入框内容对齐方式,可选值为 `center` `right`, 默认值: `left`"
2405
- },
2406
- "van-search/left-icon": {
2407
- "type": "string",
2408
- "description": "输入框左侧[图标名称](#/zh-CN/icon)或图片链接, 默认值: `search`"
2409
- },
2410
- "van-search/right-icon": {
2411
- "type": "string",
2412
- "description": "输入框右侧[图标名称](#/zh-CN/icon)或图片链接, 默认值: -"
2348
+ "description": "是否禁用下拉刷新, 默认值: `false`"
2413
2349
  },
2414
2350
  "van-rate/v-model": {
2415
2351
  "type": "number",
@@ -2467,6 +2403,70 @@
2467
2403
  "type": "boolean",
2468
2404
  "description": "是否可以通过滑动手势选择评分, 默认值: `true`"
2469
2405
  },
2406
+ "van-search/label": {
2407
+ "type": "string",
2408
+ "description": "搜索框左侧文本, 默认值: -"
2409
+ },
2410
+ "van-search/shape": {
2411
+ "type": "string",
2412
+ "description": "搜索框形状,可选值为 `round`, 默认值: `square`"
2413
+ },
2414
+ "van-search/background": {
2415
+ "type": "string",
2416
+ "description": "搜索框外部背景色, 默认值: `#f2f2f2`"
2417
+ },
2418
+ "van-search/maxlength": {
2419
+ "type": "number | string",
2420
+ "description": "输入的最大字符数, 默认值: -"
2421
+ },
2422
+ "van-search/placeholder": {
2423
+ "type": "string",
2424
+ "description": "占位提示文字, 默认值: -"
2425
+ },
2426
+ "van-search/clearable": {
2427
+ "type": "boolean",
2428
+ "description": "是否启用清除图标,点击清除图标后会清空输入框, 默认值: `true`"
2429
+ },
2430
+ "van-search/clear-trigger": {
2431
+ "type": "string",
2432
+ "description": "显示清除图标的时机,`always` 表示输入框不为空时展示,<br>`focus` 表示输入框聚焦且不为空时展示, 默认值: `focus`"
2433
+ },
2434
+ "van-search/autofocus": {
2435
+ "type": "boolean",
2436
+ "description": "是否自动聚焦,iOS 系统不支持该属性, 默认值: `false`"
2437
+ },
2438
+ "van-search/show-action": {
2439
+ "type": "boolean",
2440
+ "description": "是否在搜索框右侧显示取消按钮, 默认值: `false`"
2441
+ },
2442
+ "van-search/action-text": {
2443
+ "type": "boolean",
2444
+ "description": "取消按钮文字, 默认值: `取消`"
2445
+ },
2446
+ "van-search/disabled": {
2447
+ "type": "boolean",
2448
+ "description": "是否禁用输入框, 默认值: `false`"
2449
+ },
2450
+ "van-search/readonly": {
2451
+ "type": "boolean",
2452
+ "description": "是否将输入框设为只读, 默认值: `false`"
2453
+ },
2454
+ "van-search/error": {
2455
+ "type": "boolean",
2456
+ "description": "是否将输入内容标红, 默认值: `false`"
2457
+ },
2458
+ "van-search/input-align": {
2459
+ "type": "string",
2460
+ "description": "输入框内容对齐方式,可选值为 `center` `right`, 默认值: `left`"
2461
+ },
2462
+ "van-search/left-icon": {
2463
+ "type": "string",
2464
+ "description": "输入框左侧[图标名称](#/zh-CN/icon)或图片链接, 默认值: `search`"
2465
+ },
2466
+ "van-search/right-icon": {
2467
+ "type": "string",
2468
+ "description": "输入框右侧[图标名称](#/zh-CN/icon)或图片链接, 默认值: -"
2469
+ },
2470
2470
  "van-share-sheet/options": {
2471
2471
  "type": "Option[]",
2472
2472
  "description": "分享选项, 默认值: `[]`"
@@ -2505,15 +2505,55 @@
2505
2505
  },
2506
2506
  "van-share-sheet/close-on-click-overlay": {
2507
2507
  "type": "boolean",
2508
- "description": "是否在点击遮罩层后关闭, 默认值: `true`"
2508
+ "description": "是否在点击遮罩层后关闭, 默认值: `true`"
2509
+ },
2510
+ "van-share-sheet/safe-area-inset-bottom": {
2511
+ "type": "boolean",
2512
+ "description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei), 默认值: `true`"
2513
+ },
2514
+ "van-share-sheet/get-container": {
2515
+ "type": "string | () => Element",
2516
+ "description": "指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi), 默认值: -"
2517
+ },
2518
+ "van-skeleton/row": {
2519
+ "type": "number | string",
2520
+ "description": "段落占位图行数, 默认值: `0`"
2521
+ },
2522
+ "van-skeleton/row-width": {
2523
+ "type": "number | string \\",
2524
+ "description": "段落占位图宽度,可传数组来设置每一行的宽度, 默认值: <br>(number \\"
2525
+ },
2526
+ "van-skeleton/title": {
2527
+ "type": "boolean",
2528
+ "description": "是否显示标题占位图, 默认值: `false`"
2529
+ },
2530
+ "van-skeleton/avatar": {
2531
+ "type": "boolean",
2532
+ "description": "是否显示头像占位图, 默认值: `false`"
2533
+ },
2534
+ "van-skeleton/loading": {
2535
+ "type": "boolean",
2536
+ "description": "是否显示骨架屏,传 `false` 时会展示子组件内容, 默认值: `true`"
2537
+ },
2538
+ "van-skeleton/animate": {
2539
+ "type": "boolean",
2540
+ "description": "是否开启动画, 默认值: `true`"
2509
2541
  },
2510
- "van-share-sheet/safe-area-inset-bottom": {
2542
+ "van-skeleton/round": {
2511
2543
  "type": "boolean",
2512
- "description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei), 默认值: `true`"
2544
+ "description": "是否将标题和段落显示为圆角风格, 默认值: `false`"
2513
2545
  },
2514
- "van-share-sheet/get-container": {
2515
- "type": "string | () => Element",
2516
- "description": "指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi), 默认值: -"
2546
+ "van-skeleton/title-width": {
2547
+ "type": "number | string",
2548
+ "description": "标题占位图宽度, 默认值: `40%`"
2549
+ },
2550
+ "van-skeleton/avatar-size": {
2551
+ "type": "number | string",
2552
+ "description": "头像占位图大小, 默认值: `32px`"
2553
+ },
2554
+ "van-skeleton/avatar-shape": {
2555
+ "type": "string",
2556
+ "description": "头像占位图形状,可选值为`square`, 默认值: `round`"
2517
2557
  },
2518
2558
  "van-sidebar/v-model": {
2519
2559
  "type": "number | string",
@@ -2551,45 +2591,49 @@
2551
2591
  "type": "boolean",
2552
2592
  "description": "是否在跳转时替换当前页面历史, 默认值: `false`"
2553
2593
  },
2554
- "van-skeleton/row": {
2594
+ "van-slider/value": {
2595
+ "type": "number | array",
2596
+ "description": "当前进度百分比, 默认值: `0`"
2597
+ },
2598
+ "van-slider/max": {
2555
2599
  "type": "number | string",
2556
- "description": "段落占位图行数, 默认值: `0`"
2600
+ "description": "最大值, 默认值: `100`"
2557
2601
  },
2558
- "van-skeleton/row-width": {
2559
- "type": "number | string \\",
2560
- "description": "段落占位图宽度,可传数组来设置每一行的宽度, 默认值: <br>(number \\"
2602
+ "van-slider/min": {
2603
+ "type": "number | string",
2604
+ "description": "最小值, 默认值: `0`"
2561
2605
  },
2562
- "van-skeleton/title": {
2563
- "type": "boolean",
2564
- "description": "是否显示标题占位图, 默认值: `false`"
2606
+ "van-slider/step": {
2607
+ "type": "number | string",
2608
+ "description": "步长, 默认值: `1`"
2565
2609
  },
2566
- "van-skeleton/avatar": {
2567
- "type": "boolean",
2568
- "description": "是否显示头像占位图, 默认值: `false`"
2610
+ "van-slider/bar-height": {
2611
+ "type": "number | string",
2612
+ "description": "进度条高度,默认单位为`px`, 默认值: `2px`"
2569
2613
  },
2570
- "van-skeleton/loading": {
2571
- "type": "boolean",
2572
- "description": "是否显示骨架屏,传 `false` 时会展示子组件内容, 默认值: `true`"
2614
+ "van-slider/button-size": {
2615
+ "type": "number | string",
2616
+ "description": "滑块按钮大小,默认单位为`px`, 默认值: `24px`"
2573
2617
  },
2574
- "van-skeleton/animate": {
2575
- "type": "boolean",
2576
- "description": "是否开启动画, 默认值: `true`"
2618
+ "van-slider/active-color": {
2619
+ "type": "string",
2620
+ "description": "进度条激活态颜色, 默认值: `#1989fa`"
2577
2621
  },
2578
- "van-skeleton/round": {
2579
- "type": "boolean",
2580
- "description": "是否将标题和段落显示为圆角风格, 默认值: `false`"
2622
+ "van-slider/inactive-color": {
2623
+ "type": "string",
2624
+ "description": "进度条非激活态颜色, 默认值: `#e5e5e5`"
2581
2625
  },
2582
- "van-skeleton/title-width": {
2583
- "type": "number | string",
2584
- "description": "标题占位图宽度, 默认值: `40%`"
2626
+ "van-slider/range": {
2627
+ "type": "boolean",
2628
+ "description": "是否开启双滑块模式, 默认值: `false`"
2585
2629
  },
2586
- "van-skeleton/avatar-size": {
2587
- "type": "number | string",
2588
- "description": "头像占位图大小, 默认值: `32px`"
2630
+ "van-slider/disabled": {
2631
+ "type": "boolean",
2632
+ "description": "是否禁用滑块, 默认值: `false`"
2589
2633
  },
2590
- "van-skeleton/avatar-shape": {
2591
- "type": "string",
2592
- "description": "头像占位图形状,可选值为`square`, 默认值: `round`"
2634
+ "van-slider/vertical": {
2635
+ "type": "boolean",
2636
+ "description": "是否垂直展示, 默认值: `false`"
2593
2637
  },
2594
2638
  "van-sku/v-model": {
2595
2639
  "type": "boolean",
@@ -2703,6 +2747,10 @@
2703
2747
  "type": "array",
2704
2748
  "description": "商品属性, 默认值: -"
2705
2749
  },
2750
+ "van-sku/skuProperties": {
2751
+ "type": "array",
2752
+ "description": "规格属性 `v2.13.7`, 默认值: -"
2753
+ },
2706
2754
  "van-sku/preview-on-click-image": {
2707
2755
  "type": "boolean",
2708
2756
  "description": "是否在点击商品图片时自动预览, 默认值: `true`"
@@ -2715,50 +2763,6 @@
2715
2763
  "type": "boolean",
2716
2764
  "description": "是否开启图片懒加载,须配合 [Lazyload](#/zh-CN/lazyload) 组件使用, 默认值: `false`"
2717
2765
  },
2718
- "van-slider/value": {
2719
- "type": "number | array",
2720
- "description": "当前进度百分比, 默认值: `0`"
2721
- },
2722
- "van-slider/max": {
2723
- "type": "number | string",
2724
- "description": "最大值, 默认值: `100`"
2725
- },
2726
- "van-slider/min": {
2727
- "type": "number | string",
2728
- "description": "最小值, 默认值: `0`"
2729
- },
2730
- "van-slider/step": {
2731
- "type": "number | string",
2732
- "description": "步长, 默认值: `1`"
2733
- },
2734
- "van-slider/bar-height": {
2735
- "type": "number | string",
2736
- "description": "进度条高度,默认单位为`px`, 默认值: `2px`"
2737
- },
2738
- "van-slider/button-size": {
2739
- "type": "number | string",
2740
- "description": "滑块按钮大小,默认单位为`px`, 默认值: `24px`"
2741
- },
2742
- "van-slider/active-color": {
2743
- "type": "string",
2744
- "description": "进度条激活态颜色, 默认值: `#1989fa`"
2745
- },
2746
- "van-slider/inactive-color": {
2747
- "type": "string",
2748
- "description": "进度条非激活态颜色, 默认值: `#e5e5e5`"
2749
- },
2750
- "van-slider/range": {
2751
- "type": "boolean",
2752
- "description": "是否开启双滑块模式, 默认值: `false`"
2753
- },
2754
- "van-slider/disabled": {
2755
- "type": "boolean",
2756
- "description": "是否禁用滑块, 默认值: `false`"
2757
- },
2758
- "van-slider/vertical": {
2759
- "type": "boolean",
2760
- "description": "是否垂直展示, 默认值: `false`"
2761
- },
2762
2766
  "van-stepper/v-model": {
2763
2767
  "type": "number | string",
2764
2768
  "description": "当前输入的值, 默认值: -"
@@ -3023,6 +3027,38 @@
3023
3027
  "type": "boolean",
3024
3028
  "description": "是否阻止滑动事件冒泡, 默认值: `false`"
3025
3029
  },
3030
+ "van-switch/v-model": {
3031
+ "type": "any",
3032
+ "description": "开关选中状态, 默认值: `false`"
3033
+ },
3034
+ "van-switch/loading": {
3035
+ "type": "boolean",
3036
+ "description": "是否为加载状态, 默认值: `false`"
3037
+ },
3038
+ "van-switch/disabled": {
3039
+ "type": "boolean",
3040
+ "description": "是否为禁用状态, 默认值: `false`"
3041
+ },
3042
+ "van-switch/size": {
3043
+ "type": "number | string",
3044
+ "description": "开关尺寸,默认单位为`px`, 默认值: `30px`"
3045
+ },
3046
+ "van-switch/active-color": {
3047
+ "type": "string",
3048
+ "description": "打开时的背景色, 默认值: `#1989fa`"
3049
+ },
3050
+ "van-switch/inactive-color": {
3051
+ "type": "string",
3052
+ "description": "关闭时的背景色, 默认值: `white`"
3053
+ },
3054
+ "van-switch/active-value": {
3055
+ "type": "any",
3056
+ "description": "打开时对应的值, 默认值: `true`"
3057
+ },
3058
+ "van-switch/inactive-value": {
3059
+ "type": "any",
3060
+ "description": "关闭时对应的值, 默认值: `false`"
3061
+ },
3026
3062
  "van-switch-cell/v-model": {
3027
3063
  "type": "any",
3028
3064
  "description": "开关状态, 默认值: `false`"
@@ -3067,38 +3103,6 @@
3067
3103
  "type": "any",
3068
3104
  "description": "关闭时的值, 默认值: `false`"
3069
3105
  },
3070
- "van-switch/v-model": {
3071
- "type": "any",
3072
- "description": "开关选中状态, 默认值: `false`"
3073
- },
3074
- "van-switch/loading": {
3075
- "type": "boolean",
3076
- "description": "是否为加载状态, 默认值: `false`"
3077
- },
3078
- "van-switch/disabled": {
3079
- "type": "boolean",
3080
- "description": "是否为禁用状态, 默认值: `false`"
3081
- },
3082
- "van-switch/size": {
3083
- "type": "number | string",
3084
- "description": "开关尺寸,默认单位为`px`, 默认值: `30px`"
3085
- },
3086
- "van-switch/active-color": {
3087
- "type": "string",
3088
- "description": "打开时的背景色, 默认值: `#1989fa`"
3089
- },
3090
- "van-switch/inactive-color": {
3091
- "type": "string",
3092
- "description": "关闭时的背景色, 默认值: `white`"
3093
- },
3094
- "van-switch/active-value": {
3095
- "type": "any",
3096
- "description": "打开时对应的值, 默认值: `true`"
3097
- },
3098
- "van-switch/inactive-value": {
3099
- "type": "any",
3100
- "description": "关闭时对应的值, 默认值: `false`"
3101
- },
3102
3106
  "van-tabs/v-model": {
3103
3107
  "type": "number | string",
3104
3108
  "description": "绑定当前选中标签的标识符, 默认值: `0`"
@@ -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`"
@@ -3410,37 +3446,5 @@
3410
3446
  "van-uploader/upload-icon": {
3411
3447
  "type": "string",
3412
3448
  "description": "上传区域[图标名称](#/zh-CN/icon)或图片链接, 默认值: `photograph`"
3413
- },
3414
- "van-tag/type": {
3415
- "type": "string",
3416
- "description": "类型,可选值为`primary` `success` `danger` `warning`, 默认值: `default`"
3417
- },
3418
- "van-tag/size": {
3419
- "type": "string",
3420
- "description": "大小, 可选值为`large` `medium`, 默认值: -"
3421
- },
3422
- "van-tag/color": {
3423
- "type": "string",
3424
- "description": "标签颜色, 默认值: -"
3425
- },
3426
- "van-tag/plain": {
3427
- "type": "boolean",
3428
- "description": "是否为空心样式, 默认值: `false`"
3429
- },
3430
- "van-tag/round": {
3431
- "type": "boolean",
3432
- "description": "是否为圆角样式, 默认值: `false`"
3433
- },
3434
- "van-tag/mark": {
3435
- "type": "boolean",
3436
- "description": "是否为标记样式, 默认值: `false`"
3437
- },
3438
- "van-tag/text-color": {
3439
- "type": "string",
3440
- "description": "文本颜色,优先级高于`color`属性, 默认值: `white`"
3441
- },
3442
- "van-tag/closeable": {
3443
- "type": "boolean",
3444
- "description": "是否为可关闭标签, 默认值: `false`"
3445
3449
  }
3446
3450
  }