vant 2.13.9-beta.0 → 2.13.9

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,10 +2,122 @@
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.9-beta.0",
5
+ "version": "2.13.9",
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
+ },
9
121
  {
10
122
  "name": "van-action-sheet",
11
123
  "slots": [
@@ -601,118 +713,6 @@
601
713
  }
602
714
  ]
603
715
  },
604
- {
605
- "name": "van-address-list",
606
- "slots": [
607
- {
608
- "name": "default",
609
- "description": "在列表下方插入内容"
610
- },
611
- {
612
- "name": "top",
613
- "description": "在顶部插入内容"
614
- },
615
- {
616
- "name": "item-bottom",
617
- "description": "在列表项底部插入内容"
618
- },
619
- {
620
- "name": "tag",
621
- "description": "列表项标签内容自定义"
622
- }
623
- ],
624
- "events": [
625
- {
626
- "name": "add",
627
- "description": "点击新增按钮时触发"
628
- },
629
- {
630
- "name": "edit",
631
- "description": "点击编辑按钮时触发"
632
- },
633
- {
634
- "name": "select",
635
- "description": "切换选中的地址时触发"
636
- },
637
- {
638
- "name": "edit-disabled",
639
- "description": "编辑不可配送的地址时触发"
640
- },
641
- {
642
- "name": "select-disabled",
643
- "description": "选中不可配送的地址时触发"
644
- },
645
- {
646
- "name": "click-item",
647
- "description": "点击任意地址时触发"
648
- }
649
- ],
650
- "attributes": [
651
- {
652
- "name": "v-model",
653
- "default": "-",
654
- "description": "当前选中地址的 id",
655
- "value": {
656
- "type": "string",
657
- "kind": "expression"
658
- }
659
- },
660
- {
661
- "name": "list",
662
- "default": "`[]`",
663
- "description": "地址列表",
664
- "value": {
665
- "type": "Address[]",
666
- "kind": "expression"
667
- }
668
- },
669
- {
670
- "name": "disabled-list",
671
- "default": "`[]`",
672
- "description": "不可配送地址列表",
673
- "value": {
674
- "type": "Address[]",
675
- "kind": "expression"
676
- }
677
- },
678
- {
679
- "name": "disabled-text",
680
- "default": "-",
681
- "description": "不可配送提示文案",
682
- "value": {
683
- "type": "string",
684
- "kind": "expression"
685
- }
686
- },
687
- {
688
- "name": "switchable",
689
- "default": "`true`",
690
- "description": "是否允许切换地址",
691
- "value": {
692
- "type": "boolean",
693
- "kind": "expression"
694
- }
695
- },
696
- {
697
- "name": "add-button-text",
698
- "default": "`新增地址`",
699
- "description": "底部按钮文字",
700
- "value": {
701
- "type": "string",
702
- "kind": "expression"
703
- }
704
- },
705
- {
706
- "name": "default-tag-text",
707
- "default": "-",
708
- "description": "默认地址标签文字",
709
- "value": {
710
- "type": "string",
711
- "kind": "expression"
712
- }
713
- }
714
- ]
715
- },
716
716
  {
717
717
  "name": "van-badge",
718
718
  "slots": [
@@ -5642,112 +5642,41 @@
5642
5642
  ]
5643
5643
  },
