vant 2.12.30-beta.0 → 2.12.30-beta.1

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,174 +2,10 @@
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.12.30-beta.0",
5
+ "version": "2.12.30-beta.1",
6
6
  "contributions": {
7
7
  "html": {
8
8
  "tags": [
9
- {
10
- "name": "van-address-list",
11
- "slots": [
12
- {
13
- "name": "default",
14
- "description": "在列表下方插入内容"
15
- },
16
- {
17
- "name": "top",
18
- "description": "在顶部插入内容"
19
- },
20
- {
21
- "name": "item-bottom",
22
- "description": "在列表项底部插入内容"
23
- },
24
- {
25
- "name": "tag",
26
- "description": "列表项标签内容自定义"
27
- }
28
- ],
29
- "events": [
30
- {
31
- "name": "add",
32
- "description": "点击新增按钮时触发"
33
- },
34
- {
35
- "name": "edit",
36
- "description": "点击编辑按钮时触发"
37
- },
38
- {
39
- "name": "select",
40
- "description": "切换选中的地址时触发"
41
- },
42
- {
43
- "name": "edit-disabled",
44
- "description": "编辑不可配送的地址时触发"
45
- },
46
- {
47
- "name": "select-disabled",
48
- "description": "选中不可配送的地址时触发"
49
- },
50
- {
51
- "name": "click-item",
52
- "description": "点击任意地址时触发"
53
- }
54
- ],
55
- "attributes": [
56
- {
57
- "name": "v-model",
58
- "default": "-",
59
- "description": "当前选中地址的 id",
60
- "value": {
61
- "type": "string",
62
- "kind": "expression"
63
- }
64
- },
65
- {
66
- "name": "list",
67
- "default": "`[]`",
68
- "description": "地址列表",
69
- "value": {
70
- "type": "Address[]",
71
- "kind": "expression"
72
- }
73
- },
74
- {
75
- "name": "disabled-list",
76
- "default": "`[]`",
77
- "description": "不可配送地址列表",
78
- "value": {
79
- "type": "Address[]",
80
- "kind": "expression"
81
- }
82
- },
83
- {
84
- "name": "disabled-text",
85
- "default": "-",
86
- "description": "不可配送提示文案",
87
- "value": {
88
- "type": "string",
89
- "kind": "expression"
90
- }
91
- },
92
- {
93
- "name": "switchable",
94
- "default": "`true`",
95
- "description": "是否允许切换地址",
96
- "value": {
97
- "type": "boolean",
98
- "kind": "expression"
99
- }
100
- },
101
- {
102
- "name": "add-button-text",
103
- "default": "`新增地址`",
104
- "description": "底部按钮文字",
105
- "value": {
106
- "type": "string",
107
- "kind": "expression"
108
- }
109
- },
110
- {
111
- "name": "default-tag-text",
112
- "default": "-",
113
- "description": "默认地址标签文字",
114
- "value": {
115
- "type": "string",
116
- "kind": "expression"
117
- }
118
- }
119
- ]
120
- },
121
- {
122
- "name": "van-badge",
123
- "slots": [
124
- {
125
- "name": "default",
126
- "description": "徽标包裹的子元素"
127
- },
128
- {
129
- "name": "content",
130
- "description": "自定义徽标内容"
131
- }
132
- ],
133
- "events": [],
134
- "attributes": [
135
- {
136
- "name": "content",
137
- "default": "-",
138
- "description": "徽标内容",
139
- "value": {
140
- "type": "number | string",
141
- "kind": "expression"
142
- }
143
- },
144
- {
145
- "name": "color",
146
- "default": "`#ee0a24`",
147
- "description": "徽标背景颜色",
148
- "value": {
149
- "type": "string",
150
- "kind": "expression"
151
- }
152
- },
153
- {
154
- "name": "dot",
155
- "default": "`false`",
156
- "description": "是否展示为小红点",
157
- "value": {
158
- "type": "boolean",
159
- "kind": "expression"
160
- }
161
- },
162
- {
163
- "name": "max",
164
- "default": "-",
165
- "description": "最大值,超过最大值会显示 `{max}+`,仅当 content 为数字时有效",
166
- "value": {
167
- "type": "number | string",
168
- "kind": "expression"
169
- }
170
- }
171
- ]
172
- },
173
9
  {
174
10
  "name": "van-action-sheet",
175
11
  "slots": [
@@ -616,79 +452,281 @@
616
452
  ]
617
453
  },
618
454
  {
619
- "name": "van-button",
455
+ "name": "van-badge",
620
456
  "slots": [
621
457
  {
622
458
  "name": "default",
623
- "description": "按钮内容"
624
- },
625
- {
626
- "name": "icon",
627
- "description": "自定义图标"
459
+ "description": "徽标包裹的子元素"
628
460
  },
629
461
  {
630
- "name": "loading",
631
- "description": "自定义加载图标"
462
+ "name": "content",
463
+ "description": "自定义徽标内容"
632
464
  }
633
465
  ],
634
- "events": [
466
+ "events": [],
467
+ "attributes": [
635
468
  {
636
- "name": "click",
637
- "description": "点击按钮,且按钮状态不为加载或禁用时触发"
469
+ "name": "content",
470
+ "default": "-",
471
+ "description": "徽标内容",
472
+ "value": {
473
+ "type": "number | string",
474
+ "kind": "expression"
475
+ }
638
476
  },
639
477
  {
640
- "name": "touchstart",
641
- "description": "开始触摸按钮时触发"
642
- }
643
- ],
644
- "attributes": [
645
- {
646
- "name": "type",
647
- "default": "`default`",
648
- "description": "类型,可选值为 `primary` `info` `warning` `danger`",
478
+ "name": "color",
479
+ "default": "`#ee0a24`",
480
+ "description": "徽标背景颜色",
649
481
  "value": {
650
482
  "type": "string",
651
483
  "kind": "expression"
652
484
  }
653
485
  },
654
486
  {
655
- "name": "size",
656
- "default": "`normal`",
657
- "description": "尺寸,可选值为 `large` `small` `mini`",
487
+ "name": "dot",
488
+ "default": "`false`",
489
+ "description": "是否展示为小红点",
658
490
  "value": {
659
- "type": "string",
491
+ "type": "boolean",
660
492
  "kind": "expression"
661
493
  }
662
494
  },
663
495
  {
664
- "name": "text",
496
+ "name": "max",
665
497
  "default": "-",
666
- "description": "按钮文字",
498
+ "description": "最大值,超过最大值会显示 `{max}+`,仅当 content 为数字时有效",
667
499
  "value": {
668
- "type": "string",
500
+ "type": "number | string",
669
501
  "kind": "expression"
670
502
  }
503
+ }
504
+ ]
505
+ },
506
+ {
507
+ "name": "van-area",
508
+ "slots": [
509
+ {
510
+ "name": "title",
511
+ "description": "自定义标题内容"
671
512
  },
672
513
  {
673
- "name": "color",
514
+ "name": "columns-top",
515
+ "description": "自定义选项上方内容"
516
+ },
517
+ {
518
+ "name": "columns-bottom",
519
+ "description": "自定义选项下方内容"
520
+ }
521
+ ],
522
+ "events": [
523
+ {
524
+ "name": "confirm",
525
+ "description": "点击右上方完成按钮"
526
+ },
527
+ {
528
+ "name": "cancel",
529
+ "description": "点击取消按钮时"
530
+ },
531
+ {
532
+ "name": "change",
533
+ "description": "选项改变时触发"
534
+ }
535
+ ],
536
+ "attributes": [
537
+ {
538
+ "name": "value",
674
539
  "default": "-",
675
- "description": "按钮颜色,支持传入 `linear-gradient` 渐变色",
540
+ "description": "当前选中的省市区`code`",
676
541
  "value": {
677
542
  "type": "string",
678
543
  "kind": "expression"
679
544
  }
680
545
  },
681
546
  {
682
- "name": "icon",
547
+ "name": "title",
683
548
  "default": "-",
684
- "description": "左侧[图标名称](#/zh-CN/icon)或图片链接",
549
+ "description": "顶部栏标题",
685
550
  "value": {
686
551
  "type": "string",
687
552
  "kind": "expression"
688
553
  }
689
554
  },
690
555
  {
691
- "name": "icon-prefix",
556
+ "name": "confirm-button-text",
557
+ "default": "`确认`",
558
+ "description": "确认按钮文字",
559
+ "value": {
560
+ "type": "string",
561
+ "kind": "expression"
562
+ }
563
+ },
564
+ {
565
+ "name": "cancel-button-text",
566
+ "default": "`取消`",
567
+ "description": "取消按钮文字",
568
+ "value": {
569
+ "type": "string",
570
+ "kind": "expression"
571
+ }
572
+ },
573
+ {
574
+ "name": "area-list",
575
+ "default": "-",
576
+ "description": "省市区数据,格式见下方",
577
+ "value": {
578
+ "type": "object",
579
+ "kind": "expression"
580
+ }
581
+ },
582
+ {
583
+ "name": "columns-placeholder",
584
+ "default": "`[]`",
585
+ "description": "列占位提示文字",
586
+ "value": {
587
+ "type": "string[]",
588
+ "kind": "expression"
589
+ }
590
+ },
591
+ {
592
+ "name": "loading",
593
+ "default": "`false`",
594
+ "description": "是否显示加载状态",
595
+ "value": {
596
+ "type": "boolean",
597
+ "kind": "expression"
598
+ }
599
+ },
600
+ {
601
+ "name": "readonly",
602
+ "default": "`false`",
603
+ "description": "是否为只读状态,只读状态下无法切换选项",
604
+ "value": {
605
+ "type": "boolean",
606
+ "kind": "expression"
607
+ }
608
+ },
609
+ {
610
+ "name": "item-height",
611
+ "default": "`44`",
612
+ "description": "选项高度,支持 `px` `vw` `vh` `rem` 单位,默认 `px`",
613
+ "value": {
614
+ "type": "number | string",
615
+ "kind": "expression"
616
+ }
617
+ },
618
+ {
619
+ "name": "columns-num",
620
+ "default": "`3`",
621
+ "description": "显示列数,3-省市区,2-省市,1-省",
622
+ "value": {
623
+ "type": "number | string",
624
+ "kind": "expression"
625
+ }
626
+ },
627
+ {
628
+ "name": "visible-item-count",
629
+ "default": "`6`",
630
+ "description": "可见的选项个数",
631
+ "value": {
632
+ "type": "number | string",
633
+ "kind": "expression"
634
+ }
635
+ },
636
+ {
637
+ "name": "swipe-duration",
638
+ "default": "`1000`",
639
+ "description": "快速滑动时惯性滚动的时长,单位`ms`",
640
+ "value": {
641
+ "type": "number | string",
642
+ "kind": "expression"
643
+ }
644
+ },
645
+ {
646
+ "name": "is-oversea-code",
647
+ "default": "-",
648
+ "description": "根据`code`校验海外地址,海外地址会划分至单独的分类",
649
+ "value": {
650
+ "type": "() => boolean",
651
+ "kind": "expression"
652
+ }
653
+ }
654
+ ]
655
+ },
656
+ {
657
+ "name": "van-button",
658
+ "slots": [
659
+ {
660
+ "name": "default",
661
+ "description": "按钮内容"
662
+ },
663
+ {
664
+ "name": "icon",
665
+ "description": "自定义图标"
666
+ },
667
+ {
668
+ "name": "loading",
669
+ "description": "自定义加载图标"
670
+ }
671
+ ],
672
+ "events": [
673
+ {
674
+ "name": "click",
675
+ "description": "点击按钮,且按钮状态不为加载或禁用时触发"
676
+ },
677
+ {
678
+ "name": "touchstart",
679
+ "description": "开始触摸按钮时触发"
680
+ }
681
+ ],
682
+ "attributes": [
683
+ {
684
+ "name": "type",
685
+ "default": "`default`",
686
+ "description": "类型,可选值为 `primary` `info` `warning` `danger`",
687
+ "value": {
688
+ "type": "string",
689
+ "kind": "expression"
690
+ }
691
+ },
692
+ {
693
+ "name": "size",
694
+ "default": "`normal`",
695
+ "description": "尺寸,可选值为 `large` `small` `mini`",
696
+ "value": {
697
+ "type": "string",
698
+ "kind": "expression"
699
+ }
700
+ },
701
+ {
702
+ "name": "text",
703
+ "default": "-",
704
+ "description": "按钮文字",
705
+ "value": {
706
+ "type": "string",
707
+ "kind": "expression"
708
+ }
709
+ },
710
+ {
711
+ "name": "color",
712
+ "default": "-",
713
+ "description": "按钮颜色,支持传入 `linear-gradient` 渐变色",
714
+ "value": {
715
+ "type": "string",
716
+ "kind": "expression"
717
+ }
718
+ },
719
+ {
720
+ "name": "icon",
721
+ "default": "-",
722
+ "description": "左侧[图标名称](#/zh-CN/icon)或图片链接",
723
+ "value": {
724
+ "type": "string",
725
+ "kind": "expression"
726
+ }
727
+ },
728
+ {
729
+ "name": "icon-prefix",
692
730
  "default": "`van-icon`",
693
731
  "description": "图标类名前缀,同 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props)",
694
732
  "value": {
@@ -842,6 +880,118 @@
842
880
  }
843
881
  ]
844
882
  },
883
+ {
884
+ "name": "van-address-list",
885
+ "slots": [
886
+ {
887
+ "name": "default",
888
+ "description": "在列表下方插入内容"
889
+ },
890
+ {
891
+ "name": "top",
892
+ "description": "在顶部插入内容"
893
+ },
894
+ {
895
+ "name": "item-bottom",
896
+ "description": "在列表项底部插入内容"
897
+ },
898
+ {
899
+ "name": "tag",
900
+ "description": "列表项标签内容自定义"
901
+ }
902
+ ],
903
+ "events": [
904
+ {
905
+ "name": "add",
906
+ "description": "点击新增按钮时触发"
907
+ },
908
+ {
909
+ "name": "edit",
910
+ "description": "点击编辑按钮时触发"
911
+ },
912
+ {
913
+ "name": "select",
914
+ "description": "切换选中的地址时触发"
915
+ },
916
+ {
917
+ "name": "edit-disabled",
918
+ "description": "编辑不可配送的地址时触发"
919
+ },
920
+ {
921
+ "name": "select-disabled",
922
+ "description": "选中不可配送的地址时触发"
923
+ },
924
+ {
925
+ "name": "click-item",
926
+ "description": "点击任意地址时触发"
927
+ }
928
+ ],
929
+ "attributes": [
930
+ {
931
+ "name": "v-model",
932
+ "default": "-",
933
+ "description": "当前选中地址的 id",
934
+ "value": {
935
+ "type": "string",
936
+ "kind": "expression"
937
+ }
938
+ },
939
+ {
940
+ "name": "list",
941
+ "default": "`[]`",
942
+ "description": "地址列表",
943
+ "value": {
944
+ "type": "Address[]",
945
+ "kind": "expression"
946
+ }
947
+ },
948
+ {
949
+ "name": "disabled-list",
950
+ "default": "`[]`",
951
+ "description": "不可配送地址列表",
952
+ "value": {
953
+ "type": "Address[]",
954
+ "kind": "expression"
955
+ }
956
+ },
957
+ {
958
+ "name": "disabled-text",
959
+ "default": "-",
960
+ "description": "不可配送提示文案",
961
+ "value": {
962
+ "type": "string",
963
+ "kind": "expression"
964
+ }
965
+ },
966
+ {
967
+ "name": "switchable",
968
+ "default": "`true`",
969
+ "description": "是否允许切换地址",
970
+ "value": {
971
+ "type": "boolean",
972
+ "kind": "expression"
973
+ }
974
+ },
975
+ {
976
+ "name": "add-button-text",
977
+ "default": "`新增地址`",
978
+ "description": "底部按钮文字",
979
+ "value": {
980
+ "type": "string",
981
+ "kind": "expression"
982
+ }
983
+ },
984
+ {
985
+ "name": "default-tag-text",
986
+ "default": "-",
987
+ "description": "默认地址标签文字",
988
+ "value": {
989
+ "type": "string",
990
+ "kind": "expression"
991
+ }
992
+ }
993
+ ]
994
+ },
845
995
  {
846
996
  "name": "van-calendar",
847
997
  "slots": [
@@ -1175,16 +1325,108 @@
1175
1325
  "default": "无限制",
1176
1326
  "description": "日期最多可选天数",
1177
1327
  "value": {
1178
- "type": "number | string",
1328
+ "type": "number | string",
1329
+ "kind": "expression"
1330
+ }
1331
+ },
1332
+ {
1333
+ "name": "range-prompt",
1334
+ "default": "`选择天数不能超过 xx 天`",
1335
+ "description": "选择超过最多可选天数时的提示文案",
1336
+ "value": {
1337
+ "type": "string",
1338
+ "kind": "expression"
1339
+ }
1340
+ }
1341
+ ]
1342
+ },
1343
+ {
1344
+ "name": "van-cascader",
1345
+ "slots": [
1346
+ {
1347
+ "name": "title",
1348
+ "description": "自定义顶部标题"
1349
+ },
1350
+ {
1351
+ "name": "option",
1352
+ "description": "自定义选项文字"
1353
+ }
1354
+ ],
1355
+ "events": [
1356
+ {
1357
+ "name": "change",
1358
+ "description": "选中项变化时触发"
1359
+ },
1360
+ {
1361
+ "name": "finish",
1362
+ "description": "全部选项选择完成后触发"
1363
+ },
1364
+ {
1365
+ "name": "close",
1366
+ "description": "点击关闭图标时触发"
1367
+ }
1368
+ ],
1369
+ "attributes": [
1370
+ {
1371
+ "name": "title",
1372
+ "default": "-",
1373
+ "description": "顶部标题",
1374
+ "value": {
1375
+ "type": "string",
1376
+ "kind": "expression"
1377
+ }
1378
+ },
1379
+ {
1380
+ "name": "value",
1381
+ "default": "-",
1382
+ "description": "选中项的值",
1383
+ "value": {
1384
+ "type": "string | number",
1385
+ "kind": "expression"
1386
+ }
1387
+ },
1388
+ {
1389
+ "name": "options",
1390
+ "default": "`[]`",
1391
+ "description": "可选项数据源",
1392
+ "value": {
1393
+ "type": "Option[]",
1394
+ "kind": "expression"
1395
+ }
1396
+ },
1397
+ {
1398
+ "name": "placeholder",
1399
+ "default": "`请选择`",
1400
+ "description": "未选中时的提示文案",
1401
+ "value": {
1402
+ "type": "string",
1403
+ "kind": "expression"
1404
+ }
1405
+ },
1406
+ {
1407
+ "name": "active-color",
1408
+ "default": "`#ee0a24`",
1409
+ "description": "选中状态的高亮颜色",
1410
+ "value": {
1411
+ "type": "string",
1412
+ "kind": "expression"
1413
+ }
1414
+ },
1415
+ {
1416
+ "name": "closeable",
1417
+ "default": "`true`",
1418
+ "description": "是否显示关闭图标",
1419
+ "value": {
1420
+ "type": "boolean",
1179
1421
  "kind": "expression"
1180
1422
  }
1181
1423
  },
1182
1424
  {
1183
- "name": "range-prompt",
1184
- "default": "`选择天数不能超过 xx 天`",
1185
- "description": "选择超过最多可选天数时的提示文案",
1425
+ "name": "field-names",
1426
+ "default": "`{ text: 'text', value: 'value', children: 'children' }`",
1427
+ "description": "自定义 `options` 结构中的字段",
1186
1428
  "value": {
1187
- "type": "string",
1429
+ "type": "object",
1188
1430
  "kind": "expression"
1189
1431
  }
1190
1432
  }
@@ -1350,98 +1592,6 @@
1350
1592
  }
1351
1593
  ]
1352
1594
  },
1353
- {
1354
- "name": "van-cascader",
1355
- "slots": [
1356
- {
1357
- "name": "title",
1358
- "description": "自定义顶部标题"
1359
- },
1360
- {
1361
- "name": "option",
1362
- "description": "自定义选项文字"
1363
- }
1364
- ],
1365
- "events": [
1366
- {
1367
- "name": "change",
1368
- "description": "选中项变化时触发"
1369
- },
1370
- {
1371
- "name": "finish",
1372
- "description": "全部选项选择完成后触发"
1373
- },
1374
- {
1375
- "name": "close",
1376
- "description": "点击关闭图标时触发"
1377
- }
1378
- ],
1379
- "attributes": [
1380
- {
1381
- "name": "title",
1382
- "default": "-",
1383
- "description": "顶部标题",
1384
- "value": {
1385
- "type": "string",
1386
- "kind": "expression"
1387
- }
1388
- },
1389
- {
1390
- "name": "value",
1391
- "default": "-",
1392
- "description": "选中项的值",
1393
- "value": {
1394
- "type": "string | number",
1395
- "kind": "expression"
1396
- }
1397
- },
1398
- {
1399
- "name": "options",
1400
- "default": "`[]`",
1401
- "description": "可选项数据源",
1402
- "value": {
1403
- "type": "Option[]",
1404
- "kind": "expression"
1405
- }
1406
- },
1407
- {
1408
- "name": "placeholder",
1409
- "default": "`请选择`",
1410
- "description": "未选中时的提示文案",
1411
- "value": {
1412
- "type": "string",
1413
- "kind": "expression"
1414
- }
1415
- },
1416
- {
1417
- "name": "active-color",
1418
- "default": "`#ee0a24`",
1419
- "description": "选中状态的高亮颜色",
1420
- "value": {
1421
- "type": "string",
1422
- "kind": "expression"
1423
- }
1424
- },
1425
- {
1426
- "name": "closeable",
1427
- "default": "`true`",
1428
- "description": "是否显示关闭图标",
1429
- "value": {
1430
- "type": "boolean",
1431
- "kind": "expression"
1432
- }
1433
- },
1434
- {
1435
- "name": "field-names",
1436
- "default": "`{ text: 'text', value: 'value', children: 'children' }`",
1437
- "description": "自定义 `options` 结构中的字段",
1438
- "value": {
1439
- "type": "object",
1440
- "kind": "expression"
1441
- }
1442
- }
1443
- ]
1444
- },
1445
1595
  {
1446
1596
  "name": "van-cell-group",
1447
1597
  "slots": [
@@ -1597,238 +1747,88 @@
1597
1747
  "default": "`false`",
1598
1748
  "description": "是否在跳转时替换当前页面历史",
1599
1749
  "value": {
1600
- "type": "boolean",
1601
- "kind": "expression"
1602
- }
1603
- },
1604
- {
1605
- "name": "clickable",
1606
- "default": "`null`",
1607
- "description": "是否开启点击反馈",
1608
- "value": {
1609
- "type": "boolean",
1610
- "kind": "expression"
1611
- }
1612
- },
1613
- {
1614
- "name": "is-link",
1615
- "default": "`false`",
1616
- "description": "是否展示右侧箭头并开启点击反馈",
1617
- "value": {
1618
- "type": "boolean",
1619
- "kind": "expression"
1620
- }
1621
- },
1622
- {
1623
- "name": "required",
1624
- "default": "`false`",
1625
- "description": "是否显示表单必填星号",
1626
- "value": {
1627
- "type": "boolean",
1628
- "kind": "expression"
1629
- }
1630
- },
1631
- {
1632
- "name": "center",
1633
- "default": "`false`",
1634
- "description": "是否使内容垂直居中",
1635
- "value": {
1636
- "type": "boolean",
1637
- "kind": "expression"
1638
- }
1639
- },
1640
- {
1641
- "name": "arrow-direction",
1642
- "default": "`right`",
1643
- "description": "箭头方向,可选值为 `left` `up` `down`",
1644
- "value": {
1645
- "type": "string",
1646
- "kind": "expression"
1647
- }
1648
- },
1649
- {
1650
- "name": "title-style",
1651
- "default": "-",
1652
- "description": "左侧标题额外样式",
1653
- "value": {
1654
- "type": "any",
1655
- "kind": "expression"
1656
- }
1657
- },
1658
- {
1659
- "name": "title-class",
1660
- "default": "-",
1661
- "description": "左侧标题额外类名",
1662
- "value": {
1663
- "type": "any",
1664
- "kind": "expression"
1665
- }
1666
- },
1667
- {
1668
- "name": "value-class",
1669
- "default": "-",
1670
- "description": "右侧内容额外类名",
1671
- "value": {
1672
- "type": "any",
1673
- "kind": "expression"
1674
- }
1675
- },
1676
- {
1677
- "name": "label-class",
1678
- "default": "-",
1679
- "description": "描述信息额外类名",
1680
- "value": {
1681
- "type": "any",
1682
- "kind": "expression"
1683
- }
1684
- }
1685
- ]
1686
- },
1687
- {
1688
- "name": "van-area",
1689
- "slots": [
1690
- {
1691
- "name": "title",
1692
- "description": "自定义标题内容"
1693
- },
1694
- {
1695
- "name": "columns-top",
1696
- "description": "自定义选项上方内容"
1697
- },
1698
- {
1699
- "name": "columns-bottom",
1700
- "description": "自定义选项下方内容"
1701
- }
1702
- ],
1703
- "events": [
1704
- {
1705
- "name": "confirm",
1706
- "description": "点击右上方完成按钮"
1707
- },
1708
- {
1709
- "name": "cancel",
1710
- "description": "点击取消按钮时"
1711
- },
1712
- {
1713
- "name": "change",
1714
- "description": "选项改变时触发"
1715
- }
1716
- ],
1717
- "attributes": [
1718
- {
1719
- "name": "value",
1720
- "default": "-",
1721
- "description": "当前选中的省市区`code`",
1722
- "value": {
1723
- "type": "string",
1724
- "kind": "expression"
1725
- }
1726
- },
1727
- {
1728
- "name": "title",
1729
- "default": "-",
1730
- "description": "顶部栏标题",
1731
- "value": {
1732
- "type": "string",
1733
- "kind": "expression"
1734
- }
1735
- },
1736
- {
1737
- "name": "confirm-button-text",
1738
- "default": "`确认`",
1739
- "description": "确认按钮文字",
1740
- "value": {
1741
- "type": "string",
1742
- "kind": "expression"
1743
- }
1744
- },
1745
- {
1746
- "name": "cancel-button-text",
1747
- "default": "`取消`",
1748
- "description": "取消按钮文字",
1749
- "value": {
1750
- "type": "string",
1750
+ "type": "boolean",
1751
1751
  "kind": "expression"
1752
1752
  }
1753
1753
  },
1754
1754
  {
1755
- "name": "area-list",
1756
- "default": "-",
1757
- "description": "省市区数据,格式见下方",
1755
+ "name": "clickable",
1756
+ "default": "`null`",
1757
+ "description": "是否开启点击反馈",
1758
1758
  "value": {
1759
- "type": "object",
1759
+ "type": "boolean",
1760
1760
  "kind": "expression"
1761
1761
  }
1762
1762
  },
1763
1763
  {
1764
- "name": "columns-placeholder",
1765
- "default": "`[]`",
1766
- "description": "列占位提示文字",
1764
+ "name": "is-link",
1765
+ "default": "`false`",
1766
+ "description": "是否展示右侧箭头并开启点击反馈",
1767
1767
  "value": {
1768
- "type": "string[]",
1768
+ "type": "boolean",
1769
1769
  "kind": "expression"
1770
1770
  }
1771
1771
  },
1772
1772
  {
1773
- "name": "loading",
1773
+ "name": "required",
1774
1774
  "default": "`false`",
1775
- "description": "是否显示加载状态",
1775
+ "description": "是否显示表单必填星号",
1776
1776
  "value": {
1777
1777
  "type": "boolean",
1778
1778
  "kind": "expression"
1779
1779
  }
1780
1780
  },
1781
1781
  {
1782
- "name": "readonly",
1782
+ "name": "center",
1783
1783
  "default": "`false`",
1784
- "description": "是否为只读状态,只读状态下无法切换选项",
1784
+ "description": "是否使内容垂直居中",
1785
1785
  "value": {
1786
1786
  "type": "boolean",
1787
1787
  "kind": "expression"
1788
1788
  }
1789
1789
  },
1790
1790
  {
1791
- "name": "item-height",
1792
- "default": "`44`",
1793
- "description": "选项高度,支持 `px` `vw` `vh` `rem` 单位,默认 `px`",
1791
+ "name": "arrow-direction",
1792
+ "default": "`right`",
1793
+ "description": "箭头方向,可选值为 `left` `up` `down`",
1794
1794
  "value": {
1795
- "type": "number | string",
1795
+ "type": "string",
1796
1796
  "kind": "expression"
1797
1797
  }
1798
1798
  },
1799
1799
  {
1800
- "name": "columns-num",
1801
- "default": "`3`",
1802
- "description": "显示列数,3-省市区,2-省市,1-省",
1800
+ "name": "title-style",
1801
+ "default": "-",
1802
+ "description": "左侧标题额外样式",
1803
1803
  "value": {
1804
- "type": "number | string",
1804
+ "type": "any",
1805
1805
  "kind": "expression"
1806
1806
  }
1807
1807
  },
1808
1808
  {
1809
- "name": "visible-item-count",
1810
- "default": "`6`",
1811
- "description": "可见的选项个数",
1809
+ "name": "title-class",
1810
+ "default": "-",
1811
+ "description": "左侧标题额外类名",
1812
1812
  "value": {
1813
- "type": "number | string",
1813
+ "type": "any",
1814
1814
  "kind": "expression"
1815
1815
  }
1816
1816
  },
1817
1817
  {
1818
- "name": "swipe-duration",
1819
- "default": "`1000`",
1820
- "description": "快速滑动时惯性滚动的时长,单位`ms`",
1818
+ "name": "value-class",
1819
+ "default": "-",
1820
+ "description": "右侧内容额外类名",
1821
1821
  "value": {
1822
- "type": "number | string",
1822
+ "type": "any",
1823
1823
  "kind": "expression"
1824
1824
  }
1825
1825
  },
1826
1826
  {
1827
- "name": "is-oversea-code",
1827
+ "name": "label-class",
1828
1828
  "default": "-",
1829
- "description": "根据`code`校验海外地址,海外地址会划分至单独的分类",
1829
+ "description": "描述信息额外类名",
1830
1830
  "value": {
1831
- "type": "() => boolean",
1831
+ "type": "any",
1832
1832
  "kind": "expression"
1833
1833
  }
1834
1834
  }
@@ -3358,45 +3358,6 @@
3358
3358
  }
3359
3359
  ]
3360
3360
  },
3361
- {
3362
- "name": "van-divider",
3363
- "slots": [
3364
- {
3365
- "name": "default",
3366
- "description": "内容"
3367
- }
3368
- ],
3369
- "events": [],
3370
- "attributes": [
3371
- {
3372
- "name": "dashed",
3373
- "default": "`false`",
3374
- "description": "是否使用虚线",
3375
- "value": {
3376
- "type": "boolean",
3377
- "kind": "expression"
3378
- }
3379
- },
3380
- {
3381
- "name": "hairline",
3382
- "default": "`true`",
3383
- "description": "是否使用 0.5px 线",
3384
- "value": {
3385
- "type": "boolean",
3386
- "kind": "expression"
3387
- }
3388
- },
3389
- {
3390
- "name": "content-position",
3391
- "default": "`center`",
3392
- "description": "内容位置,可选值为`left` `right`",
3393
- "value": {
3394
- "type": "string",
3395
- "kind": "expression"
3396
- }
3397
- }
3398
- ]
3399
- },
3400
3361
  {
3401
3362
  "name": "van-dropdown-menu",
3402
3363
  "slots": [],
@@ -3567,6 +3528,45 @@
3567
3528
  }
3568
3529
  ]
