vant 2.12.47 → 2.12.48

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.
@@ -67,102 +67,6 @@
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`, 默认值: -"
73
- },
74
- "van-area/title": {
75
- "type": "string",
76
- "description": "顶部栏标题, 默认值: -"
77
- },
78
- "van-area/confirm-button-text": {
79
- "type": "string",
80
- "description": "确认按钮文字, 默认值: `确认`"
81
- },
82
- "van-area/cancel-button-text": {
83
- "type": "string",
84
- "description": "取消按钮文字, 默认值: `取消`"
85
- },
86
- "van-area/area-list": {
87
- "type": "object",
88
- "description": "省市区数据,格式见下方, 默认值: -"
89
- },
90
- "van-area/columns-placeholder": {
91
- "type": "string[]",
92
- "description": "列占位提示文字, 默认值: `[]`"
93
- },
94
- "van-area/loading": {
95
- "type": "boolean",
96
- "description": "是否显示加载状态, 默认值: `false`"
97
- },
98
- "van-area/readonly": {
99
- "type": "boolean",
100
- "description": "是否为只读状态,只读状态下无法切换选项, 默认值: `false`"
101
- },
102
- "van-area/item-height": {
103
- "type": "number | string",
104
- "description": "选项高度,支持 `px` `vw` `vh` `rem` 单位,默认 `px`, 默认值: `44`"
105
- },
106
- "van-area/columns-num": {
107
- "type": "number | string",
108
- "description": "显示列数,3-省市区,2-省市,1-省, 默认值: `3`"
109
- },
110
- "van-area/visible-item-count": {
111
- "type": "number | string",
112
- "description": "可见的选项个数, 默认值: `6`"
113
- },
114
- "van-area/swipe-duration": {
115
- "type": "number | string",
116
- "description": "快速滑动时惯性滚动的时长,单位`ms`, 默认值: `1000`"
117
- },
118
- "van-area/is-oversea-code": {
119
- "type": "() => boolean",
120
- "description": "根据`code`校验海外地址,海外地址会划分至单独的分类, 默认值: -"
121
- },
122
- "van-address-list/v-model": {
123
- "type": "string",
124
- "description": "当前选中地址的 id, 默认值: -"
125
- },
126
- "van-address-list/list": {
127
- "type": "Address[]",
128
- "description": "地址列表, 默认值: `[]`"
129
- },
130
- "van-address-list/disabled-list": {
131
- "type": "Address[]",
132
- "description": "不可配送地址列表, 默认值: `[]`"
133
- },
134
- "van-address-list/disabled-text": {
135
- "type": "string",
136
- "description": "不可配送提示文案, 默认值: -"
137
- },
138
- "van-address-list/switchable": {
139
- "type": "boolean",
140
- "description": "是否允许切换地址, 默认值: `true`"
141
- },
142
- "van-address-list/add-button-text": {
143
- "type": "string",
144
- "description": "底部按钮文字, 默认值: `新增地址`"
145
- },
146
- "van-address-list/default-tag-text": {
147
- "type": "string",
148
- "description": "默认地址标签文字, 默认值: -"
149
- },
150
- "van-badge/content": {
151
- "type": "number | string",
152
- "description": "徽标内容, 默认值: -"
153
- },
154
- "van-badge/color": {
155
- "type": "string",
156
- "description": "徽标背景颜色, 默认值: `#ee0a24`"
157
- },
158
- "van-badge/dot": {
159
- "type": "boolean",
160
- "description": "是否展示为小红点, 默认值: `false`"
161
- },
162
- "van-badge/max": {
163
- "type": "number | string",
164
- "description": "最大值,超过最大值会显示 `{max}+`,仅当 content 为数字时有效, 默认值: -"
165
- },
166
70
  "van-address-edit/area-list": {
167
71
  "type": "object",
168
72
  "description": "地区列表, 默认值: -"
@@ -251,137 +155,85 @@
251
155
  "type": "(key, val) => string",
252
156
  "description": "自定义校验函数, 默认值: -"
253
157
  },
