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.
@@ -2,117 +2,203 @@
2
2
  "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
3
  "framework": "vue",
4
4
  "name": "vant",
5
- "version": "2.13.7",
5
+ "version": "2.13.8",
6
6
  "contributions": {
7
7
  "html": {
8
8
  "tags": [
9
9
  {
10
- "name": "van-address-list",
10
+ "name": "van-action-sheet",
11
11
  "slots": [
12
12
  {
13
13
  "name": "default",
14
- "description": "在列表下方插入内容"
15
- },
16
- {
17
- "name": "top",
18
- "description": "在顶部插入内容"
19
- },
20
- {
21
- "name": "item-bottom",
22
- "description": "在列表项底部插入内容"
14
+ "description": "自定义面板的展示内容"
23
15
  },
24
16
  {
25
- "name": "tag",
26
- "description": "列表项标签内容自定义"
17
+ "name": "description",
18
+ "description": "自定义描述文案"
27
19
  }
28
20
  ],
29
21
  "events": [
30
22
  {
31
- "name": "add",
32
- "description": "点击新增按钮时触发"
23
+ "name": "select",
24
+ "description": "点击选项时触发,禁用或加载状态下不会触发"
33
25
  },
34
26
  {
35
- "name": "edit",
36
- "description": "点击编辑按钮时触发"
27
+ "name": "cancel",
28
+ "description": "点击取消按钮时触发"
37
29
  },
38
30
  {
39
- "name": "select",
40
- "description": "切换选中的地址时触发"
31
+ "name": "open",
32
+ "description": "打开面板时触发"
41
33
  },
42
34
  {
43
- "name": "edit-disabled",
44
- "description": "编辑不可配送的地址时触发"
35
+ "name": "close",
36
+ "description": "关闭面板时触发"
45
37
  },
46
38
  {
47
- "name": "select-disabled",
48
- "description": "选中不可配送的地址时触发"
39
+ "name": "opened",
40
+ "description": "打开面板且动画结束后触发"
49
41
  },
50
42
  {
51
- "name": "click-item",
52
- "description": "点击任意地址时触发"
43
+ "name": "closed",
44
+ "description": "关闭面板且动画结束后触发"
45
+ },
46
+ {
47
+ "name": "click-overlay",
48
+ "description": "点击遮罩层时触发"
53
49
  }
54
50
  ],
55
51
  "attributes": [
56
52
  {
57
- "name": "v-model",
58
- "default": "-",
59
- "description": "当前选中地址的 id",
53
+ "name": "v-model (value)",
54
+ "default": "`false`",
55
+ "description": "是否显示动作面板",
60
56
  "value": {
61
- "type": "string",
57
+ "type": "boolean",
62
58
  "kind": "expression"
63
59
  }
64
60
  },
65
61
  {
66
- "name": "list",
62
+ "name": "actions",
67
63
  "default": "`[]`",
68
- "description": "地址列表",
64
+ "description": "面板选项列表",
69
65
  "value": {
70
- "type": "Address[]",
66
+ "type": "Action[]",
71
67
  "kind": "expression"
72
68
  }
73
69
  },
74
70
  {
75
- "name": "disabled-list",
76
- "default": "`[]`",
77
- "description": "不可配送地址列表",
71
+ "name": "title",
72
+ "default": "-",
73
+ "description": "顶部标题",
78
74
  "value": {
79
- "type": "Address[]",
75
+ "type": "string",
80
76
  "kind": "expression"
81
77
  }
82
78
  },
83
79
  {
84
- "name": "disabled-text",
80
+ "name": "cancel-text",
85
81
  "default": "-",
86
- "description": "不可配送提示文案",
82
+ "description": "取消按钮文字",
87
83
  "value": {
88
84
  "type": "string",
89
85
  "kind": "expression"
90
86
  }
91
87
  },
92
88
  {
93
- "name": "switchable",
89
+ "name": "description",
90
+ "default": "-",
91
+ "description": "选项上方的描述信息",
92
+ "value": {
93
+ "type": "string",
94
+ "kind": "expression"
95
+ }
96
+ },
97
+ {
98
+ "name": "closeable",
94
99
  "default": "`true`",
95
- "description": "是否允许切换地址",
100
+ "description": "是否显示关闭图标",
96
101
  "value": {
97
102
  "type": "boolean",
98
103
  "kind": "expression"
99
104
  }
100
105
  },
101
106
  {
102
- "name": "add-button-text",
103
- "default": "`新增地址`",
104
- "description": "底部按钮文字",
107
+ "name": "close-icon",
108
+ "default": "`cross`",
109
+ "description": "关闭[图标名称](#/zh-CN/icon)或图片链接",
105
110
  "value": {
106
111
  "type": "string",
107
112
  "kind": "expression"
108
113
  }
109
114
  },
110
115
  {
111
- "name": "default-tag-text",
116
+ "name": "duration",
117
+ "default": "`0.3`",
118
+ "description": "动画时长,单位秒",
119
+ "value": {
120
+ "type": "number | string",
121
+ "kind": "expression"
122
+ }
123
+ },
124
+ {
125
+ "name": "round",
126
+ "default": "`true`",
127
+ "description": "是否显示圆角",
128
+ "value": {
129
+ "type": "boolean",
130
+ "kind": "expression"
131
+ }
132
+ },
133
+ {
134
+ "name": "overlay",
135
+ "default": "`true`",
136
+ "description": "是否显示遮罩层",
137
+ "value": {
138
+ "type": "boolean",
139
+ "kind": "expression"
140
+ }
141
+ },
142
+ {
143
+ "name": "lock-scroll",
144
+ "default": "`true`",
145
+ "description": "是否锁定背景滚动",
146
+ "value": {
147
+ "type": "boolean",
148
+ "kind": "expression"
149
+ }
150
+ },
151
+ {
152
+ "name": "lazy-render",
153
+ "default": "`true`",
154
+ "description": "是否在显示弹层时才渲染节点",
155
+ "value": {
156
+ "type": "boolean",
157
+ "kind": "expression"
158
+ }
159
+ },
160
+ {
161
+ "name": "close-on-popstate",
162
+ "default": "`false`",
163
+ "description": "是否在页面回退时自动关闭",
164
+ "value": {
165
+ "type": "boolean",
166
+ "kind": "expression"
167
+ }
168
+ },
169
+ {
170
+ "name": "close-on-click-action",
171
+ "default": "`false`",
172
+ "description": "是否在点击选项后关闭",
173
+ "value": {
174
+ "type": "boolean",
175
+ "kind": "expression"
176
+ }
177
+ },
178
+ {
179
+ "name": "close-on-click-overlay",
180
+ "default": "`true`",
181
+ "description": "是否在点击遮罩层后关闭",
182
+ "value": {
183
+ "type": "boolean",
184
+ "kind": "expression"
185
+ }
186
+ },
187
+ {
188
+ "name": "safe-area-inset-bottom",
189
+ "default": "`true`",
190
+ "description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei)",
191
+ "value": {
192
+ "type": "boolean",
193
+ "kind": "expression"
194
+ }
195
+ },
196
+ {
197
+ "name": "get-container",
112
198
  "default": "-",
113
- "description": "默认地址标签文字",
199
+ "description": "指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi)",
114
200
  "value": {
115
- "type": "string",
201
+ "type": "string | () => Element",
116
202
  "kind": "expression"
117
203
  }
118
204
  }
@@ -366,348 +452,262 @@
366
452
  ]
367
453
  },
368
454
  {
369
- "name": "van-area",
455
+ "name": "van-address-list",
370
456
  "slots": [
371
457
  {
372
- "name": "title",
373
- "description": "自定义标题内容"
458
+ "name": "default",
459
+ "description": "在列表下方插入内容"
374
460
  },
375
461
  {
376
- "name": "columns-top",
377
- "description": "自定义选项上方内容"
462
+ "name": "top",
463
+ "description": "在顶部插入内容"
378
464
  },
379
465
  {
380
- "name": "columns-bottom",
381
- "description": "自定义选项下方内容"
466
+ "name": "item-bottom",
467
+ "description": "在列表项底部插入内容"
468
+ },
469
+ {
470
+ "name": "tag",
471
+ "description": "列表项标签内容自定义"
382
472
  }
383
473
  ],
384
474
  "events": [
385
475
  {
386
- "name": "confirm",
387
- "description": "点击右上方完成按钮"
476
+ "name": "add",
477
+ "description": "点击新增按钮时触发"
388
478
  },
389
479
  {
390
- "name": "cancel",
391
- "description": "点击取消按钮时"
480
+ "name": "edit",
481
+ "description": "点击编辑按钮时触发"
392
482
  },
393
483
  {
394
- "name": "change",
395
- "description": "选项改变时触发"
484
+ "name": "select",
485
+ "description": "切换选中的地址时触发"
486
+ },
487
+ {
488
+ "name": "edit-disabled",
489
+ "description": "编辑不可配送的地址时触发"
490
+ },
491
+ {
492
+ "name": "select-disabled",
493
+ "description": "选中不可配送的地址时触发"
494
+ },
495
+ {
496
+ "name": "click-item",
497
+ "description": "点击任意地址时触发"
396
498
  }
397
499
  ],
398
500
  "attributes": [
399
501
  {
400
- "name": "value",
502
+ "name": "v-model",
401
503
  "default": "-",
402
- "description": "当前选中的省市区`code`",
504
+ "description": "当前选中地址的 id",
403
505
  "value": {
404
506
  "type": "string",
405
507
  "kind": "expression"
406
508
  }
407
509
  },
408
510
  {
409
- "name": "title",
410
- "default": "-",
411
- "description": "顶部栏标题",
511
+ "name": "list",
512
+ "default": "`[]`",
513
+ "description": "地址列表",
412
514
  "value": {
413
- "type": "string",
515
+ "type": "Address[]",
414
516
  "kind": "expression"
415
517
  }
416
518
  },
417
519
  {
418
- "name": "confirm-button-text",
419
- "default": "`确认`",
420
- "description": "确认按钮文字",
520
+ "name": "disabled-list",
521
+ "default": "`[]`",
522
+ "description": "不可配送地址列表",
421
523
  "value": {
422
- "type": "string",
524
+ "type": "Address[]",
423
525
  "kind": "expression"
424
526
  }
425
527
  },
426
528
  {
427
- "name": "cancel-button-text",
428
- "default": "`取消`",
429
- "description": "取消按钮文字",
529
+ "name": "disabled-text",
530
+ "default": "-",
531
+ "description": "不可配送提示文案",
430
532
  "value": {
431
533
  "type": "string",
432
534
  "kind": "expression"
433
535
  }
434
536
  },
435
537
  {
436
- "name": "area-list",
437
- "default": "-",
438
- "description": "省市区数据,格式见下方",
538
+ "name": "switchable",
539
+ "default": "`true`",
540
+ "description": "是否允许切换地址",
439
541
  "value": {
440
- "type": "object",
542
+ "type": "boolean",
441
543
  "kind": "expression"
442
544
  }
443
545
  },
444
546
  {
445
- "name": "columns-placeholder",
446
- "default": "`[]`",
447
- "description": "列占位提示文字",
448
- "value": {
449
- "type": "string[]",
450
- "kind": "expression"
451
- }
452
- },
453
- {
454
- "name": "loading",
455
- "default": "`false`",
456
- "description": "是否显示加载状态",
457
- "value": {
458
- "type": "boolean",
459
- "kind": "expression"
460
- }
461
- },
462
- {
463
- "name": "readonly",
464
- "default": "`false`",
465
- "description": "是否为只读状态,只读状态下无法切换选项",
466
- "value": {
467
- "type": "boolean",
468
- "kind": "expression"
469
- }
470
- },
471
- {
472
- "name": "item-height",
473
- "default": "`44`",
474
- "description": "选项高度,支持 `px` `vw` `vh` `rem` 单位,默认 `px`",
475
- "value": {
476
- "type": "number | string",
477
- "kind": "expression"
478
- }
479
- },
480
- {
481
- "name": "columns-num",
482
- "default": "`3`",
483
- "description": "显示列数,3-省市区,2-省市,1-省",
484
- "value": {
485
- "type": "number | string",
486
- "kind": "expression"
487
- }
488
- },
489
- {
490
- "name": "visible-item-count",
491
- "default": "`6`",
492
- "description": "可见的选项个数",
493
- "value": {
494
- "type": "number | string",
495
- "kind": "expression"
496
- }
497
- },
498
- {
499
- "name": "swipe-duration",
500
- "default": "`1000`",
501
- "description": "快速滑动时惯性滚动的时长,单位`ms`",
547
+ "name": "add-button-text",
548
+ "default": "`新增地址`",
549
+ "description": "底部按钮文字",
502
550
  "value": {
503
- "type": "number | string",
551
+ "type": "string",
504
552
  "kind": "expression"
505
553
  }
506
554
  },
507
555
  {
508
- "name": "is-oversea-code",
556
+ "name": "default-tag-text",
509
557
  "default": "-",
510
- "description": "根据`code`校验海外地址,海外地址会划分至单独的分类",
558
+ "description": "默认地址标签文字",
511
559
  "value": {
512
- "type": "() => boolean",
560
+ "type": "string",
513
561
  "kind": "expression"
514
562
  }
515
563
  }
516
564
  ]
517
565
  },
518
566
  {
519
- "name": "van-action-sheet",
567
+ "name": "van-area",
520
568
  "slots": [
521
569
  {
522
- "name": "default",
523
- "description": "自定义面板的展示内容"
570
+ "name": "title",
571
+ "description": "自定义标题内容"
524
572
  },
525
573
  {
526
- "name": "description",
527
- "description": "自定义描述文案"
574
+ "name": "columns-top",
575
+ "description": "自定义选项上方内容"
576
+ },
577
+ {
578
+ "name": "columns-bottom",
579
+ "description": "自定义选项下方内容"
528
580
  }
529
581
  ],
530
582
  "events": [
531
583
  {
532
- "name": "select",
533
- "description": "点击选项时触发,禁用或加载状态下不会触发"
584
+ "name": "confirm",
585
+ "description": "点击右上方完成按钮"
534
586
  },
535
587
  {
536
588
  "name": "cancel",
537
- "description": "点击取消按钮时触发"
538
- },
539
- {
540
- "name": "open",
541
- "description": "打开面板时触发"
542
- },
543
- {
544
- "name": "close",
545
- "description": "关闭面板时触发"
546
- },
547
- {
548
- "name": "opened",
549
- "description": "打开面板且动画结束后触发"
550
- },
551
- {
552
- "name": "closed",
553
- "description": "关闭面板且动画结束后触发"
589
+ "description": "点击取消按钮时"
554
590
  },
555
591
  {
556
- "name": "click-overlay",
557
- "description": "点击遮罩层时触发"
592
+ "name": "change",
593
+ "description": "选项改变时触发"
558
594
  }
559
595
  ],
560
596
  "attributes": [
561
597
  {
562
- "name": "v-model (value)",
563
- "default": "`false`",
564
- "description": "是否显示动作面板",
565
- "value": {
566
- "type": "boolean",
567
- "kind": "expression"
568
- }
569
- },
570
- {
571
- "name": "actions",
572
- "default": "`[]`",
573
- "description": "面板选项列表",
574
- "value": {
575
- "type": "Action[]",
576
- "kind": "expression"
577
- }
578
- },
579
- {
580
- "name": "title",
598
+ "name": "value",
581
599
  "default": "-",
582
- "description": "顶部标题",
600
+ "description": "当前选中的省市区`code`",
583
601
  "value": {
584
602
  "type": "string",
585
603
  "kind": "expression"
586
604
  }
587
605
  },
588
606
  {
589
- "name": "cancel-text",
607
+ "name": "title",
590
608
  "default": "-",
591
- "description": "取消按钮文字",
609
+ "description": "顶部栏标题",
592
610
  "value": {
593
611
  "type": "string",
594
612
  "kind": "expression"
595
613
  }
596
614
  },
597
615
  {
598
- "name": "description",
599
- "default": "-",
600
- "description": "选项上方的描述信息",
616
+ "name": "confirm-button-text",
617
+ "default": "`确认`",
618
+ "description": "确认按钮文字",
601
619
  "value": {
602
620
  "type": "string",
603
621
  "kind": "expression"
604
622
  }
605
623
  },
606
624
  {
607
- "name": "closeable",
608
- "default": "`true`",
609
- "description": "是否显示关闭图标",
610
- "value": {
611
- "type": "boolean",
612
- "kind": "expression"
613
- }
614
- },
615
- {
616
- "name": "close-icon",
617
- "default": "`cross`",
618
- "description": "关闭[图标名称](#/zh-CN/icon)或图片链接",
625
+ "name": "cancel-button-text",
626
+ "default": "`取消`",
627
+ "description": "取消按钮文字",
619
628
  "value": {
620
629
  "type": "string",
621
630
  "kind": "expression"
622
631
  }
623
632
  },
624
633
  {
625
- "name": "duration",
626
- "default": "`0.3`",
627
- "description": "动画时长,单位秒",
628
- "value": {
629
- "type": "number | string",
630
- "kind": "expression"
631
- }
632
- },
633
- {
634
- "name": "round",
635
- "default": "`true`",
636
- "description": "是否显示圆角",
634
+ "name": "area-list",
635
+ "default": "-",
636
+ "description": "省市区数据,格式见下方",
637
637
  "value": {
638
- "type": "boolean",
638
+ "type": "object",
639
639
  "kind": "expression"
640
640
  }
641
641
  },
642
642
  {
643
- "name": "overlay",
644
- "default": "`true`",
645
- "description": "是否显示遮罩层",
643
+ "name": "columns-placeholder",
644
+ "default": "`[]`",
645
+ "description": "列占位提示文字",
646
646
  "value": {
647
- "type": "boolean",
647
+ "type": "string[]",
648
648
  "kind": "expression"
649
649
  }
650
650
  },
651
651
  {
652
- "name": "lock-scroll",
653
- "default": "`true`",
654
- "description": "是否锁定背景滚动",
652
+ "name": "loading",
653
+ "default": "`false`",
654
+ "description": "是否显示加载状态",
655
655
  "value": {
656
656
  "type": "boolean",
657
657
  "kind": "expression"
658
658
  }
659
659
  },
660
660
  {
661
- "name": "lazy-render",
662
- "default": "`true`",
663
- "description": "是否在显示弹层时才渲染节点",
661
+ "name": "readonly",
662
+ "default": "`false`",
663
+ "description": "是否为只读状态,只读状态下无法切换选项",
664
664
  "value": {
665
665
  "type": "boolean",
666
666
  "kind": "expression"
667
667
  }
668
668
  },
669
669
  {
670
- "name": "close-on-popstate",
671
- "default": "`false`",
672
- "description": "是否在页面回退时自动关闭",
670
+ "name": "item-height",
671
+ "default": "`44`",
672
+ "description": "选项高度,支持 `px` `vw` `vh` `rem` 单位,默认 `px`",
673
673
  "value": {
674
- "type": "boolean",
674
+ "type": "number | string",
675
675
  "kind": "expression"
676
676
  }
677
677
  },
678
678
  {
679
- "name": "close-on-click-action",
680
- "default": "`false`",
681
- "description": "是否在点击选项后关闭",
679
+ "name": "columns-num",
680
+ "default": "`3`",
681
+ "description": "显示列数,3-省市区,2-省市,1-省",
682
682
  "value": {
683
- "type": "boolean",
683
+ "type": "number | string",
684
684
  "kind": "expression"
685
685
  }
686
686
  },
687
687
  {
688
- "name": "close-on-click-overlay",
689
- "default": "`true`",
690
- "description": "是否在点击遮罩层后关闭",
688
+ "name": "visible-item-count",
689
+ "default": "`6`",
690
+ "description": "可见的选项个数",
691
691
  "value": {
692
- "type": "boolean",
692
+ "type": "number | string",
693
693
  "kind": "expression"
694
694
  }
695
695
  },
696
696
  {
697
- "name": "safe-area-inset-bottom",
698
- "default": "`true`",
699
- "description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei)",
697
+ "name": "swipe-duration",
698
+ "default": "`1000`",
699
+ "description": "快速滑动时惯性滚动的时长,单位`ms`",
700
700
  "value": {
701
- "type": "boolean",
701
+ "type": "number | string",
702
702
  "kind": "expression"
703
703
  }
704
704
  },
705
705
  {
706
- "name": "get-container",
706
+ "name": "is-oversea-code",
707
707
  "default": "-",
708
- "description": "指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi)",
708
+ "description": "根据`code`校验海外地址,海外地址会划分至单独的分类",
709
709
  "value": {
710
- "type": "string | () => Element",
710
+ "type": "() => boolean",
711
711
  "kind": "expression"
712
712
  }
713
713
  }
@@ -1341,162 +1341,244 @@
1341
1341
  ]
1342
1342
  },
1343
1343
  {
1344
- "name": "van-card",
1344
+ "name": "van-cell-group",
1345
1345
  "slots": [
1346
1346
  {
1347
- "name": "title",
1348
- "description": "自定义标题"
1349
- },
1350
- {
1351
- "name": "desc",
1352
- "description": "自定义描述"
1347
+ "name": "default",
1348
+ "description": "默认插槽"
1353
1349
  },
1354
1350
  {
1355
- "name": "num",
1356
- "description": "自定义数量"
1357
- },
1351
+ "name": "title",
1352
+ "description": "自定义分组标题"
1353
+ }
1354
+ ],
1355
+ "events": [],
1356
+ "attributes": [
1358
1357
  {
1359
- "name": "price",
1360
- "description": "自定义价格"
1358
+ "name": "title",
1359
+ "default": "`-`",
1360
+ "description": "分组标题",
1361
+ "value": {
1362
+ "type": "string",
1363
+ "kind": "expression"
1364
+ }
1361
1365
  },
1362
1366
  {
1363
- "name": "origin-price",
1364
- "description": "自定义商品原价"
1365
- },
1367
+ "name": "border",
1368
+ "default": "`true`",
1369
+ "description": "是否显示外边框",
1370
+ "value": {
1371
+ "type": "boolean",
1372
+ "kind": "expression"
1373
+ }
1374
+ }
1375
+ ]
1376
+ },
1377
+ {
1378
+ "name": "van-cell",
1379
+ "slots": [
1366
1380
  {
1367
- "name": "price-top",
1368
- "description": "自定义价格上方区域"
1381
+ "name": "default",
1382
+ "description": "自定义右侧 value 的内容"
1369
1383
  },
1370
1384
  {
1371
- "name": "bottom",
1372
- "description": "自定义价格下方区域"
1385
+ "name": "title",
1386
+ "description": "自定义左侧 title 的内容"
1373
1387
  },
1374
1388
  {
1375
- "name": "thumb",
1376
- "description": "自定义图片"
1389
+ "name": "label",
1390
+ "description": "自定义标题下方 label 的内容"
1377
1391
  },
1378
1392
  {
1379
- "name": "tag",
1380
- "description": "自定义图片角标"
1393
+ "name": "icon",
1394
+ "description": "自定义左侧图标"
1381
1395
  },
1382
1396
  {
1383
- "name": "tags",
1384
- "description": "自定义描述下方标签区域"
1397
+ "name": "right-icon",
1398
+ "description": "自定义右侧按钮,默认为`arrow`"
1385
1399
  },
1386
1400
  {
1387
- "name": "footer",
1388
- "description": "自定义右下角内容"
1401
+ "name": "extra",
1402
+ "description": "自定义单元格最右侧的额外内容"
1389
1403
  }
1390
1404
  ],
1391
1405
  "events": [
1392
1406
  {
1393
1407
  "name": "click",
1394
- "description": "点击时触发"
1395
- },
1396
- {
1397
- "name": "click-thumb",
1398
- "description": "点击自定义图片时触发"
1408
+ "description": "点击单元格时触发"
1399
1409
  }
1400
1410
  ],
1401
1411
  "attributes": [
1402
1412
  {
1403
- "name": "thumb",
1413
+ "name": "title",
1404
1414
  "default": "-",
1405
- "description": "左侧图片 URL",
1415
+ "description": "左侧标题",
1406
1416
  "value": {
1407
- "type": "string",
1417
+ "type": "number | string",
1408
1418
  "kind": "expression"
1409
1419
  }
1410
1420
  },
1411
1421
  {
1412
- "name": "title",
1422
+ "name": "value",
1413
1423
  "default": "-",
1414
- "description": "标题",
1424
+ "description": "右侧内容",
1415
1425
  "value": {
1416
- "type": "string",
1426
+ "type": "number | string",
1417
1427
  "kind": "expression"
1418
1428
  }
1419
1429
  },
1420
1430
  {
1421
- "name": "desc",
1431
+ "name": "label",
1422
1432
  "default": "-",
1423
- "description": "描述",
1433
+ "description": "标题下方的描述信息",
1424
1434
  "value": {
1425
1435
  "type": "string",
1426
1436
  "kind": "expression"
1427
1437
  }
1428
1438
  },
1429
1439
  {
1430
- "name": "tag",
1440
+ "name": "size",
1431
1441
  "default": "-",
1432
- "description": "图片角标",
1442
+ "description": "单元格大小,可选值为 `large`",
1433
1443
  "value": {
1434
1444
  "type": "string",
1435
1445
  "kind": "expression"
1436
1446
  }
1437
1447
  },
1438
1448
  {
1439
- "name": "num",
1449
+ "name": "icon",
1440
1450
  "default": "-",
1441
- "description": "商品数量",
1451
+ "description": "左侧[图标名称](#/zh-CN/icon)或图片链接",
1442
1452
  "value": {
1443
- "type": "number | string",
1453
+ "type": "string",
1444
1454
  "kind": "expression"
1445
1455
  }
1446
1456
  },
1447
1457
  {
1448
- "name": "price",
1458
+ "name": "icon-prefix",
1459
+ "default": "`van-icon`",
1460
+ "description": "图标类名前缀,同 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props)",
1461
+ "value": {
1462
+ "type": "string",
1463
+ "kind": "expression"
1464
+ }
1465
+ },
1466
+ {
1467
+ "name": "url",
1449
1468
  "default": "-",
1450
- "description": "商品价格",
1469
+ "description": "点击后跳转的链接地址",
1451
1470
  "value": {
1452
- "type": "number | string",
1471
+ "type": "string",
1453
1472
  "kind": "expression"
1454
1473
  }
1455
1474
  },
1456
1475
  {
1457
- "name": "origin-price",
1476
+ "name": "to",
1458
1477
  "default": "-",
1459
- "description": "商品划线原价",
1478
+ "description": "点击后跳转的目标路由对象,同 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to)",
1460
1479
  "value": {
1461
- "type": "number | string",
1480
+ "type": "string | object",
1462
1481
  "kind": "expression"
1463
1482
  }
1464
1483
  },
1465
1484
  {
1466
- "name": "centered",
1485
+ "name": "border",
1486
+ "default": "`true`",
1487
+ "description": "是否显示内边框",
1488
+ "value": {
1489
+ "type": "boolean",
1490
+ "kind": "expression"
1491
+ }
1492
+ },
1493
+ {
1494
+ "name": "replace",
1467
1495
  "default": "`false`",
1468
- "description": "内容是否垂直居中",
1496
+ "description": "是否在跳转时替换当前页面历史",
1469
1497
  "value": {
1470
1498
  "type": "boolean",
1471
1499
  "kind": "expression"
1472
1500
  }
1473
1501
  },
1474
1502
  {
1475
- "name": "currency",
1476
- "default": "`¥`",
1477
- "description": "货币符号",
1503
+ "name": "clickable",
1504
+ "default": "`null`",
1505
+ "description": "是否开启点击反馈",
1478
1506
  "value": {
1479
- "type": "string",
1507
+ "type": "boolean",
1480
1508
  "kind": "expression"
1481
1509
  }
1482
1510
  },
1483
1511
  {
1484
- "name": "thumb-link",
1485
- "default": "-",
1486
- "description": "点击左侧图片后跳转的链接地址",
1512
+ "name": "is-link",
1513
+ "default": "`false`",
1514
+ "description": "是否展示右侧箭头并开启点击反馈",
1487
1515
  "value": {
1488
- "type": "string",
1516
+ "type": "boolean",
1489
1517
  "kind": "expression"
1490
1518
  }
1491
1519
  },
1492
1520
  {
1493
- "name": "lazy-load",
1521
+ "name": "required",
1494
1522
  "default": "`false`",
1495
- "description": "是否开启图片懒加载,须配合 [Lazyload](#/zh-CN/lazyload) 组件使用",
1523
+ "description": "是否显示表单必填星号",
1524
+ "value": {
1525
+ "type": "boolean",
1526
+ "kind": "expression"
1527
+ }
1528
+ },
1529
+ {
1530
+ "name": "center",
1531
+ "default": "`false`",
1532
+ "description": "是否使内容垂直居中",
1496
1533
  "value": {
1497
1534
  "type": "boolean",
1498
1535
  "kind": "expression"
1499
1536
  }
1537
+ },
1538
+ {
1539
+ "name": "arrow-direction",
1540
+ "default": "`right`",
1541
+ "description": "箭头方向,可选值为 `left` `up` `down`",
1542
+ "value": {
1543
+ "type": "string",
1544
+ "kind": "expression"
1545
+ }
1546
+ },
1547
+ {
1548
+ "name": "title-style",
1549
+ "default": "-",
1550
+ "description": "左侧标题额外样式",
1551
+ "value": {
1552
+ "type": "any",
1553
+ "kind": "expression"
1554
+ }
1555
+ },
1556
+ {
1557
+ "name": "title-class",
1558
+ "default": "-",
1559
+ "description": "左侧标题额外类名",
1560
+ "value": {
1561
+ "type": "any",
1562
+ "kind": "expression"
1563
+ }
1564
+ },
1565
+ {
1566
+ "name": "value-class",
1567
+ "default": "-",
1568
+ "description": "右侧内容额外类名",
1569
+ "value": {
1570
+ "type": "any",
1571
+ "kind": "expression"
1572
+ }
1573
+ },
1574
+ {
1575
+ "name": "label-class",
1576
+ "default": "-",
1577
+ "description": "描述信息额外类名",
1578
+ "value": {
1579
+ "type": "any",
1580
+ "kind": "expression"
1581
+ }
1500
1582
  }
1501
1583
  ]
1502
1584
  },
@@ -1602,242 +1684,160 @@
1602
1684
  ]