3569
3530
  },
3531
+ {
3532
+ "name": "van-divider",
3533
+ "slots": [
3534
+ {
3535
+ "name": "default",
3536
+ "description": "内容"
3537
+ }
3538
+ ],
3539
+ "events": [],
3540
+ "attributes": [
3541
+ {
3542
+ "name": "dashed",
3543
+ "default": "`false`",
3544
+ "description": "是否使用虚线",
3545
+ "value": {
3546
+ "type": "boolean",
3547
+ "kind": "expression"
3548
+ }
3549
+ },
3550
+ {
3551
+ "name": "hairline",
3552
+ "default": "`true`",
3553
+ "description": "是否使用 0.5px 线",
3554
+ "value": {
3555
+ "type": "boolean",
3556
+ "kind": "expression"
3557
+ }
3558
+ },
3559
+ {
3560
+ "name": "content-position",
3561
+ "default": "`center`",
3562
+ "description": "内容位置,可选值为`left` `right`",
3563
+ "value": {
3564
+ "type": "string",
3565
+ "kind": "expression"
3566
+ }
3567
+ }
3568
+ ]
3569
+ },
3570
3570
  {
3571
3571
  "name": "van-empty",
3572
3572
  "slots": [
@@ -5026,176 +5026,176 @@
5026
5026
  ]
5027
5027
  },