5644
5644
  {
5645
- "name": "van-overlay",
5645
+ "name": "van-pagination",
5646
5646
  "slots": [
5647
5647
  {
5648
- "name": "default",
5649
- "description": "默认插槽,用于在遮罩层上方嵌入内容"
5648
+ "name": "page",
5649
+ "description": "自定义页码"
5650
+ },
5651
+ {
5652
+ "name": "prev-text",
5653
+ "description": "自定义上一页按钮文字"
5654
+ },
5655
+ {
5656
+ "name": "next-text",
5657
+ "description": "自定义下一页按钮文字"
5650
5658
  }
5651
5659
  ],
5652
5660
  "events": [
5653
5661
  {
5654
- "name": "click",
5655
- "description": "点击时触发"
5662
+ "name": "change",
5663
+ "description": "页码改变时触发"
5656
5664
  }
5657
5665
  ],
5658
5666
  "attributes": [
5659
5667
  {
5660
- "name": "show",
5661
- "default": "`false`",
5662
- "description": "是否展示遮罩层",
5668
+ "name": "v-model",
5669
+ "default": "-",
5670
+ "description": "当前页码",
5663
5671
  "value": {
5664
- "type": "boolean",
5672
+ "type": "number",
5665
5673
  "kind": "expression"
5666
5674
  }
5667
5675
  },
5668
5676
  {
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": "是否锁定背景滚动,锁定时蒙层里的内容也将无法滚动",
5708
- "value": {
5709
- "type": "boolean",
5710
- "kind": "expression"
5711
- }
5712
- }
5713
- ]
5714
- },
5715
- {
5716
- "name": "van-pagination",
5717
- "slots": [
5718
- {
5719
- "name": "page",
5720
- "description": "自定义页码"
5721
- },
5722
- {
5723
- "name": "prev-text",
5724
- "description": "自定义上一页按钮文字"
5725
- },
5726
- {
5727
- "name": "next-text",
5728
- "description": "自定义下一页按钮文字"
5729
- }
5730
- ],
5731
- "events": [
5732
- {
5733
- "name": "change",
5734
- "description": "页码改变时触发"
5735
- }
5736
- ],
5737
- "attributes": [
5738
- {
5739
- "name": "v-model",
5740
- "default": "-",
5741
- "description": "当前页码",
5742
- "value": {
5743
- "type": "number",
5744
- "kind": "expression"
5745
- }
5746
- },
5747
- {
5748
- "name": "mode",
5749
- "default": "`multi`",
5750
- "description": "显示模式,可选值为 `simple`",
5677
+ "name": "mode",
5678
+ "default": "`multi`",
5679
+ "description": "显示模式,可选值为 `simple`",
5751
5680
  "value": {
5752
5681
  "type": "string",
5753
5682
  "kind": "expression"
@@ -5874,6 +5803,77 @@
5874
5803
  }
5875
5804
  ]
5876
5805
  },
5806
+ {
5807
+ "name": "van-overlay",
5808
+ "slots": [
5809
+ {
5810
+ "name": "default",
5811
+ "description": "默认插槽,用于在遮罩层上方嵌入内容"
5812
+ }
5813
+ ],
5814
+ "events": [
5815
+ {
5816
+ "name": "click",
5817
+ "description": "点击时触发"
5818
+ }
5819
+ ],
5820
+ "attributes": [
5821
+ {
5822
+ "name": "show",
5823
+ "default": "`false`",
5824
+ "description": "是否展示遮罩层",
5825
+ "value": {
5826
+ "type": "boolean",
5827
+ "kind": "expression"
5828
+ }
5829
+ },
5830
+ {
5831
+ "name": "z-index",
5832
+ "default": "`1`",
5833
+ "description": "z-index 层级",
5834
+ "value": {
5835
+ "type": "number | string",
5836
+ "kind": "expression"
5837
+ }
5838
+ },
5839
+ {
5840
+ "name": "duration",
5841
+ "default": "`0.3`",
5842
+ "description": "动画时长,单位秒",
5843
+ "value": {
5844
+ "type": "number | string",
5845
+ "kind": "expression"
5846
+ }
5847
+ },
5848
+ {
5849
+ "name": "class-name",
5850
+ "default": "-",
5851
+ "description": "自定义类名",
5852
+ "value": {
5853
+ "type": "string",
5854
+ "kind": "expression"
5855
+ }
5856
+ },
5857
+ {
5858
+ "name": "custom-style",
5859
+ "default": "-",
5860
+ "description": "自定义样式",
5861
+ "value": {
5862
+ "type": "object",
5863
+ "kind": "expression"
5864
+ }
5865
+ },
5866
+ {
5867
+ "name": "lock-scroll",
5868
+ "default": "`true`",
5869
+ "description": "是否锁定背景滚动,锁定时蒙层里的内容也将无法滚动",
5870
+ "value": {
5871
+ "type": "boolean",
5872
+ "kind": "expression"
5873
+ }
5874
+ }
5875
+ ]
5876
+ },
5877
5877
  {
5878
5878
  "name": "van-password-input",
5879
5879
  "slots": [],
@@ -7484,251 +7484,115 @@
7484
7484
  ]
7485
7485
  },