1603
1685
  },
1604
1686
  {
1605
- "name": "van-cell-group",
1687
+ "name": "van-card",
1606
1688
  "slots": [
1607
- {
1608
- "name": "default",
1609
- "description": "默认插槽"
1610
- },
1611
1689
  {
1612
1690
  "name": "title",
1613
- "description": "自定义分组标题"
1614
- }
1615
- ],
1616
- "events": [],
1617
- "attributes": [
1618
- {
1619
- "name": "title",
1620
- "default": "`-`",
1621
- "description": "分组标题",
1622
- "value": {
1623
- "type": "string",
1624
- "kind": "expression"
1625
- }
1691
+ "description": "自定义标题"
1626
1692
  },
1627
1693
  {
1628
- "name": "border",
1629
- "default": "`true`",
1630
- "description": "是否显示外边框",
1631
- "value": {
1632
- "type": "boolean",
1633
- "kind": "expression"
1634
- }
1635
- }
1636
- ]
1637
- },
1638
- {
1639
- "name": "van-cell",
1640
- "slots": [
1641
- {
1642
- "name": "default",
1643
- "description": "自定义右侧 value 的内容"
1694
+ "name": "desc",
1695
+ "description": "自定义描述"
1644
1696
  },
1645
1697
  {
1646
- "name": "title",
1647
- "description": "自定义左侧 title 的内容"
1698
+ "name": "num",
1699
+ "description": "自定义数量"
1648
1700
  },
1649
1701
  {
1650
- "name": "label",
1651
- "description": "自定义标题下方 label 的内容"
1702
+ "name": "price",
1703
+ "description": "自定义价格"
1652
1704
  },
1653
1705
  {
1654
- "name": "icon",
1655
- "description": "自定义左侧图标"
1706
+ "name": "origin-price",
1707
+ "description": "自定义商品原价"
1656
1708
  },
1657
1709
  {
1658
- "name": "right-icon",
1659
- "description": "自定义右侧按钮,默认为`arrow`"
1710
+ "name": "price-top",
1711
+ "description": "自定义价格上方区域"
1660
1712
  },
1661
1713
  {
1662
- "name": "extra",
1663
- "description": "自定义单元格最右侧的额外内容"
1664
- }
1665
- ],
1666
- "events": [
1667
- {
1668
- "name": "click",
1669
- "description": "点击单元格时触发"
1670
- }
1671
- ],
1672
- "attributes": [
1673
- {
1674
- "name": "title",
1675
- "default": "-",
1676
- "description": "左侧标题",
1677
- "value": {
1678
- "type": "number | string",
1679
- "kind": "expression"
1680
- }
1714
+ "name": "bottom",
1715
+ "description": "自定义价格下方区域"
1681
1716
  },
1682
1717
  {
1683
- "name": "value",
1684
- "default": "-",
1685
- "description": "右侧内容",
1686
- "value": {
1687
- "type": "number | string",
1688
- "kind": "expression"
1689
- }
1718
+ "name": "thumb",
1719
+ "description": "自定义图片"
1690
1720
  },
1691
1721
  {
1692
- "name": "label",
1693
- "default": "-",
1694
- "description": "标题下方的描述信息",
1695
- "value": {
1696
- "type": "string",
1697
- "kind": "expression"
1698
- }
1722
+ "name": "tag",
1723
+ "description": "自定义图片角标"
1699
1724
  },
1700
1725
  {
1701
- "name": "size",
1702
- "default": "-",
1703
- "description": "单元格大小,可选值为 `large`",
1704
- "value": {
1705
- "type": "string",
1706
- "kind": "expression"
1707
- }
1726
+ "name": "tags",
1727
+ "description": "自定义描述下方标签区域"
1708
1728
  },
1709
1729
  {
1710
- "name": "icon",
1711
- "default": "-",
1712
- "description": "左侧[图标名称](#/zh-CN/icon)或图片链接",
1713
- "value": {
1714
- "type": "string",
1715
- "kind": "expression"
1716
- }
1717
- },
1730
+ "name": "footer",
1731
+ "description": "自定义右下角内容"
1732
+ }
1733
+ ],
1734
+ "events": [
1718
1735
  {
1719
- "name": "icon-prefix",
1720
- "default": "`van-icon`",
1721
- "description": "图标类名前缀,同 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props)",
1722
- "value": {
1723
- "type": "string",
1724
- "kind": "expression"
1725
- }
1736
+ "name": "click",
1737
+ "description": "点击时触发"
1726
1738
  },
1727
1739
  {
1728
- "name": "url",
1740
+ "name": "click-thumb",
1741
+ "description": "点击自定义图片时触发"
1742
+ }
1743
+ ],
1744
+ "attributes": [
1745
+ {
1746
+ "name": "thumb",
1729
1747
  "default": "-",
1730
- "description": "点击后跳转的链接地址",
1748
+ "description": "左侧图片 URL",
1731
1749
  "value": {
1732
1750
  "type": "string",
1733
1751
  "kind": "expression"
1734
1752
  }
1735
1753
  },
1736
1754
  {
1737
- "name": "to",
1755
+ "name": "title",
1738
1756
  "default": "-",
1739
- "description": "点击后跳转的目标路由对象,同 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to)",
1757
+ "description": "标题",
1740
1758
  "value": {
1741
- "type": "string | object",
1759
+ "type": "string",
1742
1760
  "kind": "expression"
1743
1761
  }
1744
1762
  },
1745
1763
  {
1746
- "name": "border",
1747
- "default": "`true`",
1748
- "description": "是否显示内边框",
1764
+ "name": "desc",
1765
+ "default": "-",
1766
+ "description": "描述",
1749
1767
  "value": {
1750
- "type": "boolean",
1768
+ "type": "string",
1751
1769
  "kind": "expression"
1752
1770
  }
1753
1771
  },
1754
1772
  {
1755
- "name": "replace",
1756
- "default": "`false`",
1757
- "description": "是否在跳转时替换当前页面历史",
1773
+ "name": "tag",
1774
+ "default": "-",
1775
+ "description": "图片角标",
1758
1776
  "value": {
1759
- "type": "boolean",
1777
+ "type": "string",
1760
1778
  "kind": "expression"
1761
1779
  }
1762
1780
  },
1763
1781
  {
1764
- "name": "clickable",
1765
- "default": "`null`",
1766
- "description": "是否开启点击反馈",
1782
+ "name": "num",
1783
+ "default": "-",
1784
+ "description": "商品数量",
1767
1785
  "value": {
1768
- "type": "boolean",
1786
+ "type": "number | string",
1769
1787
  "kind": "expression"
1770
1788
  }
1771
1789
  },
1772
1790
  {
1773
- "name": "is-link",
1774
- "default": "`false`",
1775
- "description": "是否展示右侧箭头并开启点击反馈",
1791
+ "name": "price",
1792
+ "default": "-",
1793
+ "description": "商品价格",
1776
1794
  "value": {
1777
- "type": "boolean",
1795
+ "type": "number | string",
1778
1796
  "kind": "expression"
1779
1797
  }
1780
1798
  },
1781
1799
  {
1782
- "name": "required",
1783
- "default": "`false`",
1784
- "description": "是否显示表单必填星号",
1800
+ "name": "origin-price",
1801
+ "default": "-",
1802
+ "description": "商品划线原价",
1785
1803
  "value": {
1786
- "type": "boolean",
1804
+ "type": "number | string",
1787
1805
  "kind": "expression"
1788
1806
  }
1789
1807
  },
1790
1808
  {
1791
- "name": "center",
1809
+ "name": "centered",
1792
1810
  "default": "`false`",
1793
- "description": "是否使内容垂直居中",
1811
+ "description": "内容是否垂直居中",
1794
1812
  "value": {
1795
1813
  "type": "boolean",
1796
1814
  "kind": "expression"
1797
1815
  }
1798
1816
  },
1799
1817
  {
1800
- "name": "arrow-direction",
1801
- "default": "`right`",
1802
- "description": "箭头方向,可选值为 `left` `up` `down`",
1818
+ "name": "currency",
1819
+ "default": "`¥`",
1820
+ "description": "货币符号",
1803
1821
  "value": {
1804
1822
  "type": "string",
1805
1823
  "kind": "expression"
1806
1824
  }
1807
1825
  },
1808
1826
  {
1809
- "name": "title-style",
1810
- "default": "-",
1811
- "description": "左侧标题额外样式",
1812
- "value": {
1813
- "type": "any",
1814
- "kind": "expression"
1815
- }
1816
- },
1817
- {
1818
- "name": "title-class",
1819
- "default": "-",
1820
- "description": "左侧标题额外类名",
1821
- "value": {
1822
- "type": "any",
1823
- "kind": "expression"
1824
- }
1825
- },
1826
- {
1827
- "name": "value-class",
1827
+ "name": "thumb-link",
1828
1828
  "default": "-",
1829
- "description": "右侧内容额外类名",
1829
+ "description": "点击左侧图片后跳转的链接地址",
1830
1830
  "value": {
1831
- "type": "any",
1831
+ "type": "string",
1832
1832
  "kind": "expression"
1833
1833
  }
1834
1834
  },
1835
1835
  {
1836
- "name": "label-class",
1837
- "default": "-",
1838
- "description": "描述信息额外类名",
1836
+ "name": "lazy-load",
1837
+ "default": "`false`",
1838
+ "description": "是否开启图片懒加载,须配合 [Lazyload](#/zh-CN/lazyload) 组件使用",
1839
1839
  "value": {
1840
- "type": "any",
1840
+ "type": "boolean",
1841
1841
  "kind": "expression"
1842
1842
  }
1843
1843
  }
@@ -2407,46 +2407,54 @@
2407
2407
  ]