5028
5028
  {
5029
- "name": "van-list",
5029
+ "name": "van-loading",
5030
5030
  "slots": [
5031
5031
  {
5032
5032
  "name": "default",
5033
- "description": "列表内容"
5034
- },
5035
- {
5036
- "name": "loading",
5037
- "description": "自定义底部加载中提示"
5038
- },
5039
- {
5040
- "name": "finished",
5041
- "description": "自定义加载完成后的提示文案"
5042
- },
5043
- {
5044
- "name": "error",
5045
- "description": "自定义加载失败后的提示文案"
5046
- }
5047
- ],
5048
- "events": [
5049
- {
5050
- "name": "load",
5051
- "description": "滚动条与底部距离小于 offset 时触发"
5033
+ "description": "加载文案"
5052
5034
  }
5053
5035
  ],
5036
+ "events": [],
5054
5037
  "attributes": [
5055
5038
  {
5056
- "name": "v-model",
5057
- "default": "`false`",
5058
- "description": "是否处于加载状态,加载过程中不触发`load`事件",
5039
+ "name": "color",
5040
+ "default": "`#c9c9c9`",
5041
+ "description": "颜色",
5059
5042
  "value": {
5060
- "type": "boolean",
5043
+ "type": "string",
5061
5044
  "kind": "expression"
5062
5045
  }
5063
5046
  },
5064
5047
  {
5065
- "name": "finished",
5066
- "default": "`false`",
5067
- "description": "是否已加载完成,加载完成后不再触发`load`事件",
5048
+ "name": "type",
5049
+ "default": "`circular`",
5050
+ "description": "类型,可选值为 `spinner`",
5068
5051
  "value": {
5069
- "type": "boolean",
5052
+ "type": "string",
5070
5053
  "kind": "expression"
5071
5054
  }
5072
5055
  },
5073
5056
  {
5074
- "name": "error",
5075
- "default": "`false`",
5076
- "description": "是否加载失败,加载失败后点击错误提示可以重新<br>触发`load`事件,必须使用`sync`修饰符",
5057
+ "name": "size",
5058
+ "default": "`30px`",
5059
+ "description": "加载图标大小,默认单位为 `px`",
5077
5060
  "value": {
5078
- "type": "boolean",
5061
+ "type": "number | string",
5079
5062
  "kind": "expression"
5080
5063
  }
5081
5064
  },
5082
5065
  {
5083
- "name": "offset",
5084
- "default": "`300`",
5085
- "description": "滚动条与底部距离小于 offset 时触发`load`事件",
5066
+ "name": "text-size",
5067
+ "default": "`14px`",
5068
+ "description": "文字大小,默认单位为 `px`",
5086
5069
  "value": {
5087
5070
  "type": "number | string",
5088
5071
  "kind": "expression"
5089
5072
  }
5090
5073
  },
5091
5074
  {
5092
- "name": "loading-text",
5093
- "default": "`加载中...`",
5094
- "description": "加载过程中的提示文案",
5075
+ "name": "text-color",
5076
+ "default": "`#c9c9c9`",
5077
+ "description": "文字颜色",
5095
5078
  "value": {
5096
5079
  "type": "string",
5097
5080
  "kind": "expression"
5098
5081
  }
5099
5082
  },
5100
5083
  {
5101
- "name": "finished-text",
5102
- "default": "-",
5103
- "description": "加载完成后的提示文案",
5084
+ "name": "vertical",
5085
+ "default": "`false`",
5086
+ "description": "是否垂直排列图标和文字内容",
5104
5087
  "value": {
5105
- "type": "string",
5088
+ "type": "boolean",
5106
5089
  "kind": "expression"
5107
5090
  }
5091
+ }
5092
+ ]
5093
+ },
5094
+ {
5095
+ "name": "van-list",
5096
+ "slots": [
5097
+ {
5098
+ "name": "default",
5099
+ "description": "列表内容"
5108
5100
  },
5109
5101
  {
5110
- "name": "error-text",
5111
- "default": "-",
5112
- "description": "加载失败后的提示文案",
5102
+ "name": "loading",
5103
+ "description": "自定义底部加载中提示"
5104
+ },
5105
+ {
5106
+ "name": "finished",
5107
+ "description": "自定义加载完成后的提示文案"
5108
+ },
5109
+ {
5110
+ "name": "error",
5111
+ "description": "自定义加载失败后的提示文案"
5112
+ }
5113
+ ],
5114
+ "events": [
5115
+ {
5116
+ "name": "load",
5117
+ "description": "滚动条与底部距离小于 offset 时触发"
5118
+ }
5119
+ ],
5120
+ "attributes": [
5121
+ {
5122
+ "name": "v-model",
5123
+ "default": "`false`",
5124
+ "description": "是否处于加载状态,加载过程中不触发`load`事件",
5113
5125
  "value": {
5114
- "type": "string",
5126
+ "type": "boolean",
5115
5127
  "kind": "expression"
5116
5128
  }
5117
5129
  },
5118
5130
  {
5119
- "name": "immediate-check",
5120
- "default": "`true`",
5121
- "description": "是否在初始化时立即执行滚动位置检查",
5131
+ "name": "finished",
5132
+ "default": "`false`",
5133
+ "description": "是否已加载完成,加载完成后不再触发`load`事件",
5122
5134
  "value": {
5123
5135
  "type": "boolean",
5124
5136
  "kind": "expression"
5125
5137
  }
5126
5138
  },
5127
5139
  {
5128
- "name": "direction",
5129
- "default": "`down`",
5130
- "description": "滚动触发加载的方向,可选值为`up`",
5140
+ "name": "error",
5141
+ "default": "`false`",
5142
+ "description": "是否加载失败,加载失败后点击错误提示可以重新<br>触发`load`事件,必须使用`sync`修饰符",
5131
5143
  "value": {
5132
- "type": "string",
5144
+ "type": "boolean",
5133
5145
  "kind": "expression"
5134
5146
  }
5135
- }
5136
- ]
5137
- },
5138
- {
5139
- "name": "van-loading",
5140
- "slots": [
5141
- {
5142
- "name": "default",
5143
- "description": "加载文案"
5144
- }
5145
- ],
5146
- "events": [],
5147
- "attributes": [
5147
+ },
5148
5148
  {
5149
- "name": "color",
5150
- "default": "`#c9c9c9`",
5151
- "description": "颜色",
5149
+ "name": "offset",
5150
+ "default": "`300`",
5151
+ "description": "滚动条与底部距离小于 offset 时触发`load`事件",
5152
5152
  "value": {
5153
- "type": "string",
5153
+ "type": "number | string",
5154
5154
  "kind": "expression"
5155
5155
  }
5156
5156
  },
5157
5157
  {
5158
- "name": "type",
5159
- "default": "`circular`",
5160
- "description": "类型,可选值为 `spinner`",
5158
+ "name": "loading-text",
5159
+ "default": "`加载中...`",
5160
+ "description": "加载过程中的提示文案",
5161
5161
  "value": {
5162
5162
  "type": "string",
5163
5163
  "kind": "expression"
5164
5164
  }
5165
5165
  },
5166
5166
  {
5167
- "name": "size",
5168
- "default": "`30px`",
5169
- "description": "加载图标大小,默认单位为 `px`",
5167
+ "name": "finished-text",
5168
+ "default": "-",
5169
+ "description": "加载完成后的提示文案",
5170
5170
  "value": {
5171
- "type": "number | string",
5171
+ "type": "string",
5172
5172
  "kind": "expression"
5173
5173
  }
5174
5174
  },
5175
5175
  {
5176
- "name": "text-size",
5177
- "default": "`14px`",
5178
- "description": "文字大小,默认单位为 `px`",
5176
+ "name": "error-text",
5177
+ "default": "-",
5178
+ "description": "加载失败后的提示文案",
5179
5179
  "value": {
5180
- "type": "number | string",
5180
+ "type": "string",
5181
5181
  "kind": "expression"
5182
5182
  }
5183
5183
  },
5184
5184
  {
5185
- "name": "text-color",
5186
- "default": "`#c9c9c9`",
5187
- "description": "文字颜色",
5185
+ "name": "immediate-check",
5186
+ "default": "`true`",
5187
+ "description": "是否在初始化时立即执行滚动位置检查",
5188
5188
  "value": {
5189
- "type": "string",
5189
+ "type": "boolean",
5190
5190
  "kind": "expression"
5191
5191
  }
5192
5192
  },
5193
5193
  {
5194
- "name": "vertical",
5195
- "default": "`false`",
5196
- "description": "是否垂直排列图标和文字内容",
5194
+ "name": "direction",
5195
+ "default": "`down`",
5196
+ "description": "滚动触发加载的方向,可选值为`up`",
5197
5197
  "value": {
5198
- "type": "boolean",
5198
+ "type": "string",
5199
5199
  "kind": "expression"
5200
5200
  }
5201
5201
  }
@@ -8194,290 +8194,135 @@
8194
8194
  "attributes": [
8195
8195
  {
8196
8196
  "name": "active",
8197
- "default": "`0`",
8198
- "description": "当前步骤",
8199
- "value": {
8200
- "type": "number | string",
8201
- "kind": "expression"
8202
- }
8203
- },
8204
- {
8205
- "name": "direction",
8206
- "default": "`horizontal`",
8207
- "description": "显示方向,可选值为 `vertical`",
8208
- "value": {
8209
- "type": "string",
8210
- "kind": "expression"
8211
- }
8212
- },
8213
- {
8214
- "name": "active-color",
8215
- "default": "`#07c160`",
8216
- "description": "激活状态颜色",
8217
- "value": {
8218
- "type": "string",
8219
- "kind": "expression"
8220
- }
8221
- },
8222
- {
8223
- "name": "inactive-color",
8224
- "default": "`#969799`",
8225
- "description": "未激活状态颜色",
8226
- "value": {
8227
- "type": "string",
8228
- "kind": "expression"
8229
- }
8230
- },
8231
- {
8232
- "name": "active-icon",
8233
- "default": "`checked`",
8234
- "description": "激活状态底部图标,可选值见 [Icon 组件](#/zh-CN/icon)",
8235
- "value": {
8236
- "type": "string",
8237
- "kind": "expression"
8238
- }
8239
- },
8240
- {
8241
- "name": "inactive-icon",
8242
- "default": "-",
8243
- "description": "未激活状态底部图标,可选值见 [Icon 组件](#/zh-CN/icon)",
8244
- "value": {
8245
- "type": "string",
8246
- "kind": "expression"
8247
- }
8248
- },
8249
- {
8250
- "name": "finish-icon",
8251
- "default": "-",
8252
- "description": "已完成步骤对应的底部图标,优先级高于 `inactive-icon`,可选值见 [Icon 组件](#/zh-CN/icon)",
8253
- "value": {
8254
- "type": "string",
8255
- "kind": "expression"
8256
- }
8257
- },
8258
- {
8259
- "name": "icon-prefix",
8260
- "default": "`van-icon`",
8261
- "description": "图标类名前缀,同 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props)",
8262
- "value": {
8263
- "type": "string",
8264
- "kind": "expression"
8265
- }
8266
- }
8267
- ]
8268
- },
8269
- {
8270
- "name": "van-step",
8271
- "slots": [
8272
- {
8273
- "name": "active-icon",
8274
- "description": "自定义激活状态图标"
8275
- },
8276
- {
8277
- "name": "inactive-icon",
8278
- "description": "自定义未激活状态图标"
8279
- },
8280
- {
8281
- "name": "finish-icon",
8282
- "description": "自定义已完成步骤对应的底部图标,优先级高于 `inactive-icon`"
8283
- }
8284
- ],
8285
- "events": [],
8286
- "attributes": []
8287
- },
8288
- {
8289
- "name": "van-sticky",
8290
- "slots": [],
8291
- "events": [
8292
- {
8293
- "name": "change",
8294
- "description": "当吸顶状态改变时触发"
8295
- },
8296
- {
8297
- "name": "scroll",
8298
- "description": "滚动时触发"
8299
- }
8300
- ],
8301
- "attributes": [
8302
- {
8303
- "name": "offset-top",
8304
- "default": "`0`",
8305
- "description": "吸顶时与顶部的距离,支持 `px` `vw` `vh` `rem` 单位,默认 `px`",
8306
- "value": {
8307
- "type": "number | string",
8308
- "kind": "expression"
8309
- }
8310
- },
8311
- {
8312
- "name": "z-index",
8313
- "default": "`99`",
8314
- "description": "吸顶时的 z-index",
8315
- "value": {
8316
- "type": "number | string",
8317
- "kind": "expression"
8318
- }
8319
- },
8320
- {
8321
- "name": "container",
8322
- "default": "-",
8323
- "description": "容器对应的 HTML 节点",
8324
- "value": {
8325
- "type": "Element",
8326
- "kind": "expression"
8327
- }
8328
- }
8329
- ]
8330
- },
8331
- {
8332
- "name": "van-submit-bar",
8333
- "slots": [
8334
- {
8335
- "name": "default",
8336
- "description": "自定义订单栏左侧内容"
8337
- },
8338
- {
8339
- "name": "button",
8340
- "description": "自定义按钮"
8341
- },
8342
- {
8343
- "name": "top",
8344
- "description": "自定义订单栏上方内容"
8345
- },
8346
- {
8347
- "name": "tip",
8348
- "description": "提示文案中的额外内容"
8349
- }
8350
- ],
8351
- "events": [
8352
- {
8353
- "name": "submit",
8354
- "description": "按钮点击事件回调"
8355
- }
8356
- ],
8357
- "attributes": [
8358
- {
8359
- "name": "price",
8360
- "default": "-",
8361
- "description": "价格(单位分)",
8362
- "value": {
8363
- "type": "number",
8364
- "kind": "expression"
8365
- }
8366
- },
8367
- {
8368
- "name": "decimal-length",
8369
- "default": "`2`",
8370
- "description": "价格小数点位数",
8371
- "value": {
8372
- "type": "number | string",
8373
- "kind": "expression"
8374
- }
8375
- },
8376
- {
8377
- "name": "label",
8378
- "default": "`合计:`",
8379
- "description": "价格左侧文案",
8380
- "value": {
8381
- "type": "string",
8382
- "kind": "expression"
8383
- }
8384
- },
8385
- {
8386
- "name": "suffix-label",
8387
- "default": "-",
8388
- "description": "价格右侧文案",
8197
+ "default": "`0`",
8198
+ "description": "当前步骤",
8389
8199
  "value": {
8390
- "type": "string",
8200
+ "type": "number | string",
8391
8201
  "kind": "expression"
8392
8202
  }
8393
8203
  },
8394
8204
  {
8395
- "name": "text-align",
8396
- "default": "`right`",
8397
- "description": "价格文案对齐方向,可选值为 `left`",
8205
+ "name": "direction",
8206
+ "default": "`horizontal`",
8207
+ "description": "显示方向,可选值为 `vertical`",
8398
8208
  "value": {
8399
8209
  "type": "string",
8400
8210
  "kind": "expression"
8401
8211
  }
8402
8212
  },
8403
8213
  {
8404
- "name": "button-text",
8405
- "default": "-",
8406
- "description": "按钮文字",
8214
+ "name": "active-color",
8215
+ "default": "`#07c160`",
8216
+ "description": "激活状态颜色",
8407
8217
  "value": {
8408
8218
  "type": "string",
8409
8219
  "kind": "expression"
8410
8220
  }
8411
8221
  },
8412
8222
  {
8413
- "name": "button-type",
8414
- "default": "`danger`",
8415
- "description": "按钮类型",
8223
+ "name": "inactive-color",
8224
+ "default": "`#969799`",
8225
+ "description": "未激活状态颜色",
8416
8226
  "value": {
8417
8227
  "type": "string",
8418
8228
  "kind": "expression"
8419
8229
  }
8420
8230
  },
8421
8231
  {
8422
- "name": "button-color",
8423
- "default": "-",
8424
- "description": "自定义按钮颜色",
8232
+ "name": "active-icon",
8233
+ "default": "`checked`",
8234
+ "description": "激活状态底部图标,可选值见 [Icon 组件](#/zh-CN/icon)",
8425
8235
  "value": {
8426
8236
  "type": "string",
8427
8237
  "kind": "expression"
8428
8238
  }
8429
8239
  },
8430
8240
  {
8431
- "name": "tip",
8241
+ "name": "inactive-icon",
8432
8242
  "default": "-",
8433
- "description": "在订单栏上方的提示文案",
8243
+ "description": "未激活状态底部图标,可选值见 [Icon 组件](#/zh-CN/icon)",
8434
8244
  "value": {
8435
8245
  "type": "string",
8436
8246
  "kind": "expression"
8437
8247
  }
8438
8248
  },
8439
8249
  {
8440
- "name": "tip-icon",
8250
+ "name": "finish-icon",
8441
8251
  "default": "-",
8442
- "description": "提示文案左侧的[图标名称](#/zh-CN/icon)或图片链接",
8252
+ "description": "已完成步骤对应的底部图标,优先级高于 `inactive-icon`,可选值见 [Icon 组件](#/zh-CN/icon)",
8443
8253
  "value": {
8444
8254
  "type": "string",
8445
8255
  "kind": "expression"
8446
8256
  }
8447
8257
  },
8448
8258
  {
8449
- "name": "currency",
8450
- "default": "`¥`",
8451
- "description": "货币符号",
8259
+ "name": "icon-prefix",
8260
+ "default": "`van-icon`",
8261
+ "description": "图标类名前缀,同 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props)",
8452
8262
  "value": {
8453
8263
  "type": "string",
8454
8264
  "kind": "expression"
8455
8265
  }
8266
+ }
8267
+ ]
8268
+ },
8269
+ {
8270
+ "name": "van-step",
8271
+ "slots": [
8272
+ {
8273
+ "name": "active-icon",
8274
+ "description": "自定义激活状态图标"
8456
8275
  },
8457
8276
  {
8458
- "name": "disabled",
8459
- "default": "`false`",
8460
- "description": "是否禁用按钮",
8277
+ "name": "inactive-icon",
8278
+ "description": "自定义未激活状态图标"
8279
+ },
8280
+ {
8281
+ "name": "finish-icon",
8282
+ "description": "自定义已完成步骤对应的底部图标,优先级高于 `inactive-icon`"
8283
+ }
8284
+ ],
8285
+ "events": [],
8286
+ "attributes": []
8287
+ },
8288
+ {
8289
+ "name": "van-sticky",
8290
+ "slots": [],
8291
+ "events": [
8292
+ {
8293
+ "name": "change",
8294
+ "description": "当吸顶状态改变时触发"
8295
+ },
8296
+ {
8297
+ "name": "scroll",
8298
+ "description": "滚动时触发"
8299
+ }
8300
+ ],
8301
+ "attributes": [
8302
+ {
8303
+ "name": "offset-top",
8304
+ "default": "`0`",
8305
+ "description": "吸顶时与顶部的距离,支持 `px` `vw` `vh` `rem` 单位,默认 `px`",
8461
8306
  "value": {
8462
- "type": "boolean",
8307
+ "type": "number | string",
8463
8308
  "kind": "expression"
8464
8309
  }
8465
8310
  },
8466
8311
  {
8467
- "name": "loading",
8468
- "default": "`false`",
8469
- "description": "是否显示将按钮显示为加载中状态",
8312
+ "name": "z-index",
8313
+ "default": "`99`",
8314
+ "description": "吸顶时的 z-index",
8470
8315
  "value": {
8471
- "type": "boolean",
8316
+ "type": "number | string",
8472
8317
  "kind": "expression"
8473
8318
  }
8474
8319
  },
8475
8320
  {
8476
- "name": "safe-area-inset-bottom",
8477
- "default": "`true`",
8478
- "description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei)",
8321
+ "name": "container",
8322
+ "default": "-",
8323
+ "description": "容器对应的 HTML 节点",
8479
8324
  "value": {
8480
- "type": "boolean",
8325
+ "type": "Element",
8481
8326
  "kind": "expression"
8482
8327
  }
8483
8328
  }
@@ -8623,6 +8468,161 @@
8623
8468
  ],
8624
8469
  "attributes": []
8625
8470
  },