7486
7486
  {
7487
- "name": "van-slider",
7487
+ "name": "van-sku",
7488
7488
  "slots": [
7489
7489
  {
7490
- "name": "button",
7491
- "description": "自定义滑动按钮"
7490
+ "name": "sku-header",
7491
+ "description": "商品信息展示区,包含商品图片、名称、价格等信息"
7492
7492
  },
7493
7493
  {
7494
- "name": "left-button",
7495
- "description": "自定义左侧滑块按钮(双滑块模式下)"
7494
+ "name": "sku-header-price",
7495
+ "description": "自定义 sku 头部价格展示"
7496
7496
  },
7497
7497
  {
7498
- "name": "right-button",
7499
- "description": "自定义右侧滑块按钮(双滑块模式下)"
7498
+ "name": "sku-header-origin-price",
7499
+ "description": "自定义 sku 头部原价展示"
7500
+ },
7501
+ {
7502
+ "name": "sku-header-extra",
7503
+ "description": "额外 sku 头部区域"
7504
+ },
7505
+ {
7506
+ "name": "sku-header-image-extra",
7507
+ "description": "自定义 sku 头部图片额外的展示"
7508
+ },
7509
+ {
7510
+ "name": "sku-body-top",
7511
+ "description": "sku 展示区上方的内容,无默认展示内容,按需使用"
7512
+ },
7513
+ {
7514
+ "name": "sku-group",
7515
+ "description": "商品 sku 展示区"
7516
+ },
7517
+ {
7518
+ "name": "extra-sku-group",
7519
+ "description": "额外商品 sku 展示区,一般用不到"
7520
+ },
7521
+ {
7522
+ "name": "sku-stepper",
7523
+ "description": "商品数量选择区"
7524
+ },
7525
+ {
7526
+ "name": "sku-messages",
7527
+ "description": "商品留言区"
7528
+ },
7529
+ {
7530
+ "name": "before-sku-messages",
7531
+ "description": "商品留言之前的区域"
7532
+ },
7533
+ {
7534
+ "name": "after-sku-messages",
7535
+ "description": "商品留言之后的区域"
7536
+ },
7537
+ {
7538
+ "name": "sku-actions-top",
7539
+ "description": "操作按钮区顶部内容,无默认展示内容,按需使用"
7540
+ },
7541
+ {
7542
+ "name": "sku-actions",
7543
+ "description": "操作按钮区"
7500
7544
  }
7501
7545
  ],
7502
7546
  "events": [
7503
7547
  {
7504
- "name": "input",
7505
- "description": "进度变化时实时触发"
7548
+ "name": "add-cart",
7549
+ "description": "点击添加购物车回调"
7506
7550
  },
7507
7551
  {
7508
- "name": "change",
7509
- "description": "进度变化且结束拖动后触发"
7552
+ "name": "buy-clicked",
7553
+ "description": "点击购买回调"
7510
7554
  },
7511
7555
  {
7512
- "name": "drag-start",
7513
- "description": "开始拖动时触发"
7556
+ "name": "stepper-change",
7557
+ "description": "购买数量变化时触发"
7514
7558
  },
7515
7559
  {
7516
- "name": "drag-end",
7517
- "description": "结束拖动时触发"
7560
+ "name": "sku-selected",
7561
+ "description": "切换规格类目时触发"
7562
+ },
7563
+ {
7564
+ "name": "sku-prop-selected",
7565
+ "description": "切换商品属性时触发"
7566
+ },
7567
+ {
7568
+ "name": "open-preview",
7569
+ "description": "打开商品图片预览时触发"
7570
+ },
7571
+ {
7572
+ "name": "close-preview",
7573
+ "description": "关闭商品图片预览时触发"
7574
+ },
7575
+ {
7576
+ "name": "sku-reset",
7577
+ "description": "规格和属性被重置时触发"
7518
7578
  }
7519
7579
  ],
7520
7580
  "attributes": [
7521
7581
  {
7522
- "name": "value",
7523
- "default": "`0`",
7524
- "description": "当前进度百分比",
7582
+ "name": "v-model",
7583
+ "default": "`false`",
7584
+ "description": "是否显示商品规格弹窗",
7525
7585
  "value": {
7526
- "type": "number | array",
7586
+ "type": "boolean",
7527
7587
  "kind": "expression"
7528
7588
  }
7529
7589
  },
7530
7590
  {
7531
- "name": "max",
7532
- "default": "`100`",
7533
- "description": "最大值",
7591
+ "name": "sku",
7592
+ "default": "-",
7593
+ "description": "商品 sku 数据",
7534
7594
  "value": {
7535
- "type": "number | string",
7536
- "kind": "expression"
7537
- }
7538
- },
7539
- {
7540
- "name": "min",
7541
- "default": "`0`",
7542
- "description": "最小值",
7543
- "value": {
7544
- "type": "number | string",
7545
- "kind": "expression"
7546
- }
7547
- },
7548
- {
7549
- "name": "step",
7550
- "default": "`1`",
7551
- "description": "步长",
7552
- "value": {
7553
- "type": "number | string",
7554
- "kind": "expression"
7555
- }
7556
- },
7557
- {
7558
- "name": "bar-height",
7559
- "default": "`2px`",
7560
- "description": "进度条高度,默认单位为`px`",
7561
- "value": {
7562
- "type": "number | string",
7563
- "kind": "expression"
7564
- }
7565
- },
7566
- {
7567
- "name": "button-size",
7568
- "default": "`24px`",
7569
- "description": "滑块按钮大小,默认单位为`px`",
7570
- "value": {
7571
- "type": "number | string",
7572
- "kind": "expression"
7573
- }
7574
- },
7575
- {
7576
- "name": "active-color",
7577
- "default": "`#1989fa`",
7578
- "description": "进度条激活态颜色",
7579
- "value": {
7580
- "type": "string",
7581
- "kind": "expression"
7582
- }
7583
- },
7584
- {
7585
- "name": "inactive-color",
7586
- "default": "`#e5e5e5`",
7587
- "description": "进度条非激活态颜色",
7588
- "value": {
7589
- "type": "string",
7590
- "kind": "expression"
7591
- }
7592
- },
7593
- {
7594
- "name": "range",
7595
- "default": "`false`",
7596
- "description": "是否开启双滑块模式",
7597
- "value": {
7598
- "type": "boolean",
7599
- "kind": "expression"
7600
- }
7601
- },
7602
- {
7603
- "name": "disabled",
7604
- "default": "`false`",
7605
- "description": "是否禁用滑块",
7606
- "value": {
7607
- "type": "boolean",
7608
- "kind": "expression"
7609
- }
7610
- },
7611
- {
7612
- "name": "vertical",
7613
- "default": "`false`",
7614
- "description": "是否垂直展示",
7615
- "value": {
7616
- "type": "boolean",
7617
- "kind": "expression"
7618
- }
7619
- }
7620
- ]
7621
- },
7622
- {
7623
- "name": "van-sku",
7624
- "slots": [
7625
- {
7626
- "name": "sku-header",
7627
- "description": "商品信息展示区,包含商品图片、名称、价格等信息"
7628
- },
7629
- {
7630
- "name": "sku-header-price",
7631
- "description": "自定义 sku 头部价格展示"
7632
- },
7633
- {
7634
- "name": "sku-header-origin-price",
7635
- "description": "自定义 sku 头部原价展示"
7636
- },
7637
- {
7638
- "name": "sku-header-extra",
7639
- "description": "额外 sku 头部区域"
7640
- },
7641
- {
7642
- "name": "sku-header-image-extra",
7643
- "description": "自定义 sku 头部图片额外的展示"
7644
- },
7645
- {
7646
- "name": "sku-body-top",
7647
- "description": "sku 展示区上方的内容,无默认展示内容,按需使用"
7648
- },
7649
- {
7650
- "name": "sku-group",
7651
- "description": "商品 sku 展示区"
7652
- },
7653
- {
7654
- "name": "extra-sku-group",
7655
- "description": "额外商品 sku 展示区,一般用不到"
7656
- },
7657
- {
7658
- "name": "sku-stepper",
7659
- "description": "商品数量选择区"
7660
- },
7661
- {
7662
- "name": "sku-messages",
7663
- "description": "商品留言区"
7664
- },
7665
- {
7666
- "name": "before-sku-messages",
7667
- "description": "商品留言之前的区域"
7668
- },
7669
- {
7670
- "name": "after-sku-messages",
7671
- "description": "商品留言之后的区域"
7672
- },
7673
- {
7674
- "name": "sku-actions-top",
7675
- "description": "操作按钮区顶部内容,无默认展示内容,按需使用"
7676
- },
7677
- {
7678
- "name": "sku-actions",
7679
- "description": "操作按钮区"
7680
- }
7681
- ],
7682
- "events": [
7683
- {
7684
- "name": "add-cart",
7685
- "description": "点击添加购物车回调"
7686
- },
7687
- {
7688
- "name": "buy-clicked",
7689
- "description": "点击购买回调"
7690
- },
7691
- {
7692
- "name": "stepper-change",
7693
- "description": "购买数量变化时触发"
7694
- },
7695
- {
7696
- "name": "sku-selected",
7697
- "description": "切换规格类目时触发"
7698
- },
7699
- {
7700
- "name": "sku-prop-selected",
7701
- "description": "切换商品属性时触发"
7702
- },
7703
- {
7704
- "name": "open-preview",
7705
- "description": "打开商品图片预览时触发"
7706
- },
7707
- {
7708
- "name": "close-preview",
7709
- "description": "关闭商品图片预览时触发"
7710
- },
7711
- {
7712
- "name": "sku-reset",
7713
- "description": "规格和属性被重置时触发"
7714
- }
7715
- ],
7716
- "attributes": [
7717
- {
7718
- "name": "v-model",
7719
- "default": "`false`",
7720
- "description": "是否显示商品规格弹窗",
7721
- "value": {
7722
- "type": "boolean",
7723
- "kind": "expression"
7724
- }
7725
- },
7726
- {
7727
- "name": "sku",
7728
- "default": "-",
7729
- "description": "商品 sku 数据",
7730
- "value": {
7731
- "type": "object",
7595
+ "type": "object",
7732
7596
  "kind": "expression"
7733
7597
  }
7734
7598
  },
@@ -8005,73 +7869,209 @@
8005
7869
  ]
8006
7870
  },