2408
2408
  },
2409
2409
  {
2410
- "name": "van-contact-card",
2410
+ "name": "van-contact-list",
2411
2411
  "slots": [],
2412
2412
  "events": [
2413
2413
  {
2414
- "name": "click",
2415
- "description": "点击时触发"
2414
+ "name": "add",
2415
+ "description": "点击新增按钮时触发"
2416
+ },
2417
+ {
2418
+ "name": "edit",
2419
+ "description": "点击编辑按钮时触发"
2420
+ },
2421
+ {
2422
+ "name": "select",
2423
+ "description": "切换选中的联系人时触发"
2416
2424
  }
2417
2425
  ],
2418
2426
  "attributes": [
2419
2427
  {
2420
- "name": "type",
2421
- "default": "`add`",
2422
- "description": "卡片类型,可选值为 `edit`",
2428
+ "name": "v-model",
2429
+ "default": "-",
2430
+ "description": "当前选中联系人的 id",
2423
2431
  "value": {
2424
- "type": "string",
2432
+ "type": "number | string",
2425
2433
  "kind": "expression"
2426
2434
  }
2427
2435
  },
2428
2436
  {
2429
- "name": "name",
2430
- "default": "-",
2431
- "description": "联系人姓名",
2437
+ "name": "list",
2438
+ "default": "`[]`",
2439
+ "description": "联系人列表",
2432
2440
  "value": {
2433
- "type": "string",
2441
+ "type": "Contact[]",
2434
2442
  "kind": "expression"
2435
2443
  }
2436
2444
  },
2437
2445
  {
2438
- "name": "tel",
2439
- "default": "-",
2440
- "description": "联系人手机号",
2446
+ "name": "add-text",
2447
+ "default": "`新建联系人`",
2448
+ "description": "新建按钮文案",
2441
2449
  "value": {
2442
2450
  "type": "string",
2443
2451
  "kind": "expression"
2444
2452
  }
2445
2453
  },
2446
2454
  {
2447
- "name": "add-text",
2448
- "default": "`添加联系人`",
2449
- "description": "添加时的文案提示",
2455
+ "name": "default-tag-text",
2456
+ "default": "-",
2457
+ "description": "默认联系人标签文案",
2450
2458
  "value": {
2451
2459
  "type": "string",
2452
2460
  "kind": "expression"
@@ -2534,54 +2542,46 @@
2534
2542
  ]
2535
2543
  },
2536
2544
  {
2537
- "name": "van-contact-list",
2545
+ "name": "van-contact-card",
2538
2546
  "slots": [],
2539
2547
  "events": [
2540
2548
  {
2541
- "name": "add",
2542
- "description": "点击新增按钮时触发"
2543
- },
2544
- {
2545
- "name": "edit",
2546
- "description": "点击编辑按钮时触发"
2547
- },
2548
- {
2549
- "name": "select",
2550
- "description": "切换选中的联系人时触发"
2549
+ "name": "click",
2550
+ "description": "点击时触发"
2551
2551
  }
2552
2552
  ],
2553
2553
  "attributes": [
2554
2554
  {
2555
- "name": "v-model",
2556
- "default": "-",
2557
- "description": "当前选中联系人的 id",
2555
+ "name": "type",
2556
+ "default": "`add`",
2557
+ "description": "卡片类型,可选值为 `edit`",
2558
2558
  "value": {
2559
- "type": "number | string",
2559
+ "type": "string",
2560
2560
  "kind": "expression"
2561
2561
  }
2562
2562
  },
2563
2563
  {
2564
- "name": "list",
2565
- "default": "`[]`",
2566
- "description": "联系人列表",
2564
+ "name": "name",
2565
+ "default": "-",
2566
+ "description": "联系人姓名",
2567
2567
  "value": {
2568
- "type": "Contact[]",
2568
+ "type": "string",
2569
2569
  "kind": "expression"
2570
2570
  }
2571
2571
  },
2572
2572
  {
2573
- "name": "add-text",
2574
- "default": "`新建联系人`",
2575
- "description": "新建按钮文案",
2573
+ "name": "tel",
2574
+ "default": "-",
2575
+ "description": "联系人手机号",
2576
2576
  "value": {
2577
2577
  "type": "string",
2578
2578
  "kind": "expression"
2579
2579
  }
2580
2580
  },
2581
2581
  {
2582
- "name": "default-tag-text",
2583
- "default": "-",
2584
- "description": "默认联系人标签文案",
2582
+ "name": "add-text",
2583
+ "default": "`添加联系人`",
2584
+ "description": "添加时的文案提示",
2585
2585
  "value": {
2586
2586
  "type": "string",
2587
2587
  "kind": "expression"
@@ -3415,53 +3415,6 @@
3415
3415
  }
3416
3416
  ]
3417
3417
  },
3418
- {
3419
- "name": "van-empty",
3420
- "slots": [
3421
- {
3422
- "name": "default",
3423
- "description": "自定义底部内容"
3424
- },
3425
- {
3426
- "name": "image",
3427
- "description": "自定义图标"
3428
- },
3429
- {
3430
- "name": "description",
3431
- "description": "自定义描述文字"
3432
- }
3433
- ],
3434
- "events": [],
3435
- "attributes": [
3436
- {
3437
- "name": "image",
3438
- "default": "`default`",
3439
- "description": "图片类型,可选值为 `error` `network` `search`,支持传入图片 URL",
3440
- "value": {
3441
- "type": "string",
3442
- "kind": "expression"
3443
- }
3444
- },
3445
- {
3446
- "name": "image-size",
3447
- "default": "-",
3448
- "description": "图片大小,默认单位为 `px`",
3449
- "value": {
3450
- "type": "number | string",
3451
- "kind": "expression"
3452
- }
3453
- },
3454
- {
3455
- "name": "description",
3456
- "default": "-",
3457
- "description": "图片下方的描述文字",
3458
- "value": {
3459
- "type": "string",
3460
- "kind": "expression"
3461
- }
3462
- }
3463
- ]
3464
- },
3465
3418
  {
3466
3419
  "name": "van-dropdown-menu",
3467
3420
  "slots": [],
@@ -3604,29 +3557,76 @@
3604
3557
  }
3605
3558
  },
3606
3559
  {
3607
- "name": "lazy-render",
3608
- "default": "`true`",
3609
- "description": "是否在首次展开时才渲染菜单内容",
3560
+ "name": "lazy-render",
3561
+ "default": "`true`",
3562
+ "description": "是否在首次展开时才渲染菜单内容",
3563
+ "value": {
3564
+ "type": "boolean",
3565
+ "kind": "expression"
3566
+ }
3567
+ },
3568
+ {
3569
+ "name": "title-class",
3570
+ "default": "-",
3571
+ "description": "标题额外类名",
3572
+ "value": {
3573
+ "type": "string",
3574
+ "kind": "expression"
3575
+ }
3576
+ },
3577
+ {
3578
+ "name": "get-container",
3579
+ "default": "-",
3580
+ "description": "指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi)",
3581
+ "value": {
3582
+ "type": "string | () => Element",
3583
+ "kind": "expression"
3584
+ }
3585
+ }
3586
+ ]
3587
+ },
3588
+ {
3589
+ "name": "van-empty",
3590
+ "slots": [
3591
+ {
3592
+ "name": "default",
3593
+ "description": "自定义底部内容"
3594
+ },
3595
+ {
3596
+ "name": "image",
3597
+ "description": "自定义图标"
3598
+ },
3599
+ {
3600
+ "name": "description",
3601
+ "description": "自定义描述文字"
3602
+ }
3603
+ ],
3604
+ "events": [],
3605
+ "attributes": [
3606
+ {
3607
+ "name": "image",
3608
+ "default": "`default`",
3609
+ "description": "图片类型,可选值为 `error` `network` `search`,支持传入图片 URL",
3610
3610
  "value": {
3611
- "type": "boolean",
3611
+ "type": "string",
3612
3612
  "kind": "expression"
3613
3613
  }
3614
3614
  },
3615
3615
  {
3616
- "name": "title-class",
3616
+ "name": "image-size",
3617
3617
  "default": "-",
3618
- "description": "标题额外类名",
3618
+ "description": "图片大小,默认单位为 `px`",
3619
3619
  "value": {
3620
- "type": "string",
3620
+ "type": "number | string",
3621
3621
  "kind": "expression"
3622
3622
  }
3623
3623
  },
3624
3624
  {
3625
- "name": "get-container",
3625
+ "name": "description",
3626
3626
  "default": "-",
3627
- "description": "指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi)",
3627
+ "description": "图片下方的描述文字",
3628
3628
  "value": {
3629
- "type": "string | () => Element",
3629
+ "type": "string",
3630
3630
  "kind": "expression"
3631
3631
  }
3632
3632
  }
@@ -4006,7 +4006,222 @@
4006
4006
  "default": "-",
4007
4007
  "description": "input 标签原生的[自动完成属性](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete)",
4008
4008
  "value": {
4009
- "type": "string",
4009
+ "type": "string",
4010
+ "kind": "expression"
4011
+ }
4012
+ }
4013
+ ]
4014
+ },
4015
+ {
4016
+ "name": "van-goods-action",
4017
+ "slots": [],
4018
+ "events": [],
4019
+ "attributes": [
4020
+ {
4021
+ "name": "safe-area-inset-bottom",
4022
+ "default": "`true`",
4023
+ "description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei)",
4024
+ "value": {
4025
+ "type": "boolean",
4026
+ "kind": "expression"
4027
+ }
4028
+ }
4029
+ ]
4030
+ },
4031
+ {
4032
+ "name": "van-goods-action-icon",
4033
+ "slots": [
4034
+ {
4035
+ "name": "default",
4036
+ "description": "文本内容"
4037
+ },
4038
+ {
4039
+ "name": "icon",
4040
+ "description": "自定义图标"
4041
+ }
4042
+ ],
4043
+ "events": [],
4044
+ "attributes": [
4045
+ {
4046
+ "name": "text",
4047
+ "default": "-",
4048
+ "description": "按钮文字",
4049
+ "value": {
4050
+ "type": "string",
4051
+ "kind": "expression"
4052
+ }
4053
+ },
4054
+ {
4055
+ "name": "icon",
4056
+ "default": "-",
4057
+ "description": "图标",
4058
+ "value": {
4059
+ "type": "string",
4060
+ "kind": "expression"
4061
+ }
4062
+ },
4063
+ {
4064
+ "name": "color",
4065
+ "default": "`#323233`",
4066
+ "description": "图标颜色",
4067
+ "value": {
4068
+ "type": "string",
4069
+ "kind": "expression"
4070
+ }
4071
+ },
4072
+ {
4073
+ "name": "icon-class",
4074
+ "default": "-",
4075
+ "description": "图标额外类名",
4076
+ "value": {
4077
+ "type": "any",
4078
+ "kind": "expression"
4079
+ }
4080
+ },
4081
+ {
4082
+ "name": "dot",
4083
+ "default": "`false`",
4084
+ "description": "是否显示图标右上角小红点",
4085
+ "value": {
4086
+ "type": "boolean",
4087
+ "kind": "expression"
4088
+ }
4089
+ },
4090
+ {
4091
+ "name": "badge",
4092
+ "default": "-",
4093
+ "description": "图标右上角徽标的内容",
4094
+ "value": {
4095
+ "type": "number | string",
4096
+ "kind": "expression"
4097
+ }
4098
+ },
4099
+ {
4100
+ "name": "info",
4101
+ "default": "-",
4102
+ "description": "图标右上角徽标的内容(已废弃,请使用 badge 属性)",
4103
+ "value": {
4104
+ "type": "number | string",
4105
+ "kind": "expression"
4106
+ }
4107
+ },
4108
+ {
4109
+ "name": "url",
4110
+ "default": "-",
4111
+ "description": "点击后跳转的链接地址",
4112
+ "value": {
4113
+ "type": "string",
4114
+ "kind": "expression"
4115
+ }
4116
+ },
4117
+ {
4118
+ "name": "to",
4119
+ "default": "-",
4120
+ "description": "点击后跳转的目标路由对象,同 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to)",
4121
+ "value": {
4122
+ "type": "string | object",
4123
+ "kind": "expression"
4124
+ }
4125
+ },
4126
+ {
4127
+ "name": "replace",
4128
+ "default": "`false`",
4129
+ "description": "是否在跳转时替换当前页面历史",
4130
+ "value": {
4131
+ "type": "boolean",
4132
+ "kind": "expression"
4133
+ }
4134
+ }
4135
+ ]
4136
+ },
4137
+ {
4138
+ "name": "van-goods-action-button",
4139
+ "slots": [
4140
+ {
4141
+ "name": "default",
4142
+ "description": "按钮显示内容"
4143
+ }
4144
+ ],
4145
+ "events": [],
4146
+ "attributes": [
4147
+ {
4148
+ "name": "text",
4149
+ "default": "-",
4150
+ "description": "按钮文字",
4151
+ "value": {
4152
+ "type": "string",
4153
+ "kind": "expression"
4154
+ }
4155
+ },
4156
+ {
4157
+ "name": "type",
4158
+ "default": "`default`",
4159
+ "description": "按钮类型,可选值为 `primary` `info` `warning` `danger`",
4160
+ "value": {
4161
+ "type": "string",
4162
+ "kind": "expression"
4163
+ }
4164
+ },
4165
+ {
4166
+ "name": "color",
4167
+ "default": "-",
4168
+ "description": "按钮颜色,支持传入`linear-gradient`渐变色",
4169
+ "value": {
4170
+ "type": "string",
4171
+ "kind": "expression"
4172
+ }
4173
+ },
4174
+ {
4175
+ "name": "icon",
4176
+ "default": "-",
4177
+ "description": "左侧[图标名称](#/zh-CN/icon)或图片链接",
4178
+ "value": {
4179
+ "type": "string",
4180
+ "kind": "expression"
4181
+ }
4182
+ },
4183
+ {
4184
+ "name": "disabled",
4185
+ "default": "`false`",
4186
+ "description": "是否禁用按钮",
4187
+ "value": {
4188
+ "type": "boolean",
4189
+ "kind": "expression"
4190
+ }
4191
+ },
4192
+ {
4193
+ "name": "loading",
4194
+ "default": "`false`",
4195
+ "description": "是否显示为加载状态",
4196
+ "value": {
4197
+ "type": "boolean",
4198
+ "kind": "expression"
4199
+ }
4200
+ },
4201
+ {
4202
+ "name": "url",
4203
+ "default": "-",
4204
+ "description": "点击后跳转的链接地址",
4205
+ "value": {
4206
+ "type": "string",
4207
+ "kind": "expression"
4208
+ }
4209
+ },
4210
+ {
4211
+ "name": "to",
4212
+ "default": "-",
4213
+ "description": "点击后跳转的目标路由对象,同 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to)",
4214
+ "value": {
4215
+ "type": "string | object",
4216
+ "kind": "expression"
4217
+ }
4218
+ },
4219
+ {
4220
+ "name": "replace",
4221
+ "default": "`false`",
4222
+ "description": "是否在跳转时替换当前页面历史",
4223
+ "value": {
4224
+ "type": "boolean",
4010
4225
  "kind": "expression"
4011
4226
  }
4012
4227
  }
@@ -4151,71 +4366,24 @@
4151
4366
  ]
4152
4367
  },
