vant 2.13.0 → 2.13.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/es/icon/index.css +1 -1
- package/es/icon/local.css +1 -1
- package/es/index.js +1 -1
- package/lib/icon/index.css +1 -1
- package/lib/icon/local.css +1 -1
- package/lib/index.css +1 -1
- package/lib/index.js +1 -1
- package/lib/vant.js +1 -1
- package/lib/vant.min.js +1 -1
- package/package.json +2 -2
- package/vetur/attributes.json +254 -254
- package/vetur/tags.json +90 -90
- package/vetur/web-types.json +813 -813
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "vant",
|
3
|
-
"version": "2.13.
|
3
|
+
"version": "2.13.1",
|
4
4
|
"description": "Mobile UI Components built on Vue",
|
5
5
|
"main": "lib/index.js",
|
6
6
|
"module": "es/index.js",
|
@@ -57,7 +57,7 @@
|
|
57
57
|
"license": "MIT",
|
58
58
|
"dependencies": {
|
59
59
|
"@babel/runtime": "7.x",
|
60
|
-
"@vant/icons": "^3.0.
|
60
|
+
"@vant/icons": "^3.0.2",
|
61
61
|
"@vant/popperjs": "^1.1.0",
|
62
62
|
"@vue/babel-helper-vue-jsx-merge-props": "^1.0.0",
|
63
63
|
"vue-lazyload": "1.2.3"
|
package/vetur/attributes.json
CHANGED
@@ -155,21 +155,57 @@
|
|
155
155
|
"type": "(key, val) => string",
|
156
156
|
"description": "自定义校验函数, 默认值: -"
|
157
157
|
},
|
158
|
-
"van-
|
159
|
-
"type": "
|
160
|
-
"description": "
|
158
|
+
"van-area/value": {
|
159
|
+
"type": "string",
|
160
|
+
"description": "当前选中的省市区`code`, 默认值: -"
|
161
161
|
},
|
162
|
-
"van-
|
162
|
+
"van-area/title": {
|
163
163
|
"type": "string",
|
164
|
-
"description": "
|
164
|
+
"description": "顶部栏标题, 默认值: -"
|
165
165
|
},
|
166
|
-
"van-
|
166
|
+
"van-area/confirm-button-text": {
|
167
|
+
"type": "string",
|
168
|
+
"description": "确认按钮文字, 默认值: `确认`"
|
169
|
+
},
|
170
|
+
"van-area/cancel-button-text": {
|
171
|
+
"type": "string",
|
172
|
+
"description": "取消按钮文字, 默认值: `取消`"
|
173
|
+
},
|
174
|
+
"van-area/area-list": {
|
175
|
+
"type": "object",
|
176
|
+
"description": "省市区数据,格式见下方, 默认值: -"
|
177
|
+
},
|
178
|
+
"van-area/columns-placeholder": {
|
179
|
+
"type": "string[]",
|
180
|
+
"description": "列占位提示文字, 默认值: `[]`"
|
181
|
+
},
|
182
|
+
"van-area/loading": {
|
167
183
|
"type": "boolean",
|
168
|
-
"description": "
|
184
|
+
"description": "是否显示加载状态, 默认值: `false`"
|
169
185
|
},
|
170
|
-
"van-
|
186
|
+
"van-area/readonly": {
|
187
|
+
"type": "boolean",
|
188
|
+
"description": "是否为只读状态,只读状态下无法切换选项, 默认值: `false`"
|
189
|
+
},
|
190
|
+
"van-area/item-height": {
|
171
191
|
"type": "number | string",
|
172
|
-
"description": "
|
192
|
+
"description": "选项高度,支持 `px` `vw` `vh` `rem` 单位,默认 `px`, 默认值: `44`"
|
193
|
+
},
|
194
|
+
"van-area/columns-num": {
|
195
|
+
"type": "number | string",
|
196
|
+
"description": "显示列数,3-省市区,2-省市,1-省, 默认值: `3`"
|
197
|
+
},
|
198
|
+
"van-area/visible-item-count": {
|
199
|
+
"type": "number | string",
|
200
|
+
"description": "可见的选项个数, 默认值: `6`"
|
201
|
+
},
|
202
|
+
"van-area/swipe-duration": {
|
203
|
+
"type": "number | string",
|
204
|
+
"description": "快速滑动时惯性滚动的时长,单位`ms`, 默认值: `1000`"
|
205
|
+
},
|
206
|
+
"van-area/is-oversea-code": {
|
207
|
+
"type": "() => boolean",
|
208
|
+
"description": "根据`code`校验海外地址,海外地址会划分至单独的分类, 默认值: -"
|
173
209
|
},
|
174
210
|
"van-address-list/v-model": {
|
175
211
|
"type": "string",
|
@@ -287,57 +323,21 @@
|
|
287
323
|
"type": "boolean",
|
288
324
|
"description": "是否在跳转时替换当前页面历史, 默认值: `false`"
|
289
325
|
},
|
290
|
-
"van-
|
291
|
-
"type": "string",
|
292
|
-
"description": "
|
293
|
-
},
|
294
|
-
"van-area/title": {
|
295
|
-
"type": "string",
|
296
|
-
"description": "顶部栏标题, 默认值: -"
|
297
|
-
},
|
298
|
-
"van-area/confirm-button-text": {
|
299
|
-
"type": "string",
|
300
|
-
"description": "确认按钮文字, 默认值: `确认`"
|
326
|
+
"van-badge/content": {
|
327
|
+
"type": "number | string",
|
328
|
+
"description": "徽标内容, 默认值: -"
|
301
329
|
},
|
302
|
-
"van-
|
330
|
+
"van-badge/color": {
|
303
331
|
"type": "string",
|
304
|
-
"description": "
|
305
|
-
},
|
306
|
-
"van-area/area-list": {
|
307
|
-
"type": "object",
|
308
|
-
"description": "省市区数据,格式见下方, 默认值: -"
|
309
|
-
},
|
310
|
-
"van-area/columns-placeholder": {
|
311
|
-
"type": "string[]",
|
312
|
-
"description": "列占位提示文字, 默认值: `[]`"
|
313
|
-
},
|
314
|
-
"van-area/loading": {
|
315
|
-
"type": "boolean",
|
316
|
-
"description": "是否显示加载状态, 默认值: `false`"
|
332
|
+
"description": "徽标背景颜色, 默认值: `#ee0a24`"
|
317
333
|
},
|
318
|
-
"van-
|
334
|
+
"van-badge/dot": {
|
319
335
|
"type": "boolean",
|
320
|
-
"description": "
|
321
|
-
},
|
322
|
-
"van-area/item-height": {
|
323
|
-
"type": "number | string",
|
324
|
-
"description": "选项高度,支持 `px` `vw` `vh` `rem` 单位,默认 `px`, 默认值: `44`"
|
325
|
-
},
|
326
|
-
"van-area/columns-num": {
|
327
|
-
"type": "number | string",
|
328
|
-
"description": "显示列数,3-省市区,2-省市,1-省, 默认值: `3`"
|
329
|
-
},
|
330
|
-
"van-area/visible-item-count": {
|
331
|
-
"type": "number | string",
|
332
|
-
"description": "可见的选项个数, 默认值: `6`"
|
336
|
+
"description": "是否展示为小红点, 默认值: `false`"
|
333
337
|
},
|
334
|
-
"van-
|
338
|
+
"van-badge/max": {
|
335
339
|
"type": "number | string",
|
336
|
-
"description": "
|
337
|
-
},
|
338
|
-
"van-area/is-oversea-code": {
|
339
|
-
"type": "() => boolean",
|
340
|
-
"description": "根据`code`校验海外地址,海外地址会划分至单独的分类, 默认值: -"
|
340
|
+
"description": "最大值,超过最大值会显示 `{max}+`,仅当 content 为数字时有效, 默认值: -"
|
341
341
|
},
|
342
342
|
"van-calendar/type": {
|
343
343
|
"type": "string",
|
@@ -1503,6 +1503,38 @@
|
|
1503
1503
|
"type": "boolean",
|
1504
1504
|
"description": "是否在跳转时替换当前页面历史, 默认值: `false`"
|
1505
1505
|
},
|
1506
|
+
"van-icon/name": {
|
1507
|
+
"type": "string",
|
1508
|
+
"description": "图标名称或图片链接, 默认值: -"
|
1509
|
+
},
|
1510
|
+
"van-icon/dot": {
|
1511
|
+
"type": "boolean",
|
1512
|
+
"description": "是否显示图标右上角小红点, 默认值: `false`"
|
1513
|
+
},
|
1514
|
+
"van-icon/badge": {
|
1515
|
+
"type": "number | string",
|
1516
|
+
"description": "图标右上角徽标的内容, 默认值: -"
|
1517
|
+
},
|
1518
|
+
"van-icon/info": {
|
1519
|
+
"type": "number | string",
|
1520
|
+
"description": "图标右上角徽标的内容(已废弃,请使用 badge 属性), 默认值: -"
|
1521
|
+
},
|
1522
|
+
"van-icon/color": {
|
1523
|
+
"type": "string",
|
1524
|
+
"description": "图标颜色, 默认值: `inherit`"
|
1525
|
+
},
|
1526
|
+
"van-icon/size": {
|
1527
|
+
"type": "number | string",
|
1528
|
+
"description": "图标大小,如 `20px` `2em`,默认单位为`px`, 默认值: `inherit`"
|
1529
|
+
},
|
1530
|
+
"van-icon/class-prefix": {
|
1531
|
+
"type": "string",
|
1532
|
+
"description": "类名前缀,用于使用自定义图标, 默认值: `van-icon`"
|
1533
|
+
},
|
1534
|
+
"van-icon/tag": {
|
1535
|
+
"type": "string",
|
1536
|
+
"description": "HTML 标签, 默认值: `i`"
|
1537
|
+
},
|
1506
1538
|
"van-image/src": {
|
1507
1539
|
"type": "string",
|
1508
1540
|
"description": "图片链接, 默认值: -"
|
@@ -1555,38 +1587,6 @@
|
|
1555
1587
|
"type": "string",
|
1556
1588
|
"description": "图标类名前缀,同 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props), 默认值: `van-icon`"
|
1557
1589
|
},
|
1558
|
-
"van-icon/name": {
|
1559
|
-
"type": "string",
|
1560
|
-
"description": "图标名称或图片链接, 默认值: -"
|
1561
|
-
},
|
1562
|
-
"van-icon/dot": {
|
1563
|
-
"type": "boolean",
|
1564
|
-
"description": "是否显示图标右上角小红点, 默认值: `false`"
|
1565
|
-
},
|
1566
|
-
"van-icon/badge": {
|
1567
|
-
"type": "number | string",
|
1568
|
-
"description": "图标右上角徽标的内容, 默认值: -"
|
1569
|
-
},
|
1570
|
-
"van-icon/info": {
|
1571
|
-
"type": "number | string",
|
1572
|
-
"description": "图标右上角徽标的内容(已废弃,请使用 badge 属性), 默认值: -"
|
1573
|
-
},
|
1574
|
-
"van-icon/color": {
|
1575
|
-
"type": "string",
|
1576
|
-
"description": "图标颜色, 默认值: `inherit`"
|
1577
|
-
},
|
1578
|
-
"van-icon/size": {
|
1579
|
-
"type": "number | string",
|
1580
|
-
"description": "图标大小,如 `20px` `2em`,默认单位为`px`, 默认值: `inherit`"
|
1581
|
-
},
|
1582
|
-
"van-icon/class-prefix": {
|
1583
|
-
"type": "string",
|
1584
|
-
"description": "类名前缀,用于使用自定义图标, 默认值: `van-icon`"
|
1585
|
-
},
|
1586
|
-
"van-icon/tag": {
|
1587
|
-
"type": "string",
|
1588
|
-
"description": "HTML 标签, 默认值: `i`"
|
1589
|
-
},
|
1590
1590
|
"van-image-preview/images": {
|
1591
1591
|
"type": "string[]",
|
1592
1592
|
"description": "需要预览的图片 URL 数组, 默认值: `[]`"
|
@@ -1811,6 +1811,66 @@
|
|
1811
1811
|
"type": "boolean",
|
1812
1812
|
"description": "是否开启文本换行,只在禁用滚动时生效, 默认值: `false`"
|
1813
1813
|
},
|
1814
|
+
"van-overlay/show": {
|
1815
|
+
"type": "boolean",
|
1816
|
+
"description": "是否展示遮罩层, 默认值: `false`"
|
1817
|
+
},
|
1818
|
+
"van-overlay/z-index": {
|
1819
|
+
"type": "number | string",
|
1820
|
+
"description": "z-index 层级, 默认值: `1`"
|
1821
|
+
},
|
1822
|
+
"van-overlay/duration": {
|
1823
|
+
"type": "number | string",
|
1824
|
+
"description": "动画时长,单位秒, 默认值: `0.3`"
|
1825
|
+
},
|
1826
|
+
"van-overlay/class-name": {
|
1827
|
+
"type": "string",
|
1828
|
+
"description": "自定义类名, 默认值: -"
|
1829
|
+
},
|
1830
|
+
"van-overlay/custom-style": {
|
1831
|
+
"type": "object",
|
1832
|
+
"description": "自定义样式, 默认值: -"
|
1833
|
+
},
|
1834
|
+
"van-overlay/lock-scroll": {
|
1835
|
+
"type": "boolean",
|
1836
|
+
"description": "是否锁定背景滚动,锁定时蒙层里的内容也将无法滚动, 默认值: `true`"
|
1837
|
+
},
|
1838
|
+
"van-pagination/v-model": {
|
1839
|
+
"type": "number",
|
1840
|
+
"description": "当前页码, 默认值: -"
|
1841
|
+
},
|
1842
|
+
"van-pagination/mode": {
|
1843
|
+
"type": "string",
|
1844
|
+
"description": "显示模式,可选值为 `simple`, 默认值: `multi`"
|
1845
|
+
},
|
1846
|
+
"van-pagination/prev-text": {
|
1847
|
+
"type": "string",
|
1848
|
+
"description": "上一页按钮文字, 默认值: `上一页`"
|
1849
|
+
},
|
1850
|
+
"van-pagination/next-text": {
|
1851
|
+
"type": "string",
|
1852
|
+
"description": "下一页按钮文字, 默认值: `下一页`"
|
1853
|
+
},
|
1854
|
+
"van-pagination/page-count": {
|
1855
|
+
"type": "number | string",
|
1856
|
+
"description": "总页数, 默认值: 根据页数计算"
|
1857
|
+
},
|
1858
|
+
"van-pagination/total-items": {
|
1859
|
+
"type": "number | string",
|
1860
|
+
"description": "总记录数, 默认值: `0`"
|
1861
|
+
},
|
1862
|
+
"van-pagination/items-per-page": {
|
1863
|
+
"type": "number | string",
|
1864
|
+
"description": "每页记录数, 默认值: `10`"
|
1865
|
+
},
|
1866
|
+
"van-pagination/show-page-size": {
|
1867
|
+
"type": "number | string",
|
1868
|
+
"description": "显示的页码个数, 默认值: `5`"
|
1869
|
+
},
|
1870
|
+
"van-pagination/force-ellipses": {
|
1871
|
+
"type": "boolean",
|
1872
|
+
"description": "是否显示省略号, 默认值: `false`"
|
1873
|
+
},
|
1814
1874
|
"van-number-keyboard/v-model (value)": {
|
1815
1875
|
"type": "string",
|
1816
1876
|
"description": "当前输入值, 默认值: -"
|
@@ -1875,66 +1935,6 @@
|
|
1875
1935
|
"type": "boolean",
|
1876
1936
|
"description": "是否将通过随机顺序展示按键, 默认值: `false`"
|
1877
1937
|
},
|
1878
|
-
"van-overlay/show": {
|
1879
|
-
"type": "boolean",
|
1880
|
-
"description": "是否展示遮罩层, 默认值: `false`"
|
1881
|
-
},
|
1882
|
-
"van-overlay/z-index": {
|
1883
|
-
"type": "number | string",
|
1884
|
-
"description": "z-index 层级, 默认值: `1`"
|
1885
|
-
},
|
1886
|
-
"van-overlay/duration": {
|
1887
|
-
"type": "number | string",
|
1888
|
-
"description": "动画时长,单位秒, 默认值: `0.3`"
|
1889
|
-
},
|
1890
|
-
"van-overlay/class-name": {
|
1891
|
-
"type": "string",
|
1892
|
-
"description": "自定义类名, 默认值: -"
|
1893
|
-
},
|
1894
|
-
"van-overlay/custom-style": {
|
1895
|
-
"type": "object",
|
1896
|
-
"description": "自定义样式, 默认值: -"
|
1897
|
-
},
|
1898
|
-
"van-overlay/lock-scroll": {
|
1899
|
-
"type": "boolean",
|
1900
|
-
"description": "是否锁定背景滚动,锁定时蒙层里的内容也将无法滚动, 默认值: `true`"
|
1901
|
-
},
|
1902
|
-
"van-pagination/v-model": {
|
1903
|
-
"type": "number",
|
1904
|
-
"description": "当前页码, 默认值: -"
|
1905
|
-
},
|
1906
|
-
"van-pagination/mode": {
|
1907
|
-
"type": "string",
|
1908
|
-
"description": "显示模式,可选值为 `simple`, 默认值: `multi`"
|
1909
|
-
},
|
1910
|
-
"van-pagination/prev-text": {
|
1911
|
-
"type": "string",
|
1912
|
-
"description": "上一页按钮文字, 默认值: `上一页`"
|
1913
|
-
},
|
1914
|
-
"van-pagination/next-text": {
|
1915
|
-
"type": "string",
|
1916
|
-
"description": "下一页按钮文字, 默认值: `下一页`"
|
1917
|
-
},
|
1918
|
-
"van-pagination/page-count": {
|
1919
|
-
"type": "number | string",
|
1920
|
-
"description": "总页数, 默认值: 根据页数计算"
|
1921
|
-
},
|
1922
|
-
"van-pagination/total-items": {
|
1923
|
-
"type": "number | string",
|
1924
|
-
"description": "总记录数, 默认值: `0`"
|
1925
|
-
},
|
1926
|
-
"van-pagination/items-per-page": {
|
1927
|
-
"type": "number | string",
|
1928
|
-
"description": "每页记录数, 默认值: `10`"
|
1929
|
-
},
|
1930
|
-
"van-pagination/show-page-size": {
|
1931
|
-
"type": "number | string",
|
1932
|
-
"description": "显示的页码个数, 默认值: `5`"
|
1933
|
-
},
|
1934
|
-
"van-pagination/force-ellipses": {
|
1935
|
-
"type": "boolean",
|
1936
|
-
"description": "是否显示省略号, 默认值: `false`"
|
1937
|
-
},
|
1938
1938
|
"van-panel/title": {
|
1939
1939
|
"type": "string",
|
1940
1940
|
"description": "标题, 默认值: -"
|
@@ -2035,46 +2035,6 @@
|
|
2035
2035
|
"type": "number | string",
|
2036
2036
|
"description": "快速滑动时惯性滚动的时长,单位 `ms`, 默认值: `1000`"
|
2037
2037
|
},
|
2038
|
-
"van-popover/v-model": {
|
2039
|
-
"type": "boolean",
|
2040
|
-
"description": "是否展示气泡弹出层, 默认值: `false`"
|
2041
|
-
},
|
2042
|
-
"van-popover/actions": {
|
2043
|
-
"type": "Action[]",
|
2044
|
-
"description": "选项列表, 默认值: `[]`"
|
2045
|
-
},
|
2046
|
-
"van-popover/placement": {
|
2047
|
-
"type": "string",
|
2048
|
-
"description": "弹出位置, 默认值: `bottom`"
|
2049
|
-
},
|
2050
|
-
"van-popover/theme": {
|
2051
|
-
"type": "string",
|
2052
|
-
"description": "主题风格,可选值为 `dark`, 默认值: `light`"
|
2053
|
-
},
|
2054
|
-
"van-popover/trigger": {
|
2055
|
-
"type": "-",
|
2056
|
-
"description": "触发方式,可选值为 `click`, 默认值: undefined"
|
2057
|
-
},
|
2058
|
-
"van-popover/offset": {
|
2059
|
-
"type": "[number, number]",
|
2060
|
-
"description": "出现位置的偏移量, 默认值: `[0, 8]`"
|
2061
|
-
},
|
2062
|
-
"van-popover/overlay": {
|
2063
|
-
"type": "boolean",
|
2064
|
-
"description": "是否显示遮罩层, 默认值: `false`"
|
2065
|
-
},
|
2066
|
-
"van-popover/close-on-click-action": {
|
2067
|
-
"type": "boolean",
|
2068
|
-
"description": "是否在点击选项后关闭, 默认值: `true`"
|
2069
|
-
},
|
2070
|
-
"van-popover/close-on-click-outside": {
|
2071
|
-
"type": "boolean",
|
2072
|
-
"description": "是否在点击外部元素后关闭菜单, 默认值: `true`"
|
2073
|
-
},
|
2074
|
-
"van-popover/get-container": {
|
2075
|
-
"type": "string | () => Element",
|
2076
|
-
"description": "指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi), 默认值: `body`"
|
2077
|
-
},
|
2078
2038
|
"van-popup/v-model (value)": {
|
2079
2039
|
"type": "boolean",
|
2080
2040
|
"description": "是否显示弹出层, 默认值: `false`"
|
@@ -2147,6 +2107,46 @@
|
|
2147
2107
|
"type": "boolean",
|
2148
2108
|
"description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei), 默认值: `false`"
|
2149
2109
|
},
|
2110
|
+
"van-popover/v-model": {
|
2111
|
+
"type": "boolean",
|
2112
|
+
"description": "是否展示气泡弹出层, 默认值: `false`"
|
2113
|
+
},
|
2114
|
+
"van-popover/actions": {
|
2115
|
+
"type": "Action[]",
|
2116
|
+
"description": "选项列表, 默认值: `[]`"
|
2117
|
+
},
|
2118
|
+
"van-popover/placement": {
|
2119
|
+
"type": "string",
|
2120
|
+
"description": "弹出位置, 默认值: `bottom`"
|
2121
|
+
},
|
2122
|
+
"van-popover/theme": {
|
2123
|
+
"type": "string",
|
2124
|
+
"description": "主题风格,可选值为 `dark`, 默认值: `light`"
|
2125
|
+
},
|
2126
|
+
"van-popover/trigger": {
|
2127
|
+
"type": "-",
|
2128
|
+
"description": "触发方式,可选值为 `click`, 默认值: undefined"
|
2129
|
+
},
|
2130
|
+
"van-popover/offset": {
|
2131
|
+
"type": "[number, number]",
|
2132
|
+
"description": "出现位置的偏移量, 默认值: `[0, 8]`"
|
2133
|
+
},
|
2134
|
+
"van-popover/overlay": {
|
2135
|
+
"type": "boolean",
|
2136
|
+
"description": "是否显示遮罩层, 默认值: `false`"
|
2137
|
+
},
|
2138
|
+
"van-popover/close-on-click-action": {
|
2139
|
+
"type": "boolean",
|
2140
|
+
"description": "是否在点击选项后关闭, 默认值: `true`"
|
2141
|
+
},
|
2142
|
+
"van-popover/close-on-click-outside": {
|
2143
|
+
"type": "boolean",
|
2144
|
+
"description": "是否在点击外部元素后关闭菜单, 默认值: `true`"
|
2145
|
+
},
|
2146
|
+
"van-popover/get-container": {
|
2147
|
+
"type": "string | () => Element",
|
2148
|
+
"description": "指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi), 默认值: `body`"
|
2149
|
+
},
|
2150
2150
|
"van-progress/percentage": {
|
2151
2151
|
"type": "number | string",
|
2152
2152
|
"description": "进度百分比, 默认值: `0`"
|
@@ -2759,6 +2759,18 @@
|
|
2759
2759
|
"type": "boolean",
|
2760
2760
|
"description": "是否允许输入的值为空, 默认值: `false`"
|
2761
2761
|
},
|
2762
|
+
"van-sticky/offset-top": {
|
2763
|
+
"type": "number | string",
|
2764
|
+
"description": "吸顶时与顶部的距离,支持 `px` `vw` `vh` `rem` 单位,默认 `px`, 默认值: `0`"
|
2765
|
+
},
|
2766
|
+
"van-sticky/z-index": {
|
2767
|
+
"type": "number | string",
|
2768
|
+
"description": "吸顶时的 z-index, 默认值: `99`"
|
2769
|
+
},
|
2770
|
+
"van-sticky/container": {
|
2771
|
+
"type": "Element",
|
2772
|
+
"description": "容器对应的 HTML 节点, 默认值: -"
|
2773
|
+
},
|
2762
2774
|
"van-steps/active": {
|
2763
2775
|
"type": "number | string",
|
2764
2776
|
"description": "当前步骤, 默认值: `0`"
|
@@ -2795,18 +2807,6 @@
|
|
2795
2807
|
"type": "boolean",
|
2796
2808
|
"description": "是否进行居中对齐,仅在竖向展示时有效, 默认值: `false`"
|
2797
2809
|
},
|
2798
|
-
"van-sticky/offset-top": {
|
2799
|
-
"type": "number | string",
|
2800
|
-
"description": "吸顶时与顶部的距离,支持 `px` `vw` `vh` `rem` 单位,默认 `px`, 默认值: `0`"
|
2801
|
-
},
|
2802
|
-
"van-sticky/z-index": {
|
2803
|
-
"type": "number | string",
|
2804
|
-
"description": "吸顶时的 z-index, 默认值: `99`"
|
2805
|
-
},
|
2806
|
-
"van-sticky/container": {
|
2807
|
-
"type": "Element",
|
2808
|
-
"description": "容器对应的 HTML 节点, 默认值: -"
|
2809
|
-
},
|
2810
2810
|
"van-submit-bar/price": {
|
2811
2811
|
"type": "number",
|
2812
2812
|
"description": "价格(单位分), 默认值: -"
|
@@ -2863,6 +2863,30 @@
|
|
2863
2863
|
"type": "boolean",
|
2864
2864
|
"description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei), 默认值: `true`"
|
2865
2865
|
},
|
2866
|
+
"van-swipe-cell/name": {
|
2867
|
+
"type": "number | string",
|
2868
|
+
"description": "标识符,可以在事件参数中获取到, 默认值: -"
|
2869
|
+
},
|
2870
|
+
"van-swipe-cell/left-width": {
|
2871
|
+
"type": "number | string",
|
2872
|
+
"description": "指定左侧滑动区域宽度,单位为`px`, 默认值: `auto`"
|
2873
|
+
},
|
2874
|
+
"van-swipe-cell/right-width": {
|
2875
|
+
"type": "number | string",
|
2876
|
+
"description": "指定右侧滑动区域宽度,单位为`px`, 默认值: `auto`"
|
2877
|
+
},
|
2878
|
+
"van-swipe-cell/before-close": {
|
2879
|
+
"type": "Function",
|
2880
|
+
"description": "关闭前的回调函数, 默认值: -"
|
2881
|
+
},
|
2882
|
+
"van-swipe-cell/disabled": {
|
2883
|
+
"type": "boolean",
|
2884
|
+
"description": "是否禁用滑动, 默认值: `false`"
|
2885
|
+
},
|
2886
|
+
"van-swipe-cell/stop-propagation": {
|
2887
|
+
"type": "boolean",
|
2888
|
+
"description": "是否阻止滑动事件冒泡, 默认值: `false`"
|
2889
|
+
},
|
2866
2890
|
"van-swipe/autoplay": {
|
2867
2891
|
"type": "number | string",
|
2868
2892
|
"description": "自动轮播间隔,单位为 ms, 默认值: -"
|
@@ -2911,62 +2935,6 @@
|
|
2911
2935
|
"type": "string",
|
2912
2936
|
"description": "指示器颜色, 默认值: `#1989fa`"
|
2913
2937
|
},
|
2914
|
-
"van-swipe-cell/name": {
|
2915
|
-
"type": "number | string",
|
2916
|
-
"description": "标识符,可以在事件参数中获取到, 默认值: -"
|
2917
|
-
},
|
2918
|
-
"van-swipe-cell/left-width": {
|
2919
|
-
"type": "number | string",
|
2920
|
-
"description": "指定左侧滑动区域宽度,单位为`px`, 默认值: `auto`"
|
2921
|
-
},
|
2922
|
-
"van-swipe-cell/right-width": {
|
2923
|
-
"type": "number | string",
|
2924
|
-
"description": "指定右侧滑动区域宽度,单位为`px`, 默认值: `auto`"
|
2925
|
-
},
|
2926
|
-
"van-swipe-cell/before-close": {
|
2927
|
-
"type": "Function",
|
2928
|
-
"description": "关闭前的回调函数, 默认值: -"
|
2929
|
-
},
|
2930
|
-
"van-swipe-cell/disabled": {
|
2931
|
-
"type": "boolean",
|
2932
|
-
"description": "是否禁用滑动, 默认值: `false`"
|
2933
|
-
},
|
2934
|
-
"van-swipe-cell/stop-propagation": {
|
2935
|
-
"type": "boolean",
|
2936
|
-
"description": "是否阻止滑动事件冒泡, 默认值: `false`"
|
2937
|
-
},
|
2938
|
-
"van-switch/v-model": {
|
2939
|
-
"type": "any",
|
2940
|
-
"description": "开关选中状态, 默认值: `false`"
|
2941
|
-
},
|
2942
|
-
"van-switch/loading": {
|
2943
|
-
"type": "boolean",
|
2944
|
-
"description": "是否为加载状态, 默认值: `false`"
|
2945
|
-
},
|
2946
|
-
"van-switch/disabled": {
|
2947
|
-
"type": "boolean",
|
2948
|
-
"description": "是否为禁用状态, 默认值: `false`"
|
2949
|
-
},
|
2950
|
-
"van-switch/size": {
|
2951
|
-
"type": "number | string",
|
2952
|
-
"description": "开关尺寸,默认单位为`px`, 默认值: `30px`"
|
2953
|
-
},
|
2954
|
-
"van-switch/active-color": {
|
2955
|
-
"type": "string",
|
2956
|
-
"description": "打开时的背景色, 默认值: `#1989fa`"
|
2957
|
-
},
|
2958
|
-
"van-switch/inactive-color": {
|
2959
|
-
"type": "string",
|
2960
|
-
"description": "关闭时的背景色, 默认值: `white`"
|
2961
|
-
},
|
2962
|
-
"van-switch/active-value": {
|
2963
|
-
"type": "any",
|
2964
|
-
"description": "打开时对应的值, 默认值: `true`"
|
2965
|
-
},
|
2966
|
-
"van-switch/inactive-value": {
|
2967
|
-
"type": "any",
|
2968
|
-
"description": "关闭时对应的值, 默认值: `false`"
|
2969
|
-
},
|
2970
2938
|
"van-switch-cell/v-model": {
|
2971
2939
|
"type": "any",
|
2972
2940
|
"description": "开关状态, 默认值: `false`"
|
@@ -3011,6 +2979,38 @@
|
|
3011
2979
|
"type": "any",
|
3012
2980
|
"description": "关闭时的值, 默认值: `false`"
|
3013
2981
|
},
|
2982
|
+
"van-switch/v-model": {
|
2983
|
+
"type": "any",
|
2984
|
+
"description": "开关选中状态, 默认值: `false`"
|
2985
|
+
},
|
2986
|
+
"van-switch/loading": {
|
2987
|
+
"type": "boolean",
|
2988
|
+
"description": "是否为加载状态, 默认值: `false`"
|
2989
|
+
},
|
2990
|
+
"van-switch/disabled": {
|
2991
|
+
"type": "boolean",
|
2992
|
+
"description": "是否为禁用状态, 默认值: `false`"
|
2993
|
+
},
|
2994
|
+
"van-switch/size": {
|
2995
|
+
"type": "number | string",
|
2996
|
+
"description": "开关尺寸,默认单位为`px`, 默认值: `30px`"
|
2997
|
+
},
|
2998
|
+
"van-switch/active-color": {
|
2999
|
+
"type": "string",
|
3000
|
+
"description": "打开时的背景色, 默认值: `#1989fa`"
|
3001
|
+
},
|
3002
|
+
"van-switch/inactive-color": {
|
3003
|
+
"type": "string",
|
3004
|
+
"description": "关闭时的背景色, 默认值: `white`"
|
3005
|
+
},
|
3006
|
+
"van-switch/active-value": {
|
3007
|
+
"type": "any",
|
3008
|
+
"description": "打开时对应的值, 默认值: `true`"
|
3009
|
+
},
|
3010
|
+
"van-switch/inactive-value": {
|
3011
|
+
"type": "any",
|
3012
|
+
"description": "关闭时对应的值, 默认值: `false`"
|
3013
|
+
},
|
3014
3014
|
"van-tab/v-model": {
|
3015
3015
|
"type": "number | string",
|
3016
3016
|
"description": "绑定当前选中标签的标识符, 默认值: `0`"
|