254
- "van-button/type": {
255
- "type": "string",
256
- "description": "类型,可选值为 `primary` `info` `warning` `danger`, 默认值: `default`"
257
- },
258
- "van-button/size": {
259
- "type": "string",
260
- "description": "尺寸,可选值为 `large` `small` `mini`, 默认值: `normal`"
261
- },
262
- "van-button/text": {
263
- "type": "string",
264
- "description": "按钮文字, 默认值: -"
265
- },
266
- "van-button/color": {
267
- "type": "string",
268
- "description": "按钮颜色,支持传入 `linear-gradient` 渐变色, 默认值: -"
269
- },
270
- "van-button/icon": {
271
- "type": "string",
272
- "description": "左侧[图标名称](#/zh-CN/icon)或图片链接, 默认值: -"
273
- },
274
- "van-button/icon-prefix": {
158
+ "van-area/value": {
275
159
  "type": "string",
276
- "description": "图标类名前缀,同 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props), 默认值: `van-icon`"
160
+ "description": "当前选中的省市区`code`, 默认值: -"
277
161
  },
278
- "van-button/icon-position": {
162
+ "van-area/title": {
279
163
  "type": "string",
280
- "description": "图标展示位置,可选值为 `right`, 默认值: `left`"
164
+ "description": "顶部栏标题, 默认值: -"
281
165
  },
282
- "van-button/tag": {
166
+ "van-area/confirm-button-text": {
283
167
  "type": "string",
284
- "description": "按钮根节点的 HTML 标签, 默认值: `button`"
168
+ "description": "确认按钮文字, 默认值: `确认`"
285
169
  },
286
- "van-button/native-type": {
170
+ "van-area/cancel-button-text": {
287
171
  "type": "string",
288
- "description": "原生 button 标签的 type 属性, 默认值: -"
289
- },
290
- "van-button/block": {
291
- "type": "boolean",
292
- "description": "是否为块级元素, 默认值: `false`"
293
- },
294
- "van-button/plain": {
295
- "type": "boolean",
296
- "description": "是否为朴素按钮, 默认值: `false`"
297
- },
298
- "van-button/square": {
299
- "type": "boolean",
300
- "description": "是否为方形按钮, 默认值: `false`"
172
+ "description": "取消按钮文字, 默认值: `取消`"
301
173
  },
302
- "van-button/round": {
303
- "type": "boolean",
304
- "description": "是否为圆形按钮, 默认值: `false`"
174
+ "van-area/area-list": {
175
+ "type": "object",
176
+ "description": "省市区数据,格式见下方, 默认值: -"
305
177
  },
306
- "van-button/disabled": {
307
- "type": "boolean",
308
- "description": "是否禁用按钮, 默认值: `false`"
178
+ "van-area/columns-placeholder": {
179
+ "type": "string[]",
180
+ "description": "列占位提示文字, 默认值: `[]`"
309
181
  },
310
- "van-button/hairline": {
182
+ "van-area/loading": {
311
183
  "type": "boolean",
312
- "description": "是否使用 0.5px 边框, 默认值: `false`"
184
+ "description": "是否显示加载状态, 默认值: `false`"
313
185
  },
314
- "van-button/loading": {
186
+ "van-area/readonly": {
315
187
  "type": "boolean",
316
- "description": "是否显示为加载状态, 默认值: `false`"
317
- },
318
- "van-button/loading-text": {
319
- "type": "string",
320
- "description": "加载状态提示文字, 默认值: -"
188
+ "description": "是否为只读状态,只读状态下无法切换选项, 默认值: `false`"
321
189
  },
322
- "van-button/loading-type": {
323
- "type": "string",
324
- "description": "[加载图标类型](#/zh-CN/loading),可选值为 `spinner`, 默认值: `circular`"
190
+ "van-area/item-height": {
191
+ "type": "number | string",
192
+ "description": "选项高度,支持 `px` `vw` `vh` `rem` 单位,默认 `px`, 默认值: `44`"
325
193
  },
326
- "van-button/loading-size": {
327
- "type": "string",
328
- "description": "加载图标大小, 默认值: `20px`"
194
+ "van-area/columns-num": {
195
+ "type": "number | string",
196
+ "description": "显示列数,3-省市区,2-省市,1-省, 默认值: `3`"
329
197
  },
330
- "van-button/url": {
331
- "type": "string",
332
- "description": "点击后跳转的链接地址, 默认值: -"
198
+ "van-area/visible-item-count": {
199
+ "type": "number | string",
200
+ "description": "可见的选项个数, 默认值: `6`"
333
201
  },
334
- "van-button/to": {
335
- "type": "string | object",
336
- "description": "点击后跳转的目标路由对象,同 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to), 默认值: -"
202
+ "van-area/swipe-duration": {
203
+ "type": "number | string",
204
+ "description": "快速滑动时惯性滚动的时长,单位`ms`, 默认值: `1000`"
337
205
  },
338
- "van-button/replace": {
339
- "type": "boolean",
340
- "description": "是否在跳转时替换当前页面历史, 默认值: `false`"
206
+ "van-area/is-oversea-code": {
207
+ "type": "() => boolean",
208
+ "description": "根据`code`校验海外地址,海外地址会划分至单独的分类, 默认值: -"
341
209
  },
342
- "van-card/thumb": {
210
+ "van-address-list/v-model": {
343
211
  "type": "string",
344
- "description": "左侧图片 URL, 默认值: -"
212
+ "description": "当前选中地址的 id, 默认值: -"
345
213
  },
346
- "van-card/title": {
347
- "type": "string",
348
- "description": "标题, 默认值: -"
214
+ "van-address-list/list": {
215
+ "type": "Address[]",
216
+ "description": "地址列表, 默认值: `[]`"
349
217
  },
350
- "van-card/desc": {
351
- "type": "string",
352
- "description": "描述, 默认值: -"
218
+ "van-address-list/disabled-list": {
219
+ "type": "Address[]",
220
+ "description": "不可配送地址列表, 默认值: `[]`"
353
221
  },
354
- "van-card/tag": {
222
+ "van-address-list/disabled-text": {
355
223
  "type": "string",
356
- "description": "图片角标, 默认值: -"
357
- },
358
- "van-card/num": {
359
- "type": "number | string",
360
- "description": "商品数量, 默认值: -"
361
- },
362
- "van-card/price": {
363
- "type": "number | string",
364
- "description": "商品价格, 默认值: -"
365
- },
366
- "van-card/origin-price": {
367
- "type": "number | string",
368
- "description": "商品划线原价, 默认值: -"
224
+ "description": "不可配送提示文案, 默认值: -"
369
225
  },
370
- "van-card/centered": {
226
+ "van-address-list/switchable": {
371
227
  "type": "boolean",
372
- "description": "内容是否垂直居中, 默认值: `false`"
228
+ "description": "是否允许切换地址, 默认值: `true`"
373
229
  },
374
- "van-card/currency": {
230
+ "van-address-list/add-button-text": {
375
231
  "type": "string",
376
- "description": "货币符号, 默认值: `¥`"
232
+ "description": "底部按钮文字, 默认值: `新增地址`"
377
233
  },
378
- "van-card/thumb-link": {
234
+ "van-address-list/default-tag-text": {
379
235
  "type": "string",
380
- "description": "点击左侧图片后跳转的链接地址, 默认值: -"
381
- },
382
- "van-card/lazy-load": {
383
- "type": "boolean",
384
- "description": "是否开启图片懒加载,须配合 [Lazyload](#/zh-CN/lazyload) 组件使用, 默认值: `false`"
236
+ "description": "默认地址标签文字, 默认值: -"
385
237
  },
386
238
  "van-calendar/type": {
387
239
  "type": "string",
@@ -455,53 +307,89 @@
455
307
  "type": "0-6",
456
308
  "description": "设置周起始日, 默认值: `0`"
457
309
  },
458
- "van-poppable/v-model": {
310
+ "van-calendar/v-model": {
459
311
  "type": "boolean",
460
312
  "description": "是否显示日历弹窗, 默认值: `false`"
461
313
  },
462
- "van-poppable/position": {
314
+ "van-calendar/position": {
463
315
  "type": "string",
464
316
  "description": "弹出位置,可选值为 `top` `right` `left`, 默认值: `bottom`"
465
317
  },
466
- "van-poppable/round": {
318
+ "van-calendar/round": {
467
319
  "type": "boolean",
468
320
  "description": "是否显示圆角弹窗, 默认值: `true`"
469
321
  },
470
- "van-poppable/close-on-popstate": {
322
+ "van-calendar/close-on-popstate": {
471
323
  "type": "boolean",
472
324
  "description": "是否在页面回退时自动关闭, 默认值: `true`"
473
325
  },
474
- "van-poppable/close-on-click-overlay": {
326
+ "van-calendar/close-on-click-overlay": {
475
327
  "type": "boolean",
476
328
  "description": "是否在点击遮罩层后关闭, 默认值: `true`"
477
329
  },
478
- "van-poppable/safe-area-inset-bottom": {
330
+ "van-calendar/safe-area-inset-bottom": {
479
331
  "type": "boolean",
480
332
  "description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei), 默认值: `true`"
481
333
  },
482
- "van-poppable/get-container": {
334
+ "van-calendar/get-container": {
483
335
  "type": "string | () => Element",
484
336
  "description": "指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi), 默认值: -"
485
337
  },
486
- "van-range/max-range": {
338
+ "van-calendar/max-range": {
487
339
  "type": "number | string",
488
- "description": "日期区间最多可选天数, 默认值: 无限制"
340
+ "description": "日期最多可选天数, 默认值: 无限制"
489
341
  },
490
- "van-range/range-prompt": {
342
+ "van-calendar/range-prompt": {
491
343
  "type": "string",
492
- "description": "范围选择超过最多可选天数时的提示文案, 默认值: `选择天数不能超过 xx 天`"
344
+ "description": "选择超过最多可选天数时的提示文案, 默认值: `选择天数不能超过 xx 天`"
493
345
  },
494
- "van-range/allow-same-day": {
346
+ "van-calendar/allow-same-day": {
495
347
  "type": "boolean",
496
348
  "description": "是否允许日期范围的起止时间为同一天, 默认值: `false`"
497
349
  },
498
- "van-multiple/max-range": {
350
+ "van-card/thumb": {
351
+ "type": "string",
352
+ "description": "左侧图片 URL, 默认值: -"
353
+ },
354
+ "van-card/title": {
355
+ "type": "string",
356
+ "description": "标题, 默认值: -"
357
+ },
358
+ "van-card/desc": {
359
+ "type": "string",
360
+ "description": "描述, 默认值: -"
361
+ },
362
+ "van-card/tag": {
363
+ "type": "string",
364
+ "description": "图片角标, 默认值: -"
365
+ },
366
+ "van-card/num": {
499
367
  "type": "number | string",
500
- "description": "日期最多可选天数, 默认值: 无限制"
368
+ "description": "商品数量, 默认值: -"
501
369
  },
502
- "van-multiple/range-prompt": {
370
+ "van-card/price": {
371
+ "type": "number | string",
372
+ "description": "商品价格, 默认值: -"
373
+ },
374
+ "van-card/origin-price": {
375
+ "type": "number | string",
376
+ "description": "商品划线原价, 默认值: -"
377
+ },
378
+ "van-card/centered": {
379
+ "type": "boolean",
380
+ "description": "内容是否垂直居中, 默认值: `false`"
381
+ },
382
+ "van-card/currency": {
503
383
  "type": "string",
504
- "description": "选择超过最多可选天数时的提示文案, 默认值: `选择天数不能超过 xx 天`"
384
+ "description": "货币符号, 默认值: `¥`"
385
+ },
386
+ "van-card/thumb-link": {
387
+ "type": "string",
388
+ "description": "点击左侧图片后跳转的链接地址, 默认值: -"
389
+ },
390
+ "van-card/lazy-load": {
391
+ "type": "boolean",
392
+ "description": "是否开启图片懒加载,须配合 [Lazyload](#/zh-CN/lazyload) 组件使用, 默认值: `false`"
505
393
  },
506
394
  "van-cascader/title": {
507
395
  "type": "string",
@@ -535,18 +423,118 @@
535
423
  "type": "object",
536
424
  "description": "自定义 `options` 结构中的字段, 默认值: `{ text: 'text', value: 'value', children: 'children' }`"
537
425
  },
538
- "van-cell-group/title": {
426
+ "van-badge/content": {
427
+ "type": "number | string",
428
+ "description": "徽标内容, 默认值: -"
429
+ },
430
+ "van-badge/color": {
539
431
  "type": "string",
540
- "description": "分组标题, 默认值: `-`"
432
+ "description": "徽标背景颜色, 默认值: `#ee0a24`"
541
433
  },
542
- "van-cell-group/border": {
434
+ "van-badge/dot": {
543
435
  "type": "boolean",
544
- "description": "是否显示外边框, 默认值: `true`"
436
+ "description": "是否展示为小红点, 默认值: `false`"
437
+ },
438
+ "van-badge/max": {
439
+ "type": "number | string",
440
+ "description": "最大值,超过最大值会显示 `{max}+`,仅当 content 为数字时有效, 默认值: -"
441
+ },
442
+ "van-button/type": {
443
+ "type": "string",
444
+ "description": "类型,可选值为 `primary` `info` `warning` `danger`, 默认值: `default`"
445
+ },
446
+ "van-button/size": {
447
+ "type": "string",
448
+ "description": "尺寸,可选值为 `large` `small` `mini`, 默认值: `normal`"
449
+ },
450
+ "van-button/text": {
451
+ "type": "string",
452
+ "description": "按钮文字, 默认值: -"
453
+ },
454
+ "van-button/color": {
455
+ "type": "string",
456
+ "description": "按钮颜色,支持传入 `linear-gradient` 渐变色, 默认值: -"
457
+ },
458
+ "van-button/icon": {
459
+ "type": "string",
460
+ "description": "左侧[图标名称](#/zh-CN/icon)或图片链接, 默认值: -"
461
+ },
462
+ "van-button/icon-prefix": {
463
+ "type": "string",
464
+ "description": "图标类名前缀,同 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props), 默认值: `van-icon`"
465
+ },
466
+ "van-button/icon-position": {
467
+ "type": "string",
468
+ "description": "图标展示位置,可选值为 `right`, 默认值: `left`"
469
+ },
470
+ "van-button/tag": {
471
+ "type": "string",
472
+ "description": "按钮根节点的 HTML 标签, 默认值: `button`"
473
+ },
474
+ "van-button/native-type": {
475
+ "type": "string",
476
+ "description": "原生 button 标签的 type 属性, 默认值: -"
477
+ },
478
+ "van-button/block": {
479
+ "type": "boolean",
480
+ "description": "是否为块级元素, 默认值: `false`"
481
+ },
482
+ "van-button/plain": {
483
+ "type": "boolean",
484
+ "description": "是否为朴素按钮, 默认值: `false`"
485
+ },
486
+ "van-button/square": {
487
+ "type": "boolean",
488
+ "description": "是否为方形按钮, 默认值: `false`"
489
+ },
490
+ "van-button/round": {
491
+ "type": "boolean",
492
+ "description": "是否为圆形按钮, 默认值: `false`"
493
+ },
494
+ "van-button/disabled": {
495
+ "type": "boolean",
496
+ "description": "是否禁用按钮, 默认值: `false`"
497
+ },
498
+ "van-button/hairline": {
499
+ "type": "boolean",
500
+ "description": "是否使用 0.5px 边框, 默认值: `false`"
501
+ },
502
+ "van-button/loading": {
503
+ "type": "boolean",
504
+ "description": "是否显示为加载状态, 默认值: `false`"
505
+ },
506
+ "van-button/loading-text": {
507
+ "type": "string",
508
+ "description": "加载状态提示文字, 默认值: -"
509
+ },
510
+ "van-button/loading-type": {
511
+ "type": "string",
512
+ "description": "[加载图标类型](#/zh-CN/loading),可选值为 `spinner`, 默认值: `circular`"
513
+ },
514
+ "van-button/loading-size": {
515
+ "type": "string",
516
+ "description": "加载图标大小, 默认值: `20px`"
517
+ },
518
+ "van-button/url": {
519
+ "type": "string",
520
+ "description": "点击后跳转的链接地址, 默认值: -"
521
+ },
522
+ "van-button/to": {
523
+ "type": "string | object",
524
+ "description": "点击后跳转的目标路由对象,同 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to), 默认值: -"
525
+ },
526
+ "van-button/replace": {
527
+ "type": "boolean",
528
+ "description": "是否在跳转时替换当前页面历史, 默认值: `false`"
545
529
  },
546
530
  "van-cell/title": {
547
531
  "type": "number | string",
548
532
  "description": "左侧标题, 默认值: -"
549
533
  },
534
+ "van-cell/border": {
535
+ "type": "boolean",
536
+ "description": "是否显示内边框, 默认值: `true`"
537
+ },
550
538
  "van-cell/value": {
551
539
  "type": "number | string",
552
540
  "description": "右侧内容, 默认值: -"
@@ -555,73 +543,157 @@
555
543
  "type": "string",
556
544
  "description": "标题下方的描述信息, 默认值: -"
557
545
  },
558
- "van-cell/size": {
559
- "type": "string",
560
- "description": "单元格大小,可选值为 `large`, 默认值: -"
546
+ "van-cell/size": {
547
+ "type": "string",
548
+ "description": "单元格大小,可选值为 `large`, 默认值: -"
549
+ },
550
+ "van-cell/icon": {
551
+ "type": "string",
552
+ "description": "左侧[图标名称](#/zh-CN/icon)或图片链接, 默认值: -"
553
+ },
554
+ "van-cell/icon-prefix": {
555
+ "type": "string",
556
+ "description": "图标类名前缀,同 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props), 默认值: `van-icon`"
557
+ },
558
+ "van-cell/url": {
559
+ "type": "string",
560
+ "description": "点击后跳转的链接地址, 默认值: -"
561
+ },
562
+ "van-cell/to": {
563
+ "type": "string | object",
564
+ "description": "点击后跳转的目标路由对象,同 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to), 默认值: -"
565
+ },
566
+ "van-cell/replace": {
567
+ "type": "boolean",
568
+ "description": "是否在跳转时替换当前页面历史, 默认值: `false`"
569
+ },
570
+ "van-cell/clickable": {
571
+ "type": "boolean",
572
+ "description": "是否开启点击反馈, 默认值: `null`"
573
+ },
574
+ "van-cell/is-link": {
575
+ "type": "boolean",
576
+ "description": "是否展示右侧箭头并开启点击反馈, 默认值: `false`"
577
+ },
578
+ "van-cell/required": {
579
+ "type": "boolean",
580
+ "description": "是否显示表单必填星号, 默认值: `false`"
581
+ },
582
+ "van-cell/center": {
583
+ "type": "boolean",
584
+ "description": "是否使内容垂直居中, 默认值: `false`"
585
+ },
586
+ "van-cell/arrow-direction": {
587
+ "type": "string",
588
+ "description": "箭头方向,可选值为 `left` `up` `down`, 默认值: `right`"
589
+ },
590
+ "van-cell/title-style": {
591
+ "type": "any",
592
+ "description": "左侧标题额外样式, 默认值: -"
593
+ },
594
+ "van-cell/title-class": {
595
+ "type": "any",
596
+ "description": "左侧标题额外类名, 默认值: -"
597
+ },
598
+ "van-cell/value-class": {
599
+ "type": "any",
600
+ "description": "右侧内容额外类名, 默认值: -"
601
+ },
602
+ "van-cell/label-class": {
603
+ "type": "any",
604
+ "description": "描述信息额外类名, 默认值: -"
605
+ },
606
+ "van-layout/type": {
607
+ "type": "string",
608
+ "description": "布局方式,可选值为`flex`, 默认值: -"
609
+ },
610
+ "van-layout/gutter": {
611
+ "type": "number | string",
612
+ "description": "列元素之间的间距(单位为 px), 默认值: -"
613
+ },
614
+ "van-layout/tag": {
615
+ "type": "string",
616
+ "description": "自定义元素标签, 默认值: `div`"
617
+ },
618
+ "van-layout/justify": {
619
+ "type": "string",
620
+ "description": "Flex 主轴对齐方式,可选值为 `end` `center` <br> `space-around` `space-between`, 默认值: `start`"
621
+ },
622
+ "van-layout/align": {
623
+ "type": "string",
624
+ "description": "Flex 交叉轴对齐方式,可选值为 `center` `bottom`, 默认值: `top`"
625
+ },
626
+ "van-layout/span": {
627
+ "type": "number | string",
628
+ "description": "列元素宽度, 默认值: -"
629
+ },
630
+ "van-layout/offset": {
631
+ "type": "number | string",
632
+ "description": "列元素偏移距离, 默认值: -"
633
+ },
634
+ "van-collapse/v-model": {
635
+ "type": "手风琴模式:_number | string_<br>非手风琴模式:_(number \\",
636
+ "description": "当前展开面板的 name, 默认值: string)[]_"
637
+ },
638
+ "van-collapse/accordion": {
639
+ "type": "boolean",
640
+ "description": "是否开启手风琴模式, 默认值: `false`"
641
+ },
642
+ "van-collapse/border": {
643
+ "type": "boolean",
644
+ "description": "是否显示内边框, 默认值: `true`"
561
645
  },
562
- "van-cell/icon": {
563
- "type": "string",
564
- "description": "左侧[图标名称](#/zh-CN/icon)或图片链接, 默认值: -"
646
+ "van-collapse/name": {
647
+ "type": "number | string",
648
+ "description": "唯一标识符,默认为索引值, 默认值: `index`"
565
649
  },
566
- "van-cell/icon-prefix": {
650
+ "van-collapse/icon": {
567
651
  "type": "string",
568
- "description": "图标类名前缀,同 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props), 默认值: `van-icon`"
652
+ "description": "标题栏左侧[图标名称](#/zh-CN/icon)或图片链接, 默认值: -"
569
653
  },
570
- "van-cell/url": {
654
+ "van-collapse/size": {
571
655
  "type": "string",
572
- "description": "点击后跳转的链接地址, 默认值: -"
573
- },
574
- "van-cell/to": {
575
- "type": "string | object",
576
- "description": "点击后跳转的目标路由对象,同 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to), 默认值: -"
656
+ "description": "标题栏大小,可选值为 `large`, 默认值: -"
577
657
  },
578
- "van-cell/border": {
579
- "type": "boolean",
580
- "description": "是否显示内边框, 默认值: `true`"
658
+ "van-collapse/title": {
659
+ "type": "number | string",
660
+ "description": "标题栏左侧内容, 默认值: -"
581
661
  },
582
- "van-cell/replace": {
583
- "type": "boolean",
584
- "description": "是否在跳转时替换当前页面历史, 默认值: `false`"
662
+ "van-collapse/value": {
663
+ "type": "number | string",
664
+ "description": "标题栏右侧内容, 默认值: -"
585
665
  },
586
- "van-cell/clickable": {
587
- "type": "boolean",
588
- "description": "是否开启点击反馈, 默认值: `null`"
666
+ "van-collapse/label": {
667
+ "type": "number | string",
668
+ "description": "标题栏描述信息, 默认值: -"
589
669
  },
590
- "van-cell/is-link": {
670
+ "van-collapse/is-link": {
591
671
  "type": "boolean",
592
- "description": "是否展示右侧箭头并开启点击反馈, 默认值: `false`"
672
+ "description": "是否展示标题栏右侧箭头并开启点击反馈, 默认值: `true`"
593
673
  },
594
- "van-cell/required": {
674
+ "van-collapse/disabled": {
595
675
  "type": "boolean",
596
- "description": "是否显示表单必填星号, 默认值: `false`"
676
+ "description": "是否禁用面板, 默认值: `false`"
597
677
  },
598
- "van-cell/center": {
678
+ "van-collapse/lazy-render": {
599
679
  "type": "boolean",
600
- "description": "是否使内容垂直居中, 默认值: `false`"
680
+ "description": "是否在首次展开时才渲染面板内容, 默认值: `true`"
601
681
  },
602
- "van-cell/arrow-direction": {
682
+ "van-collapse/title-class": {
603
683
  "type": "string",
604
- "description": "箭头方向,可选值为 `left` `up` `down`, 默认值: `right`"
605
- },
606
- "van-cell/title-style": {
607
- "type": "any",
608
- "description": "左侧标题额外样式, 默认值: -"
609
- },
610
- "van-cell/title-class": {
611
- "type": "any",
612
684
  "description": "左侧标题额外类名, 默认值: -"
613
685
  },
614
- "van-cell/value-class": {
615
- "type": "any",
686
+ "van-collapse/value-class": {
687
+ "type": "string",
616
688
  "description": "右侧内容额外类名, 默认值: -"
617
689
  },
618
- "van-cell/label-class": {
619
- "type": "any",
690
+ "van-collapse/label-class": {
691
+ "type": "string",
620
692
  "description": "描述信息额外类名, 默认值: -"
621
693
  },
622
694
  "van-checkbox/v-model (value)": {
623
- "type": "boolean",
624
- "description": "是否为选中状态, 默认值: `false`"
695
+ "type": "any[]",
696
+ "description": "所有选中项的标识符, 默认值: -"
625
697
  },
626
698
  "van-checkbox/name": {
627
699
  "type": "any",
@@ -633,7 +705,7 @@
633
705
  },
634
706
  "van-checkbox/disabled": {
635
707
  "type": "boolean",
636
- "description": "是否禁用复选框, 默认值: `false`"
708
+ "description": "是否禁用所有复选框, 默认值: `false`"
637
709
  },
638
710
  "van-checkbox/label-disabled": {
639
711
  "type": "boolean",
@@ -645,40 +717,24 @@
645
717
  },
646
718
  "van-checkbox/icon-size": {
647
719
  "type": "number | string",
648
- "description": "图标大小,默认单位为 `px`, 默认值: `20px`"
720
+ "description": "所有复选框的图标大小,默认单位为 `px`, 默认值: `20px`"
649
721
  },
650
722
  "van-checkbox/checked-color": {
651
723
  "type": "string",
652
- "description": "选中状态颜色, 默认值: `#1989fa`"
724
+ "description": "所有复选框的选中状态颜色, 默认值: `#1989fa`"
653
725
  },
654
726
  "van-checkbox/bind-group": {
655
727
  "type": "boolean",
656
728
  "description": "是否与复选框组绑定, 默认值: `true`"
657
729
  },
658
- "van-checkbox-group/v-model (value)": {
659
- "type": "any[]",
660
- "description": "所有选中项的标识符, 默认值: -"
661
- },
662
- "van-checkbox-group/disabled": {
663
- "type": "boolean",
664
- "description": "是否禁用所有复选框, 默认值: `false`"
665
- },
666
- "van-checkbox-group/max": {
730
+ "van-checkbox/max": {
667
731
  "type": "number | string",
668
732
  "description": "最大可选数,`0`为无限制, 默认值: `0`"
669
733
  },
670
- "van-checkbox-group/direction": {
734
+ "van-checkbox/direction": {
671
735
  "type": "string",
672
736
  "description": "排列方向,可选值为 `horizontal`, 默认值: `vertical`"
673
737
  },
674
- "van-checkbox-group/icon-size": {
675
- "type": "number | string",
676
- "description": "所有复选框的图标大小,默认单位为 `px`, 默认值: `20px`"
677
- },
678
- "van-checkbox-group/checked-color": {
679
- "type": "string",
680
- "description": "所有复选框的选中状态颜色, 默认值: `#1989fa`"
681
- },
682
738
  "van-circle/v-model": {
683
739
  "type": "number",
684
740
  "description": "当前进度, 默认值: -"
@@ -723,102 +779,6 @@
723
779
  "type": "boolean",
724
780
  "description": "是否顺时针增加, 默认值: `true`"
725
781
  },
726
- "van-row/type": {
727
- "type": "string",
728
- "description": "布局方式,可选值为`flex`, 默认值: -"
729
- },
730
- "van-row/gutter": {
731
- "type": "number | string",
732
- "description": "列元素之间的间距(单位为 px), 默认值: -"
733
- },
734
- "van-row/tag": {
735
- "type": "string",
736
- "description": "自定义元素标签, 默认值: `div`"
737
- },
738
- "van-row/justify": {
739
- "type": "string",
740
- "description": "Flex 主轴对齐方式,可选值为 `end` `center` <br> `space-around` `space-between`, 默认值: `start`"
741
- },
742
- "van-row/align": {
743
- "type": "string",
744
- "description": "Flex 交叉轴对齐方式,可选值为 `center` `bottom`, 默认值: `top`"
745
- },
746
- "van-col/span": {
747
- "type": "number | string",
748
- "description": "列元素宽度, 默认值: -"
749
- },
750
- "van-col/offset": {
751
- "type": "number | string",
752
- "description": "列元素偏移距离, 默认值: -"
753
- },
754
- "van-col/tag": {
755
- "type": "string",
756
- "description": "自定义元素标签, 默认值: `div`"
757
- },
758
- "van-collapse/v-model": {
759
- "type": "手风琴模式:_number | string_<br>非手风琴模式:_(number \\",
760
- "description": "当前展开面板的 name, 默认值: string)[]_"
761
- },
762
- "van-collapse/accordion": {
763
- "type": "boolean",
764
- "description": "是否开启手风琴模式, 默认值: `false`"
765
- },
766
- "van-collapse/border": {
767
- "type": "boolean",
768
- "description": "是否显示外边框, 默认值: `true`"
769
- },
770
- "van-collapse-item/name": {
771
- "type": "number | string",
772
- "description": "唯一标识符,默认为索引值, 默认值: `index`"
773
- },
774
- "van-collapse-item/icon": {
775
- "type": "string",
776
- "description": "标题栏左侧[图标名称](#/zh-CN/icon)或图片链接, 默认值: -"
777
- },
778
- "van-collapse-item/size": {
779
- "type": "string",
780
- "description": "标题栏大小,可选值为 `large`, 默认值: -"
781
- },
782
- "van-collapse-item/title": {
783
- "type": "number | string",
784
- "description": "标题栏左侧内容, 默认值: -"
785
- },
786
- "van-collapse-item/value": {
787
- "type": "number | string",
788
- "description": "标题栏右侧内容, 默认值: -"
789
- },
790
- "van-collapse-item/label": {
791
- "type": "number | string",
792
- "description": "标题栏描述信息, 默认值: -"
793
- },
794
- "van-collapse-item/border": {
795
- "type": "boolean",
796
- "description": "是否显示内边框, 默认值: `true`"
797
- },
798
- "van-collapse-item/is-link": {
799
- "type": "boolean",
800
- "description": "是否展示标题栏右侧箭头并开启点击反馈, 默认值: `true`"
801
- },
802
- "van-collapse-item/disabled": {
803
- "type": "boolean",
804
- "description": "是否禁用面板, 默认值: `false`"
805
- },
806
- "van-collapse-item/lazy-render": {
807
- "type": "boolean",
808
- "description": "是否在首次展开时才渲染面板内容, 默认值: `true`"
809
- },
810
- "van-collapse-item/title-class": {
811
- "type": "string",
812
- "description": "左侧标题额外类名, 默认值: -"
813
- },
814
- "van-collapse-item/value-class": {
815
- "type": "string",
816
- "description": "右侧内容额外类名, 默认值: -"
817
- },
818
- "van-collapse-item/label-class": {
819
- "type": "string",
820
- "description": "描述信息额外类名, 默认值: -"
821
- },
822
782
  "van-contact-card/type": {
823
783
  "type": "string",
824
784
  "description": "卡片类型,可选值为 `edit`, 默认值: `add`"
@@ -895,99 +855,87 @@
895
855
  "type": "boolean",
896
856
  "description": "是否开启毫秒级渲染, 默认值: `false`"
897
857
  },
898
- "van-coupon-cell/title": {
858
+ "van-coupon/title": {
899
859
  "type": "string",
900
860
  "description": "单元格标题, 默认值: `优惠券`"
901
861
  },
902
- "van-coupon-cell/chosen-coupon": {
903
- "type": "number | string",
862
+ "van-coupon/chosen-coupon": {
863
+ "type": "number",
904
864
  "description": "当前选中优惠券的索引, 默认值: `-1`"
905
865
  },
906
- "van-coupon-cell/coupons": {
866
+ "van-coupon/coupons": {
907
867
  "type": "Coupon[]",
908
868
  "description": "可用优惠券列表, 默认值: `[]`"
909
869
  },
910
- "van-coupon-cell/editable": {
870
+ "van-coupon/editable": {
911
871
  "type": "boolean",
912
872
  "description": "能否切换优惠券, 默认值: `true`"
913
873
  },
914
- "van-coupon-cell/border": {
874
+ "van-coupon/border": {
915
875
  "type": "boolean",
916
876
  "description": "是否显示内边框, 默认值: `true`"
917
877
  },
918
- "van-coupon-cell/currency": {
878
+ "van-coupon/currency": {
919
879
  "type": "string",
920
880
  "description": "货币符号, 默认值: `¥`"
921
881
  },
922
- "van-coupon-list/v-model": {
882
+ "van-coupon/v-model": {
923
883
  "type": "string",
924
884
  "description": "当前输入的兑换码, 默认值: -"
925
885
  },
926
- "van-coupon-list/chosen-coupon": {
927
- "type": "number",
928
- "description": "当前选中优惠券的索引, 默认值: `-1`"
929
- },
930
- "van-coupon-list/coupons": {
931
- "type": "Coupon[]",
932
- "description": "可用优惠券列表, 默认值: `[]`"
933
- },
934
- "van-coupon-list/disabled-coupons": {
886
+ "van-coupon/disabled-coupons": {
935
887
  "type": "Coupon[]",
936
888
  "description": "不可用优惠券列表, 默认值: `[]`"
937
889
  },
938
- "van-coupon-list/enabled-title": {
890
+ "van-coupon/enabled-title": {
939
891
  "type": "string",
940
892
  "description": "可用优惠券列表标题, 默认值: `可使用优惠券`"
941
893
  },
942
- "van-coupon-list/disabled-title": {
894
+ "van-coupon/disabled-title": {
943
895
  "type": "string",
944
896
  "description": "不可用优惠券列表标题, 默认值: `不可使用优惠券`"
945
897
  },
946
- "van-coupon-list/exchange-button-text": {
898
+ "van-coupon/exchange-button-text": {
947
899
  "type": "string",
948
900
  "description": "兑换按钮文字, 默认值: `兑换`"
949
901
  },
950
- "van-coupon-list/exchange-button-loading": {
902
+ "van-coupon/exchange-button-loading": {
951
903
  "type": "boolean",
952
904
  "description": "是否显示兑换按钮加载动画, 默认值: `false`"
953
905
  },
954
- "van-coupon-list/exchange-button-disabled": {
906
+ "van-coupon/exchange-button-disabled": {
955
907
  "type": "boolean",
956
908
  "description": "是否禁用兑换按钮, 默认值: `false`"
957
909
  },
958
- "van-coupon-list/exchange-min-length": {
910
+ "van-coupon/exchange-min-length": {
959
911
  "type": "number",
960
912
  "description": "兑换码最小长度, 默认值: `1`"
961
913
  },
962
- "van-coupon-list/displayed-coupon-index": {
914
+ "van-coupon/displayed-coupon-index": {
963
915
  "type": "number",
964
916
  "description": "滚动至特定优惠券位置, 默认值: -"
965
917
  },
966
- "van-coupon-list/show-close-button": {
918
+ "van-coupon/show-close-button": {
967
919
  "type": "boolean",
968
920
  "description": "是否显示列表底部按钮, 默认值: `true`"
969
921
  },
970
- "van-coupon-list/close-button-text": {
922
+ "van-coupon/close-button-text": {
971
923
  "type": "string",
972
924
  "description": "列表底部按钮文字, 默认值: `不使用优惠`"
973
925
  },
974
- "van-coupon-list/input-placeholder": {
926
+ "van-coupon/input-placeholder": {
975
927
  "type": "string",
976
928
  "description": "输入框文字提示, 默认值: `请输入优惠码`"
977
929
  },
978
- "van-coupon-list/show-exchange-bar": {
930
+ "van-coupon/show-exchange-bar": {
979
931
  "type": "boolean",
980
932
  "description": "是否展示兑换栏, 默认值: `true`"
981
933
  },
982
- "van-coupon-list/currency": {
983
- "type": "string",
984
- "description": "货币符号, 默认值: `¥`"
985
- },
986
- "van-coupon-list/empty-image": {
934
+ "van-coupon/empty-image": {
987
935
  "type": "string",
988
936
  "description": "列表为空时的占位图, 默认值: `https://img01.yzcdn.cn/vant/coupon-empty.png`"
989
937
  },
990
- "van-coupon-list/show-count": {
938
+ "van-coupon/show-count": {
991
939
  "type": "boolean",
992
940
  "description": "是否展示可用 / 不可用数量, 默认值: `true`"
993
941
  },
@@ -1043,30 +991,42 @@
1043
991
  "type": "number | string",
1044
992
  "description": "快速滑动时惯性滚动的时长,单位`ms`, 默认值: `1000`"
1045
993
  },
1046
- "van-date-picker/min-date": {
994
+ "van-datetime-picker/min-date": {
1047
995
  "type": "Date",
1048
996
  "description": "可选的最小时间,精确到分钟, 默认值: 十年前"
1049
997
  },
1050
- "van-date-picker/max-date": {
998
+ "van-datetime-picker/max-date": {
1051
999
  "type": "Date",
1052
1000
  "description": "可选的最大时间,精确到分钟, 默认值: 十年后"
1053
1001
  },
1054
- "van-time-picker/min-hour": {
1002
+ "van-datetime-picker/min-hour": {
1055
1003
  "type": "number | string",
1056
1004
  "description": "可选的最小小时, 默认值: `0`"
1057
1005
  },
1058
- "van-time-picker/max-hour": {
1006
+ "van-datetime-picker/max-hour": {
1059
1007
  "type": "number | string",
1060
1008
  "description": "可选的最大小时, 默认值: `23`"
1061
1009
  },
1062
- "van-time-picker/min-minute": {
1010
+ "van-datetime-picker/min-minute": {
1063
1011
  "type": "number | string",
1064
1012
  "description": "可选的最小分钟, 默认值: `0`"
1065
1013
  },
1066
- "van-time-picker/max-minute": {
1014
+ "van-datetime-picker/max-minute": {
1067
1015
  "type": "number | string",
1068
1016
  "description": "可选的最大分钟, 默认值: `59`"
1069
1017
  },
1018
+ "van-divider/dashed": {
1019
+ "type": "boolean",
1020
+ "description": "是否使用虚线, 默认值: `false`"
1021
+ },
1022
+ "van-divider/hairline": {
1023
+ "type": "boolean",
1024
+ "description": "是否使用 0.5px 线, 默认值: `true`"
1025
+ },
1026
+ "van-divider/content-position": {
1027
+ "type": "string",
1028
+ "description": "内容位置,可选值为`left` `right`, 默认值: `center`"
1029
+ },
1070
1030
  "van-dialog/v-model": {
1071
1031
  "type": "boolean",
1072
1032
  "description": "是否显示弹窗, 默认值: -"
@@ -1159,18 +1119,6 @@
1159
1119
  "type": "string | () => Element",
1160
1120
  "description": "指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi), 默认值: -"
1161
1121
  },
1162
- "van-divider/dashed": {
1163
- "type": "boolean",
1164
- "description": "是否使用虚线, 默认值: `false`"
1165
- },
1166
- "van-divider/hairline": {
1167
- "type": "boolean",
1168
- "description": "是否使用 0.5px 线, 默认值: `true`"
1169
- },
1170
- "van-divider/content-position": {
1171
- "type": "string",
1172
- "description": "内容位置,可选值为`left` `right`, 默认值: `center`"
1173
- },
1174
1122
  "van-dropdown-menu/active-color": {
1175
1123
  "type": "string",
1176
1124
  "description": "菜单标题和选项的选中态颜色, 默认值: `#ee0a24`"
@@ -1199,31 +1147,31 @@
1199
1147
  "type": "boolean",
1200
1148
  "description": "是否在点击外部元素后关闭菜单, 默认值: `true`"
1201
1149
  },
1202
- "van-dropdown-item/value": {
1150
+ "van-dropdown-menu/value": {
1203
1151
  "type": "number | string",
1204
1152
  "description": "当前选中项对应的 value,可以通过`v-model`双向绑定, 默认值: -"
1205
1153
  },
1206
- "van-dropdown-item/title": {
1154
+ "van-dropdown-menu/title": {
1207
1155
  "type": "string",
1208
1156
  "description": "菜单项标题, 默认值: 当前选中项文字"
1209
1157
  },
1210
- "van-dropdown-item/options": {
1158
+ "van-dropdown-menu/options": {
1211
1159
  "type": "Option[]",
1212
1160
  "description": "选项数组, 默认值: `[]`"
1213
1161
  },
1214
- "van-dropdown-item/disabled": {
1162
+ "van-dropdown-menu/disabled": {
1215
1163
  "type": "boolean",
1216
1164
  "description": "是否禁用菜单, 默认值: `false`"
1217
1165
  },
1218
- "van-dropdown-item/lazy-render": {
1166
+ "van-dropdown-menu/lazy-render": {
1219
1167
  "type": "boolean",
1220
1168
  "description": "是否在首次展开时才渲染菜单内容, 默认值: `true`"
1221
1169
  },
1222
- "van-dropdown-item/title-class": {
1170
+ "van-dropdown-menu/title-class": {
1223
1171
  "type": "string",
1224
1172
  "description": "标题额外类名, 默认值: -"
1225
1173
  },
1226
- "van-dropdown-item/get-container": {
1174
+ "van-dropdown-menu/get-container": {
1227
1175
  "type": "string | () => Element",
1228
1176
  "description": "指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi), 默认值: -"
1229
1177
  },
@@ -1431,154 +1379,130 @@
1431
1379
  "type": "boolean",
1432
1380
  "description": "是否在按下回车键时提交表单, 默认值: `true`"
1433
1381
  },
1434
- "van-goods-action/safe-area-inset-bottom": {
1435
- "type": "boolean",
1436
- "description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei), 默认值: `true`"
1437
- },
1438
- "van-goods-action-icon/text": {
1439
- "type": "string",
1440
- "description": "按钮文字, 默认值: -"
1441
- },
1442
- "van-goods-action-icon/icon": {
1443
- "type": "string",
1444
- "description": "图标, 默认值: -"
1445
- },
1446
- "van-goods-action-icon/color": {
1447
- "type": "string",
1448
- "description": "图标颜色, 默认值: `#323233`"
1449
- },
1450
- "van-goods-action-icon/icon-class": {
1451
- "type": "any",
1452
- "description": "图标额外类名, 默认值: -"
1453
- },
1454
- "van-goods-action-icon/dot": {
1455
- "type": "boolean",
1456
- "description": "是否显示图标右上角小红点, 默认值: `false`"
1382
+ "van-grid/column-num": {
1383
+ "type": "number | string",
1384
+ "description": "列数, 默认值: `4`"
1457
1385
  },
1458
- "van-goods-action-icon/badge": {
1386
+ "van-grid/icon-size": {
1459
1387
  "type": "number | string",
1460
- "description": "图标右上角徽标的内容, 默认值: -"
1388
+ "description": "图标大小,默认单位为`px`, 默认值: `28px`"
1461
1389
  },
1462
- "van-goods-action-icon/info": {
1390
+ "van-grid/gutter": {
1463
1391
  "type": "number | string",
1464
- "description": "图标右上角徽标的内容(已废弃,请使用 badge 属性), 默认值: -"
1392
+ "description": "格子之间的间距,默认单位为`px`, 默认值: `0`"
1465
1393
  },
1466
- "van-goods-action-icon/url": {
1467
- "type": "string",
1468
- "description": "点击后跳转的链接地址, 默认值: -"
1394
+ "van-grid/border": {
1395
+ "type": "boolean",
1396
+ "description": "是否显示边框, 默认值: `true`"
1469
1397
  },
1470
- "van-goods-action-icon/to": {
1471
- "type": "string | object",
1472
- "description": "点击后跳转的目标路由对象,同 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to), 默认值: -"
1398
+ "van-grid/center": {
1399
+ "type": "boolean",
1400
+ "description": "是否将格子内容居中显示, 默认值: `true`"
1473
1401
  },
1474
- "van-goods-action-icon/replace": {
1402
+ "van-grid/square": {
1475
1403
  "type": "boolean",
1476
- "description": "是否在跳转时替换当前页面历史, 默认值: `false`"
1404
+ "description": "是否将格子固定为正方形, 默认值: `false`"
1477
1405
  },
1478
- "van-goods-action-button/text": {
1479
- "type": "string",
1480
- "description": "按钮文字, 默认值: -"
1406
+ "van-grid/clickable": {
1407
+ "type": "boolean",
1408
+ "description": "是否开启格子点击反馈, 默认值: `false`"
1481
1409
  },
1482
- "van-goods-action-button/type": {
1410
+ "van-grid/direction": {
1483
1411
  "type": "string",
1484
- "description": "按钮类型,可选值为 `primary` `info` `warning` `danger`, 默认值: `default`"
1412
+ "description": "格子内容排列的方向,可选值为 `horizontal`, 默认值: `vertical`"
1485
1413
  },
1486
- "van-goods-action-button/color": {
1414
+ "van-grid/text": {
1487
1415
  "type": "string",
1488
- "description": "按钮颜色,支持传入`linear-gradient`渐变色, 默认值: -"
1416
+ "description": "文字, 默认值: -"
1489
1417
  },
1490
- "van-goods-action-button/icon": {
1418
+ "van-grid/icon": {
1491
1419
  "type": "string",
1492
- "description": "左侧[图标名称](#/zh-CN/icon)或图片链接, 默认值: -"
1493
- },
1494
- "van-goods-action-button/disabled": {
1495
- "type": "boolean",
1496
- "description": "是否禁用按钮, 默认值: `false`"
1497
- },
1498
- "van-goods-action-button/loading": {
1499
- "type": "boolean",
1500
- "description": "是否显示为加载状态, 默认值: `false`"
1420
+ "description": "[图标名称](#/zh-CN/icon)或图片链接, 默认值: -"
1501
1421
  },
1502
- "van-goods-action-button/url": {
1422
+ "van-grid/icon-prefix": {
1503
1423
  "type": "string",
1504
- "description": "点击后跳转的链接地址, 默认值: -"
1505
- },
1506
- "van-goods-action-button/to": {
1507
- "type": "string | object",
1508
- "description": "点击后跳转的目标路由对象,同 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to), 默认值: -"
1424
+ "description": "图标类名前缀,同 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props), 默认值: `van-icon`"
1509
1425
  },
1510
- "van-goods-action-button/replace": {
1426
+ "van-grid/dot": {
1511
1427
  "type": "boolean",
1512
- "description": "是否在跳转时替换当前页面历史, 默认值: `false`"
1513
- },
1514
- "van-grid/column-num": {
1515
- "type": "number | string",
1516
- "description": "列数, 默认值: `4`"
1428
+ "description": "是否显示图标右上角小红点, 默认值: `false`"
1517
1429
  },
1518
- "van-grid/icon-size": {
1430
+ "van-grid/badge": {
1519
1431
  "type": "number | string",
1520
- "description": "图标大小,默认单位为`px`, 默认值: `28px`"
1432
+ "description": "图标右上角徽标的内容, 默认值: -"
1521
1433
  },
1522
- "van-grid/gutter": {
1434
+ "van-grid/info": {
1523
1435
  "type": "number | string",
1524
- "description": "格子之间的间距,默认单位为`px`, 默认值: `0`"
1436
+ "description": "图标右上角徽标的内容(已废弃,请使用 badge 属性), 默认值: -"
1525
1437
  },
1526
- "van-grid/border": {
1527
- "type": "boolean",
1528
- "description": "是否显示边框, 默认值: `true`"
1438
+ "van-grid/url": {
1439
+ "type": "string",
1440
+ "description": "点击后跳转的链接地址, 默认值: -"
1529
1441
  },
1530
- "van-grid/center": {
1531
- "type": "boolean",
1532
- "description": "是否将格子内容居中显示, 默认值: `true`"
1442
+ "van-grid/to": {
1443
+ "type": "string | object",
1444
+ "description": "点击后跳转的目标路由对象,同 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to), 默认值: -"
1533
1445
  },
1534
- "van-grid/square": {
1446
+ "van-grid/replace": {
1535
1447
  "type": "boolean",
1536
- "description": "是否将格子固定为正方形, 默认值: `false`"
1448
+ "description": "是否在跳转时替换当前页面历史, 默认值: `false`"
1537
1449
  },
1538
- "van-grid/clickable": {
1450
+ "van-goods-action/safe-area-inset-bottom": {
1539
1451
  "type": "boolean",
1540
- "description": "是否开启格子点击反馈, 默认值: `false`"
1452
+ "description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei), 默认值: `true`"
1541
1453
  },
1542
- "van-grid/direction": {
1454
+ "van-goods-action/text": {
1543
1455
  "type": "string",
1544
- "description": "格子内容排列的方向,可选值为 `horizontal`, 默认值: `vertical`"
1456
+ "description": "按钮文字, 默认值: -"
1545
1457
  },
1546
- "van-grid-item/text": {
1458
+ "van-goods-action/icon": {
1547
1459
  "type": "string",
1548
- "description": "文字, 默认值: -"
1460
+ "description": "左侧[图标名称](#/zh-CN/icon)或图片链接, 默认值: -"
1549
1461
  },
1550
- "van-grid-item/icon": {
1462
+ "van-goods-action/color": {
1551
1463
  "type": "string",
1552
- "description": "[图标名称](#/zh-CN/icon)或图片链接, 默认值: -"
1464
+ "description": "按钮颜色,支持传入`linear-gradient`渐变色, 默认值: -"
1553
1465
  },
1554
- "van-grid-item/icon-prefix": {
1555
- "type": "string",
1556
- "description": "图标类名前缀,同 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props), 默认值: `van-icon`"
1466
+ "van-goods-action/icon-class": {
1467
+ "type": "any",
1468
+ "description": "图标额外类名, 默认值: -"
1557
1469
  },
1558
- "van-grid-item/dot": {
1470
+ "van-goods-action/dot": {
1559
1471
  "type": "boolean",
1560
1472
  "description": "是否显示图标右上角小红点, 默认值: `false`"
1561
1473
  },
1562
- "van-grid-item/badge": {
1474
+ "van-goods-action/badge": {
1563
1475
  "type": "number | string",
1564
1476
  "description": "图标右上角徽标的内容, 默认值: -"
1565
1477
  },
1566
- "van-grid-item/info": {
1478
+ "van-goods-action/info": {
1567
1479
  "type": "number | string",
1568
1480
  "description": "图标右上角徽标的内容(已废弃,请使用 badge 属性), 默认值: -"
1569
1481
  },
1570
- "van-grid-item/url": {
1482
+ "van-goods-action/url": {
1571
1483
  "type": "string",
1572
1484
  "description": "点击后跳转的链接地址, 默认值: -"
1573
1485
  },
1574
- "van-grid-item/to": {
1486
+ "van-goods-action/to": {
1575
1487
  "type": "string | object",
1576
1488
  "description": "点击后跳转的目标路由对象,同 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to), 默认值: -"
1577
1489
  },
1578
- "van-grid-item/replace": {
1490
+ "van-goods-action/replace": {
1579
1491
  "type": "boolean",
1580
1492
  "description": "是否在跳转时替换当前页面历史, 默认值: `false`"
1581
1493
  },
1494
+ "van-goods-action/type": {
1495
+ "type": "string",
1496
+ "description": "按钮类型,可选值为 `primary` `info` `warning` `danger`, 默认值: `default`"
1497
+ },
1498
+ "van-goods-action/disabled": {
1499
+ "type": "boolean",
1500
+ "description": "是否禁用按钮, 默认值: `false`"
1501
+ },
1502
+ "van-goods-action/loading": {
1503
+ "type": "boolean",
1504
+ "description": "是否显示为加载状态, 默认值: `false`"
1505
+ },
1582
1506
  "van-icon/name": {
1583
1507
  "type": "string",
1584
1508
  "description": "图标名称或图片链接, 默认值: -"
@@ -1611,6 +1535,30 @@
1611
1535
  "type": "string",
1612
1536
  "description": "HTML 标签, 默认值: `i`"
1613
1537
  },
1538
+ "van-index-bar/index-list": {
1539
+ "type": "string[] | number[]",
1540
+ "description": "索引字符列表, 默认值: `A-Z`"
1541
+ },
1542
+ "van-index-bar/z-index": {
1543
+ "type": "number | string",
1544
+ "description": "z-index 层级, 默认值: `1`"
1545
+ },
1546
+ "van-index-bar/sticky": {
1547
+ "type": "boolean",
1548
+ "description": "是否开启锚点自动吸顶, 默认值: `true`"
1549
+ },
1550
+ "van-index-bar/sticky-offset-top": {
1551
+ "type": "number",
1552
+ "description": "锚点自动吸顶时与顶部的距离, 默认值: `0`"
1553
+ },
1554
+ "van-index-bar/highlight-color": {
1555
+ "type": "string",
1556
+ "description": "索引字符高亮颜色, 默认值: `#ee0a24`"
1557
+ },
1558
+ "van-index-bar/index": {
1559
+ "type": "number | string",
1560
+ "description": "索引字符, 默认值: -"
1561
+ },
1614
1562
  "van-image/src": {
1615
1563
  "type": "string",
1616
1564
  "description": "图片链接, 默认值: -"
@@ -1731,30 +1679,6 @@
1731
1679
  "type": "string | () => Element",
1732
1680
  "description": "指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi), 默认值: -"
1733
1681
  },
1734
- "van-index-bar/index-list": {
1735
- "type": "string[] | number[]",
1736
- "description": "索引字符列表, 默认值: `A-Z`"
1737
- },
1738
- "van-index-bar/z-index": {
1739
- "type": "number | string",
1740
- "description": "z-index 层级, 默认值: `1`"
1741
- },
1742
- "van-index-bar/sticky": {
1743
- "type": "boolean",
1744
- "description": "是否开启锚点自动吸顶, 默认值: `true`"
1745
- },
1746
- "van-index-bar/sticky-offset-top": {
1747
- "type": "number",
1748
- "description": "锚点自动吸顶时与顶部的距离, 默认值: `0`"
1749
- },
1750
- "van-index-bar/highlight-color": {
1751
- "type": "string",
1752
- "description": "索引字符高亮颜色, 默认值: `#ee0a24`"
1753
- },
1754
- "van-index-anchor/index": {
1755
- "type": "number | string",
1756
- "description": "索引字符, 默认值: -"
1757
- },
1758
1682
  "van-list/v-model": {
1759
1683
  "type": "boolean",
1760
1684
  "description": "是否处于加载状态,加载过程中不触发`load`事件, 默认值: `false`"
@@ -2027,34 +1951,6 @@
2027
1951
  "type": "string",
2028
1952
  "description": "标题左侧[图标名称](#/zh-CN/icon)或图片链接, 默认值: -"
2029
1953
  },
2030
- "van-password-input/value": {
2031
- "type": "string",
2032
- "description": "密码值, 默认值: `''`"
2033
- },
2034
- "van-password-input/info": {
2035
- "type": "string",
2036
- "description": "输入框下方文字提示, 默认值: -"
2037
- },
2038
- "van-password-input/error-info": {
2039
- "type": "string",
2040
- "description": "输入框下方错误提示, 默认值: -"
2041
- },
2042
- "van-password-input/length": {
2043
- "type": "number | string",
2044
- "description": "密码最大长度, 默认值: `6`"
2045
- },
2046
- "van-password-input/gutter": {
2047
- "type": "number | string",
2048
- "description": "输入框格子之间的间距,如 `20px` `2em`,默认单位为`px`, 默认值: `0`"
2049
- },
2050
- "van-password-input/mask": {
2051
- "type": "boolean",
2052
- "description": "是否隐藏密码内容, 默认值: `true`"
2053
- },
2054
- "van-password-input/focused": {
2055
- "type": "boolean",
2056
- "description": "是否已聚焦,聚焦时会显示光标, 默认值: `false`"
2057
- },
2058
1954
  "van-picker/columns": {
2059
1955
  "type": "Column[]",
2060
1956
  "description": "对象数组,配置每一列显示的数据, 默认值: `[]`"
@@ -2111,6 +2007,34 @@
2111
2007
  "type": "number | string",
2112
2008
  "description": "快速滑动时惯性滚动的时长,单位 `ms`, 默认值: `1000`"
2113
2009
  },
2010
+ "van-password-input/value": {
2011
+ "type": "string",
2012
+ "description": "密码值, 默认值: `''`"
2013
+ },
2014
+ "van-password-input/info": {
2015
+ "type": "string",
2016
+ "description": "输入框下方文字提示, 默认值: -"
2017
+ },
2018
+ "van-password-input/error-info": {
2019
+ "type": "string",
2020
+ "description": "输入框下方错误提示, 默认值: -"
2021
+ },
2022
+ "van-password-input/length": {
2023
+ "type": "number | string",
2024
+ "description": "密码最大长度, 默认值: `6`"
2025
+ },
2026
+ "van-password-input/gutter": {
2027
+ "type": "number | string",
2028
+ "description": "输入框格子之间的间距,如 `20px` `2em`,默认单位为`px`, 默认值: `0`"
2029
+ },
2030
+ "van-password-input/mask": {
2031
+ "type": "boolean",
2032
+ "description": "是否隐藏密码内容, 默认值: `true`"
2033
+ },
2034
+ "van-password-input/focused": {
2035
+ "type": "boolean",
2036
+ "description": "是否已聚焦,聚焦时会显示光标, 默认值: `false`"
2037
+ },
2114
2038
  "van-popover/v-model": {
2115
2039
  "type": "boolean",
2116
2040
  "description": "是否展示气泡弹出层, 默认值: `false`"
@@ -2309,7 +2233,7 @@
2309
2233
  },
2310
2234
  "van-radio/disabled": {
2311
2235
  "type": "boolean",
2312
- "description": "是否为禁用状态, 默认值: `false`"
2236
+ "description": "是否禁用所有单选框, 默认值: `false`"
2313
2237
  },
2314
2238
  "van-radio/label-disabled": {
2315
2239
  "type": "boolean",
@@ -2321,32 +2245,20 @@
2321
2245
  },
2322
2246
  "van-radio/icon-size": {
2323
2247
  "type": "number | string",
2324
- "description": "图标大小,默认单位为`px`, 默认值: `20px`"
2248
+ "description": "所有单选框的图标大小,默认单位为`px`, 默认值: `20px`"
2325
2249
  },
2326
2250
  "van-radio/checked-color": {
2327
2251
  "type": "string",
2328
- "description": "选中状态颜色, 默认值: `#1989fa`"
2252
+ "description": "所有单选框的选中状态颜色, 默认值: `#1989fa`"
2329
2253
  },
2330
- "van-radio-group/v-model (value)": {
2254
+ "van-radio/v-model (value)": {
2331
2255
  "type": "any",
2332
2256
  "description": "当前选中项的标识符, 默认值: -"
2333
2257
  },
2334
- "van-radio-group/disabled": {
2335
- "type": "boolean",
2336
- "description": "是否禁用所有单选框, 默认值: `false`"
2337
- },
2338
- "van-radio-group/direction": {
2258
+ "van-radio/direction": {
2339
2259
  "type": "string",
2340
2260
  "description": "排列方向,可选值为`horizontal`, 默认值: `vertical`"
2341
2261
  },
2342
- "van-radio-group/icon-size": {
2343
- "type": "number | string",
2344
- "description": "所有单选框的图标大小,默认单位为`px`, 默认值: `20px`"
2345
- },
2346
- "van-radio-group/checked-color": {
2347
- "type": "string",
2348
- "description": "所有单选框的选中状态颜色, 默认值: `#1989fa`"
2349
- },
2350
2262
  "van-rate/v-model": {
2351
2263
  "type": "number",
2352
2264
  "description": "当前分值, 默认值: -"
@@ -2519,35 +2431,35 @@
2519
2431
  "type": "number | string",
2520
2432
  "description": "当前导航项的索引, 默认值: `0`"
2521
2433
  },
2522
- "van-sidebar-item/title": {
2434
+ "van-sidebar/title": {
2523
2435
  "type": "string",
2524
2436
  "description": "内容, 默认值: `''`"
2525
2437
  },
2526
- "van-sidebar-item/dot": {
2438
+ "van-sidebar/dot": {
2527
2439
  "type": "boolean",
2528
2440
  "description": "是否显示右上角小红点, 默认值: `false`"
2529
2441
  },
2530
- "van-sidebar-item/badge": {
2442
+ "van-sidebar/badge": {
2531
2443
  "type": "number | string",
2532
2444
  "description": "图标右上角徽标的内容, 默认值: -"
2533
2445
  },
2534
- "van-sidebar-item/info": {
2446
+ "van-sidebar/info": {
2535
2447
  "type": "number | string",
2536
2448
  "description": "图标右上角徽标的内容(已废弃,请使用 badge 属性), 默认值: -"
2537
2449
  },
2538
- "van-sidebar-item/disabled": {
2450
+ "van-sidebar/disabled": {
2539
2451
  "type": "boolean",
2540
2452
  "description": "是否禁用该项, 默认值: `false`"
2541
2453
  },
2542
- "van-sidebar-item/url": {
2454
+ "van-sidebar/url": {
2543
2455
  "type": "string",
2544
2456
  "description": "点击后跳转的链接地址, 默认值: -"
2545
2457
  },
2546
- "van-sidebar-item/to": {
2458
+ "van-sidebar/to": {
2547
2459
  "type": "string | object",
2548
2460
  "description": "点击后跳转的目标路由对象,同 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to), 默认值: -"
2549
2461
  },
2550
- "van-sidebar-item/replace": {
2462
+ "van-sidebar/replace": {
2551
2463
  "type": "boolean",
2552
2464
  "description": "是否在跳转时替换当前页面历史, 默认值: `false`"
2553
2465
  },
@@ -2879,6 +2791,10 @@
2879
2791
  "type": "string",
2880
2792
  "description": "图标类名前缀,同 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props), 默认值: `van-icon`"
2881
2793
  },
2794
+ "van-steps/center": {
2795
+ "type": "boolean",
2796
+ "description": "是否进行居中对齐,仅在竖向展示时有效, 默认值: `false`"
2797
+ },
2882
2798
  "van-sticky/offset-top": {
2883
2799
  "type": "number | string",
2884
2800
  "description": "吸顶时与顶部的距离,支持 `px` `vw` `vh` `rem` 单位,默认 `px`, 默认值: `0`"
@@ -2947,6 +2863,54 @@
2947
2863
  "type": "boolean",
2948
2864
  "description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei), 默认值: `true`"
2949
2865
  },
2866
+ "van-swipe/autoplay": {
2867
+ "type": "number | string",
2868
+ "description": "自动轮播间隔,单位为 ms, 默认值: -"
2869
+ },
2870
+ "van-swipe/duration": {
2871
+ "type": "number | string",
2872
+ "description": "动画时长,单位为 ms, 默认值: `500`"
2873
+ },
2874
+ "van-swipe/initial-swipe": {
2875
+ "type": "number | string",
2876
+ "description": "初始位置索引值, 默认值: `0`"
2877
+ },
2878
+ "van-swipe/width": {
2879
+ "type": "number | string",
2880
+ "description": "滑块宽度,单位为`px`, 默认值: `auto`"
2881
+ },
2882
+ "van-swipe/height": {
2883
+ "type": "number | string",
2884
+ "description": "滑块高度,单位为`px`, 默认值: `auto`"
2885
+ },
2886
+ "van-swipe/loop": {
2887
+ "type": "boolean",
2888
+ "description": "是否开启循环播放, 默认值: `true`"
2889
+ },
2890
+ "van-swipe/show-indicators": {
2891
+ "type": "boolean",
2892
+ "description": "是否显示指示器, 默认值: `true`"
2893
+ },
2894
+ "van-swipe/vertical": {
2895
+ "type": "boolean",
2896
+ "description": "是否为纵向滚动, 默认值: `false`"
2897
+ },
2898
+ "van-swipe/touchable": {
2899
+ "type": "boolean",
2900
+ "description": "是否可以通过手势滑动, 默认值: `true`"
2901
+ },
2902
+ "van-swipe/stop-propagation": {
2903
+ "type": "boolean",
2904
+ "description": "是否阻止滑动事件冒泡, 默认值: `true`"
2905
+ },
2906
+ "van-swipe/lazy-render": {
2907
+ "type": "boolean",
2908
+ "description": "是否延迟渲染未展示的轮播, 默认值: `false`"
2909
+ },
2910
+ "van-swipe/indicator-color": {
2911
+ "type": "string",
2912
+ "description": "指示器颜色, 默认值: `#1989fa`"
2913
+ },
2950
2914
  "van-swipe-cell/name": {
2951
2915
  "type": "number | string",
2952
2916
  "description": "标识符,可以在事件参数中获取到, 默认值: -"
@@ -3047,127 +3011,79 @@
3047
3011
  "type": "any",
3048
3012
  "description": "关闭时的值, 默认值: `false`"
3049
3013
  },
3050
- "van-swipe/autoplay": {
3051
- "type": "number | string",
3052
- "description": "自动轮播间隔,单位为 ms, 默认值: -"
3053
- },
3054
- "van-swipe/duration": {
3055
- "type": "number | string",
3056
- "description": "动画时长,单位为 ms, 默认值: `500`"
3057
- },
3058
- "van-swipe/initial-swipe": {
3059
- "type": "number | string",
3060
- "description": "初始位置索引值, 默认值: `0`"
3061
- },
3062
- "van-swipe/width": {
3063
- "type": "number | string",
3064
- "description": "滑块宽度,单位为`px`, 默认值: `auto`"
3065
- },
3066
- "van-swipe/height": {
3067
- "type": "number | string",
3068
- "description": "滑块高度,单位为`px`, 默认值: `auto`"
3069
- },
3070
- "van-swipe/loop": {
3071
- "type": "boolean",
3072
- "description": "是否开启循环播放, 默认值: `true`"
3073
- },
3074
- "van-swipe/show-indicators": {
3075
- "type": "boolean",
3076
- "description": "是否显示指示器, 默认值: `true`"
3077
- },
3078
- "van-swipe/vertical": {
3079
- "type": "boolean",
3080
- "description": "是否为纵向滚动, 默认值: `false`"
3081
- },
3082
- "van-swipe/touchable": {
3083
- "type": "boolean",
3084
- "description": "是否可以通过手势滑动, 默认值: `true`"
3085
- },
3086
- "van-swipe/stop-propagation": {
3087
- "type": "boolean",
3088
- "description": "是否阻止滑动事件冒泡, 默认值: `true`"
3089
- },
3090
- "van-swipe/lazy-render": {
3091
- "type": "boolean",
3092
- "description": "是否延迟渲染未展示的轮播, 默认值: `false`"
3093
- },
3094
- "van-swipe/indicator-color": {
3095
- "type": "string",
3096
- "description": "指示器颜色, 默认值: `#1989fa`"
3097
- },
3098
- "van-tabs/v-model": {
3014
+ "van-tab/v-model": {
3099
3015
  "type": "number | string",
3100
3016
  "description": "绑定当前选中标签的标识符, 默认值: `0`"
3101
3017
  },
3102
- "van-tabs/type": {
3018
+ "van-tab/type": {
3103
3019
  "type": "string",
3104
3020
  "description": "样式风格类型,可选值为 `card`, 默认值: `line`"
3105
3021
  },
3106
- "van-tabs/color": {
3022
+ "van-tab/color": {
3107
3023
  "type": "string",
3108
3024
  "description": "标签主题色, 默认值: `#ee0a24`"
3109
3025
  },
3110
- "van-tabs/background": {
3026
+ "van-tab/background": {
3111
3027
  "type": "string",
3112
3028
  "description": "标签栏背景色, 默认值: `white`"
3113
3029
  },
3114
- "van-tabs/duration": {
3030
+ "van-tab/duration": {
3115
3031
  "type": "number | string",
3116
3032
  "description": "动画时间,单位秒, 默认值: `0.3`"
3117
3033
  },
3118
- "van-tabs/line-width": {
3034
+ "van-tab/line-width": {
3119
3035
  "type": "number | string",
3120
3036
  "description": "底部条宽度,默认单位 `px`, 默认值: `40px`"
3121
3037
  },
3122
- "van-tabs/line-height": {
3038
+ "van-tab/line-height": {
3123
3039
  "type": "number | string",
3124
3040
  "description": "底部条高度,默认单位 `px`, 默认值: `3px`"
3125
3041
  },
3126
- "van-tabs/animated": {
3042
+ "van-tab/animated": {
3127
3043
  "type": "boolean",
3128
3044
  "description": "是否开启切换标签内容时的转场动画, 默认值: `false`"
3129
3045
  },
3130
- "van-tabs/border": {
3046
+ "van-tab/border": {
3131
3047
  "type": "boolean",
3132
3048
  "description": "是否显示标签栏外边框,仅在 `type=\"line\"` 时有效, 默认值: `false`"
3133
3049
  },
3134
- "van-tabs/ellipsis": {
3050
+ "van-tab/ellipsis": {
3135
3051
  "type": "boolean",
3136
3052
  "description": "是否省略过长的标题文字, 默认值: `true`"
3137
3053
  },
3138
- "van-tabs/sticky": {
3054
+ "van-tab/sticky": {
3139
3055
  "type": "boolean",
3140
3056
  "description": "是否使用粘性定位布局, 默认值: `false`"
3141
3057
  },
3142
- "van-tabs/swipeable": {
3058
+ "van-tab/swipeable": {
3143
3059
  "type": "boolean",
3144
3060
  "description": "是否开启手势滑动切换, 默认值: `false`"
3145
3061
  },
3146
- "van-tabs/lazy-render": {
3062
+ "van-tab/lazy-render": {
3147
3063
  "type": "boolean",
3148
3064
  "description": "是否开启延迟渲染(首次切换到标签时才触发内容渲染), 默认值: `true`"
3149
3065
  },
3150
- "van-tabs/scrollspy": {
3066
+ "van-tab/scrollspy": {
3151
3067
  "type": "boolean",
3152
3068
  "description": "是否开启滚动导航, 默认值: `false`"
3153
3069
  },
3154
- "van-tabs/offset-top": {
3070
+ "van-tab/offset-top": {
3155
3071
  "type": "number | string",
3156
3072
  "description": "粘性定位布局下与顶部的最小距离,支持 `px` `vw` `vh` `rem` 单位,默认 `px`, 默认值: `0`"
3157
3073
  },
3158
- "van-tabs/swipe-threshold": {
3074
+ "van-tab/swipe-threshold": {
3159
3075
  "type": "number | string",
3160
3076
  "description": "滚动阈值,标签数量超过阈值且总宽度超过标签栏宽度时开始横向滚动, 默认值: `5`"
3161
3077
  },
3162
- "van-tabs/title-active-color": {
3078
+ "van-tab/title-active-color": {
3163
3079
  "type": "string",
3164
3080
  "description": "标题选中态颜色, 默认值: -"
3165
3081
  },
3166
- "van-tabs/title-inactive-color": {
3082
+ "van-tab/title-inactive-color": {
3167
3083
  "type": "string",
3168
3084
  "description": "标题默认态颜色, 默认值: -"
3169
3085
  },
3170
- "van-tabs/before-change": {
3086
+ "van-tab/before-change": {
3171
3087
  "type": "(name) => boolean | Promise",
3172
3088
  "description": "切换标签前的回调函数,返回 `false` 可阻止切换,支持返回 Promise, 默认值: -"
3173
3089
  },
@@ -3255,39 +3171,39 @@
3255
3171
  "type": "(name) => boolean | Promise",
3256
3172
  "description": "切换标签前的回调函数,返回 `false` 可阻止切换,支持返回 Promise, 默认值: -"
3257
3173
  },
3258
- "van-tabbar-item/name": {
3174
+ "van-tabbar/name": {
3259
3175
  "type": "number | string",
3260
3176
  "description": "标签名称,作为匹配的标识符, 默认值: 当前标签的索引值"
3261
3177
  },
3262
- "van-tabbar-item/icon": {
3178
+ "van-tabbar/icon": {
3263
3179
  "type": "string",
3264
3180
  "description": "[图标名称](#/zh-CN/icon)或图片链接, 默认值: -"
3265
3181
  },
3266
- "van-tabbar-item/icon-prefix": {
3182
+ "van-tabbar/icon-prefix": {
3267
3183
  "type": "string",
3268
3184
  "description": "图标类名前缀,同 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props), 默认值: `van-icon`"
3269
3185
  },
3270
- "van-tabbar-item/dot": {
3186
+ "van-tabbar/dot": {
3271
3187
  "type": "boolean",
3272
3188
  "description": "是否显示图标右上角小红点, 默认值: `false`"
3273
3189
  },
3274
- "van-tabbar-item/badge": {
3190
+ "van-tabbar/badge": {
3275
3191
  "type": "number | string",
3276
3192
  "description": "图标右上角徽标的内容, 默认值: -"
3277
3193
  },
3278
- "van-tabbar-item/info": {
3194
+ "van-tabbar/info": {
3279
3195
  "type": "number | string",
3280
3196
  "description": "图标右上角徽标的内容(已废弃,请使用 badge 属性), 默认值: -"
3281
3197
  },
3282
- "van-tabbar-item/url": {
3198
+ "van-tabbar/url": {
3283
3199
  "type": "string",
3284
3200
  "description": "点击后跳转的链接地址, 默认值: -"
3285
3201
  },
3286
- "van-tabbar-item/to": {
3202
+ "van-tabbar/to": {
3287
3203
  "type": "string | object",
3288
3204
  "description": "点击后跳转的目标路由对象,同 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to), 默认值: -"
3289
3205
  },
3290
- "van-tabbar-item/replace": {
3206
+ "van-tabbar/replace": {
3291
3207
  "type": "boolean",
3292
3208
  "description": "是否在跳转时替换当前页面历史, 默认值: `false`"
3293
3209
  },