4153
4368
  {
4154
- "name": "van-goods-action",
4369
+ "name": "van-icon",
4155
4370
  "slots": [],
4156
- "events": [],
4157
- "attributes": [
4158
- {
4159
- "name": "safe-area-inset-bottom",
4160
- "default": "`true`",
4161
- "description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei)",
4162
- "value": {
4163
- "type": "boolean",
4164
- "kind": "expression"
4165
- }
4166
- }
4167
- ]
4168
- },
4169
- {
4170
- "name": "van-goods-action-icon",
4171
- "slots": [
4172
- {
4173
- "name": "default",
4174
- "description": "文本内容"
4175
- },
4371
+ "events": [
4176
4372
  {
4177
- "name": "icon",
4178
- "description": "自定义图标"
4373
+ "name": "click",
4374
+ "description": "点击图标时触发"
4179
4375
  }
4180
4376
  ],
4181
- "events": [],
4182
4377
  "attributes": [
4183
4378
  {
4184
- "name": "text",
4185
- "default": "-",
4186
- "description": "按钮文字",
4187
- "value": {
4188
- "type": "string",
4189
- "kind": "expression"
4190
- }
4191
- },
4192
- {
4193
- "name": "icon",
4379
+ "name": "name",
4194
4380
  "default": "-",
4195
- "description": "图标",
4196
- "value": {
4197
- "type": "string",
4198
- "kind": "expression"
4199
- }
4200
- },
4201
- {
4202
- "name": "color",
4203
- "default": "`#323233`",
4204
- "description": "图标颜色",
4381
+ "description": "图标名称或图片链接",
4205
4382
  "value": {
4206
4383
  "type": "string",
4207
4384
  "kind": "expression"
4208
4385
  }
4209
4386
  },
4210
- {
4211
- "name": "icon-class",
4212
- "default": "-",
4213
- "description": "图标额外类名",
4214
- "value": {
4215
- "type": "any",
4216
- "kind": "expression"
4217
- }
4218
- },
4219
4387
  {
4220
4388
  "name": "dot",
4221
4389
  "default": "`false`",
@@ -4243,123 +4411,39 @@
4243
4411
  "kind": "expression"
4244
4412
  }
4245
4413
  },
4246
- {
4247
- "name": "url",
4248
- "default": "-",
4249
- "description": "点击后跳转的链接地址",
4250
- "value": {
4251
- "type": "string",
4252
- "kind": "expression"
4253
- }
4254
- },
4255
- {
4256
- "name": "to",
4257
- "default": "-",
4258
- "description": "点击后跳转的目标路由对象,同 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to)",
4259
- "value": {
4260
- "type": "string | object",
4261
- "kind": "expression"
4262
- }
4263
- },
4264
- {
4265
- "name": "replace",
4266
- "default": "`false`",
4267
- "description": "是否在跳转时替换当前页面历史",
4268
- "value": {
4269
- "type": "boolean",
4270
- "kind": "expression"
4271
- }
4272
- }
4273
- ]
4274
- },
4275
- {
4276
- "name": "van-goods-action-button",
4277
- "slots": [
4278
- {
4279
- "name": "default",
4280
- "description": "按钮显示内容"
4281
- }
4282
- ],
4283
- "events": [],
4284
- "attributes": [
4285
- {
4286
- "name": "text",
4287
- "default": "-",
4288
- "description": "按钮文字",
4289
- "value": {
4290
- "type": "string",
4291
- "kind": "expression"
4292
- }
4293
- },
4294
- {
4295
- "name": "type",
4296
- "default": "`default`",
4297
- "description": "按钮类型,可选值为 `primary` `info` `warning` `danger`",
4298
- "value": {
4299
- "type": "string",
4300
- "kind": "expression"
4301
- }
4302
- },
4303
4414
  {
4304
4415
  "name": "color",
4305
- "default": "-",
4306
- "description": "按钮颜色,支持传入`linear-gradient`渐变色",
4307
- "value": {
4308
- "type": "string",
4309
- "kind": "expression"
4310
- }
4311
- },
4312
- {
4313
- "name": "icon",
4314
- "default": "-",
4315
- "description": "左侧[图标名称](#/zh-CN/icon)或图片链接",
4416
+ "default": "`inherit`",
4417
+ "description": "图标颜色",
4316
4418
  "value": {
4317
4419
  "type": "string",
4318
4420
  "kind": "expression"
4319
4421
  }
4320
4422
  },
4321
4423
  {
4322
- "name": "disabled",
4323
- "default": "`false`",
4324
- "description": "是否禁用按钮",
4325
- "value": {
4326
- "type": "boolean",
4327
- "kind": "expression"
4328
- }
4329
- },
4330
- {
4331
- "name": "loading",
4332
- "default": "`false`",
4333
- "description": "是否显示为加载状态",
4424
+ "name": "size",
4425
+ "default": "`inherit`",
4426
+ "description": "图标大小,如 `20px` `2em`,默认单位为`px`",
4334
4427
  "value": {
4335
- "type": "boolean",
4428
+ "type": "number | string",
4336
4429
  "kind": "expression"
4337
4430
  }
4338
4431
  },
4339
4432
  {
4340
- "name": "url",
4341
- "default": "-",
4342
- "description": "点击后跳转的链接地址",
4433
+ "name": "class-prefix",
4434
+ "default": "`van-icon`",
4435
+ "description": "类名前缀,用于使用自定义图标",
4343
4436
  "value": {
4344
4437
  "type": "string",
4345
4438
  "kind": "expression"
4346
4439
  }
4347
4440
  },
4348
4441
  {
4349
- "name": "to",
4350
- "default": "-",
4351
- "description": "点击后跳转的目标路由对象,同 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to)",
4352
- "value": {
4353
- "type": "string | object",
4354
- "kind": "expression"
4355
- }
4356
- },
4357
- {
4358
- "name": "replace",
4359
- "default": "`false`",
4360
- "description": "是否在跳转时替换当前页面历史",
4442
+ "name": "tag",
4443
+ "default": "`i`",
4444
+ "description": "HTML 标签",
4361
4445
  "value": {
4362
- "type": "boolean",
4446
+ "type": "string",
4363
4447
  "kind": "expression"
4364
4448
  }
4365
4449
  }
@@ -4524,111 +4608,27 @@
4524
4608
  {
4525
4609
  "name": "url",
4526
4610
  "default": "-",
4527
- "description": "点击后跳转的链接地址",
4528
- "value": {
4529
- "type": "string",
4530
- "kind": "expression"
4531
- }
4532
- },
4533
- {
4534
- "name": "to",
4535
- "default": "-",
4536
- "description": "点击后跳转的目标路由对象,同 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to)",
4537
- "value": {
4538
- "type": "string | object",
4539
- "kind": "expression"
4540
- }
4541
- },
4542
- {
4543
- "name": "replace",
4544
- "default": "`false`",
4545
- "description": "是否在跳转时替换当前页面历史",
4546
- "value": {
4547
- "type": "boolean",
4548
- "kind": "expression"
4549
- }
4550
- }
4551
- ]
4552
- },
4553
- {
4554
- "name": "van-icon",
4555
- "slots": [],
4556
- "events": [
4557
- {
4558
- "name": "click",
4559
- "description": "点击图标时触发"
4560
- }
4561
- ],
4562
- "attributes": [
4563
- {
4564
- "name": "name",
4565
- "default": "-",
4566
- "description": "图标名称或图片链接",
4567
- "value": {
4568
- "type": "string",
4569
- "kind": "expression"
4570
- }
4571
- },
4572
- {
4573
- "name": "dot",
4574
- "default": "`false`",
4575
- "description": "是否显示图标右上角小红点",
4576
- "value": {
4577
- "type": "boolean",
4578
- "kind": "expression"
4579
- }
4580
- },
4581
- {
4582
- "name": "badge",
4583
- "default": "-",
4584
- "description": "图标右上角徽标的内容",
4585
- "value": {
4586
- "type": "number | string",
4587
- "kind": "expression"
4588
- }
4589
- },
4590
- {
4591
- "name": "info",
4592
- "default": "-",
4593
- "description": "图标右上角徽标的内容(已废弃,请使用 badge 属性)",
4594
- "value": {
4595
- "type": "number | string",
4596
- "kind": "expression"
4597
- }
4598
- },
4599
- {
4600
- "name": "color",
4601
- "default": "`inherit`",
4602
- "description": "图标颜色",
4603
- "value": {
4604
- "type": "string",
4605
- "kind": "expression"
4606
- }
4607
- },
4608
- {
4609
- "name": "size",
4610
- "default": "`inherit`",
4611
- "description": "图标大小,如 `20px` `2em`,默认单位为`px`",
4611
+ "description": "点击后跳转的链接地址",
4612
4612
  "value": {
4613
- "type": "number | string",
4613
+ "type": "string",
4614
4614
  "kind": "expression"
4615
4615
  }
4616
4616
  },
4617
4617
  {
4618
- "name": "class-prefix",
4619
- "default": "`van-icon`",
4620
- "description": "类名前缀,用于使用自定义图标",
4618
+ "name": "to",
4619
+ "default": "-",
4620
+ "description": "点击后跳转的目标路由对象,同 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to)",
4621
4621
  "value": {
4622
- "type": "string",
4622
+ "type": "string | object",
4623
4623
  "kind": "expression"
4624
4624
  }
4625
4625
  },
4626
4626
  {
4627
- "name": "tag",
4628
- "default": "`i`",
4629
- "description": "HTML 标签",
4627
+ "name": "replace",
4628
+ "default": "`false`",
4629
+ "description": "是否在跳转时替换当前页面历史",
4630
4630
  "value": {
4631
- "type": "string",
4631
+ "type": "boolean",
4632
4632
  "kind": "expression"
4633
4633
  }
4634
4634
  }
@@ -4784,6 +4784,88 @@
4784
4784
  }
4785
4785
  ]
