vant 2.12.32 → 2.12.35

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vant",
3
- "version": "2.12.32",
3
+ "version": "2.12.35",
4
4
  "description": "Mobile UI Components built on Vue",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -67,57 +67,93 @@
67
67
  "type": "string | () => Element",
68
68
  "description": "指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi), 默认值: -"
69
69
  },
70
- "van-area/value": {
71
- "type": "string",
72
- "description": "当前选中的省市区`code`, 默认值: -"
70
+ "van-address-edit/area-list": {
71
+ "type": "object",
72
+ "description": "地区列表, 默认值: -"
73
73
  },
74
- "van-area/title": {
75
- "type": "string",
76
- "description": "顶部栏标题, 默认值: -"
74
+ "van-address-edit/area-columns-placeholder": {
75
+ "type": "string[]",
76
+ "description": "地区选择列占位提示文字, 默认值: `[]`"
77
77
  },
78
- "van-area/confirm-button-text": {
78
+ "van-address-edit/area-placeholder": {
79
79
  "type": "string",
80
- "description": "确认按钮文字, 默认值: `确认`"
80
+ "description": "地区输入框占位提示文字, 默认值: `选择省 / 市 / 区`"
81
81
  },
82
- "van-area/cancel-button-text": {
83
- "type": "string",
84
- "description": "取消按钮文字, 默认值: `取消`"
82
+ "van-address-edit/address-info": {
83
+ "type": "AddressInfo",
84
+ "description": "收货人信息初始值, 默认值: `{}`"
85
85
  },
86
- "van-area/area-list": {
87
- "type": "object",
88
- "description": "省市区数据,格式见下方, 默认值: -"
86
+ "van-address-edit/search-result": {
87
+ "type": "SearchResult[]",
88
+ "description": "详细地址搜索结果, 默认值: `[]`"
89
89
  },
90
- "van-area/columns-placeholder": {
91
- "type": "string[]",
92
- "description": "列占位提示文字, 默认值: `[]`"
90
+ "van-address-edit/show-postal": {
91
+ "type": "boolean",
92
+ "description": "是否显示邮政编码, 默认值: `false`"
93
93
  },
94
- "van-area/loading": {
94
+ "van-address-edit/show-delete": {
95
95
  "type": "boolean",
96
- "description": "是否显示加载状态, 默认值: `false`"
96
+ "description": "是否显示删除按钮, 默认值: `false`"
97
97
  },
98
- "van-area/readonly": {
98
+ "van-address-edit/show-set-default": {
99
99
  "type": "boolean",
100
- "description": "是否为只读状态,只读状态下无法切换选项, 默认值: `false`"
100
+ "description": "是否显示默认地址栏, 默认值: `false`"
101
101
  },
102
- "van-area/item-height": {
103
- "type": "number | string",
104
- "description": "选项高度,支持 `px` `vw` `vh` `rem` 单位,默认 `px`, 默认值: `44`"
102
+ "van-address-edit/show-search-result": {
103
+ "type": "boolean",
104
+ "description": "是否显示搜索结果, 默认值: `false`"
105
105
  },
106
- "van-area/columns-num": {
106
+ "van-address-edit/show-area": {
107
+ "type": "boolean",
108
+ "description": "是否显示地区, 默认值: `true`"
109
+ },
110
+ "van-address-edit/show-detail": {
111
+ "type": "boolean",
112
+ "description": "是否显示详细地址, 默认值: `true`"
113
+ },
114
+ "van-address-edit/disable-area": {
115
+ "type": "boolean",
116
+ "description": "是否禁用地区选择, 默认值: `false`"
117
+ },
118
+ "van-address-edit/save-button-text": {
119
+ "type": "string",
120
+ "description": "保存按钮文字, 默认值: `保存`"
121
+ },
122
+ "van-address-edit/delete-button-text": {
123
+ "type": "string",
124
+ "description": "删除按钮文字, 默认值: `删除`"
125
+ },
126
+ "van-address-edit/detail-rows": {
107
127
  "type": "number | string",
108
- "description": "显示列数,3-省市区,2-省市,1-省, 默认值: `3`"
128
+ "description": "详细地址输入框行数, 默认值: `1`"
109
129
  },
110
- "van-area/visible-item-count": {
130
+ "van-address-edit/detail-maxlength": {
111
131
  "type": "number | string",
112
- "description": "可见的选项个数, 默认值: `6`"
132
+ "description": "详细地址最大长度, 默认值: `200`"
113
133
  },
114
- "van-area/swipe-duration": {
134
+ "van-address-edit/is-saving": {
135
+ "type": "boolean",
136
+ "description": "是否显示保存按钮加载动画, 默认值: `false`"
137
+ },
138
+ "van-address-edit/is-deleting": {
139
+ "type": "boolean",
140
+ "description": "是否显示删除按钮加载动画, 默认值: `false`"
141
+ },
142
+ "van-address-edit/tel-validator": {
143
+ "type": "string => boolean",
144
+ "description": "手机号格式校验函数, 默认值: -"
145
+ },
146
+ "van-address-edit/tel-maxlength": {
115
147
  "type": "number | string",
116
- "description": "快速滑动时惯性滚动的时长,单位`ms`, 默认值: `1000`"
148
+ "description": "手机号最大长度, 默认值: -"
117
149
  },
118
- "van-area/is-oversea-code": {
119
- "type": "() => boolean",
120
- "description": "根据`code`校验海外地址,海外地址会划分至单独的分类, 默认值: -"
150
+ "van-address-edit/postal-validator": {
151
+ "type": "string => boolean",
152
+ "description": "邮政编码格式校验函数, 默认值: -"
153
+ },
154
+ "van-address-edit/validator": {
155
+ "type": "(key, val) => string",
156
+ "description": "自定义校验函数, 默认值: -"
121
157
  },
122
158
  "van-address-list/v-model": {
123
159
  "type": "string",
@@ -147,93 +183,21 @@
147
183
  "type": "string",
148
184
  "description": "默认地址标签文字, 默认值: -"
149
185
  },
150
- "van-button/type": {
151
- "type": "string",
152
- "description": "类型,可选值为 `primary` `info` `warning` `danger`, 默认值: `default`"
153
- },
154
- "van-button/size": {
155
- "type": "string",
156
- "description": "尺寸,可选值为 `large` `small` `mini`, 默认值: `normal`"
157
- },
158
- "van-button/text": {
159
- "type": "string",
160
- "description": "按钮文字, 默认值: -"
161
- },
162
- "van-button/color": {
163
- "type": "string",
164
- "description": "按钮颜色,支持传入 `linear-gradient` 渐变色, 默认值: -"
165
- },
166
- "van-button/icon": {
167
- "type": "string",
168
- "description": "左侧[图标名称](#/zh-CN/icon)或图片链接, 默认值: -"
169
- },
170
- "van-button/icon-prefix": {
171
- "type": "string",
172
- "description": "图标类名前缀,同 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props), 默认值: `van-icon`"
173
- },
174
- "van-button/icon-position": {
175
- "type": "string",
176
- "description": "图标展示位置,可选值为 `right`, 默认值: `left`"
177
- },
178
- "van-button/tag": {
179
- "type": "string",
180
- "description": "按钮根节点的 HTML 标签, 默认值: `button`"
186
+ "van-badge/content": {
187
+ "type": "number | string",
188
+ "description": "徽标内容, 默认值: -"
181
189
  },
182
- "van-button/native-type": {
190
+ "van-badge/color": {
183
191
  "type": "string",
184
- "description": "原生 button 标签的 type 属性, 默认值: -"
185
- },
186
- "van-button/block": {
187
- "type": "boolean",
188
- "description": "是否为块级元素, 默认值: `false`"
189
- },
190
- "van-button/plain": {
191
- "type": "boolean",
192
- "description": "是否为朴素按钮, 默认值: `false`"
193
- },
194
- "van-button/square": {
195
- "type": "boolean",
196
- "description": "是否为方形按钮, 默认值: `false`"
197
- },
198
- "van-button/round": {
199
- "type": "boolean",
200
- "description": "是否为圆形按钮, 默认值: `false`"
201
- },
202
- "van-button/disabled": {
203
- "type": "boolean",
204
- "description": "是否禁用按钮, 默认值: `false`"
205
- },
206
- "van-button/hairline": {
207
- "type": "boolean",
208
- "description": "是否使用 0.5px 边框, 默认值: `false`"
192
+ "description": "徽标背景颜色, 默认值: `#ee0a24`"
209
193
  },
210
- "van-button/loading": {
194
+ "van-badge/dot": {
211
195
  "type": "boolean",
212
- "description": "是否显示为加载状态, 默认值: `false`"
213
- },
214
- "van-button/loading-text": {
215
- "type": "string",
216
- "description": "加载状态提示文字, 默认值: -"
217
- },
218
- "van-button/loading-type": {
219
- "type": "string",
220
- "description": "[加载图标类型](#/zh-CN/loading),可选值为 `spinner`, 默认值: `circular`"
221
- },
222
- "van-button/loading-size": {
223
- "type": "string",
224
- "description": "加载图标大小, 默认值: `20px`"
225
- },
226
- "van-button/url": {
227
- "type": "string",
228
- "description": "点击后跳转的链接地址, 默认值: -"
229
- },
230
- "van-button/to": {
231
- "type": "string | object",
232
- "description": "点击后跳转的目标路由对象,同 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to), 默认值: -"
196
+ "description": "是否展示为小红点, 默认值: `false`"
233
197
  },
234
- "van-button/replace": {
235
- "type": "boolean",
236
- "description": "是否在跳转时替换当前页面历史, 默认值: `false`"
198
+ "van-badge/max": {
199
+ "type": "number | string",
200
+ "description": "最大值,超过最大值会显示 `{max}+`,仅当 content 为数字时有效, 默认值: -"
237
201
  },
238
202
  "van-calendar/type": {
239
203
  "type": "string",
@@ -355,153 +319,145 @@
355
319
  "type": "string",
356
320
  "description": "选择超过最多可选天数时的提示文案, 默认值: `选择天数不能超过 xx 天`"
357
321
  },
358
- "van-badge/content": {
359
- "type": "number | string",
360
- "description": "徽标内容, 默认值: -"
361
- },
362
- "van-badge/color": {
322
+ "van-button/type": {
363
323
  "type": "string",
364
- "description": "徽标背景颜色, 默认值: `#ee0a24`"
324
+ "description": "类型,可选值为 `primary` `info` `warning` `danger`, 默认值: `default`"
365
325
  },
366
- "van-badge/dot": {
367
- "type": "boolean",
368
- "description": "是否展示为小红点, 默认值: `false`"
326
+ "van-button/size": {
327
+ "type": "string",
328
+ "description": "尺寸,可选值为 `large` `small` `mini`, 默认值: `normal`"
369
329
  },
370
- "van-badge/max": {
371
- "type": "number | string",
372
- "description": "最大值,超过最大值会显示 `{max}+`,仅当 content 为数字时有效, 默认值: -"
330
+ "van-button/text": {
331
+ "type": "string",
332
+ "description": "按钮文字, 默认值: -"
373
333
  },
374
- "van-card/thumb": {
334
+ "van-button/color": {
375
335
  "type": "string",
376
- "description": "左侧图片 URL, 默认值: -"
336
+ "description": "按钮颜色,支持传入 `linear-gradient` 渐变色, 默认值: -"
377
337
  },
378
- "van-card/title": {
338
+ "van-button/icon": {
379
339
  "type": "string",
380
- "description": "标题, 默认值: -"
340
+ "description": "左侧[图标名称](#/zh-CN/icon)或图片链接, 默认值: -"
381
341
  },
382
- "van-card/desc": {
342
+ "van-button/icon-prefix": {
383
343
  "type": "string",
384
- "description": "描述, 默认值: -"
344
+ "description": "图标类名前缀,同 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props), 默认值: `van-icon`"
385
345
  },
386
- "van-card/tag": {
346
+ "van-button/icon-position": {
387
347
  "type": "string",
388
- "description": "图片角标, 默认值: -"
348
+ "description": "图标展示位置,可选值为 `right`, 默认值: `left`"
389
349
  },
390
- "van-card/num": {
391
- "type": "number | string",
392
- "description": "商品数量, 默认值: -"
350
+ "van-button/tag": {
351
+ "type": "string",
352
+ "description": "按钮根节点的 HTML 标签, 默认值: `button`"
393
353
  },
394
- "van-card/price": {
395
- "type": "number | string",
396
- "description": "商品价格, 默认值: -"
354
+ "van-button/native-type": {
355
+ "type": "string",
356
+ "description": "原生 button 标签的 type 属性, 默认值: -"
397
357
  },
398
- "van-card/origin-price": {
399
- "type": "number | string",
400
- "description": "商品划线原价, 默认值: -"
358
+ "van-button/block": {
359
+ "type": "boolean",
360
+ "description": "是否为块级元素, 默认值: `false`"
401
361
  },
402
- "van-card/centered": {
362
+ "van-button/plain": {
403
363
  "type": "boolean",
404
- "description": "内容是否垂直居中, 默认值: `false`"
364
+ "description": "是否为朴素按钮, 默认值: `false`"
405
365
  },
406
- "van-card/currency": {
407
- "type": "string",
408
- "description": "货币符号, 默认值: `¥`"
366
+ "van-button/square": {
367
+ "type": "boolean",
368
+ "description": "是否为方形按钮, 默认值: `false`"
409
369
  },
410
- "van-card/thumb-link": {
411
- "type": "string",
412
- "description": "点击左侧图片后跳转的链接地址, 默认值: -"
370
+ "van-button/round": {
371
+ "type": "boolean",
372
+ "description": "是否为圆形按钮, 默认值: `false`"
413
373
  },
414
- "van-card/lazy-load": {
374
+ "van-button/disabled": {
415
375
  "type": "boolean",
416
- "description": "是否开启图片懒加载,须配合 [Lazyload](#/zh-CN/lazyload) 组件使用, 默认值: `false`"
376
+ "description": "是否禁用按钮, 默认值: `false`"
417
377
  },
418
- "van-address-edit/area-list": {
419
- "type": "object",
420
- "description": "地区列表, 默认值: -"
378
+ "van-button/hairline": {
379
+ "type": "boolean",
380
+ "description": "是否使用 0.5px 边框, 默认值: `false`"
421
381
  },
422
- "van-address-edit/area-columns-placeholder": {
423
- "type": "string[]",
424
- "description": "地区选择列占位提示文字, 默认值: `[]`"
382
+ "van-button/loading": {
383
+ "type": "boolean",
384
+ "description": "是否显示为加载状态, 默认值: `false`"
425
385
  },
426
- "van-address-edit/area-placeholder": {
386
+ "van-button/loading-text": {
427
387
  "type": "string",
428
- "description": "地区输入框占位提示文字, 默认值: `选择省 / 市 / 区`"
429
- },
430
- "van-address-edit/address-info": {
431
- "type": "AddressInfo",
432
- "description": "收货人信息初始值, 默认值: `{}`"
433
- },
434
- "van-address-edit/search-result": {
435
- "type": "SearchResult[]",
436
- "description": "详细地址搜索结果, 默认值: `[]`"
388
+ "description": "加载状态提示文字, 默认值: -"
437
389
  },
438
- "van-address-edit/show-postal": {
439
- "type": "boolean",
440
- "description": "是否显示邮政编码, 默认值: `false`"
390
+ "van-button/loading-type": {
391
+ "type": "string",
392
+ "description": "[加载图标类型](#/zh-CN/loading),可选值为 `spinner`, 默认值: `circular`"
441
393
  },
442
- "van-address-edit/show-delete": {
443
- "type": "boolean",
444
- "description": "是否显示删除按钮, 默认值: `false`"
394
+ "van-button/loading-size": {
395
+ "type": "string",
396
+ "description": "加载图标大小, 默认值: `20px`"
445
397
  },
446
- "van-address-edit/show-set-default": {
447
- "type": "boolean",
448
- "description": "是否显示默认地址栏, 默认值: `false`"
398
+ "van-button/url": {
399
+ "type": "string",
400
+ "description": "点击后跳转的链接地址, 默认值: -"
449
401
  },
450
- "van-address-edit/show-search-result": {
451
- "type": "boolean",
452
- "description": "是否显示搜索结果, 默认值: `false`"
402
+ "van-button/to": {
403
+ "type": "string | object",
404
+ "description": "点击后跳转的目标路由对象,同 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to), 默认值: -"
453
405
  },
454
- "van-address-edit/show-area": {
406
+ "van-button/replace": {
455
407
  "type": "boolean",
456
- "description": "是否显示地区, 默认值: `true`"
408
+ "description": "是否在跳转时替换当前页面历史, 默认值: `false`"
457
409
  },
458
- "van-address-edit/show-detail": {
459
- "type": "boolean",
460
- "description": "是否显示详细地址, 默认值: `true`"
410
+ "van-area/value": {
411
+ "type": "string",
412
+ "description": "当前选中的省市区`code`, 默认值: -"
461
413
  },
462
- "van-address-edit/disable-area": {
463
- "type": "boolean",
464
- "description": "是否禁用地区选择, 默认值: `false`"
414
+ "van-area/title": {
415
+ "type": "string",
416
+ "description": "顶部栏标题, 默认值: -"
465
417
  },
466
- "van-address-edit/save-button-text": {
418
+ "van-area/confirm-button-text": {
467
419
  "type": "string",
468
- "description": "保存按钮文字, 默认值: `保存`"
420
+ "description": "确认按钮文字, 默认值: `确认`"
469
421
  },
470
- "van-address-edit/delete-button-text": {
422
+ "van-area/cancel-button-text": {
471
423
  "type": "string",
472
- "description": "删除按钮文字, 默认值: `删除`"
424
+ "description": "取消按钮文字, 默认值: `取消`"
473
425
  },
474
- "van-address-edit/detail-rows": {
475
- "type": "number | string",
476
- "description": "详细地址输入框行数, 默认值: `1`"
426
+ "van-area/area-list": {
427
+ "type": "object",
428
+ "description": "省市区数据,格式见下方, 默认值: -"
477
429
  },
478
- "van-address-edit/detail-maxlength": {
479
- "type": "number | string",
480
- "description": "详细地址最大长度, 默认值: `200`"
430
+ "van-area/columns-placeholder": {
431
+ "type": "string[]",
432
+ "description": "列占位提示文字, 默认值: `[]`"
481
433
  },
482
- "van-address-edit/is-saving": {
434
+ "van-area/loading": {
483
435
  "type": "boolean",
484
- "description": "是否显示保存按钮加载动画, 默认值: `false`"
436
+ "description": "是否显示加载状态, 默认值: `false`"
485
437
  },
486
- "van-address-edit/is-deleting": {
438
+ "van-area/readonly": {
487
439
  "type": "boolean",
488
- "description": "是否显示删除按钮加载动画, 默认值: `false`"
440
+ "description": "是否为只读状态,只读状态下无法切换选项, 默认值: `false`"
489
441
  },
490
- "van-address-edit/tel-validator": {
491
- "type": "string => boolean",
492
- "description": "手机号格式校验函数, 默认值: -"
442
+ "van-area/item-height": {
443
+ "type": "number | string",
444
+ "description": "选项高度,支持 `px` `vw` `vh` `rem` 单位,默认 `px`, 默认值: `44`"
493
445
  },
494
- "van-address-edit/tel-maxlength": {
446
+ "van-area/columns-num": {
495
447
  "type": "number | string",
496
- "description": "手机号最大长度, 默认值: -"
448
+ "description": "显示列数,3-省市区,2-省市,1-省, 默认值: `3`"
497
449
  },
498
- "van-address-edit/postal-validator": {
499
- "type": "string => boolean",
500
- "description": "邮政编码格式校验函数, 默认值: -"
450
+ "van-area/visible-item-count": {
451
+ "type": "number | string",
452
+ "description": "可见的选项个数, 默认值: `6`"
501
453
  },
502
- "van-address-edit/validator": {
503
- "type": "(key, val) => string",
504
- "description": "自定义校验函数, 默认值: -"
454
+ "van-area/swipe-duration": {
455
+ "type": "number | string",
456
+ "description": "快速滑动时惯性滚动的时长,单位`ms`, 默认值: `1000`"
457
+ },
458
+ "van-area/is-oversea-code": {
459
+ "type": "() => boolean",
460
+ "description": "根据`code`校验海外地址,海外地址会划分至单独的分类, 默认值: -"
505
461
  },
506
462
  "van-cascader/title": {
507
463
  "type": "string",
@@ -531,6 +487,50 @@
531
487
  "type": "object",
532
488
  "description": "自定义 `options` 结构中的字段, 默认值: `{ text: 'text', value: 'value', children: 'children' }`"
533
489
  },
490
+ "van-card/thumb": {
491
+ "type": "string",
492
+ "description": "左侧图片 URL, 默认值: -"
493
+ },
494
+ "van-card/title": {
495
+ "type": "string",
496
+ "description": "标题, 默认值: -"
497
+ },
498
+ "van-card/desc": {
499
+ "type": "string",
500
+ "description": "描述, 默认值: -"
501
+ },
502
+ "van-card/tag": {
503
+ "type": "string",
504
+ "description": "图片角标, 默认值: -"
505
+ },
506
+ "van-card/num": {
507
+ "type": "number | string",
508
+ "description": "商品数量, 默认值: -"
509
+ },
510
+ "van-card/price": {
511
+ "type": "number | string",
512
+ "description": "商品价格, 默认值: -"
513
+ },
514
+ "van-card/origin-price": {
515
+ "type": "number | string",
516
+ "description": "商品划线原价, 默认值: -"
517
+ },
518
+ "van-card/centered": {
519
+ "type": "boolean",
520
+ "description": "内容是否垂直居中, 默认值: `false`"
521
+ },
522
+ "van-card/currency": {
523
+ "type": "string",
524
+ "description": "货币符号, 默认值: `¥`"
525
+ },
526
+ "van-card/thumb-link": {
527
+ "type": "string",
528
+ "description": "点击左侧图片后跳转的链接地址, 默认值: -"
529
+ },
530
+ "van-card/lazy-load": {
531
+ "type": "boolean",
532
+ "description": "是否开启图片懒加载,须配合 [Lazyload](#/zh-CN/lazyload) 组件使用, 默认值: `false`"
533
+ },
534
534
  "van-cell-group/title": {
535
535
  "type": "string",
536
536
  "description": "分组标题, 默认值: `-`"
@@ -1875,30 +1875,6 @@
1875
1875
  "type": "boolean",
1876
1876
  "description": "是否开启文本换行,只在禁用滚动时生效, 默认值: `false`"
1877
1877
  },
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
1878
  "van-number-keyboard/v-model (value)": {
1903
1879
  "type": "string",
1904
1880
  "description": "当前输入值, 默认值: -"
@@ -1963,6 +1939,30 @@
1963
1939
  "type": "boolean",
1964
1940
  "description": "是否将通过随机顺序展示按键, 默认值: `false`"
1965
1941
  },
1942
+ "van-overlay/show": {
1943
+ "type": "boolean",
1944
+ "description": "是否展示遮罩层, 默认值: `false`"
1945
+ },
1946
+ "van-overlay/z-index": {
1947
+ "type": "number | string",
1948
+ "description": "z-index 层级, 默认值: `1`"
1949
+ },
1950
+ "van-overlay/duration": {
1951
+ "type": "number | string",
1952
+ "description": "动画时长,单位秒, 默认值: `0.3`"
1953
+ },
1954
+ "van-overlay/class-name": {
1955
+ "type": "string",
1956
+ "description": "自定义类名, 默认值: -"
1957
+ },
1958
+ "van-overlay/custom-style": {
1959
+ "type": "object",
1960
+ "description": "自定义样式, 默认值: -"
1961
+ },
1962
+ "van-overlay/lock-scroll": {
1963
+ "type": "boolean",
1964
+ "description": "是否锁定背景滚动,锁定时蒙层里的内容也将无法滚动, 默认值: `true`"
1965
+ },
1966
1966
  "van-pagination/v-model": {
1967
1967
  "type": "number",
1968
1968
  "description": "当前页码, 默认值: -"