8007
7871
  {
8008
- "name": "van-stepper",
8009
- "slots": [],
8010
- "events": [
7872
+ "name": "van-slider",
7873
+ "slots": [
8011
7874
  {
8012
- "name": "change",
8013
- "description": "当绑定值变化时触发的事件"
7875
+ "name": "button",
7876
+ "description": "自定义滑动按钮"
8014
7877
  },
8015
7878
  {
8016
- "name": "overlimit",
8017
- "description": "点击不可用的按钮时触发"
7879
+ "name": "left-button",
7880
+ "description": "自定义左侧滑块按钮(双滑块模式下)"
8018
7881
  },
8019
7882
  {
8020
- "name": "plus",
8021
- "description": "点击增加按钮时触发"
7883
+ "name": "right-button",
7884
+ "description": "自定义右侧滑块按钮(双滑块模式下)"
7885
+ }
7886
+ ],
7887
+ "events": [
7888
+ {
7889
+ "name": "input",
7890
+ "description": "进度变化时实时触发"
8022
7891
  },
8023
7892
  {
8024
- "name": "minus",
8025
- "description": "点击减少按钮时触发"
7893
+ "name": "change",
7894
+ "description": "进度变化且结束拖动后触发"
8026
7895
  },
8027
7896
  {
8028
- "name": "focus",
8029
- "description": "输入框聚焦时触发"
7897
+ "name": "drag-start",
7898
+ "description": "开始拖动时触发"
8030
7899
  },
8031
7900
  {
8032
- "name": "blur",
8033
- "description": "输入框失焦时触发"
7901
+ "name": "drag-end",
7902
+ "description": "结束拖动时触发"
8034
7903
  }
8035
7904
  ],
8036
7905
  "attributes": [
8037
7906
  {
8038
- "name": "v-model",
8039
- "default": "-",
8040
- "description": "当前输入的值",
7907
+ "name": "value",
7908
+ "default": "`0`",
7909
+ "description": "当前进度百分比",
8041
7910
  "value": {
8042
- "type": "number | string",
7911
+ "type": "number | array",
8043
7912
  "kind": "expression"
8044
7913
  }
8045
7914
  },
8046
7915
  {
8047
- "name": "min",
8048
- "default": "`1`",
8049
- "description": "最小值",
7916
+ "name": "max",
7917
+ "default": "`100`",
7918
+ "description": "最大值",
8050
7919
  "value": {
8051
7920
  "type": "number | string",
8052
7921
  "kind": "expression"
8053
7922
  }
8054
7923
  },
8055
7924
  {
8056
- "name": "max",
8057
- "default": "-",
8058
- "description": "最大值",
7925
+ "name": "min",
7926
+ "default": "`0`",
7927
+ "description": "最小值",
8059
7928
  "value": {
8060
7929
  "type": "number | string",
8061
7930
  "kind": "expression"
8062
7931
  }
8063
7932
  },
8064
7933
  {
8065
- "name": "default-value",
7934
+ "name": "step",
8066
7935
  "default": "`1`",
8067
- "description": "初始值,当 v-model 为空时生效",
7936
+ "description": "步长",
8068
7937
  "value": {
8069
7938
  "type": "number | string",
8070
7939
  "kind": "expression"
8071
7940
  }
8072
7941
  },
8073
7942
  {
8074
- "name": "step",
7943
+ "name": "bar-height",
7944
+ "default": "`2px`",
7945
+ "description": "进度条高度,默认单位为`px`",
7946
+ "value": {
7947
+ "type": "number | string",
7948
+ "kind": "expression"
7949
+ }
7950
+ },
7951
+ {
7952
+ "name": "button-size",
7953
+ "default": "`24px`",
7954
+ "description": "滑块按钮大小,默认单位为`px`",
7955
+ "value": {
7956
+ "type": "number | string",
7957
+ "kind": "expression"
7958
+ }
7959
+ },
7960
+ {
7961
+ "name": "active-color",
7962
+ "default": "`#1989fa`",
7963
+ "description": "进度条激活态颜色",
7964
+ "value": {
7965
+ "type": "string",
7966
+ "kind": "expression"
7967
+ }
7968
+ },
7969
+ {
7970
+ "name": "inactive-color",
7971
+ "default": "`#e5e5e5`",
7972
+ "description": "进度条非激活态颜色",
7973
+ "value": {
7974
+ "type": "string",
7975
+ "kind": "expression"
7976
+ }
7977
+ },
7978
+ {
7979
+ "name": "range",
7980
+ "default": "`false`",
7981
+ "description": "是否开启双滑块模式",
7982
+ "value": {
7983
+ "type": "boolean",
7984
+ "kind": "expression"
7985
+ }
7986
+ },
7987
+ {
7988
+ "name": "disabled",
7989
+ "default": "`false`",
7990
+ "description": "是否禁用滑块",
7991
+ "value": {
7992
+ "type": "boolean",
7993
+ "kind": "expression"
7994
+ }
7995
+ },
7996
+ {
7997
+ "name": "vertical",
7998
+ "default": "`false`",
7999
+ "description": "是否垂直展示",
8000
+ "value": {
8001
+ "type": "boolean",
8002
+ "kind": "expression"
8003
+ }
8004
+ }
8005
+ ]
8006
+ },
8007
+ {
8008
+ "name": "van-stepper",
8009
+ "slots": [],
8010
+ "events": [
8011
+ {
8012
+ "name": "change",
8013
+ "description": "当绑定值变化时触发的事件"
8014
+ },
8015
+ {
8016
+ "name": "overlimit",
8017
+ "description": "点击不可用的按钮时触发"
8018
+ },
8019
+ {
8020
+ "name": "plus",
8021
+ "description": "点击增加按钮时触发"
8022
+ },
8023
+ {
8024
+ "name": "minus",
8025
+ "description": "点击减少按钮时触发"
8026
+ },
8027
+ {
8028
+ "name": "focus",
8029
+ "description": "输入框聚焦时触发"
8030
+ },
8031
+ {
8032
+ "name": "blur",
8033
+ "description": "输入框失焦时触发"
8034
+ }
8035
+ ],
8036
+ "attributes": [
8037
+ {
8038
+ "name": "v-model",
8039
+ "default": "-",
8040
+ "description": "当前输入的值",
8041
+ "value": {
8042
+ "type": "number | string",
8043
+ "kind": "expression"
8044
+ }
8045
+ },
8046
+ {
8047
+ "name": "min",
8048
+ "default": "`1`",
8049
+ "description": "最小值",
8050
+ "value": {
8051
+ "type": "number | string",
8052
+ "kind": "expression"
8053
+ }
8054
+ },
8055
+ {
8056
+ "name": "max",
8057
+ "default": "-",
8058
+ "description": "最大值",
8059
+ "value": {
8060
+ "type": "number | string",
8061
+ "kind": "expression"
8062
+ }
8063
+ },
8064
+ {
8065
+ "name": "default-value",
8066
+ "default": "`1`",
8067
+ "description": "初始值,当 v-model 为空时生效",
8068
+ "value": {
8069
+ "type": "number | string",
8070
+ "kind": "expression"
8071
+ }
8072
+ },
8073
+ {
8074
+ "name": "step",
8075
8075
  "default": "`1`",
8076
8076
  "description": "步长,每次点击时改变的值",
8077
8077
  "value": {
@@ -8390,300 +8390,300 @@
8390
8390
  ]
8391
8391
  },
8392
8392
  {
8393
- "name": "van-swipe",
8393
+ "name": "van-submit-bar",
8394
8394
  "slots": [
8395
8395
  {
8396
8396
  "name": "default",
8397
- "description": "轮播内容"
8397
+ "description": "自定义订单栏左侧内容"
8398
8398
  },
8399
8399
  {
8400
- "name": "indicator",
8401
- "description": "自定义指示器"
8400
+ "name": "button",
8401
+ "description": "自定义按钮"
8402
+ },
8403
+ {
8404
+ "name": "top",
8405
+ "description": "自定义订单栏上方内容"
8406
+ },
8407
+ {
8408
+ "name": "tip",
8409
+ "description": "提示文案中的额外内容"
8402
8410
  }
8403
8411
  ],
8404
8412
  "events": [
8405
8413
  {
8406
- "name": "change",
8407
- "description": "每一页轮播结束后触发"
8414
+ "name": "submit",
8415
+ "description": "按钮点击事件回调"
8408
8416
  }
8409
8417
  ],
8410
8418
  "attributes": [
8411
8419
  {
8412
- "name": "autoplay",
8420
+ "name": "price",
8413
8421
  "default": "-",
8414
- "description": "自动轮播间隔,单位为 ms",
8422
+ "description": "价格(单位分)",
8415
8423
  "value": {
8416
- "type": "number | string",
8424
+ "type": "number",
8417
8425
  "kind": "expression"
8418
8426
  }
8419
8427
  },
8420
8428
  {
8421
- "name": "duration",
8422
- "default": "`500`",
8423
- "description": "动画时长,单位为 ms",
8429
+ "name": "decimal-length",
8430
+ "default": "`2`",
8431
+ "description": "价格小数点位数",
8424
8432
  "value": {
8425
8433
  "type": "number | string",
8426
8434
  "kind": "expression"
8427
8435
  }
8428
8436
  },
8429
8437
  {
8430
- "name": "initial-swipe",
8431
- "default": "`0`",
8432
- "description": "初始位置索引值",
8438
+ "name": "label",
8439
+ "default": "`合计:`",
8440
+ "description": "价格左侧文案",
8433
8441
  "value": {
8434
- "type": "number | string",
8442
+ "type": "string",
8435
8443
  "kind": "expression"
8436
8444
  }
8437
8445
  },
8438
8446
  {
8439
- "name": "width",
8440
- "default": "`auto`",
8441
- "description": "滑块宽度,单位为`px`",
8447
+ "name": "suffix-label",
8448
+ "default": "-",
8449
+ "description": "价格右侧文案",
8442
8450
  "value": {
8443
- "type": "number | string",
8451
+ "type": "string",
8444
8452
  "kind": "expression"
8445
8453
  }
8446
8454
  },
8447
8455
  {
8448
- "name": "height",
8449
- "default": "`auto`",
8450
- "description": "滑块高度,单位为`px`",
8456
+ "name": "text-align",
8457
+ "default": "`right`",
8458
+ "description": "价格文案对齐方向,可选值为 `left`",
8451
8459
  "value": {
8452
- "type": "number | string",
8460
+ "type": "string",
8453
8461
  "kind": "expression"
8454
8462
  }
8455
8463
  },
8456
8464
  {
8457
- "name": "loop",
8458
- "default": "`true`",
8459
- "description": "是否开启循环播放",
8465
+ "name": "button-text",
8466
+ "default": "-",
8467
+ "description": "按钮文字",
8460
8468
  "value": {
8461
- "type": "boolean",
8469
+ "type": "string",
8462
8470
  "kind": "expression"
8463
8471
  }
8464
8472
  },
8465
8473
  {
8466
- "name": "show-indicators",
8467
- "default": "`true`",
8468
- "description": "是否显示指示器",
8474
+ "name": "button-type",
8475
+ "default": "`danger`",
8476
+ "description": "按钮类型",
8469
8477
  "value": {
8470
- "type": "boolean",
8478
+ "type": "string",
8471
8479
  "kind": "expression"
8472
8480
  }
8473
8481
  },
8474
8482
  {
8475
- "name": "vertical",
8476
- "default": "`false`",
8477
- "description": "是否为纵向滚动",
8483
+ "name": "button-color",
8484
+ "default": "-",
8485
+ "description": "自定义按钮颜色",
8478
8486
  "value": {
8479
- "type": "boolean",
8487
+ "type": "string",
8480
8488
  "kind": "expression"
8481
8489
  }
8482
8490
  },
8483
8491
  {
8484
- "name": "touchable",
8485
- "default": "`true`",
8486
- "description": "是否可以通过手势滑动",
8492
+ "name": "tip",
8493
+ "default": "-",
8494
+ "description": "在订单栏上方的提示文案",
8487
8495
  "value": {
8488
- "type": "boolean",
8496
+ "type": "string",
8489
8497
  "kind": "expression"
8490
8498
  }
8491
8499
  },
8492
8500
  {
8493
- "name": "stop-propagation",
8494
- "default": "`true`",
8495
- "description": "是否阻止滑动事件冒泡",
8501
+ "name": "tip-icon",
8502
+ "default": "-",
8503
+ "description": "提示文案左侧的[图标名称](#/zh-CN/icon)或图片链接",
8504
+ "value": {
8505
+ "type": "string",
8506
+ "kind": "expression"
8507
+ }
8508
+ },
8509
+ {
8510
+ "name": "currency",
8511
+ "default": "`¥`",
8512
+ "description": "货币符号",
8513
+ "value": {
8514
+ "type": "string",
8515
+ "kind": "expression"
8516
+ }
8517
+ },
8518
+ {
8519
+ "name": "disabled",
8520
+ "default": "`false`",
8521
+ "description": "是否禁用按钮",
8496
8522
  "value": {
8497
8523
  "type": "boolean",
8498
8524
  "kind": "expression"
8499
8525
  }
8500
8526
  },
8501
8527
  {
8502
- "name": "lazy-render",
8528
+ "name": "loading",
8503
8529
  "default": "`false`",
8504
- "description": "是否延迟渲染未展示的轮播",
8530
+ "description": "是否显示将按钮显示为加载中状态",
8505
8531
  "value": {
8506
8532
  "type": "boolean",
8507
8533
  "kind": "expression"
8508
8534
  }
8509
8535
  },
8510
8536
  {
8511
- "name": "indicator-color",
8512
- "default": "`#1989fa`",
8513
- "description": "指示器颜色",
8537
+ "name": "safe-area-inset-bottom",
8538
+ "default": "`true`",
8539
+ "description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei)",
8514
8540
  "value": {
8515
- "type": "string",
8541
+ "type": "boolean",
8516
8542
  "kind": "expression"
8517
8543
  }
8518
8544
  }
8519
8545
  ]
8520
8546
  },
8521
8547
  {
8522
- "name": "van-swipe-item",
8523
- "slots": [],
8524
- "events": [
8525
- {
8526
- "name": "click",
8527
- "description": "点击时触发"
8528
- }
8529
- ],
8530
- "attributes": []
8531
- },
8532
- {
8533
- "name": "van-submit-bar",
8548
+ "name": "van-swipe",
8534
8549
  "slots": [
8535
8550
  {
8536
8551
  "name": "default",
8537
- "description": "自定义订单栏左侧内容"
8538
- },
8539
- {
8540
- "name": "button",
8541
- "description": "自定义按钮"
8542
- },
8543
- {
8544
- "name": "top",
8545
- "description": "自定义订单栏上方内容"
8552
+ "description": "轮播内容"
8546
8553
  },
8547
8554
  {
8548
- "name": "tip",
8549
- "description": "提示文案中的额外内容"
8555
+ "name": "indicator",
8556
+ "description": "自定义指示器"
8550
8557
  }
8551
8558
  ],
8552
8559
  "events": [
8553
8560
  {
8554
- "name": "submit",
8555
- "description": "按钮点击事件回调"
8561
+ "name": "change",
8562
+ "description": "每一页轮播结束后触发"
8556
8563
  }
8557
8564
  ],
8558
8565
  "attributes": [
8559
8566
  {
8560
- "name": "price",
8567
+ "name": "autoplay",
8561
8568
  "default": "-",
8562
- "description": "价格(单位分)",
8563
- "value": {
8564
- "type": "number",
8565
- "kind": "expression"
8566
- }
8567
- },
8568
- {
8569
- "name": "decimal-length",
8570
- "default": "`2`",
8571
- "description": "价格小数点位数",
8569
+ "description": "自动轮播间隔,单位为 ms",
8572
8570
  "value": {
8573
8571
  "type": "number | string",
8574
8572
  "kind": "expression"
8575
8573
  }
8576
8574
  },
8577
8575
  {
8578
- "name": "label",
8579
- "default": "`合计:`",
8580
- "description": "价格左侧文案",
8581
- "value": {
8582
- "type": "string",
8583
- "kind": "expression"
8584
- }
8585
- },
8586
- {
8587
- "name": "suffix-label",
8588
- "default": "-",
8589
- "description": "价格右侧文案",
8576
+ "name": "duration",
8577
+ "default": "`500`",
8578
+ "description": "动画时长,单位为 ms",
8590
8579
  "value": {
8591
- "type": "string",
8580
+ "type": "number | string",
8592
8581
  "kind": "expression"
8593
8582
  }
8594
8583
  },
8595
8584
  {
8596
- "name": "text-align",
8597
- "default": "`right`",
8598
- "description": "价格文案对齐方向,可选值为 `left`",
8585
+ "name": "initial-swipe",
8586
+ "default": "`0`",
8587
+ "description": "初始位置索引值",
8599
8588
  "value": {
8600
- "type": "string",
8589
+ "type": "number | string",
8601
8590
  "kind": "expression"
8602
8591
  }
8603
8592
  },
8604
8593
  {
8605
- "name": "button-text",
8606
- "default": "-",
8607
- "description": "按钮文字",
8594
+ "name": "width",
8595
+ "default": "`auto`",
8596
+ "description": "滑块宽度,单位为`px`",
8608
8597
  "value": {
8609
- "type": "string",
8598
+ "type": "number | string",
8610
8599
  "kind": "expression"
8611
8600
  }
8612
8601
  },
8613
8602
  {
8614
- "name": "button-type",
8615
- "default": "`danger`",
8616
- "description": "按钮类型",
8603
+ "name": "height",
8604
+ "default": "`auto`",
8605
+ "description": "滑块高度,单位为`px`",
8617
8606
  "value": {
8618
- "type": "string",
8607
+ "type": "number | string",
8619
8608
  "kind": "expression"
8620
8609
  }
8621
8610
  },
8622
8611
  {
8623
- "name": "button-color",
8624
- "default": "-",
8625
- "description": "自定义按钮颜色",
8612
+ "name": "loop",
8613
+ "default": "`true`",
8614
+ "description": "是否开启循环播放",
8626
8615
  "value": {
8627
- "type": "string",
8616
+ "type": "boolean",
8628
8617
  "kind": "expression"
8629
8618
  }
8630
8619
  },
8631
8620
  {
8632
- "name": "tip",
8633
- "default": "-",
8634
- "description": "在订单栏上方的提示文案",
8621
+ "name": "show-indicators",
8622
+ "default": "`true`",
8623
+ "description": "是否显示指示器",
8635
8624
  "value": {
8636
- "type": "string",
8625
+ "type": "boolean",
8637
8626
  "kind": "expression"
8638
8627
  }
8639
8628
  },
8640
8629
  {
8641
- "name": "tip-icon",
8642
- "default": "-",
8643
- "description": "提示文案左侧的[图标名称](#/zh-CN/icon)或图片链接",
8630
+ "name": "vertical",
8631
+ "default": "`false`",
8632
+ "description": "是否为纵向滚动",
8644
8633
  "value": {
8645
- "type": "string",
8634
+ "type": "boolean",
8646
8635
  "kind": "expression"
8647
8636
  }
8648
8637
  },
8649
8638
  {
8650
- "name": "currency",
8651
- "default": "`¥`",
8652
- "description": "货币符号",
8639
+ "name": "touchable",
8640
+ "default": "`true`",
8641
+ "description": "是否可以通过手势滑动",
8653
8642
  "value": {
8654
- "type": "string",
8643
+ "type": "boolean",
8655
8644
  "kind": "expression"
8656
8645
  }
8657
8646
  },
8658
8647
  {
8659
- "name": "disabled",
8660
- "default": "`false`",
8661
- "description": "是否禁用按钮",
8648
+ "name": "stop-propagation",
8649
+ "default": "`true`",
8650
+ "description": "是否阻止滑动事件冒泡",
8662
8651
  "value": {
8663
8652
  "type": "boolean",
8664
8653
  "kind": "expression"
8665
8654
  }
8666
8655
  },
8667
8656
  {
8668
- "name": "loading",
8657
+ "name": "lazy-render",
8669
8658
  "default": "`false`",
8670
- "description": "是否显示将按钮显示为加载中状态",
8659
+ "description": "是否延迟渲染未展示的轮播",
8671
8660
  "value": {
8672
8661
  "type": "boolean",
8673
8662
  "kind": "expression"
8674
8663
  }
8675
8664
  },
8676
8665
  {
8677
- "name": "safe-area-inset-bottom",
8678
- "default": "`true`",
8679
- "description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei)",
8666
+ "name": "indicator-color",
8667
+ "default": "`#1989fa`",
8668
+ "description": "指示器颜色",
8680
8669
  "value": {
8681
- "type": "boolean",
8670
+ "type": "string",
8682
8671
  "kind": "expression"
8683
8672
  }
8684
8673
  }
8685
8674
  ]
8686
8675
  },
8676
+ {
8677
+ "name": "van-swipe-item",
8678
+ "slots": [],
8679
+ "events": [
8680
+ {
8681
+ "name": "click",
8682
+ "description": "点击时触发"
8683
+ }
8684
+ ],
8685
+ "attributes": []
8686
+ },
8687
8687
  {
8688
8688
  "name": "van-swipe-cell",
8689
8689
  "slots": [