4786
4786
  },
4787
+ {
4788
+ "name": "van-index-bar",
4789
+ "slots": [],
4790
+ "events": [
4791
+ {
4792
+ "name": "select",
4793
+ "description": "点击索引栏的字符时触发"
4794
+ },
4795
+ {
4796
+ "name": "change",
4797
+ "description": "当前高亮的索引字符变化时触发"
4798
+ }
4799
+ ],
4800
+ "attributes": [
4801
+ {
4802
+ "name": "index-list",
4803
+ "default": "`A-Z`",
4804
+ "description": "索引字符列表",
4805
+ "value": {
4806
+ "type": "string[] | number[]",
4807
+ "kind": "expression"
4808
+ }
4809
+ },
4810
+ {
4811
+ "name": "z-index",
4812
+ "default": "`1`",
4813
+ "description": "z-index 层级",
4814
+ "value": {
4815
+ "type": "number | string",
4816
+ "kind": "expression"
4817
+ }
4818
+ },
4819
+ {
4820
+ "name": "sticky",
4821
+ "default": "`true`",
4822
+ "description": "是否开启锚点自动吸顶",
4823
+ "value": {
4824
+ "type": "boolean",
4825
+ "kind": "expression"
4826
+ }
4827
+ },
4828
+ {
4829
+ "name": "sticky-offset-top",
4830
+ "default": "`0`",
4831
+ "description": "锚点自动吸顶时与顶部的距离",
4832
+ "value": {
4833
+ "type": "number",
4834
+ "kind": "expression"
4835
+ }
4836
+ },
4837
+ {
4838
+ "name": "highlight-color",
4839
+ "default": "`#ee0a24`",
4840
+ "description": "索引字符高亮颜色",
4841
+ "value": {
4842
+ "type": "string",
4843
+ "kind": "expression"
4844
+ }
4845
+ }
4846
+ ]
4847
+ },
4848
+ {
4849
+ "name": "van-index-anchor",
4850
+ "slots": [
4851
+ {
4852
+ "name": "default",
4853
+ "description": "锚点位置显示内容,默认为索引字符"
4854
+ }
4855
+ ],
4856
+ "events": [],
4857
+ "attributes": [
4858
+ {
4859
+ "name": "index",
4860
+ "default": "-",
4861
+ "description": "索引字符",
4862
+ "value": {
4863
+ "type": "number | string",
4864
+ "kind": "expression"
4865
+ }
4866
+ }
4867
+ ]
4868
+ },
4787
4869
  {
4788
4870
  "name": "van-image-preview",
4789
4871
  "slots": [
@@ -4970,88 +5052,6 @@
4970
5052
  }
4971
5053
  ]
4972
5054
  },