8471
+ {
8472
+ "name": "van-submit-bar",
8473
+ "slots": [
8474
+ {
8475
+ "name": "default",
8476
+ "description": "自定义订单栏左侧内容"
8477
+ },
8478
+ {
8479
+ "name": "button",
8480
+ "description": "自定义按钮"
8481
+ },
8482
+ {
8483
+ "name": "top",
8484
+ "description": "自定义订单栏上方内容"
8485
+ },
8486
+ {
8487
+ "name": "tip",
8488
+ "description": "提示文案中的额外内容"
8489
+ }
8490
+ ],
8491
+ "events": [
8492
+ {
8493
+ "name": "submit",
8494
+ "description": "按钮点击事件回调"
8495
+ }
8496
+ ],
8497
+ "attributes": [
8498
+ {
8499
+ "name": "price",
8500
+ "default": "-",
8501
+ "description": "价格(单位分)",
8502
+ "value": {
8503
+ "type": "number",
8504
+ "kind": "expression"
8505
+ }
8506
+ },
8507
+ {
8508
+ "name": "decimal-length",
8509
+ "default": "`2`",
8510
+ "description": "价格小数点位数",
8511
+ "value": {
8512
+ "type": "number | string",
8513
+ "kind": "expression"
8514
+ }
8515
+ },
8516
+ {
8517
+ "name": "label",
8518
+ "default": "`合计:`",
8519
+ "description": "价格左侧文案",
8520
+ "value": {
8521
+ "type": "string",
8522
+ "kind": "expression"
8523
+ }
8524
+ },
8525
+ {
8526
+ "name": "suffix-label",
8527
+ "default": "-",
8528
+ "description": "价格右侧文案",
8529
+ "value": {
8530
+ "type": "string",
8531
+ "kind": "expression"
8532
+ }
8533
+ },
8534
+ {
8535
+ "name": "text-align",
8536
+ "default": "`right`",
8537
+ "description": "价格文案对齐方向,可选值为 `left`",
8538
+ "value": {
8539
+ "type": "string",
8540
+ "kind": "expression"
8541
+ }
8542
+ },
8543
+ {
8544
+ "name": "button-text",
8545
+ "default": "-",
8546
+ "description": "按钮文字",
8547
+ "value": {
8548
+ "type": "string",
8549
+ "kind": "expression"
8550
+ }
8551
+ },
8552
+ {
8553
+ "name": "button-type",
8554
+ "default": "`danger`",
8555
+ "description": "按钮类型",
8556
+ "value": {
8557
+ "type": "string",
8558
+ "kind": "expression"
8559
+ }
8560
+ },
8561
+ {
8562
+ "name": "button-color",
8563
+ "default": "-",
8564
+ "description": "自定义按钮颜色",
8565
+ "value": {
8566
+ "type": "string",
8567
+ "kind": "expression"
8568
+ }
8569
+ },
8570
+ {
8571
+ "name": "tip",
8572
+ "default": "-",
8573
+ "description": "在订单栏上方的提示文案",
8574
+ "value": {
8575
+ "type": "string",
8576
+ "kind": "expression"
8577
+ }
8578
+ },
8579
+ {
8580
+ "name": "tip-icon",
8581
+ "default": "-",
8582
+ "description": "提示文案左侧的[图标名称](#/zh-CN/icon)或图片链接",
8583
+ "value": {
8584
+ "type": "string",
8585
+ "kind": "expression"
8586
+ }
8587
+ },
8588
+ {
8589
+ "name": "currency",
8590
+ "default": "`¥`",
8591
+ "description": "货币符号",
8592
+ "value": {
8593
+ "type": "string",
8594
+ "kind": "expression"
8595
+ }
8596
+ },
8597
+ {
8598
+ "name": "disabled",
8599
+ "default": "`false`",
8600
+ "description": "是否禁用按钮",
8601
+ "value": {
8602
+ "type": "boolean",
8603
+ "kind": "expression"
8604
+ }
8605
+ },
8606
+ {
8607
+ "name": "loading",
8608
+ "default": "`false`",
8609
+ "description": "是否显示将按钮显示为加载中状态",
8610
+ "value": {
8611
+ "type": "boolean",
8612
+ "kind": "expression"
8613
+ }
8614
+ },
8615
+ {
8616
+ "name": "safe-area-inset-bottom",
8617
+ "default": "`true`",
8618
+ "description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei)",
8619
+ "value": {
8620
+ "type": "boolean",
8621
+ "kind": "expression"
8622
+ }
8623
+ }
8624
+ ]
8625
+ },
8626
8626
  {
8627
8627
  "name": "van-swipe-cell",
8628
8628
  "slots": [