vant 2.12.27 → 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.
- package/README.md +1 -0
- package/README.zh-CN.md +1 -0
- package/changelog.generated.md +6 -6
- package/es/icon/index.css +1 -1
- package/es/icon/local.css +0 -1
- package/es/index.js +1 -1
- package/es/mixins/checkbox.js +1 -1
- package/es/sku/components/SkuMessages.js +16 -3
- package/es/sku/index.css +1 -1
- package/es/sku/index.less +21 -0
- package/es/tabs/utils.js +2 -4
- package/lib/icon/index.css +1 -1
- package/lib/icon/local.css +0 -1
- package/lib/index.css +1 -1
- package/lib/index.js +1 -1
- package/lib/mixins/checkbox.js +1 -1
- package/lib/sku/components/SkuMessages.js +16 -3
- package/lib/sku/index.css +1 -1
- package/lib/sku/index.less +21 -0
- package/lib/tabs/utils.js +1 -4
- package/lib/vant.js +11213 -11194
- package/lib/vant.min.js +2 -2
- package/package.json +3 -3
- package/vetur/attributes.json +232 -232
- package/vetur/tags.json +86 -86
- package/vetur/web-types.json +837 -837
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "vant",
|
3
|
-
"version": "2.12.
|
3
|
+
"version": "2.12.30-beta.1",
|
4
4
|
"description": "Mobile UI Components built on Vue",
|
5
5
|
"main": "lib/index.js",
|
6
6
|
"module": "es/index.js",
|
@@ -54,8 +54,8 @@
|
|
54
54
|
"license": "MIT",
|
55
55
|
"dependencies": {
|
56
56
|
"@babel/runtime": "7.x",
|
57
|
-
"@vant/icons": "^1.
|
58
|
-
"@vant/popperjs": "^1.
|
57
|
+
"@vant/icons": "^1.7.1",
|
58
|
+
"@vant/popperjs": "^1.1.0",
|
59
59
|
"@vue/babel-helper-vue-jsx-merge-props": "^1.0.0",
|
60
60
|
"vue-lazyload": "1.2.3"
|
61
61
|
},
|
package/vetur/attributes.json
CHANGED
@@ -1,31 +1,71 @@
|
|
1
1
|
{
|
2
|
-
"van-
|
3
|
-
"type": "
|
4
|
-
"description": "
|
2
|
+
"van-action-sheet/v-model (value)": {
|
3
|
+
"type": "boolean",
|
4
|
+
"description": "是否显示动作面板, 默认值: `false`"
|
5
5
|
},
|
6
|
-
"van-
|
7
|
-
"type": "
|
8
|
-
"description": "
|
6
|
+
"van-action-sheet/actions": {
|
7
|
+
"type": "Action[]",
|
8
|
+
"description": "面板选项列表, 默认值: `[]`"
|
9
9
|
},
|
10
|
-
"van-
|
11
|
-
"type": "
|
12
|
-
"description": "
|
10
|
+
"van-action-sheet/title": {
|
11
|
+
"type": "string",
|
12
|
+
"description": "顶部标题, 默认值: -"
|
13
13
|
},
|
14
|
-
"van-
|
14
|
+
"van-action-sheet/cancel-text": {
|
15
15
|
"type": "string",
|
16
|
-
"description": "
|
16
|
+
"description": "取消按钮文字, 默认值: -"
|
17
17
|
},
|
18
|
-
"van-
|
18
|
+
"van-action-sheet/description": {
|
19
|
+
"type": "string",
|
20
|
+
"description": "选项上方的描述信息, 默认值: -"
|
21
|
+
},
|
22
|
+
"van-action-sheet/closeable": {
|
19
23
|
"type": "boolean",
|
20
|
-
"description": "
|
24
|
+
"description": "是否显示关闭图标, 默认值: `true`"
|
21
25
|
},
|
22
|
-
"van-
|
26
|
+
"van-action-sheet/close-icon": {
|
23
27
|
"type": "string",
|
24
|
-
"description": "
|
28
|
+
"description": "关闭[图标名称](#/zh-CN/icon)或图片链接, 默认值: `cross`"
|
25
29
|
},
|
26
|
-
"van-
|
27
|
-
"type": "string",
|
28
|
-
"description": "
|
30
|
+
"van-action-sheet/duration": {
|
31
|
+
"type": "number | string",
|
32
|
+
"description": "动画时长,单位秒, 默认值: `0.3`"
|
33
|
+
},
|
34
|
+
"van-action-sheet/round": {
|
35
|
+
"type": "boolean",
|
36
|
+
"description": "是否显示圆角, 默认值: `true`"
|
37
|
+
},
|
38
|
+
"van-action-sheet/overlay": {
|
39
|
+
"type": "boolean",
|
40
|
+
"description": "是否显示遮罩层, 默认值: `true`"
|
41
|
+
},
|
42
|
+
"van-action-sheet/lock-scroll": {
|
43
|
+
"type": "boolean",
|
44
|
+
"description": "是否锁定背景滚动, 默认值: `true`"
|
45
|
+
},
|
46
|
+
"van-action-sheet/lazy-render": {
|
47
|
+
"type": "boolean",
|
48
|
+
"description": "是否在显示弹层时才渲染节点, 默认值: `true`"
|
49
|
+
},
|
50
|
+
"van-action-sheet/close-on-popstate": {
|
51
|
+
"type": "boolean",
|
52
|
+
"description": "是否在页面回退时自动关闭, 默认值: `false`"
|
53
|
+
},
|
54
|
+
"van-action-sheet/close-on-click-action": {
|
55
|
+
"type": "boolean",
|
56
|
+
"description": "是否在点击选项后关闭, 默认值: `false`"
|
57
|
+
},
|
58
|
+
"van-action-sheet/close-on-click-overlay": {
|
59
|
+
"type": "boolean",
|
60
|
+
"description": "是否在点击遮罩层后关闭, 默认值: `true`"
|
61
|
+
},
|
62
|
+
"van-action-sheet/safe-area-inset-bottom": {
|
63
|
+
"type": "boolean",
|
64
|
+
"description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei), 默认值: `true`"
|
65
|
+
},
|
66
|
+
"van-action-sheet/get-container": {
|
67
|
+
"type": "string | () => Element",
|
68
|
+
"description": "指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi), 默认值: -"
|
29
69
|
},
|
30
70
|
"van-address-edit/area-list": {
|
31
71
|
"type": "object",
|
@@ -115,6 +155,22 @@
|
|
115
155
|
"type": "(key, val) => string",
|
116
156
|
"description": "自定义校验函数, 默认值: -"
|
117
157
|
},
|
158
|
+
"van-badge/content": {
|
159
|
+
"type": "number | string",
|
160
|
+
"description": "徽标内容, 默认值: -"
|
161
|
+
},
|
162
|
+
"van-badge/color": {
|
163
|
+
"type": "string",
|
164
|
+
"description": "徽标背景颜色, 默认值: `#ee0a24`"
|
165
|
+
},
|
166
|
+
"van-badge/dot": {
|
167
|
+
"type": "boolean",
|
168
|
+
"description": "是否展示为小红点, 默认值: `false`"
|
169
|
+
},
|
170
|
+
"van-badge/max": {
|
171
|
+
"type": "number | string",
|
172
|
+
"description": "最大值,超过最大值会显示 `{max}+`,仅当 content 为数字时有效, 默认值: -"
|
173
|
+
},
|
118
174
|
"van-area/value": {
|
119
175
|
"type": "string",
|
120
176
|
"description": "当前选中的省市区`code`, 默认值: -"
|
@@ -255,21 +311,33 @@
|
|
255
311
|
"type": "boolean",
|
256
312
|
"description": "是否在跳转时替换当前页面历史, 默认值: `false`"
|
257
313
|
},
|
258
|
-
"van-
|
259
|
-
"type": "
|
260
|
-
"description": "
|
314
|
+
"van-address-list/v-model": {
|
315
|
+
"type": "string",
|
316
|
+
"description": "当前选中地址的 id, 默认值: -"
|
261
317
|
},
|
262
|
-
"van-
|
318
|
+
"van-address-list/list": {
|
319
|
+
"type": "Address[]",
|
320
|
+
"description": "地址列表, 默认值: `[]`"
|
321
|
+
},
|
322
|
+
"van-address-list/disabled-list": {
|
323
|
+
"type": "Address[]",
|
324
|
+
"description": "不可配送地址列表, 默认值: `[]`"
|
325
|
+
},
|
326
|
+
"van-address-list/disabled-text": {
|
263
327
|
"type": "string",
|
264
|
-
"description": "
|
328
|
+
"description": "不可配送提示文案, 默认值: -"
|
265
329
|
},
|
266
|
-
"van-
|
330
|
+
"van-address-list/switchable": {
|
267
331
|
"type": "boolean",
|
268
|
-
"description": "
|
332
|
+
"description": "是否允许切换地址, 默认值: `true`"
|
269
333
|
},
|
270
|
-
"van-
|
271
|
-
"type": "
|
272
|
-
"description": "
|
334
|
+
"van-address-list/add-button-text": {
|
335
|
+
"type": "string",
|
336
|
+
"description": "底部按钮文字, 默认值: `新增地址`"
|
337
|
+
},
|
338
|
+
"van-address-list/default-tag-text": {
|
339
|
+
"type": "string",
|
340
|
+
"description": "默认地址标签文字, 默认值: -"
|
273
341
|
},
|
274
342
|
"van-calendar/type": {
|
275
343
|
"type": "string",
|
@@ -547,74 +615,6 @@
|
|
547
615
|
"type": "any",
|
548
616
|
"description": "描述信息额外类名, 默认值: -"
|
549
617
|
},
|
550
|
-
"van-action-sheet/v-model (value)": {
|
551
|
-
"type": "boolean",
|
552
|
-
"description": "是否显示动作面板, 默认值: `false`"
|
553
|
-
},
|
554
|
-
"van-action-sheet/actions": {
|
555
|
-
"type": "Action[]",
|
556
|
-
"description": "面板选项列表, 默认值: `[]`"
|
557
|
-
},
|
558
|
-
"van-action-sheet/title": {
|
559
|
-
"type": "string",
|
560
|
-
"description": "顶部标题, 默认值: -"
|
561
|
-
},
|
562
|
-
"van-action-sheet/cancel-text": {
|
563
|
-
"type": "string",
|
564
|
-
"description": "取消按钮文字, 默认值: -"
|
565
|
-
},
|
566
|
-
"van-action-sheet/description": {
|
567
|
-
"type": "string",
|
568
|
-
"description": "选项上方的描述信息, 默认值: -"
|
569
|
-
},
|
570
|
-
"van-action-sheet/closeable": {
|
571
|
-
"type": "boolean",
|
572
|
-
"description": "是否显示关闭图标, 默认值: `true`"
|
573
|
-
},
|
574
|
-
"van-action-sheet/close-icon": {
|
575
|
-
"type": "string",
|
576
|
-
"description": "关闭[图标名称](#/zh-CN/icon)或图片链接, 默认值: `cross`"
|
577
|
-
},
|
578
|
-
"van-action-sheet/duration": {
|
579
|
-
"type": "number | string",
|
580
|
-
"description": "动画时长,单位秒, 默认值: `0.3`"
|
581
|
-
},
|
582
|
-
"van-action-sheet/round": {
|
583
|
-
"type": "boolean",
|
584
|
-
"description": "是否显示圆角, 默认值: `true`"
|
585
|
-
},
|
586
|
-
"van-action-sheet/overlay": {
|
587
|
-
"type": "boolean",
|
588
|
-
"description": "是否显示遮罩层, 默认值: `true`"
|
589
|
-
},
|
590
|
-
"van-action-sheet/lock-scroll": {
|
591
|
-
"type": "boolean",
|
592
|
-
"description": "是否锁定背景滚动, 默认值: `true`"
|
593
|
-
},
|
594
|
-
"van-action-sheet/lazy-render": {
|
595
|
-
"type": "boolean",
|
596
|
-
"description": "是否在显示弹层时才渲染节点, 默认值: `true`"
|
597
|
-
},
|
598
|
-
"van-action-sheet/close-on-popstate": {
|
599
|
-
"type": "boolean",
|
600
|
-
"description": "是否在页面回退时自动关闭, 默认值: `false`"
|
601
|
-
},
|
602
|
-
"van-action-sheet/close-on-click-action": {
|
603
|
-
"type": "boolean",
|
604
|
-
"description": "是否在点击选项后关闭, 默认值: `false`"
|
605
|
-
},
|
606
|
-
"van-action-sheet/close-on-click-overlay": {
|
607
|
-
"type": "boolean",
|
608
|
-
"description": "是否在点击遮罩层后关闭, 默认值: `true`"
|
609
|
-
},
|
610
|
-
"van-action-sheet/safe-area-inset-bottom": {
|
611
|
-
"type": "boolean",
|
612
|
-
"description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei), 默认值: `true`"
|
613
|
-
},
|
614
|
-
"van-action-sheet/get-container": {
|
615
|
-
"type": "string | () => Element",
|
616
|
-
"description": "指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi), 默认值: -"
|
617
|
-
},
|
618
618
|
"van-checkbox/v-model (value)": {
|
619
619
|
"type": "boolean",
|
620
620
|
"description": "是否为选中状态, 默认值: `false`"
|
@@ -1151,18 +1151,6 @@
|
|
1151
1151
|
"type": "string | () => Element",
|
1152
1152
|
"description": "指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi), 默认值: -"
|
1153
1153
|
},
|
1154
|
-
"van-divider/dashed": {
|
1155
|
-
"type": "boolean",
|
1156
|
-
"description": "是否使用虚线, 默认值: `false`"
|
1157
|
-
},
|
1158
|
-
"van-divider/hairline": {
|
1159
|
-
"type": "boolean",
|
1160
|
-
"description": "是否使用 0.5px 线, 默认值: `true`"
|
1161
|
-
},
|
1162
|
-
"van-divider/content-position": {
|
1163
|
-
"type": "string",
|
1164
|
-
"description": "内容位置,可选值为`left` `right`, 默认值: `center`"
|
1165
|
-
},
|
1166
1154
|
"van-dropdown-menu/active-color": {
|
1167
1155
|
"type": "string",
|
1168
1156
|
"description": "菜单标题和选项的选中态颜色, 默认值: `#ee0a24`"
|
@@ -1219,6 +1207,18 @@
|
|
1219
1207
|
"type": "string | () => Element",
|
1220
1208
|
"description": "指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi), 默认值: -"
|
1221
1209
|
},
|
1210
|
+
"van-divider/dashed": {
|
1211
|
+
"type": "boolean",
|
1212
|
+
"description": "是否使用虚线, 默认值: `false`"
|
1213
|
+
},
|
1214
|
+
"van-divider/hairline": {
|
1215
|
+
"type": "boolean",
|
1216
|
+
"description": "是否使用 0.5px 线, 默认值: `true`"
|
1217
|
+
},
|
1218
|
+
"van-divider/content-position": {
|
1219
|
+
"type": "string",
|
1220
|
+
"description": "内容位置,可选值为`left` `right`, 默认值: `center`"
|
1221
|
+
},
|
1222
1222
|
"van-empty/image": {
|
1223
1223
|
"type": "string",
|
1224
1224
|
"description": "图片类型,可选值为 `error` `network` `search`,支持传入图片 URL, 默认值: `default`"
|
@@ -1603,6 +1603,58 @@
|
|
1603
1603
|
"type": "string",
|
1604
1604
|
"description": "HTML 标签, 默认值: `i`"
|
1605
1605
|
},
|
1606
|
+
"van-image/src": {
|
1607
|
+
"type": "string",
|
1608
|
+
"description": "图片链接, 默认值: -"
|
1609
|
+
},
|
1610
|
+
"van-image/fit": {
|
1611
|
+
"type": "string",
|
1612
|
+
"description": "图片填充模式, 默认值: `fill`"
|
1613
|
+
},
|
1614
|
+
"van-image/alt": {
|
1615
|
+
"type": "string",
|
1616
|
+
"description": "替代文本, 默认值: -"
|
1617
|
+
},
|
1618
|
+
"van-image/width": {
|
1619
|
+
"type": "number | string",
|
1620
|
+
"description": "宽度,默认单位为`px`, 默认值: -"
|
1621
|
+
},
|
1622
|
+
"van-image/height": {
|
1623
|
+
"type": "number | string",
|
1624
|
+
"description": "高度,默认单位为`px`, 默认值: -"
|
1625
|
+
},
|
1626
|
+
"van-image/radius": {
|
1627
|
+
"type": "number | string",
|
1628
|
+
"description": "圆角大小,默认单位为`px`, 默认值: `0`"
|
1629
|
+
},
|
1630
|
+
"van-image/round": {
|
1631
|
+
"type": "boolean",
|
1632
|
+
"description": "是否显示为圆形, 默认值: `false`"
|
1633
|
+
},
|
1634
|
+
"van-image/lazy-load": {
|
1635
|
+
"type": "boolean",
|
1636
|
+
"description": "是否开启图片懒加载,须配合 [Lazyload](#/zh-CN/lazyload) 组件使用, 默认值: `false`"
|
1637
|
+
},
|
1638
|
+
"van-image/show-error": {
|
1639
|
+
"type": "boolean",
|
1640
|
+
"description": "是否展示图片加载失败提示, 默认值: `true`"
|
1641
|
+
},
|
1642
|
+
"van-image/show-loading": {
|
1643
|
+
"type": "boolean",
|
1644
|
+
"description": "是否展示图片加载中提示, 默认值: `true`"
|
1645
|
+
},
|
1646
|
+
"van-image/error-icon": {
|
1647
|
+
"type": "string",
|
1648
|
+
"description": "失败时提示的[图标名称](#/zh-CN/icon)或图片链接, 默认值: `photo-fail`"
|
1649
|
+
},
|
1650
|
+
"van-image/loading-icon": {
|
1651
|
+
"type": "string",
|
1652
|
+
"description": "加载时提示的[图标名称](#/zh-CN/icon)或图片链接, 默认值: `photo`"
|
1653
|
+
},
|
1654
|
+
"van-image/icon-prefix": {
|
1655
|
+
"type": "string",
|
1656
|
+
"description": "图标类名前缀,同 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props), 默认值: `van-icon`"
|
1657
|
+
},
|
1606
1658
|
"van-image-preview/images": {
|
1607
1659
|
"type": "string[]",
|
1608
1660
|
"description": "需要预览的图片 URL 数组, 默认值: `[]`"
|
@@ -1667,58 +1719,6 @@
|
|
1667
1719
|
"type": "string | () => Element",
|
1668
1720
|
"description": "指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi), 默认值: -"
|
1669
1721
|
},
|
1670
|
-
"van-image/src": {
|
1671
|
-
"type": "string",
|
1672
|
-
"description": "图片链接, 默认值: -"
|
1673
|
-
},
|
1674
|
-
"van-image/fit": {
|
1675
|
-
"type": "string",
|
1676
|
-
"description": "图片填充模式, 默认值: `fill`"
|
1677
|
-
},
|
1678
|
-
"van-image/alt": {
|
1679
|
-
"type": "string",
|
1680
|
-
"description": "替代文本, 默认值: -"
|
1681
|
-
},
|
1682
|
-
"van-image/width": {
|
1683
|
-
"type": "number | string",
|
1684
|
-
"description": "宽度,默认单位为`px`, 默认值: -"
|
1685
|
-
},
|
1686
|
-
"van-image/height": {
|
1687
|
-
"type": "number | string",
|
1688
|
-
"description": "高度,默认单位为`px`, 默认值: -"
|
1689
|
-
},
|
1690
|
-
"van-image/radius": {
|
1691
|
-
"type": "number | string",
|
1692
|
-
"description": "圆角大小,默认单位为`px`, 默认值: `0`"
|
1693
|
-
},
|
1694
|
-
"van-image/round": {
|
1695
|
-
"type": "boolean",
|
1696
|
-
"description": "是否显示为圆形, 默认值: `false`"
|
1697
|
-
},
|
1698
|
-
"van-image/lazy-load": {
|
1699
|
-
"type": "boolean",
|
1700
|
-
"description": "是否开启图片懒加载,须配合 [Lazyload](#/zh-CN/lazyload) 组件使用, 默认值: `false`"
|
1701
|
-
},
|
1702
|
-
"van-image/show-error": {
|
1703
|
-
"type": "boolean",
|
1704
|
-
"description": "是否展示图片加载失败提示, 默认值: `true`"
|
1705
|
-
},
|
1706
|
-
"van-image/show-loading": {
|
1707
|
-
"type": "boolean",
|
1708
|
-
"description": "是否展示图片加载中提示, 默认值: `true`"
|
1709
|
-
},
|
1710
|
-
"van-image/error-icon": {
|
1711
|
-
"type": "string",
|
1712
|
-
"description": "失败时提示的[图标名称](#/zh-CN/icon)或图片链接, 默认值: `photo-fail`"
|
1713
|
-
},
|
1714
|
-
"van-image/loading-icon": {
|
1715
|
-
"type": "string",
|
1716
|
-
"description": "加载时提示的[图标名称](#/zh-CN/icon)或图片链接, 默认值: `photo`"
|
1717
|
-
},
|
1718
|
-
"van-image/icon-prefix": {
|
1719
|
-
"type": "string",
|
1720
|
-
"description": "图标类名前缀,同 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props), 默认值: `van-icon`"
|
1721
|
-
},
|
1722
1722
|
"van-index-bar/index-list": {
|
1723
1723
|
"type": "string[] | number[]",
|
1724
1724
|
"description": "索引字符列表, 默认值: `A-Z`"
|
@@ -1743,6 +1743,30 @@
|
|
1743
1743
|
"type": "number | string",
|
1744
1744
|
"description": "索引字符, 默认值: -"
|
1745
1745
|
},
|
1746
|
+
"van-loading/color": {
|
1747
|
+
"type": "string",
|
1748
|
+
"description": "颜色, 默认值: `#c9c9c9`"
|
1749
|
+
},
|
1750
|
+
"van-loading/type": {
|
1751
|
+
"type": "string",
|
1752
|
+
"description": "类型,可选值为 `spinner`, 默认值: `circular`"
|
1753
|
+
},
|
1754
|
+
"van-loading/size": {
|
1755
|
+
"type": "number | string",
|
1756
|
+
"description": "加载图标大小,默认单位为 `px`, 默认值: `30px`"
|
1757
|
+
},
|
1758
|
+
"van-loading/text-size": {
|
1759
|
+
"type": "number | string",
|
1760
|
+
"description": "文字大小,默认单位为 `px`, 默认值: `14px`"
|
1761
|
+
},
|
1762
|
+
"van-loading/text-color": {
|
1763
|
+
"type": "string",
|
1764
|
+
"description": "文字颜色, 默认值: `#c9c9c9`"
|
1765
|
+
},
|
1766
|
+
"van-loading/vertical": {
|
1767
|
+
"type": "boolean",
|
1768
|
+
"description": "是否垂直排列图标和文字内容, 默认值: `false`"
|
1769
|
+
},
|
1746
1770
|
"van-list/v-model": {
|
1747
1771
|
"type": "boolean",
|
1748
1772
|
"description": "是否处于加载状态,加载过程中不触发`load`事件, 默认值: `false`"
|
@@ -1779,30 +1803,6 @@
|
|
1779
1803
|
"type": "string",
|
1780
1804
|
"description": "滚动触发加载的方向,可选值为`up`, 默认值: `down`"
|
1781
1805
|
},
|
1782
|
-
"van-loading/color": {
|
1783
|
-
"type": "string",
|
1784
|
-
"description": "颜色, 默认值: `#c9c9c9`"
|
1785
|
-
},
|
1786
|
-
"van-loading/type": {
|
1787
|
-
"type": "string",
|
1788
|
-
"description": "类型,可选值为 `spinner`, 默认值: `circular`"
|
1789
|
-
},
|
1790
|
-
"van-loading/size": {
|
1791
|
-
"type": "number | string",
|
1792
|
-
"description": "加载图标大小,默认单位为 `px`, 默认值: `30px`"
|
1793
|
-
},
|
1794
|
-
"van-loading/text-size": {
|
1795
|
-
"type": "number | string",
|
1796
|
-
"description": "文字大小,默认单位为 `px`, 默认值: `14px`"
|
1797
|
-
},
|
1798
|
-
"van-loading/text-color": {
|
1799
|
-
"type": "string",
|
1800
|
-
"description": "文字颜色, 默认值: `#c9c9c9`"
|
1801
|
-
},
|
1802
|
-
"van-loading/vertical": {
|
1803
|
-
"type": "boolean",
|
1804
|
-
"description": "是否垂直排列图标和文字内容, 默认值: `false`"
|
1805
|
-
},
|
1806
1806
|
"van-nav-bar/title": {
|
1807
1807
|
"type": "string",
|
1808
1808
|
"description": "标题, 默认值: `''`"
|
@@ -2879,6 +2879,54 @@
|
|
2879
2879
|
"type": "Element",
|
2880
2880
|
"description": "容器对应的 HTML 节点, 默认值: -"
|
2881
2881
|
},
|
2882
|
+
"van-swipe/autoplay": {
|
2883
|
+
"type": "number | string",
|
2884
|
+
"description": "自动轮播间隔,单位为 ms, 默认值: -"
|
2885
|
+
},
|
2886
|
+
"van-swipe/duration": {
|
2887
|
+
"type": "number | string",
|
2888
|
+
"description": "动画时长,单位为 ms, 默认值: `500`"
|
2889
|
+
},
|
2890
|
+
"van-swipe/initial-swipe": {
|
2891
|
+
"type": "number | string",
|
2892
|
+
"description": "初始位置索引值, 默认值: `0`"
|
2893
|
+
},
|
2894
|
+
"van-swipe/width": {
|
2895
|
+
"type": "number | string",
|
2896
|
+
"description": "滑块宽度,单位为`px`, 默认值: `auto`"
|
2897
|
+
},
|
2898
|
+
"van-swipe/height": {
|
2899
|
+
"type": "number | string",
|
2900
|
+
"description": "滑块高度,单位为`px`, 默认值: `auto`"
|
2901
|
+
},
|
2902
|
+
"van-swipe/loop": {
|
2903
|
+
"type": "boolean",
|
2904
|
+
"description": "是否开启循环播放, 默认值: `true`"
|
2905
|
+
},
|
2906
|
+
"van-swipe/show-indicators": {
|
2907
|
+
"type": "boolean",
|
2908
|
+
"description": "是否显示指示器, 默认值: `true`"
|
2909
|
+
},
|
2910
|
+
"van-swipe/vertical": {
|
2911
|
+
"type": "boolean",
|
2912
|
+
"description": "是否为纵向滚动, 默认值: `false`"
|
2913
|
+
},
|
2914
|
+
"van-swipe/touchable": {
|
2915
|
+
"type": "boolean",
|
2916
|
+
"description": "是否可以通过手势滑动, 默认值: `true`"
|
2917
|
+
},
|
2918
|
+
"van-swipe/stop-propagation": {
|
2919
|
+
"type": "boolean",
|
2920
|
+
"description": "是否阻止滑动事件冒泡, 默认值: `true`"
|
2921
|
+
},
|
2922
|
+
"van-swipe/lazy-render": {
|
2923
|
+
"type": "boolean",
|
2924
|
+
"description": "是否延迟渲染未展示的轮播, 默认值: `false`"
|
2925
|
+
},
|
2926
|
+
"van-swipe/indicator-color": {
|
2927
|
+
"type": "string",
|
2928
|
+
"description": "指示器颜色, 默认值: `#1989fa`"
|
2929
|
+
},
|
2882
2930
|
"van-submit-bar/price": {
|
2883
2931
|
"type": "number",
|
2884
2932
|
"description": "价格(单位分), 默认值: -"
|
@@ -2935,54 +2983,6 @@
|
|
2935
2983
|
"type": "boolean",
|
2936
2984
|
"description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei), 默认值: `true`"
|
2937
2985
|
},
|
2938
|
-
"van-swipe/autoplay": {
|
2939
|
-
"type": "number | string",
|
2940
|
-
"description": "自动轮播间隔,单位为 ms, 默认值: -"
|
2941
|
-
},
|
2942
|
-
"van-swipe/duration": {
|
2943
|
-
"type": "number | string",
|
2944
|
-
"description": "动画时长,单位为 ms, 默认值: `500`"
|
2945
|
-
},
|
2946
|
-
"van-swipe/initial-swipe": {
|
2947
|
-
"type": "number | string",
|
2948
|
-
"description": "初始位置索引值, 默认值: `0`"
|
2949
|
-
},
|
2950
|
-
"van-swipe/width": {
|
2951
|
-
"type": "number | string",
|
2952
|
-
"description": "滑块宽度,单位为`px`, 默认值: `auto`"
|
2953
|
-
},
|
2954
|
-
"van-swipe/height": {
|
2955
|
-
"type": "number | string",
|
2956
|
-
"description": "滑块高度,单位为`px`, 默认值: `auto`"
|
2957
|
-
},
|
2958
|
-
"van-swipe/loop": {
|
2959
|
-
"type": "boolean",
|
2960
|
-
"description": "是否开启循环播放, 默认值: `true`"
|
2961
|
-
},
|
2962
|
-
"van-swipe/show-indicators": {
|
2963
|
-
"type": "boolean",
|
2964
|
-
"description": "是否显示指示器, 默认值: `true`"
|
2965
|
-
},
|
2966
|
-
"van-swipe/vertical": {
|
2967
|
-
"type": "boolean",
|
2968
|
-
"description": "是否为纵向滚动, 默认值: `false`"
|
2969
|
-
},
|
2970
|
-
"van-swipe/touchable": {
|
2971
|
-
"type": "boolean",
|
2972
|
-
"description": "是否可以通过手势滑动, 默认值: `true`"
|
2973
|
-
},
|
2974
|
-
"van-swipe/stop-propagation": {
|
2975
|
-
"type": "boolean",
|
2976
|
-
"description": "是否阻止滑动事件冒泡, 默认值: `true`"
|
2977
|
-
},
|
2978
|
-
"van-swipe/lazy-render": {
|
2979
|
-
"type": "boolean",
|
2980
|
-
"description": "是否延迟渲染未展示的轮播, 默认值: `false`"
|
2981
|
-
},
|
2982
|
-
"van-swipe/indicator-color": {
|
2983
|
-
"type": "string",
|
2984
|
-
"description": "指示器颜色, 默认值: `#1989fa`"
|
2985
|
-
},
|
2986
2986
|
"van-swipe-cell/name": {
|
2987
2987
|
"type": "number | string",
|
2988
2988
|
"description": "标识符,可以在事件参数中获取到, 默认值: -"
|