4973
- {
4974
- "name": "van-index-bar",
4975
- "slots": [],
4976
- "events": [
4977
- {
4978
- "name": "select",
4979
- "description": "点击索引栏的字符时触发"
4980
- },
4981
- {
4982
- "name": "change",
4983
- "description": "当前高亮的索引字符变化时触发"
4984
- }
4985
- ],
4986
- "attributes": [
4987
- {
4988
- "name": "index-list",
4989
- "default": "`A-Z`",
4990
- "description": "索引字符列表",
4991
- "value": {
4992
- "type": "string[] | number[]",
4993
- "kind": "expression"
4994
- }
4995
- },
4996
- {
4997
- "name": "z-index",
4998
- "default": "`1`",
4999
- "description": "z-index 层级",
5000
- "value": {
5001
- "type": "number | string",
5002
- "kind": "expression"
5003
- }
5004
- },
5005
- {
5006
- "name": "sticky",
5007
- "default": "`true`",
5008
- "description": "是否开启锚点自动吸顶",
5009
- "value": {
5010
- "type": "boolean",
5011
- "kind": "expression"
5012
- }
5013
- },
5014
- {
5015
- "name": "sticky-offset-top",
5016
- "default": "`0`",
5017
- "description": "锚点自动吸顶时与顶部的距离",
5018
- "value": {
5019
- "type": "number",
5020
- "kind": "expression"
5021
- }
5022
- },
5023
- {
5024
- "name": "highlight-color",
5025
- "default": "`#ee0a24`",
5026
- "description": "索引字符高亮颜色",
5027
- "value": {
5028
- "type": "string",
5029
- "kind": "expression"
5030
- }
5031
- }
5032
- ]
5033
- },
5034
- {
5035
- "name": "van-index-anchor",
5036
- "slots": [
5037
- {
5038
- "name": "default",
5039
- "description": "锚点位置显示内容,默认为索引字符"
5040
- }
5041
- ],
5042
- "events": [],
5043
- "attributes": [
5044
- {
5045
- "name": "index",
5046
- "default": "-",
5047
- "description": "索引字符",
5048
- "value": {
5049
- "type": "number | string",
5050
- "kind": "expression"
5051
- }
5052
- }
5053
- ]
5054
- },
5055
5055
  {
5056
5056
  "name": "van-list",
5057
5057
  "slots": [
@@ -5632,79 +5632,8 @@
5632
5632
  },
5633
5633
  {
5634
5634
  "name": "random-key-order",
5635
- "default": "`false`",
5636
- "description": "是否将通过随机顺序展示按键",
5637
- "value": {
5638
- "type": "boolean",
5639
- "kind": "expression"
5640
- }
5641
- }
5642
- ]
5643
- },
5644
- {
5645
- "name": "van-overlay",
5646
- "slots": [
5647
- {
5648
- "name": "default",
5649
- "description": "默认插槽,用于在遮罩层上方嵌入内容"
5650
- }
5651
- ],
5652
- "events": [
5653
- {
5654
- "name": "click",
5655
- "description": "点击时触发"
5656
- }
5657
- ],
5658
- "attributes": [
5659
- {
5660
- "name": "show",
5661
- "default": "`false`",
5662
- "description": "是否展示遮罩层",
5663
- "value": {
5664
- "type": "boolean",
5665
- "kind": "expression"
5666
- }
5667
- },
5668
- {
5669
- "name": "z-index",
5670
- "default": "`1`",
5671
- "description": "z-index 层级",
5672
- "value": {
5673
- "type": "number | string",
5674
- "kind": "expression"
5675
- }
5676
- },
5677
- {
5678
- "name": "duration",
5679
- "default": "`0.3`",
5680
- "description": "动画时长,单位秒",
5681
- "value": {
5682
- "type": "number | string",
5683
- "kind": "expression"
5684
- }
5685
- },
5686
- {
5687
- "name": "class-name",
5688
- "default": "-",
5689
- "description": "自定义类名",
5690
- "value": {
5691
- "type": "string",
5692
- "kind": "expression"
5693
- }
5694
- },
5695
- {
5696
- "name": "custom-style",
5697
- "default": "-",
5698
- "description": "自定义样式",
5699
- "value": {
5700
- "type": "object",
5701
- "kind": "expression"
5702
- }
5703
- },
5704
- {
5705
- "name": "lock-scroll",
5706
- "default": "`true`",
5707
- "description": "是否锁定背景滚动,锁定时蒙层里的内容也将无法滚动",
5635
+ "default": "`false`",
5636
+ "description": "是否将通过随机顺序展示按键",
5708
5637
  "value": {
5709
5638
  "type": "boolean",
5710
5639
  "kind": "expression"
@@ -5819,56 +5748,71 @@
5819
5748
  ]
5820
5749
  },
5821
5750
  {
5822
- "name": "van-panel",
5751
+ "name": "van-overlay",
5823
5752
  "slots": [
5824
5753
  {
5825
5754
  "name": "default",
5826
- "description": "自定义内容"
5827
- },
5828
- {
5829
- "name": "header",
5830
- "description": "自定义 header"
5831
- },
5755
+ "description": "默认插槽,用于在遮罩层上方嵌入内容"
5756
+ }
5757
+ ],
5758
+ "events": [
5832
5759
  {
5833
- "name": "footer",
5834
- "description": "自定义 footer"
5760
+ "name": "click",
5761
+ "description": "点击时触发"
5835
5762
  }
5836
5763
  ],
5837
- "events": [],
5838
5764
  "attributes": [
5839
5765
  {
5840
- "name": "title",
5841
- "default": "-",
5842
- "description": "标题",
5766
+ "name": "show",
5767
+ "default": "`false`",
5768
+ "description": "是否展示遮罩层",
5843
5769
  "value": {
5844
- "type": "string",
5770
+ "type": "boolean",
5845
5771
  "kind": "expression"
5846
5772
  }
5847
5773
  },
5848
5774
  {
5849
- "name": "desc",
5850
- "default": "-",
5851
- "description": "描述",
5775
+ "name": "z-index",
5776
+ "default": "`1`",
5777
+ "description": "z-index 层级",
5852
5778
  "value": {
5853
- "type": "string",
5779
+ "type": "number | string",
5854
5780
  "kind": "expression"
5855
5781
  }
5856
5782
  },
5857
5783
  {
5858
- "name": "status",
5784
+ "name": "duration",
5785
+ "default": "`0.3`",
5786
+ "description": "动画时长,单位秒",
5787
+ "value": {
5788
+ "type": "number | string",
5789
+ "kind": "expression"
5790
+ }
5791
+ },
5792
+ {
5793
+ "name": "class-name",
5859
5794
  "default": "-",
5860
- "description": "状态",
5795
+ "description": "自定义类名",
5861
5796
  "value": {
5862
5797
  "type": "string",
5863
5798
  "kind": "expression"
5864
5799
  }
5865
5800
  },
5866
5801
  {
5867
- "name": "icon",
5802
+ "name": "custom-style",
5868
5803
  "default": "-",
5869
- "description": "标题左侧[图标名称](#/zh-CN/icon)或图片链接",
5804
+ "description": "自定义样式",
5870
5805
  "value": {
5871
- "type": "string",
5806
+ "type": "object",
5807
+ "kind": "expression"
5808
+ }
5809
+ },
5810
+ {
5811
+ "name": "lock-scroll",
5812
+ "default": "`true`",
5813
+ "description": "是否锁定背景滚动,锁定时蒙层里的内容也将无法滚动",
5814
+ "value": {
5815
+ "type": "boolean",
5872
5816
  "kind": "expression"
5873
5817
  }
5874
5818
  }
@@ -5950,389 +5894,319 @@
5950
5894
  ]
5951
5895
  },
5952
5896
  {
5953
- "name": "van-picker",
5897
+ "name": "van-panel",
5954
5898
  "slots": [
5955
5899
  {
5956
5900
  "name": "default",
5957
- "description": "自定义整个顶部栏的内容"
5958
- },
5959
- {
5960
- "name": "title",
5961
- "description": "自定义标题内容"
5962
- },
5963
- {
5964
- "name": "confirm",
5965
- "description": "自定义确认按钮内容"
5966
- },
5967
- {
5968
- "name": "cancel",
5969
- "description": "自定义取消按钮内容"
5970
- },
5971
- {
5972
- "name": "option",
5973
- "description": "自定义选项内容"
5974
- },
5975
- {
5976
- "name": "columns-top",
5977
- "description": "自定义选项上方内容"
5978
- },
5979
- {
5980
- "name": "columns-bottom",
5981
- "description": "自定义选项下方内容"
5982
- }
5983
- ],
5984
- "events": [
5985
- {
5986
- "name": "confirm",
5987
- "description": "点击完成按钮时触发"
5901
+ "description": "自定义内容"
5988
5902
  },
5989
5903
  {
5990
- "name": "cancel",
5991
- "description": "点击取消按钮时触发"
5904
+ "name": "header",
5905
+ "description": "自定义 header"
5992
5906
  },
5993
5907
  {
5994
- "name": "change",
5995
- "description": "选项改变时触发"
5908
+ "name": "footer",
5909
+ "description": "自定义 footer"
5996
5910
  }
5997
5911
  ],
5912
+ "events": [],
5998
5913
  "attributes": [
5999
- {
6000
- "name": "columns",
6001
- "default": "`[]`",
6002
- "description": "对象数组,配置每一列显示的数据",
6003
- "value": {
6004
- "type": "Column[]",
6005
- "kind": "expression"
6006
- }
6007
- },
6008
5914
  {
6009
5915
  "name": "title",
6010
5916
  "default": "-",
6011
- "description": "顶部栏标题",
5917
+ "description": "标题",
6012
5918
  "value": {
6013
5919
  "type": "string",
6014
5920
  "kind": "expression"
6015
5921
  }
6016
5922
  },
6017
5923
  {
6018
- "name": "confirm-button-text",
6019
- "default": "`确认`",
6020
- "description": "确认按钮文字",
5924
+ "name": "desc",
5925
+ "default": "-",
5926
+ "description": "描述",
6021
5927
  "value": {
6022
5928
  "type": "string",
6023
5929
  "kind": "expression"
6024
5930
  }
6025
5931
  },
6026
5932
  {
6027
- "name": "cancel-button-text",
6028
- "default": "`取消`",
6029
- "description": "取消按钮文字",
5933
+ "name": "status",
5934
+ "default": "-",
5935
+ "description": "状态",
6030
5936
  "value": {
6031
5937
  "type": "string",
6032
5938
  "kind": "expression"
6033
5939
  }
6034
5940
  },
6035
5941
  {
6036
- "name": "value-key",
6037
- "default": "`text`",
6038
- "description": "选项对象中,选项文字对应的键名",
5942
+ "name": "icon",
5943
+ "default": "-",
5944
+ "description": "标题左侧[图标名称](#/zh-CN/icon)或图片链接",
6039
5945
  "value": {
6040
5946
  "type": "string",
6041
5947
  "kind": "expression"
6042
5948
  }
6043
- },
5949
+ }
5950
+ ]
5951
+ },
5952
+ {
5953
+ "name": "van-progress",
5954
+ "slots": [],
5955
+ "events": [],
5956
+ "attributes": [
6044
5957
  {
6045
- "name": "toolbar-position",
6046
- "default": "`top`",
6047
- "description": "顶部栏位置,可选值为`bottom`",
5958
+ "name": "percentage",
5959
+ "default": "`0`",
5960
+ "description": "进度百分比",
6048
5961
  "value": {
6049
- "type": "string",
5962
+ "type": "number | string",
6050
5963
  "kind": "expression"
6051
5964
  }
6052
5965
  },
6053
5966
  {
6054
- "name": "loading",
6055
- "default": "`false`",
6056
- "description": "是否显示加载状态",
5967
+ "name": "stroke-width",
5968
+ "default": "`4px`",
5969
+ "description": "进度条粗细,默认单位为`px`",
6057
5970
  "value": {
6058
- "type": "boolean",
5971
+ "type": "number | string",
6059
5972
  "kind": "expression"
6060
5973
  }
6061
5974
  },
6062
5975
  {
6063
- "name": "readonly",
6064
- "default": "`false`",
6065
- "description": "是否为只读状态,只读状态下无法切换选项",
5976
+ "name": "color",
5977
+ "default": "`#1989fa`",
5978
+ "description": "进度条颜色",
6066
5979
  "value": {
6067
- "type": "boolean",
5980
+ "type": "string",
6068
5981
  "kind": "expression"
6069
5982
  }
6070
5983
  },
6071
5984
  {
6072
- "name": "show-toolbar",
6073
- "default": "`false`",
6074
- "description": "是否显示顶部栏",
5985
+ "name": "track-color",
5986
+ "default": "`#e5e5e5`",
5987
+ "description": "轨道颜色",
6075
5988
  "value": {
6076
- "type": "boolean",
5989
+ "type": "string",
6077
5990
  "kind": "expression"
6078
5991
  }
6079
5992
  },
6080
5993
  {
6081
- "name": "allow-html",
6082
- "default": "`true`",
6083
- "description": "是否允许选项内容中渲染 HTML",
5994
+ "name": "pivot-text",
5995
+ "default": "百分比",
5996
+ "description": "进度文字内容",
6084
5997
  "value": {
6085
- "type": "boolean",
5998
+ "type": "string",
6086
5999
  "kind": "expression"
6087
6000
  }
6088
6001
  },
6089
6002
  {
6090
- "name": "default-index",
6091
- "default": "`0`",
6092
- "description": "单列选择时,默认选中项的索引",
6003
+ "name": "pivot-color",
6004
+ "default": "同进度条颜色",
6005
+ "description": "进度文字背景色",
6093
6006
  "value": {
6094
- "type": "number | string",
6007
+ "type": "string",
6095
6008
  "kind": "expression"
6096
6009
  }
6097
6010
  },
6098
6011
  {
6099
- "name": "item-height",
6100
- "default": "`44`",
6101
- "description": "选项高度,支持 `px` `vw` `vh` `rem` 单位,默认 `px`",
6012
+ "name": "text-color",
6013
+ "default": "`white`",
6014
+ "description": "进度文字颜色",
6102
6015
  "value": {
6103
- "type": "number | string",
6016
+ "type": "string",
6104
6017
  "kind": "expression"
6105
6018
  }
6106
6019
  },
6107
6020
  {
6108
- "name": "visible-item-count",
6109
- "default": "`6`",
6110
- "description": "可见的选项个数",
6021
+ "name": "inactive",
6022
+ "default": "`false`",
6023
+ "description": "是否置灰",
6111
6024
  "value": {
6112
- "type": "number | string",
6025
+ "type": "boolean",
6113
6026
  "kind": "expression"
6114
6027
  }
6115
6028
  },
6116
6029
  {
6117
- "name": "swipe-duration",
6118
- "default": "`1000`",
6119
- "description": "快速滑动时惯性滚动的时长,单位 `ms`",
6030
+ "name": "show-pivot",
6031
+ "default": "`true`",
6032
+ "description": "是否显示进度文字",
6120
6033
  "value": {
6121
- "type": "number | string",
6034
+ "type": "boolean",
6122
6035
  "kind": "expression"
6123
6036
  }
6124
6037
  }
6125
6038
  ]
6126
6039
  },
6127
6040
  {
6128
- "name": "van-popover",
6041
+ "name": "van-picker",
6129
6042
  "slots": [
6130
6043
  {
6131
6044
  "name": "default",
6132
- "description": "自定义菜单内容"
6045
+ "description": "自定义整个顶部栏的内容"
6133
6046
  },
6134
6047
  {
6135
- "name": "reference",
6136
- "description": "触发 Popover 显示的元素内容"
6137
- }
6138
- ],
6139
- "events": [
6048
+ "name": "title",
6049
+ "description": "自定义标题内容"
6050
+ },
6140
6051
  {
6141
- "name": "select",
6142
- "description": "点击选项时触发"
6052
+ "name": "confirm",
6053
+ "description": "自定义确认按钮内容"
6143
6054
  },
6144
6055
  {
6145
- "name": "open",
6146
- "description": "打开菜单时触发"
6056
+ "name": "cancel",
6057
+ "description": "自定义取消按钮内容"
6147
6058
  },
6148
6059
  {
6149
- "name": "close",
6150
- "description": "关闭菜单时触发"
6060
+ "name": "option",
6061
+ "description": "自定义选项内容"
6151
6062
  },
6152
6063
  {
6153
- "name": "opened",
6154
- "description": "打开菜单且动画结束后触发"
6064
+ "name": "columns-top",
6065
+ "description": "自定义选项上方内容"
6066
+ },
6067
+ {
6068
+ "name": "columns-bottom",
6069
+ "description": "自定义选项下方内容"
6070
+ }
6071
+ ],
6072
+ "events": [
6073
+ {
6074
+ "name": "confirm",
6075
+ "description": "点击完成按钮时触发"
6076
+ },
6077
+ {
6078
+ "name": "cancel",
6079
+ "description": "点击取消按钮时触发"
6155
6080
  },
6156
6081
  {
6157
- "name": "closed",
6158
- "description": "关闭菜单且动画结束后触发"
6082
+ "name": "change",
6083
+ "description": "选项改变时触发"
6159
6084
  }
6160
6085
  ],
6161
6086
  "attributes": [
6162
6087
  {
6163
- "name": "v-model",
6164
- "default": "`false`",
6165
- "description": "是否展示气泡弹出层",
6088
+ "name": "columns",
6089
+ "default": "`[]`",
6090
+ "description": "对象数组,配置每一列显示的数据",
6166
6091
  "value": {
6167
- "type": "boolean",
6092
+ "type": "Column[]",
6168
6093
  "kind": "expression"
6169
6094
  }
6170
6095
  },
6171
6096
  {
6172
- "name": "actions",
6173
- "default": "`[]`",
6174
- "description": "选项列表",
6097
+ "name": "title",
6098
+ "default": "-",
6099
+ "description": "顶部栏标题",
6175
6100
  "value": {
6176
- "type": "Action[]",
6101
+ "type": "string",
6177
6102
  "kind": "expression"
6178
6103
  }
6179
6104
  },
6180
6105
  {
6181
- "name": "placement",
6182
- "default": "`bottom`",
6183
- "description": "弹出位置",
6106
+ "name": "confirm-button-text",
6107
+ "default": "`确认`",
6108
+ "description": "确认按钮文字",
6184
6109
  "value": {
6185
6110
  "type": "string",
6186
6111
  "kind": "expression"
6187
6112
  }
6188
6113
  },
6189
6114
  {
6190
- "name": "theme",
6191
- "default": "`light`",
6192
- "description": "主题风格,可选值为 `dark`",
6115
+ "name": "cancel-button-text",
6116
+ "default": "`取消`",
6117
+ "description": "取消按钮文字",
6193
6118
  "value": {
6194
6119
  "type": "string",
6195
6120
  "kind": "expression"
6196
6121
  }
6197
6122
  },
6198
6123
  {
6199
- "name": "trigger",
6200
- "description": "触发方式,可选值为 `click`",
6124
+ "name": "value-key",
6125
+ "default": "`text`",
6126
+ "description": "选项对象中,选项文字对应的键名",
6201
6127
  "value": {
6202
- "type": "-",
6128
+ "type": "string",
6203
6129
  "kind": "expression"
6204
6130
  }
6205
6131
  },
6206
6132
  {
6207
- "name": "offset",
6208
- "default": "`[0, 8]`",
6209
- "description": "出现位置的偏移量",
6133
+ "name": "toolbar-position",
6134
+ "default": "`top`",
6135
+ "description": "顶部栏位置,可选值为`bottom`",
6210
6136
  "value": {
6211
- "type": "[number, number]",
6137
+ "type": "string",
6212
6138
  "kind": "expression"
6213
6139
  }
6214
6140
  },
6215
6141
  {
6216
- "name": "overlay",
6142
+ "name": "loading",
6217
6143
  "default": "`false`",
6218
- "description": "是否显示遮罩层",
6144
+ "description": "是否显示加载状态",
6219
6145
  "value": {
6220
6146
  "type": "boolean",
6221
6147
  "kind": "expression"
6222
6148
  }
6223
6149
  },
6224
6150
  {
6225
- "name": "close-on-click-action",
6226
- "default": "`true`",
6227
- "description": "是否在点击选项后关闭",
6151
+ "name": "readonly",
6152
+ "default": "`false`",
6153
+ "description": "是否为只读状态,只读状态下无法切换选项",
6228
6154
  "value": {
6229
6155
  "type": "boolean",
6230
6156
  "kind": "expression"
6231
6157
  }
6232
6158
  },
6233
6159
  {
6234
- "name": "close-on-click-outside",
6235
- "default": "`true`",
6236
- "description": "是否在点击外部元素后关闭菜单",
6160
+ "name": "show-toolbar",
6161
+ "default": "`false`",
6162
+ "description": "是否显示顶部栏",
6237
6163
  "value": {
6238
6164
  "type": "boolean",
6239
6165
  "kind": "expression"
6240
6166
  }
6241
6167
  },
6242
6168
  {
6243
- "name": "get-container",
6244
- "default": "`body`",
6245
- "description": "指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi)",
6169
+ "name": "allow-html",
6170
+ "default": "`true`",
6171
+ "description": "是否允许选项内容中渲染 HTML",
6246
6172
  "value": {
6247
- "type": "string | () => Element",
6173
+ "type": "boolean",
6248
6174
  "kind": "expression"
6249
6175
  }
6250
- }
6251
- ]
6252
- },
6253
- {
6254
- "name": "van-progress",
6255
- "slots": [],
6256
- "events": [],
6257
- "attributes": [
6176
+ },
6258
6177
  {
6259
- "name": "percentage",
6178
+ "name": "default-index",
6260
6179
  "default": "`0`",
6261
- "description": "进度百分比",
6180
+ "description": "单列选择时,默认选中项的索引",
6262
6181
  "value": {
6263
6182
  "type": "number | string",
6264
6183
  "kind": "expression"
6265
6184
  }
6266
6185
  },
6267
6186
  {
6268
- "name": "stroke-width",
6269
- "default": "`4px`",
6270
- "description": "进度条粗细,默认单位为`px`",
6187
+ "name": "item-height",
6188
+ "default": "`44`",
6189
+ "description": "选项高度,支持 `px` `vw` `vh` `rem` 单位,默认 `px`",
6271
6190
  "value": {
6272
6191
  "type": "number | string",
6273
6192
  "kind": "expression"
6274
6193
  }
6275
6194
  },
6276
6195
  {
6277
- "name": "color",
6278
- "default": "`#1989fa`",
6279
- "description": "进度条颜色",
6280
- "value": {
6281
- "type": "string",
6282
- "kind": "expression"
6283
- }
6284
- },
6285
- {
6286
- "name": "track-color",
6287
- "default": "`#e5e5e5`",
6288
- "description": "轨道颜色",
6289
- "value": {
6290
- "type": "string",
6291
- "kind": "expression"
6292
- }
6293
- },
6294
- {
6295
- "name": "pivot-text",
6296
- "default": "百分比",
6297
- "description": "进度文字内容",
6298
- "value": {
6299
- "type": "string",
6300
- "kind": "expression"
6301
- }
6302
- },
6303
- {
6304
- "name": "pivot-color",
6305
- "default": "同进度条颜色",
6306
- "description": "进度文字背景色",
6307
- "value": {
6308
- "type": "string",
6309
- "kind": "expression"
6310
- }
6311
- },
6312
- {
6313
- "name": "text-color",
6314
- "default": "`white`",
6315
- "description": "进度文字颜色",
6316
- "value": {
6317
- "type": "string",
6318
- "kind": "expression"
6319
- }
6320
- },
6321
- {
6322
- "name": "inactive",
6323
- "default": "`false`",
6324
- "description": "是否置灰",
6196
+ "name": "visible-item-count",
6197
+ "default": "`6`",
6198
+ "description": "可见的选项个数",
6325
6199
  "value": {
6326
- "type": "boolean",
6200
+ "type": "number | string",
6327
6201
  "kind": "expression"
6328
6202
  }
6329
6203
  },
6330
6204
  {
6331
- "name": "show-pivot",
6332
- "default": "`true`",
6333
- "description": "是否显示进度文字",
6205
+ "name": "swipe-duration",
6206
+ "default": "`1000`",
6207
+ "description": "快速滑动时惯性滚动的时长,单位 `ms`",
6334
6208
  "value": {
6335
- "type": "boolean",
6209
+ "type": "number | string",
6336
6210
  "kind": "expression"
6337
6211
  }
6338
6212
  }
@@ -6537,127 +6411,126 @@
6537
6411
  ]
6538
6412
  },
6539
6413
  {
6540
- "name": "van-pull-refresh",
6414
+ "name": "van-popover",
6541
6415
  "slots": [
6542
6416
  {
6543
6417
  "name": "default",
6544
- "description": "自定义内容"
6418
+ "description": "自定义菜单内容"
6545
6419
  },
6546
6420
  {
6547
- "name": "normal",
6548
- "description": "非下拉状态时顶部内容"
6549
- },
6421
+ "name": "reference",
6422
+ "description": "触发 Popover 显示的元素内容"
6423
+ }
6424
+ ],
6425
+ "events": [
6550
6426
  {
6551
- "name": "pulling",
6552
- "description": "下拉过程中顶部内容"
6427
+ "name": "select",
6428
+ "description": "点击选项时触发"
6553
6429
  },
6554
6430
  {
6555
- "name": "loosing",
6556
- "description": "释放过程中顶部内容"
6431
+ "name": "open",
6432
+ "description": "打开菜单时触发"
6557
6433
  },
6558
6434
  {
6559
- "name": "loading",
6560
- "description": "加载过程中顶部内容"
6435
+ "name": "close",
6436
+ "description": "关闭菜单时触发"
6561
6437
  },
6562
6438
  {
6563
- "name": "success",
6564
- "description": "刷新成功提示内容"
6565
- }
6566
- ],
6567
- "events": [
6439
+ "name": "opened",
6440
+ "description": "打开菜单且动画结束后触发"
6441
+ },
6568
6442
  {
6569
- "name": "refresh",
6570
- "description": "下拉刷新时触发"
6443
+ "name": "closed",
6444
+ "description": "关闭菜单且动画结束后触发"
6571
6445
  }
6572
6446
  ],
6573
6447
  "attributes": [
6574
6448
  {
6575
6449
  "name": "v-model",
6576
- "default": "-",
6577
- "description": "是否处于加载中状态",
6450
+ "default": "`false`",
6451
+ "description": "是否展示气泡弹出层",
6578
6452
  "value": {
6579
6453
  "type": "boolean",
6580
6454
  "kind": "expression"
6581
6455
  }
6582
6456
  },
6583
6457
  {
6584
- "name": "pulling-text",
6585
- "default": "`下拉即可刷新...`",
6586
- "description": "下拉过程提示文案",
6458
+ "name": "actions",
6459
+ "default": "`[]`",
6460
+ "description": "选项列表",
6587
6461
  "value": {
6588
- "type": "string",
6462
+ "type": "Action[]",
6589
6463
  "kind": "expression"
6590
6464
  }
6591
6465
  },
6592
6466
  {
6593
- "name": "loosing-text",
6594
- "default": "`释放即可刷新...`",
6595
- "description": "释放过程提示文案",
6467
+ "name": "placement",
6468
+ "default": "`bottom`",
6469
+ "description": "弹出位置",
6596
6470
  "value": {
6597
6471
  "type": "string",
6598
6472
  "kind": "expression"
6599
6473
  }
6600
6474
  },
6601
6475
  {
6602
- "name": "loading-text",
6603
- "default": "`加载中...`",
6604
- "description": "加载过程提示文案",
6476
+ "name": "theme",
6477
+ "default": "`light`",
6478
+ "description": "主题风格,可选值为 `dark`",
6605
6479
  "value": {
6606
6480
  "type": "string",
6607
6481
  "kind": "expression"
6608
6482
  }
6609
6483
  },
6610
6484
  {
6611
- "name": "success-text",
6612
- "default": "-",
6613
- "description": "刷新成功提示文案",
6485
+ "name": "trigger",
6486
+ "description": "触发方式,可选值为 `click`",
6614
6487
  "value": {
6615
- "type": "string",
6488
+ "type": "-",
6616
6489
  "kind": "expression"
6617
6490
  }
6618
6491
  },
6619
6492
  {
6620
- "name": "success-duration",
6621
- "default": "`500`",
6622
- "description": "刷新成功提示展示时长(ms)",
6493
+ "name": "offset",
6494
+ "default": "`[0, 8]`",
6495
+ "description": "出现位置的偏移量",
6623
6496
  "value": {
6624
- "type": "number | string",
6497
+ "type": "[number, number]",
6625
6498
  "kind": "expression"
6626
6499
  }
6627
6500
  },
6628
6501
  {
6629
- "name": "animation-duration",
6630
- "default": "`300`",
6631
- "description": "动画时长",
6502
+ "name": "overlay",
6503
+ "default": "`false`",
6504
+ "description": "是否显示遮罩层",
6632
6505
  "value": {
6633
- "type": "number | string",
6506
+ "type": "boolean",
6634
6507
  "kind": "expression"
6635
6508
  }
6636
6509
  },
6637
6510
  {
6638
- "name": "head-height",
6639
- "default": "`50`",
6640
- "description": "顶部内容高度",
6511
+ "name": "close-on-click-action",
6512
+ "default": "`true`",
6513
+ "description": "是否在点击选项后关闭",
6641
6514
  "value": {
6642
- "type": "number | string",
6515
+ "type": "boolean",
6643
6516
  "kind": "expression"
6644
6517
  }
6645
6518
  },
6646
6519
  {
6647
- "name": "pull-distance",
6648
- "default": "`head-height` 一致",
6649
- "description": "触发下拉刷新的距离",
6520
+ "name": "close-on-click-outside",
6521
+ "default": "`true`",
6522
+ "description": "是否在点击外部元素后关闭菜单",
6650
6523
  "value": {
6651
- "type": "number | string",
6524
+ "type": "boolean",
6652
6525
  "kind": "expression"
6653
6526
  }
6654
6527
  },
6655
- {
6656
- "name": "disabled",
6657
- "default": "`false`",
6658
- "description": "是否禁用下拉刷新",
6528
+ {
6529
+ "name": "get-container",
6530
+ "default": "`body`",
6531
+ "description": "指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi)",
6659
6532
  "value": {
6660
- "type": "boolean",
6533
+ "type": "string | () => Element",
6661
6534
  "kind": "expression"
6662
6535
  }
6663
6536
  }
@@ -6804,6 +6677,133 @@
6804
6677
  }
6805
6678
  ]
6806
6679
  },
6680
+ {
6681
+ "name": "van-pull-refresh",
6682
+ "slots": [
6683
+ {
6684
+ "name": "default",
6685
+ "description": "自定义内容"
6686
+ },
6687
+ {
6688
+ "name": "normal",
6689
+ "description": "非下拉状态时顶部内容"
6690
+ },
6691
+ {
6692
+ "name": "pulling",
6693
+ "description": "下拉过程中顶部内容"
6694
+ },
6695
+ {
6696
+ "name": "loosing",
6697
+ "description": "释放过程中顶部内容"
6698
+ },
6699
+ {
6700
+ "name": "loading",
6701
+ "description": "加载过程中顶部内容"
6702
+ },
6703
+ {
6704
+ "name": "success",
6705
+ "description": "刷新成功提示内容"
6706
+ }
6707
+ ],
6708
+ "events": [
6709
+ {
6710
+ "name": "refresh",
6711
+ "description": "下拉刷新时触发"
6712
+ }
6713
+ ],
6714
+ "attributes": [
6715
+ {
6716
+ "name": "v-model",
6717
+ "default": "-",
6718
+ "description": "是否处于加载中状态",
6719
+ "value": {
6720
+ "type": "boolean",
6721
+ "kind": "expression"
6722
+ }
6723
+ },
6724
+ {
6725
+ "name": "pulling-text",
6726
+ "default": "`下拉即可刷新...`",
6727
+ "description": "下拉过程提示文案",
6728
+ "value": {
6729
+ "type": "string",
6730
+ "kind": "expression"
6731
+ }
6732
+ },
6733
+ {
6734
+ "name": "loosing-text",
6735
+ "default": "`释放即可刷新...`",
6736
+ "description": "释放过程提示文案",
6737
+ "value": {
6738
+ "type": "string",
6739
+ "kind": "expression"
6740
+ }
6741
+ },
6742
+ {
6743
+ "name": "loading-text",
6744
+ "default": "`加载中...`",
6745
+ "description": "加载过程提示文案",
6746
+ "value": {
6747
+ "type": "string",
6748
+ "kind": "expression"
6749
+ }
6750
+ },
6751
+ {
6752
+ "name": "success-text",
6753
+ "default": "-",
6754
+ "description": "刷新成功提示文案",
6755
+ "value": {
6756
+ "type": "string",
6757
+ "kind": "expression"
6758
+ }
6759
+ },
6760
+ {
6761
+ "name": "success-duration",
6762
+ "default": "`500`",
6763
+ "description": "刷新成功提示展示时长(ms)",
6764
+ "value": {
6765
+ "type": "number | string",
6766
+ "kind": "expression"
6767
+ }
6768
+ },
6769
+ {
6770
+ "name": "animation-duration",
6771
+ "default": "`300`",
6772
+ "description": "动画时长",
6773
+ "value": {
6774
+ "type": "number | string",
6775
+ "kind": "expression"
6776
+ }
6777
+ },
6778
+ {
6779
+ "name": "head-height",
6780
+ "default": "`50`",
6781
+ "description": "顶部内容高度",
6782
+ "value": {
6783
+ "type": "number | string",
6784
+ "kind": "expression"
6785
+ }
6786
+ },
6787
+ {
6788
+ "name": "pull-distance",
6789
+ "default": "与 `head-height` 一致",
6790
+ "description": "触发下拉刷新的距离",
6791
+ "value": {
6792
+ "type": "number | string",
6793
+ "kind": "expression"
6794
+ }
6795
+ },
6796
+ {
6797
+ "name": "disabled",
6798
+ "default": "`false`",
6799
+ "description": "是否禁用下拉刷新",
6800
+ "value": {
6801
+ "type": "boolean",
6802
+ "kind": "expression"
6803
+ }
6804
+ }
6805
+ ]
6806
+ },
6807
6807
  {
6808
6808
  "name": "van-rate",
6809
6809
  "slots": [],
@@ -7277,207 +7277,207 @@
7277
7277
  ]
7278
7278
  },
7279
7279
  {
7280
- "name": "van-sidebar",
7280
+ "name": "van-skeleton",
7281
7281
  "slots": [],
7282
- "events": [
7283
- {
7284
- "name": "change",
7285
- "description": "切换导航项时触发"
7286
- }
7287
- ],
7282
+ "events": [],
7288
7283
  "attributes": [
7289
7284
  {
7290
- "name": "v-model",
7285
+ "name": "row",
7291
7286
  "default": "`0`",
7292
- "description": "当前导航项的索引",
7287
+ "description": "段落占位图行数",
7293
7288
  "value": {
7294
7289
  "type": "number | string",
7295
7290
  "kind": "expression"
7296
7291
  }
7297
- }
7298
- ]
7299
- },
7300
- {
7301
- "name": "van-sidebar-item",
7302
- "slots": [
7303
- {
7304
- "name": "title",
7305
- "description": "自定义标题"
7306
- }
7307
- ],
7308
- "events": [
7292
+ },
7309
7293
  {
7310
- "name": "click",
7311
- "description": "点击时触发"
7312
- }
7313
- ],
7314
- "attributes": [
7294
+ "name": "row-width",
7295
+ "default": "<br>(number \\",
7296
+ "description": "段落占位图宽度,可传数组来设置每一行的宽度",
7297
+ "value": {
7298
+ "type": "number | string \\",
7299
+ "kind": "expression"
7300
+ }
7301
+ },
7315
7302
  {
7316
7303
  "name": "title",
7317
- "default": "`''`",
7318
- "description": "内容",
7304
+ "default": "`false`",
7305
+ "description": "是否显示标题占位图",
7319
7306
  "value": {
7320
- "type": "string",
7307
+ "type": "boolean",
7321
7308
  "kind": "expression"
7322
7309
  }
7323
7310
  },
7324
7311
  {
7325
- "name": "dot",
7312
+ "name": "avatar",
7326
7313
  "default": "`false`",
7327
- "description": "是否显示右上角小红点",
7314
+ "description": "是否显示头像占位图",
7328
7315
  "value": {
7329
7316
  "type": "boolean",
7330
7317
  "kind": "expression"
7331
7318
  }
7332
7319
  },
7333
7320
  {
7334
- "name": "badge",
7335
- "default": "-",
7336
- "description": "图标右上角徽标的内容",
7321
+ "name": "loading",
7322
+ "default": "`true`",
7323
+ "description": "是否显示骨架屏,传 `false` 时会展示子组件内容",
7337
7324
  "value": {
7338
- "type": "number | string",
7325
+ "type": "boolean",
7339
7326
  "kind": "expression"
7340
7327
  }
7341
7328
  },
7342
7329
  {
7343
- "name": "info",
7344
- "default": "-",
7345
- "description": "图标右上角徽标的内容(已废弃,请使用 badge 属性)",
7330
+ "name": "animate",
7331
+ "default": "`true`",
7332
+ "description": "是否开启动画",
7346
7333
  "value": {
7347
- "type": "number | string",
7334
+ "type": "boolean",
7348
7335
  "kind": "expression"
7349
7336
  }
7350
7337
  },
7351
7338
  {
7352
- "name": "disabled",
7339
+ "name": "round",
7353
7340
  "default": "`false`",
7354
- "description": "是否禁用该项",
7341
+ "description": "是否将标题和段落显示为圆角风格",
7355
7342
  "value": {
7356
7343
  "type": "boolean",
7357
7344
  "kind": "expression"
7358
7345
  }
7359
7346
  },
7360
7347
  {
7361
- "name": "url",
7362
- "default": "-",
7363
- "description": "点击后跳转的链接地址",
7348
+ "name": "title-width",
7349
+ "default": "`40%`",
7350
+ "description": "标题占位图宽度",
7364
7351
  "value": {
7365
- "type": "string",
7352
+ "type": "number | string",
7366
7353
  "kind": "expression"
7367
7354
  }
7368
7355
  },
7369
7356
  {
7370
- "name": "to",
7371
- "default": "-",
7372
- "description": "点击后跳转的目标路由对象,同 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to)",
7357
+ "name": "avatar-size",
7358
+ "default": "`32px`",
7359
+ "description": "头像占位图大小",
7373
7360
  "value": {
7374
- "type": "string | object",
7361
+ "type": "number | string",
7375
7362
  "kind": "expression"
7376
7363
  }
7377
7364
  },
7378
7365
  {
7379
- "name": "replace",
7380
- "default": "`false`",
7381
- "description": "是否在跳转时替换当前页面历史",
7366
+ "name": "avatar-shape",
7367
+ "default": "`round`",
7368
+ "description": "头像占位图形状,可选值为`square`",
7382
7369
  "value": {
7383
- "type": "boolean",
7370
+ "type": "string",
7384
7371
  "kind": "expression"
7385
7372
  }
7386
7373
  }
7387
7374
  ]
7388
7375
  },
7389
7376
  {
7390
- "name": "van-skeleton",
7377
+ "name": "van-sidebar",
7391
7378
  "slots": [],
7392
- "events": [],
7379
+ "events": [
7380
+ {
7381
+ "name": "change",
7382
+ "description": "切换导航项时触发"
7383
+ }
7384
+ ],
7393
7385
  "attributes": [
7394
7386
  {
7395
- "name": "row",
7387
+ "name": "v-model",
7396
7388
  "default": "`0`",
7397
- "description": "段落占位图行数",
7389
+ "description": "当前导航项的索引",
7398
7390
  "value": {
7399
7391
  "type": "number | string",
7400
7392
  "kind": "expression"
7401
7393
  }
7402
- },
7394
+ }
7395
+ ]
7396
+ },
7397
+ {
7398
+ "name": "van-sidebar-item",
7399
+ "slots": [
7403
7400
  {
7404
- "name": "row-width",
7405
- "default": "<br>(number \\",
7406
- "description": "段落占位图宽度,可传数组来设置每一行的宽度",
7407
- "value": {
7408
- "type": "number | string \\",
7409
- "kind": "expression"
7410
- }
7411
- },
7401
+ "name": "title",
7402
+ "description": "自定义标题"
7403
+ }
7404
+ ],
7405
+ "events": [
7406
+ {
7407
+ "name": "click",
7408
+ "description": "点击时触发"
7409
+ }
7410
+ ],
7411
+ "attributes": [
7412
7412
  {
7413
7413
  "name": "title",
7414
- "default": "`false`",
7415
- "description": "是否显示标题占位图",
7414
+ "default": "`''`",
7415
+ "description": "内容",
7416
7416
  "value": {
7417
- "type": "boolean",
7417
+ "type": "string",
7418
7418
  "kind": "expression"
7419
7419
  }
7420
7420
  },
7421
7421
  {
7422
- "name": "avatar",
7422
+ "name": "dot",
7423
7423
  "default": "`false`",
7424
- "description": "是否显示头像占位图",
7424
+ "description": "是否显示右上角小红点",
7425
7425
  "value": {
7426
7426
  "type": "boolean",
7427
7427
  "kind": "expression"
7428
7428
  }
7429
7429
  },
7430
7430
  {
7431
- "name": "loading",
7432
- "default": "`true`",
7433
- "description": "是否显示骨架屏,传 `false` 时会展示子组件内容",
7431
+ "name": "badge",
7432
+ "default": "-",
7433
+ "description": "图标右上角徽标的内容",
7434
7434
  "value": {
7435
- "type": "boolean",
7435
+ "type": "number | string",
7436
7436
  "kind": "expression"
7437
7437
  }
7438
7438
  },
7439
7439
  {
7440
- "name": "animate",
7441
- "default": "`true`",
7442
- "description": "是否开启动画",
7440
+ "name": "info",
7441
+ "default": "-",
7442
+ "description": "图标右上角徽标的内容(已废弃,请使用 badge 属性)",
7443
7443
  "value": {
7444
- "type": "boolean",
7444
+ "type": "number | string",
7445
7445
  "kind": "expression"
7446
7446
  }
7447
7447
  },
7448
7448
  {
7449
- "name": "round",
7449
+ "name": "disabled",
7450
7450
  "default": "`false`",
7451
- "description": "是否将标题和段落显示为圆角风格",
7451
+ "description": "是否禁用该项",
7452
7452
  "value": {
7453
7453
  "type": "boolean",
7454
7454
  "kind": "expression"
7455
7455
  }
7456
7456
  },
7457
7457
  {
7458
- "name": "title-width",
7459
- "default": "`40%`",
7460
- "description": "标题占位图宽度",
7458
+ "name": "url",
7459
+ "default": "-",
7460
+ "description": "点击后跳转的链接地址",
7461
7461
  "value": {
7462
- "type": "number | string",
7462
+ "type": "string",
7463
7463
  "kind": "expression"
7464
7464
  }
7465
7465
  },
7466
7466
  {
7467
- "name": "avatar-size",
7468
- "default": "`32px`",
7469
- "description": "头像占位图大小",
7467
+ "name": "to",
7468
+ "default": "-",
7469
+ "description": "点击后跳转的目标路由对象,同 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to)",
7470
7470
  "value": {
7471
- "type": "number | string",
7471
+ "type": "string | object",
7472
7472
  "kind": "expression"
7473
7473
  }
7474
7474
  },
7475
7475
  {
7476
- "name": "avatar-shape",
7477
- "default": "`round`",
7478
- "description": "头像占位图形状,可选值为`square`",
7476
+ "name": "replace",
7477
+ "default": "`false`",
7478
+ "description": "是否在跳转时替换当前页面历史",
7479
7479
  "value": {
7480
- "type": "string",
7480
+ "type": "boolean",
7481
7481
  "kind": "expression"
7482
7482
  }
7483
7483
  }
@@ -7966,6 +7966,15 @@
7966
7966
  "kind": "expression"
7967
7967
  }
7968
7968
  },
7969
+ {
7970
+ "name": "skuProperties",
7971
+ "default": "-",
7972
+ "description": "规格属性 `v2.13.7`",
7973
+ "value": {
7974
+ "type": "array",
7975
+ "kind": "expression"
7976
+ }
7977
+ },
7969
7978
  {
7970
7979
  "name": "preview-on-click-image",
7971
7980
  "default": "`true`",
@@ -9284,6 +9293,99 @@
9284
9293
  }
9285
9294
  ]
9286
9295
  },
9296
+ {
9297
+ "name": "van-tag",
9298
+ "slots": [
9299
+ {
9300
+ "name": "default",
9301
+ "description": "标签显示内容"
9302
+ }
9303
+ ],
9304
+ "events": [
9305
+ {
9306
+ "name": "click",
9307
+ "description": "点击时触发"
9308
+ },
9309
+ {
9310
+ "name": "close",
9311
+ "description": "关闭标签时触发"
9312
+ }
9313
+ ],
9314
+ "attributes": [
9315
+ {
9316
+ "name": "type",
9317
+ "default": "`default`",
9318
+ "description": "类型,可选值为`primary` `success` `danger` `warning`",
9319
+ "value": {
9320
+ "type": "string",
9321
+ "kind": "expression"
9322
+ }
9323
+ },
9324
+ {
9325
+ "name": "size",
9326
+ "default": "-",
9327
+ "description": "大小, 可选值为`large` `medium`",
9328
+ "value": {
9329
+ "type": "string",
9330
+ "kind": "expression"
9331
+ }
9332
+ },
9333
+ {
9334
+ "name": "color",
9335
+ "default": "-",
9336
+ "description": "标签颜色",
9337
+ "value": {
9338
+ "type": "string",
9339
+ "kind": "expression"
9340
+ }
9341
+ },
9342
+ {
9343
+ "name": "plain",
9344
+ "default": "`false`",
9345
+ "description": "是否为空心样式",
9346
+ "value": {
9347
+ "type": "boolean",
9348
+ "kind": "expression"
9349
+ }
9350
+ },
9351
+ {
9352
+ "name": "round",
9353
+ "default": "`false`",
9354
+ "description": "是否为圆角样式",
9355
+ "value": {
9356
+ "type": "boolean",
9357
+ "kind": "expression"
9358
+ }
9359
+ },
9360
+ {
9361
+ "name": "mark",
9362
+ "default": "`false`",
9363
+ "description": "是否为标记样式",
9364
+ "value": {
9365
+ "type": "boolean",
9366
+ "kind": "expression"
9367
+ }
9368
+ },
9369
+ {
9370
+ "name": "text-color",
9371
+ "default": "`white`",
9372
+ "description": "文本颜色,优先级高于`color`属性",
9373
+ "value": {
9374
+ "type": "string",
9375
+ "kind": "expression"
9376
+ }
9377
+ },
9378
+ {
9379
+ "name": "closeable",
9380
+ "default": "`false`",
9381
+ "description": "是否为可关闭标签",
9382
+ "value": {
9383
+ "type": "boolean",
9384
+ "kind": "expression"
9385
+ }
9386
+ }
9387
+ ]
9388
+ },
9287
9389
  {
9288
9390
  "name": "van-tabbar",
9289
9391
  "slots": [],
@@ -9479,99 +9581,6 @@
9479
9581
  }
9480
9582
  ]
9481
9583
  },
9482
- {
9483
- "name": "van-tag",
9484
- "slots": [
9485
- {
9486
- "name": "default",
9487
- "description": "标签显示内容"
9488
- }
9489
- ],
9490
- "events": [
9491
- {
9492
- "name": "click",
9493
- "description": "点击时触发"
9494
- },
9495
- {
9496
- "name": "close",
9497
- "description": "关闭标签时触发"
9498
- }
9499
- ],
9500
- "attributes": [
9501
- {
9502
- "name": "type",
9503
- "default": "`default`",
9504
- "description": "类型,可选值为`primary` `success` `danger` `warning`",
9505
- "value": {
9506
- "type": "string",
9507
- "kind": "expression"
9508
- }
9509
- },
9510
- {
9511
- "name": "size",
9512
- "default": "-",
9513
- "description": "大小, 可选值为`large` `medium`",
9514
- "value": {
9515
- "type": "string",
9516
- "kind": "expression"
9517
- }
9518
- },
9519
- {
9520
- "name": "color",
9521
- "default": "-",
9522
- "description": "标签颜色",
9523
- "value": {
9524
- "type": "string",
9525
- "kind": "expression"
9526
- }
9527
- },
9528
- {
9529
- "name": "plain",
9530
- "default": "`false`",
9531
- "description": "是否为空心样式",
9532
- "value": {
9533
- "type": "boolean",
9534
- "kind": "expression"
9535
- }
9536
- },
9537
- {
9538
- "name": "round",
9539
- "default": "`false`",
9540
- "description": "是否为圆角样式",
9541
- "value": {
9542
- "type": "boolean",
9543
- "kind": "expression"
9544
- }
9545
- },
9546
- {
9547
- "name": "mark",
9548
- "default": "`false`",
9549
- "description": "是否为标记样式",
9550
- "value": {
9551
- "type": "boolean",
9552
- "kind": "expression"
9553
- }
9554
- },
9555
- {
9556
- "name": "text-color",
9557
- "default": "`white`",
9558
- "description": "文本颜色,优先级高于`color`属性",
9559
- "value": {
9560
- "type": "string",
9561
- "kind": "expression"
9562
- }
9563
- },
9564
- {
9565
- "name": "closeable",
9566
- "default": "`false`",
9567
- "description": "是否为可关闭标签",
9568
- "value": {
9569
- "type": "boolean",
9570
- "kind": "expression"
9571
- }
9572
- }
9573
- ]
9574
- },
9575
9584
  {
9576
9585
  "name": "van-tree-select",
9577
9586
  "slots": [