vant 3.3.1 → 3.3.4
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/calendar/Calendar.js +8 -14
- package/es/calendar/CalendarMonth.js +11 -10
- package/es/calendar/types.d.ts +1 -1
- package/es/index.d.ts +1 -1
- package/es/index.js +1 -1
- package/es/locale/lang/pt-BR.d.ts +73 -0
- package/es/locale/lang/pt-BR.js +72 -0
- package/es/swipe/Swipe.js +8 -2
- package/es/swipe/index.css +1 -1
- package/es/swipe/index.less +2 -0
- package/es/tab/Tab.js +1 -1
- package/es/tabbar-item/TabbarItem.js +5 -3
- package/es/uploader/Uploader.js +13 -2
- package/lib/calendar/Calendar.js +8 -14
- package/lib/calendar/CalendarMonth.js +11 -10
- package/lib/calendar/types.d.ts +1 -1
- package/lib/index.css +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/lang/pt-BR.d.ts +73 -0
- package/lib/locale/lang/pt-BR.js +77 -0
- package/lib/ssr.js +7 -0
- package/lib/ssr.mjs +1 -0
- package/lib/swipe/Swipe.js +8 -2
- package/lib/swipe/index.css +1 -1
- package/lib/swipe/index.less +2 -0
- package/lib/tab/Tab.js +1 -1
- package/lib/tabbar-item/TabbarItem.js +5 -3
- package/lib/uploader/Uploader.js +12 -1
- package/lib/vant.cjs.js +14417 -0
- package/lib/vant.cjs.min.js +1 -0
- package/lib/vant.es.js +173 -1241
- package/lib/vant.es.min.js +173 -1241
- package/lib/vant.js +38 -25
- package/lib/vant.min.js +1 -1
- package/package.json +23 -8
- package/vetur/attributes.json +277 -277
- package/vetur/tags.json +96 -96
- package/vetur/web-types.json +882 -882
package/vetur/web-types.json
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
3
3
|
"framework": "vue",
|
4
4
|
"name": "vant",
|
5
|
-
"version": "3.3.
|
5
|
+
"version": "3.3.4",
|
6
6
|
"contributions": {
|
7
7
|
"html": {
|
8
8
|
"tags": [
|
@@ -244,72 +244,76 @@
|
|
244
244
|
]
|
245
245
|
},
|
246
246
|
{
|
247
|
-
"name": "van-
|
247
|
+
"name": "van-action-sheet",
|
248
248
|
"slots": [
|
249
249
|
{
|
250
250
|
"name": "default",
|
251
|
-
"description": "
|
251
|
+
"description": "自定义面板的展示内容"
|
252
|
+
},
|
253
|
+
{
|
254
|
+
"name": "description",
|
255
|
+
"description": "自定义描述文案"
|
256
|
+
},
|
257
|
+
{
|
258
|
+
"name": "cancel",
|
259
|
+
"description": "自定义取消按钮内容"
|
252
260
|
}
|
253
261
|
],
|
254
262
|
"events": [
|
255
263
|
{
|
256
|
-
"name": "
|
257
|
-
"description": "
|
258
|
-
},
|
259
|
-
{
|
260
|
-
"name": "focus",
|
261
|
-
"description": "输入框聚焦时触发"
|
264
|
+
"name": "select",
|
265
|
+
"description": "点击选项时触发,禁用或加载状态下不会触发"
|
262
266
|
},
|
263
267
|
{
|
264
|
-
"name": "
|
265
|
-
"description": "
|
268
|
+
"name": "cancel",
|
269
|
+
"description": "点击取消按钮时触发"
|
266
270
|
},
|
267
271
|
{
|
268
|
-
"name": "
|
269
|
-
"description": "
|
272
|
+
"name": "open",
|
273
|
+
"description": "打开面板时触发"
|
270
274
|
},
|
271
275
|
{
|
272
|
-
"name": "
|
273
|
-
"description": "
|
276
|
+
"name": "close",
|
277
|
+
"description": "关闭面板时触发"
|
274
278
|
},
|
275
279
|
{
|
276
|
-
"name": "
|
277
|
-
"description": "
|
280
|
+
"name": "opened",
|
281
|
+
"description": "打开面板且动画结束后触发"
|
278
282
|
},
|
279
283
|
{
|
280
|
-
"name": "
|
281
|
-
"description": "
|
284
|
+
"name": "closed",
|
285
|
+
"description": "关闭面板且动画结束后触发"
|
282
286
|
},
|
283
287
|
{
|
284
|
-
"name": "
|
285
|
-
"description": "
|
288
|
+
"name": "click-overlay",
|
289
|
+
"description": "点击遮罩层时触发"
|
286
290
|
}
|
287
291
|
],
|
288
292
|
"attributes": [
|
289
293
|
{
|
290
|
-
"name": "
|
291
|
-
"default": "
|
292
|
-
"description": "
|
294
|
+
"name": "v-model:show",
|
295
|
+
"default": "`false`",
|
296
|
+
"description": "是否显示动作面板",
|
293
297
|
"options": [],
|
294
298
|
"value": {
|
295
|
-
"type": "
|
299
|
+
"type": "boolean",
|
296
300
|
"kind": "expression"
|
297
301
|
}
|
298
302
|
},
|
299
303
|
{
|
300
|
-
"name": "
|
304
|
+
"name": "actions",
|
301
305
|
"default": "`[]`",
|
302
|
-
"description": "
|
306
|
+
"description": "面板选项列表",
|
303
307
|
"options": [],
|
304
308
|
"value": {
|
305
|
-
"type": "
|
309
|
+
"type": "ActionSheetAction[]",
|
306
310
|
"kind": "expression"
|
307
311
|
}
|
308
312
|
},
|
309
313
|
{
|
310
|
-
"name": "
|
311
|
-
"default": "
|
312
|
-
"description": "
|
314
|
+
"name": "title",
|
315
|
+
"default": "-",
|
316
|
+
"description": "顶部标题",
|
313
317
|
"options": [],
|
314
318
|
"value": {
|
315
319
|
"type": "string",
|
@@ -317,39 +321,29 @@
|
|
317
321
|
}
|
318
322
|
},
|
319
323
|
{
|
320
|
-
"name": "
|
321
|
-
"default": "
|
322
|
-
"description": "
|
323
|
-
"options": [],
|
324
|
-
"value": {
|
325
|
-
"type": "AddressEditInfo",
|
326
|
-
"kind": "expression"
|
327
|
-
}
|
328
|
-
},
|
329
|
-
{
|
330
|
-
"name": "search-result",
|
331
|
-
"default": "`[]`",
|
332
|
-
"description": "详细地址搜索结果",
|
324
|
+
"name": "cancel-text",
|
325
|
+
"default": "-",
|
326
|
+
"description": "取消按钮文字",
|
333
327
|
"options": [],
|
334
328
|
"value": {
|
335
|
-
"type": "
|
329
|
+
"type": "string",
|
336
330
|
"kind": "expression"
|
337
331
|
}
|
338
332
|
},
|
339
333
|
{
|
340
|
-
"name": "
|
341
|
-
"default": "
|
342
|
-
"description": "
|
334
|
+
"name": "description",
|
335
|
+
"default": "-",
|
336
|
+
"description": "选项上方的描述信息",
|
343
337
|
"options": [],
|
344
338
|
"value": {
|
345
|
-
"type": "
|
339
|
+
"type": "string",
|
346
340
|
"kind": "expression"
|
347
341
|
}
|
348
342
|
},
|
349
343
|
{
|
350
|
-
"name": "
|
351
|
-
"default": "`
|
352
|
-
"description": "
|
344
|
+
"name": "closeable",
|
345
|
+
"default": "`true`",
|
346
|
+
"description": "是否显示关闭图标",
|
353
347
|
"options": [],
|
354
348
|
"value": {
|
355
349
|
"type": "boolean",
|
@@ -357,29 +351,29 @@
|
|
357
351
|
}
|
358
352
|
},
|
359
353
|
{
|
360
|
-
"name": "
|
361
|
-
"default": "`
|
362
|
-
"description": "
|
354
|
+
"name": "close-icon",
|
355
|
+
"default": "`cross`",
|
356
|
+
"description": "关闭[图标名称](#/zh-CN/icon)或图片链接",
|
363
357
|
"options": [],
|
364
358
|
"value": {
|
365
|
-
"type": "
|
359
|
+
"type": "string",
|
366
360
|
"kind": "expression"
|
367
361
|
}
|
368
362
|
},
|
369
363
|
{
|
370
|
-
"name": "
|
371
|
-
"default": "`
|
372
|
-
"description": "
|
364
|
+
"name": "duration",
|
365
|
+
"default": "`0.3`",
|
366
|
+
"description": "动画时长,单位秒,设置为 0 可以禁用动画",
|
373
367
|
"options": [],
|
374
368
|
"value": {
|
375
|
-
"type": "
|
369
|
+
"type": "number | string",
|
376
370
|
"kind": "expression"
|
377
371
|
}
|
378
372
|
},
|
379
373
|
{
|
380
|
-
"name": "
|
374
|
+
"name": "round",
|
381
375
|
"default": "`true`",
|
382
|
-
"description": "
|
376
|
+
"description": "是否显示圆角",
|
383
377
|
"options": [],
|
384
378
|
"value": {
|
385
379
|
"type": "boolean",
|
@@ -387,19 +381,9 @@
|
|
387
381
|
}
|
388
382
|
},
|
389
383
|
{
|
390
|
-
"name": "
|
384
|
+
"name": "overlay",
|
391
385
|
"default": "`true`",
|
392
|
-
"description": "
|
393
|
-
"options": [],
|
394
|
-
"value": {
|
395
|
-
"type": "boolean",
|
396
|
-
"kind": "expression"
|
397
|
-
}
|
398
|
-
},
|
399
|
-
{
|
400
|
-
"name": "disable-area",
|
401
|
-
"default": "`false`",
|
402
|
-
"description": "是否禁用地区选择",
|
386
|
+
"description": "是否显示遮罩层",
|
403
387
|
"options": [],
|
404
388
|
"value": {
|
405
389
|
"type": "boolean",
|
@@ -407,49 +391,51 @@
|
|
407
391
|
}
|
408
392
|
},
|
409
393
|
{
|
410
|
-
"name": "
|
411
|
-
"default": "
|
412
|
-
"description": "
|
413
|
-
"options": [
|
394
|
+
"name": "overlay-class",
|
395
|
+
"default": "object_",
|
396
|
+
"description": "自定义遮罩层类名",
|
397
|
+
"options": [
|
398
|
+
"-"
|
399
|
+
],
|
414
400
|
"value": {
|
415
|
-
"type": "string",
|
401
|
+
"type": "string | Array \\",
|
416
402
|
"kind": "expression"
|
417
403
|
}
|
418
404
|
},
|
419
405
|
{
|
420
|
-
"name": "
|
421
|
-
"default": "
|
422
|
-
"description": "
|
406
|
+
"name": "overlay-style",
|
407
|
+
"default": "-",
|
408
|
+
"description": "自定义遮罩层样式",
|
423
409
|
"options": [],
|
424
410
|
"value": {
|
425
|
-
"type": "
|
411
|
+
"type": "object",
|
426
412
|
"kind": "expression"
|
427
413
|
}
|
428
414
|
},
|
429
415
|
{
|
430
|
-
"name": "
|
431
|
-
"default": "`
|
432
|
-
"description": "
|
416
|
+
"name": "lock-scroll",
|
417
|
+
"default": "`true`",
|
418
|
+
"description": "是否锁定背景滚动",
|
433
419
|
"options": [],
|
434
420
|
"value": {
|
435
|
-
"type": "
|
421
|
+
"type": "boolean",
|
436
422
|
"kind": "expression"
|
437
423
|
}
|
438
424
|
},
|
439
425
|
{
|
440
|
-
"name": "
|
441
|
-
"default": "`
|
442
|
-
"description": "
|
426
|
+
"name": "lazy-render",
|
427
|
+
"default": "`true`",
|
428
|
+
"description": "是否在显示弹层时才渲染节点",
|
443
429
|
"options": [],
|
444
430
|
"value": {
|
445
|
-
"type": "
|
431
|
+
"type": "boolean",
|
446
432
|
"kind": "expression"
|
447
433
|
}
|
448
434
|
},
|
449
435
|
{
|
450
|
-
"name": "
|
451
|
-
"default": "`
|
452
|
-
"description": "
|
436
|
+
"name": "close-on-popstate",
|
437
|
+
"default": "`true`",
|
438
|
+
"description": "是否在页面回退时自动关闭",
|
453
439
|
"options": [],
|
454
440
|
"value": {
|
455
441
|
"type": "boolean",
|
@@ -457,9 +443,9 @@
|
|
457
443
|
}
|
458
444
|
},
|
459
445
|
{
|
460
|
-
"name": "
|
446
|
+
"name": "close-on-click-action",
|
461
447
|
"default": "`false`",
|
462
|
-
"description": "
|
448
|
+
"description": "是否在点击选项后关闭",
|
463
449
|
"options": [],
|
464
450
|
"value": {
|
465
451
|
"type": "boolean",
|
@@ -467,128 +453,128 @@
|
|
467
453
|
}
|
468
454
|
},
|
469
455
|
{
|
470
|
-
"name": "
|
471
|
-
"default": "
|
472
|
-
"description": "
|
456
|
+
"name": "close-on-click-overlay",
|
457
|
+
"default": "`true`",
|
458
|
+
"description": "是否在点击遮罩层后关闭",
|
473
459
|
"options": [],
|
474
460
|
"value": {
|
475
|
-
"type": "
|
461
|
+
"type": "boolean",
|
476
462
|
"kind": "expression"
|
477
463
|
}
|
478
464
|
},
|
479
465
|
{
|
480
|
-
"name": "
|
481
|
-
"default": "
|
482
|
-
"description": "
|
466
|
+
"name": "safe-area-inset-bottom",
|
467
|
+
"default": "`true`",
|
468
|
+
"description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei)",
|
483
469
|
"options": [],
|
484
470
|
"value": {
|
485
|
-
"type": "
|
471
|
+
"type": "boolean",
|
486
472
|
"kind": "expression"
|
487
473
|
}
|
488
474
|
},
|
489
475
|
{
|
490
|
-
"name": "
|
476
|
+
"name": "teleport",
|
491
477
|
"default": "-",
|
492
|
-
"description": "
|
478
|
+
"description": "指定挂载的节点,等同于 Teleport 组件的 [to 属性](https://v3.cn.vuejs.org/api/built-in-components.html#teleport)",
|
493
479
|
"options": [],
|
494
480
|
"value": {
|
495
|
-
"type": "string
|
481
|
+
"type": "string | Element",
|
496
482
|
"kind": "expression"
|
497
483
|
}
|
498
484
|
},
|
499
485
|
{
|
500
|
-
"name": "
|
486
|
+
"name": "before-close",
|
501
487
|
"default": "-",
|
502
|
-
"description": "
|
488
|
+
"description": "关闭前的回调函数,返回 `false` 可阻止关闭,支持返回 Promise",
|
503
489
|
"options": [],
|
504
490
|
"value": {
|
505
|
-
"type": "(
|
491
|
+
"type": "(action: string) => boolean | Promise\\<boolean\\>",
|
506
492
|
"kind": "expression"
|
507
493
|
}
|
508
494
|
}
|
509
495
|
]
|
510
496
|
},
|
511
497
|
{
|
512
|
-
"name": "van-
|
498
|
+
"name": "van-address-list",
|
513
499
|
"slots": [
|
514
500
|
{
|
515
501
|
"name": "default",
|
516
|
-
"description": "
|
502
|
+
"description": "在列表下方插入内容"
|
517
503
|
},
|
518
504
|
{
|
519
|
-
"name": "
|
520
|
-
"description": "
|
505
|
+
"name": "top",
|
506
|
+
"description": "在顶部插入内容"
|
521
507
|
},
|
522
508
|
{
|
523
|
-
"name": "
|
524
|
-
"description": "
|
509
|
+
"name": "item-bottom",
|
510
|
+
"description": "在列表项底部插入内容"
|
511
|
+
},
|
512
|
+
{
|
513
|
+
"name": "tag",
|
514
|
+
"description": "自定义列表项标签内容"
|
525
515
|
}
|
526
516
|
],
|
527
517
|
"events": [
|
528
518
|
{
|
529
|
-
"name": "
|
530
|
-
"description": "
|
531
|
-
},
|
532
|
-
{
|
533
|
-
"name": "cancel",
|
534
|
-
"description": "点击取消按钮时触发"
|
519
|
+
"name": "add",
|
520
|
+
"description": "点击新增按钮时触发"
|
535
521
|
},
|
536
522
|
{
|
537
|
-
"name": "
|
538
|
-
"description": "
|
523
|
+
"name": "edit",
|
524
|
+
"description": "点击编辑按钮时触发"
|
539
525
|
},
|
540
526
|
{
|
541
|
-
"name": "
|
542
|
-
"description": "
|
527
|
+
"name": "select",
|
528
|
+
"description": "切换选中的地址时触发"
|
543
529
|
},
|
544
530
|
{
|
545
|
-
"name": "
|
546
|
-
"description": "
|
531
|
+
"name": "edit-disabled",
|
532
|
+
"description": "编辑不可配送的地址时触发"
|
547
533
|
},
|
548
534
|
{
|
549
|
-
"name": "
|
550
|
-
"description": "
|
535
|
+
"name": "select-disabled",
|
536
|
+
"description": "选中不可配送的地址时触发"
|
551
537
|
},
|
552
538
|
{
|
553
|
-
"name": "click-
|
554
|
-
"description": "
|
539
|
+
"name": "click-item",
|
540
|
+
"description": "点击任意地址时触发"
|
555
541
|
}
|
556
542
|
],
|
557
543
|
"attributes": [
|
558
544
|
{
|
559
|
-
"name": "v-model
|
560
|
-
"default": "
|
561
|
-
"description": "
|
545
|
+
"name": "v-model",
|
546
|
+
"default": "-",
|
547
|
+
"description": "当前选中地址的 id",
|
562
548
|
"options": [],
|
563
549
|
"value": {
|
564
|
-
"type": "
|
550
|
+
"type": "string",
|
565
551
|
"kind": "expression"
|
566
552
|
}
|
567
553
|
},
|
568
554
|
{
|
569
|
-
"name": "
|
555
|
+
"name": "list",
|
570
556
|
"default": "`[]`",
|
571
|
-
"description": "
|
557
|
+
"description": "地址列表",
|
572
558
|
"options": [],
|
573
559
|
"value": {
|
574
|
-
"type": "
|
560
|
+
"type": "AddressListAddress[]",
|
575
561
|
"kind": "expression"
|
576
562
|
}
|
577
563
|
},
|
578
564
|
{
|
579
|
-
"name": "
|
580
|
-
"default": "
|
581
|
-
"description": "
|
565
|
+
"name": "disabled-list",
|
566
|
+
"default": "`[]`",
|
567
|
+
"description": "不可配送地址列表",
|
582
568
|
"options": [],
|
583
569
|
"value": {
|
584
|
-
"type": "
|
570
|
+
"type": "AddressListAddress[]",
|
585
571
|
"kind": "expression"
|
586
572
|
}
|
587
573
|
},
|
588
574
|
{
|
589
|
-
"name": "
|
575
|
+
"name": "disabled-text",
|
590
576
|
"default": "-",
|
591
|
-
"description": "
|
577
|
+
"description": "不可配送提示文案",
|
592
578
|
"options": [],
|
593
579
|
"value": {
|
594
580
|
"type": "string",
|
@@ -596,91 +582,134 @@
|
|
596
582
|
}
|
597
583
|
},
|
598
584
|
{
|
599
|
-
"name": "
|
600
|
-
"default": "
|
601
|
-
"description": "
|
585
|
+
"name": "switchable",
|
586
|
+
"default": "`true`",
|
587
|
+
"description": "是否允许切换地址",
|
602
588
|
"options": [],
|
603
589
|
"value": {
|
604
|
-
"type": "
|
590
|
+
"type": "boolean",
|
605
591
|
"kind": "expression"
|
606
592
|
}
|
607
593
|
},
|
608
594
|
{
|
609
|
-
"name": "
|
610
|
-
"default": "
|
611
|
-
"description": "
|
595
|
+
"name": "add-button-text",
|
596
|
+
"default": "`新增地址`",
|
597
|
+
"description": "底部按钮文字",
|
612
598
|
"options": [],
|
613
599
|
"value": {
|
614
|
-
"type": "
|
600
|
+
"type": "string",
|
615
601
|
"kind": "expression"
|
616
602
|
}
|
617
603
|
},
|
618
604
|
{
|
619
|
-
"name": "
|
620
|
-
"default": "
|
621
|
-
"description": "
|
605
|
+
"name": "default-tag-text",
|
606
|
+
"default": "-",
|
607
|
+
"description": "默认地址标签文字",
|
622
608
|
"options": [],
|
623
609
|
"value": {
|
624
610
|
"type": "string",
|
625
611
|
"kind": "expression"
|
626
612
|
}
|
613
|
+
}
|
614
|
+
]
|
615
|
+
},
|
616
|
+
{
|
617
|
+
"name": "van-address-edit",
|
618
|
+
"slots": [
|
619
|
+
{
|
620
|
+
"name": "default",
|
621
|
+
"description": "在邮政编码下方插入内容"
|
622
|
+
}
|
623
|
+
],
|
624
|
+
"events": [
|
625
|
+
{
|
626
|
+
"name": "save",
|
627
|
+
"description": "点击保存按钮时触发"
|
627
628
|
},
|
628
629
|
{
|
629
|
-
"name": "
|
630
|
-
"
|
631
|
-
|
630
|
+
"name": "focus",
|
631
|
+
"description": "输入框聚焦时触发"
|
632
|
+
},
|
633
|
+
{
|
634
|
+
"name": "delete",
|
635
|
+
"description": "确认删除地址时触发"
|
636
|
+
},
|
637
|
+
{
|
638
|
+
"name": "select-search",
|
639
|
+
"description": "选中搜索结果时触发"
|
640
|
+
},
|
641
|
+
{
|
642
|
+
"name": "click-area",
|
643
|
+
"description": "点击收件地区时触发"
|
644
|
+
},
|
645
|
+
{
|
646
|
+
"name": "change-area",
|
647
|
+
"description": "修改收件地区时触发"
|
648
|
+
},
|
649
|
+
{
|
650
|
+
"name": "change-detail",
|
651
|
+
"description": "修改详细地址时触发"
|
652
|
+
},
|
653
|
+
{
|
654
|
+
"name": "change-default",
|
655
|
+
"description": "切换是否使用默认地址时触发"
|
656
|
+
}
|
657
|
+
],
|
658
|
+
"attributes": [
|
659
|
+
{
|
660
|
+
"name": "area-list",
|
661
|
+
"default": "-",
|
662
|
+
"description": "地区列表",
|
632
663
|
"options": [],
|
633
664
|
"value": {
|
634
|
-
"type": "
|
665
|
+
"type": "object",
|
635
666
|
"kind": "expression"
|
636
667
|
}
|
637
668
|
},
|
638
669
|
{
|
639
|
-
"name": "
|
640
|
-
"default": "`
|
641
|
-
"description": "
|
670
|
+
"name": "area-columns-placeholder",
|
671
|
+
"default": "`[]`",
|
672
|
+
"description": "地区选择列占位提示文字",
|
642
673
|
"options": [],
|
643
674
|
"value": {
|
644
|
-
"type": "
|
675
|
+
"type": "string[]",
|
645
676
|
"kind": "expression"
|
646
677
|
}
|
647
678
|
},
|
648
679
|
{
|
649
|
-
"name": "
|
650
|
-
"default": "
|
651
|
-
"description": "
|
680
|
+
"name": "area-placeholder",
|
681
|
+
"default": "`选择省 / 市 / 区`",
|
682
|
+
"description": "地区输入框占位提示文字",
|
652
683
|
"options": [],
|
653
684
|
"value": {
|
654
|
-
"type": "
|
685
|
+
"type": "string",
|
655
686
|
"kind": "expression"
|
656
687
|
}
|
657
688
|
},
|
658
689
|
{
|
659
|
-
"name": "
|
660
|
-
"default": "
|
661
|
-
"description": "
|
662
|
-
"options": [
|
663
|
-
"-"
|
664
|
-
],
|
690
|
+
"name": "address-info",
|
691
|
+
"default": "`{}`",
|
692
|
+
"description": "地址信息初始值",
|
693
|
+
"options": [],
|
665
694
|
"value": {
|
666
|
-
"type": "
|
695
|
+
"type": "AddressEditInfo",
|
667
696
|
"kind": "expression"
|
668
697
|
}
|
669
698
|
},
|
670
699
|
{
|
671
|
-
"name": "
|
672
|
-
"default": "
|
673
|
-
"description": "
|
700
|
+
"name": "search-result",
|
701
|
+
"default": "`[]`",
|
702
|
+
"description": "详细地址搜索结果",
|
674
703
|
"options": [],
|
675
704
|
"value": {
|
676
|
-
"type": "
|
705
|
+
"type": "AddressEditSearchItem[]",
|
677
706
|
"kind": "expression"
|
678
707
|
}
|
679
708
|
},
|
680
709
|
{
|
681
|
-
"name": "
|
682
|
-
"default": "`
|
683
|
-
"description": "
|
710
|
+
"name": "show-postal",
|
711
|
+
"default": "`false`",
|
712
|
+
"description": "是否显示邮政编码",
|
684
713
|
"options": [],
|
685
714
|
"value": {
|
686
715
|
"type": "boolean",
|
@@ -688,9 +717,9 @@
|
|
688
717
|
}
|
689
718
|
},
|
690
719
|
{
|
691
|
-
"name": "
|
692
|
-
"default": "`
|
693
|
-
"description": "
|
720
|
+
"name": "show-delete",
|
721
|
+
"default": "`false`",
|
722
|
+
"description": "是否显示删除按钮",
|
694
723
|
"options": [],
|
695
724
|
"value": {
|
696
725
|
"type": "boolean",
|
@@ -698,9 +727,9 @@
|
|
698
727
|
}
|
699
728
|
},
|
700
729
|
{
|
701
|
-
"name": "
|
702
|
-
"default": "`
|
703
|
-
"description": "
|
730
|
+
"name": "show-set-default",
|
731
|
+
"default": "`false`",
|
732
|
+
"description": "是否显示默认地址栏",
|
704
733
|
"options": [],
|
705
734
|
"value": {
|
706
735
|
"type": "boolean",
|
@@ -708,9 +737,9 @@
|
|
708
737
|
}
|
709
738
|
},
|
710
739
|
{
|
711
|
-
"name": "
|
740
|
+
"name": "show-search-result",
|
712
741
|
"default": "`false`",
|
713
|
-
"description": "
|
742
|
+
"description": "是否显示搜索结果",
|
714
743
|
"options": [],
|
715
744
|
"value": {
|
716
745
|
"type": "boolean",
|
@@ -718,9 +747,9 @@
|
|
718
747
|
}
|
719
748
|
},
|
720
749
|
{
|
721
|
-
"name": "
|
750
|
+
"name": "show-area",
|
722
751
|
"default": "`true`",
|
723
|
-
"description": "
|
752
|
+
"description": "是否显示地区",
|
724
753
|
"options": [],
|
725
754
|
"value": {
|
726
755
|
"type": "boolean",
|
@@ -728,9 +757,9 @@
|
|
728
757
|
}
|
729
758
|
},
|
730
759
|
{
|
731
|
-
"name": "
|
760
|
+
"name": "show-detail",
|
732
761
|
"default": "`true`",
|
733
|
-
"description": "
|
762
|
+
"description": "是否显示详细地址",
|
734
763
|
"options": [],
|
735
764
|
"value": {
|
736
765
|
"type": "boolean",
|
@@ -738,78 +767,29 @@
|
|
738
767
|
}
|
739
768
|
},
|
740
769
|
{
|
741
|
-
"name": "
|
742
|
-
"default": "
|
743
|
-
"description": "
|
770
|
+
"name": "disable-area",
|
771
|
+
"default": "`false`",
|
772
|
+
"description": "是否禁用地区选择",
|
744
773
|
"options": [],
|
745
774
|
"value": {
|
746
|
-
"type": "
|
775
|
+
"type": "boolean",
|
747
776
|
"kind": "expression"
|
748
777
|
}
|
749
778
|
},
|
750
779
|
{
|
751
|
-
"name": "
|
752
|
-
"default": "
|
753
|
-
"description": "
|
780
|
+
"name": "save-button-text",
|
781
|
+
"default": "`保存`",
|
782
|
+
"description": "保存按钮文字",
|
754
783
|
"options": [],
|
755
784
|
"value": {
|
756
|
-
"type": "
|
785
|
+
"type": "string",
|
757
786
|
"kind": "expression"
|
758
787
|
}
|
759
|
-
}
|
760
|
-
]
|
761
|
-
},
|
762
|
-
{
|
763
|
-
"name": "van-address-list",
|
764
|
-
"slots": [
|
765
|
-
{
|
766
|
-
"name": "default",
|
767
|
-
"description": "在列表下方插入内容"
|
768
|
-
},
|
769
|
-
{
|
770
|
-
"name": "top",
|
771
|
-
"description": "在顶部插入内容"
|
772
|
-
},
|
773
|
-
{
|
774
|
-
"name": "item-bottom",
|
775
|
-
"description": "在列表项底部插入内容"
|
776
788
|
},
|
777
789
|
{
|
778
|
-
"name": "
|
779
|
-
"
|
780
|
-
|
781
|
-
],
|
782
|
-
"events": [
|
783
|
-
{
|
784
|
-
"name": "add",
|
785
|
-
"description": "点击新增按钮时触发"
|
786
|
-
},
|
787
|
-
{
|
788
|
-
"name": "edit",
|
789
|
-
"description": "点击编辑按钮时触发"
|
790
|
-
},
|
791
|
-
{
|
792
|
-
"name": "select",
|
793
|
-
"description": "切换选中的地址时触发"
|
794
|
-
},
|
795
|
-
{
|
796
|
-
"name": "edit-disabled",
|
797
|
-
"description": "编辑不可配送的地址时触发"
|
798
|
-
},
|
799
|
-
{
|
800
|
-
"name": "select-disabled",
|
801
|
-
"description": "选中不可配送的地址时触发"
|
802
|
-
},
|
803
|
-
{
|
804
|
-
"name": "click-item",
|
805
|
-
"description": "点击任意地址时触发"
|
806
|
-
}
|
807
|
-
],
|
808
|
-
"attributes": [
|
809
|
-
{
|
810
|
-
"name": "v-model",
|
811
|
-
"default": "-",
|
812
|
-
"description": "当前选中地址的 id",
|
790
|
+
"name": "delete-button-text",
|
791
|
+
"default": "`删除`",
|
792
|
+
"description": "删除按钮文字",
|
813
793
|
"options": [],
|
814
794
|
"value": {
|
815
795
|
"type": "string",
|
@@ -817,39 +797,39 @@
|
|
817
797
|
}
|
818
798
|
},
|
819
799
|
{
|
820
|
-
"name": "
|
821
|
-
"default": "`
|
822
|
-
"description": "
|
800
|
+
"name": "detail-rows",
|
801
|
+
"default": "`1`",
|
802
|
+
"description": "详细地址输入框行数",
|
823
803
|
"options": [],
|
824
804
|
"value": {
|
825
|
-
"type": "
|
805
|
+
"type": "number | string",
|
826
806
|
"kind": "expression"
|
827
807
|
}
|
828
808
|
},
|
829
809
|
{
|
830
|
-
"name": "
|
831
|
-
"default": "`
|
832
|
-
"description": "
|
810
|
+
"name": "detail-maxlength",
|
811
|
+
"default": "`200`",
|
812
|
+
"description": "详细地址最大长度",
|
833
813
|
"options": [],
|
834
814
|
"value": {
|
835
|
-
"type": "
|
815
|
+
"type": "number | string",
|
836
816
|
"kind": "expression"
|
837
817
|
}
|
838
818
|
},
|
839
819
|
{
|
840
|
-
"name": "
|
841
|
-
"default": "
|
842
|
-
"description": "
|
820
|
+
"name": "is-saving",
|
821
|
+
"default": "`false`",
|
822
|
+
"description": "是否显示保存按钮加载动画",
|
843
823
|
"options": [],
|
844
824
|
"value": {
|
845
|
-
"type": "
|
825
|
+
"type": "boolean",
|
846
826
|
"kind": "expression"
|
847
827
|
}
|
848
828
|
},
|
849
829
|
{
|
850
|
-
"name": "
|
851
|
-
"default": "`
|
852
|
-
"description": "
|
830
|
+
"name": "is-deleting",
|
831
|
+
"default": "`false`",
|
832
|
+
"description": "是否显示删除按钮加载动画",
|
853
833
|
"options": [],
|
854
834
|
"value": {
|
855
835
|
"type": "boolean",
|
@@ -857,24 +837,122 @@
|
|
857
837
|
}
|
858
838
|
},
|
859
839
|
{
|
860
|
-
"name": "
|
861
|
-
"default": "
|
862
|
-
"description": "
|
840
|
+
"name": "tel-validator",
|
841
|
+
"default": "-",
|
842
|
+
"description": "手机号格式校验函数",
|
863
843
|
"options": [],
|
864
844
|
"value": {
|
865
|
-
"type": "string",
|
845
|
+
"type": "string => boolean",
|
866
846
|
"kind": "expression"
|
867
847
|
}
|
868
848
|
},
|
869
849
|
{
|
870
|
-
"name": "
|
850
|
+
"name": "tel-maxlength",
|
871
851
|
"default": "-",
|
872
|
-
"description": "
|
852
|
+
"description": "手机号最大长度",
|
853
|
+
"options": [],
|
854
|
+
"value": {
|
855
|
+
"type": "number | string",
|
856
|
+
"kind": "expression"
|
857
|
+
}
|
858
|
+
},
|
859
|
+
{
|
860
|
+
"name": "postal-validator",
|
861
|
+
"default": "-",
|
862
|
+
"description": "邮政编码格式校验函数",
|
863
|
+
"options": [],
|
864
|
+
"value": {
|
865
|
+
"type": "string => boolean",
|
866
|
+
"kind": "expression"
|
867
|
+
}
|
868
|
+
},
|
869
|
+
{
|
870
|
+
"name": "validator",
|
871
|
+
"default": "-",
|
872
|
+
"description": "自定义校验函数",
|
873
|
+
"options": [],
|
874
|
+
"value": {
|
875
|
+
"type": "(key, val) => string",
|
876
|
+
"kind": "expression"
|
877
|
+
}
|
878
|
+
}
|
879
|
+
]
|
880
|
+
},
|
881
|
+
{
|
882
|
+
"name": "van-badge",
|
883
|
+
"slots": [
|
884
|
+
{
|
885
|
+
"name": "default",
|
886
|
+
"description": "徽标包裹的子元素"
|
887
|
+
},
|
888
|
+
{
|
889
|
+
"name": "content",
|
890
|
+
"description": "自定义徽标内容"
|
891
|
+
}
|
892
|
+
],
|
893
|
+
"events": [],
|
894
|
+
"attributes": [
|
895
|
+
{
|
896
|
+
"name": "content",
|
897
|
+
"default": "-",
|
898
|
+
"description": "徽标内容",
|
899
|
+
"options": [],
|
900
|
+
"value": {
|
901
|
+
"type": "number | string",
|
902
|
+
"kind": "expression"
|
903
|
+
}
|
904
|
+
},
|
905
|
+
{
|
906
|
+
"name": "color",
|
907
|
+
"default": "`#ee0a24`",
|
908
|
+
"description": "徽标背景颜色",
|
873
909
|
"options": [],
|
874
910
|
"value": {
|
875
911
|
"type": "string",
|
876
912
|
"kind": "expression"
|
877
913
|
}
|
914
|
+
},
|
915
|
+
{
|
916
|
+
"name": "dot",
|
917
|
+
"default": "`false`",
|
918
|
+
"description": "是否展示为小红点",
|
919
|
+
"options": [],
|
920
|
+
"value": {
|
921
|
+
"type": "boolean",
|
922
|
+
"kind": "expression"
|
923
|
+
}
|
924
|
+
},
|
925
|
+
{
|
926
|
+
"name": "max",
|
927
|
+
"default": "-",
|
928
|
+
"description": "最大值,超过最大值会显示 `{max}+`,仅当 content 为数字时有效",
|
929
|
+
"options": [],
|
930
|
+
"value": {
|
931
|
+
"type": "number | string",
|
932
|
+
"kind": "expression"
|
933
|
+
}
|
934
|
+
},
|
935
|
+
{
|
936
|
+
"name": "offset",
|
937
|
+
"default": "string]_",
|
938
|
+
"description": "设置徽标的偏移量,数组的两项分别对应水平和垂直方向的偏移量,默认单位为 `px`",
|
939
|
+
"options": [
|
940
|
+
"-"
|
941
|
+
],
|
942
|
+
"value": {
|
943
|
+
"type": "[number | string, number \\",
|
944
|
+
"kind": "expression"
|
945
|
+
}
|
946
|
+
},
|
947
|
+
{
|
948
|
+
"name": "show-zero",
|
949
|
+
"default": "`true`",
|
950
|
+
"description": "当 content 为数字 0 时,是否展示徽标",
|
951
|
+
"options": [],
|
952
|
+
"value": {
|
953
|
+
"type": "boolean",
|
954
|
+
"kind": "expression"
|
955
|
+
}
|
878
956
|
}
|
879
957
|
]
|
880
958
|
},
|
@@ -1053,84 +1131,6 @@
|
|
1053
1131
|
}
|
1054
1132
|
]
|
1055
1133
|
},
|
1056
|
-
{
|
1057
|
-
"name": "van-badge",
|
1058
|
-
"slots": [
|
1059
|
-
{
|
1060
|
-
"name": "default",
|
1061
|
-
"description": "徽标包裹的子元素"
|
1062
|
-
},
|
1063
|
-
{
|
1064
|
-
"name": "content",
|
1065
|
-
"description": "自定义徽标内容"
|
1066
|
-
}
|
1067
|
-
],
|
1068
|
-
"events": [],
|
1069
|
-
"attributes": [
|
1070
|
-
{
|
1071
|
-
"name": "content",
|
1072
|
-
"default": "-",
|
1073
|
-
"description": "徽标内容",
|
1074
|
-
"options": [],
|
1075
|
-
"value": {
|
1076
|
-
"type": "number | string",
|
1077
|
-
"kind": "expression"
|
1078
|
-
}
|
1079
|
-
},
|
1080
|
-
{
|
1081
|
-
"name": "color",
|
1082
|
-
"default": "`#ee0a24`",
|
1083
|
-
"description": "徽标背景颜色",
|
1084
|
-
"options": [],
|
1085
|
-
"value": {
|
1086
|
-
"type": "string",
|
1087
|
-
"kind": "expression"
|
1088
|
-
}
|
1089
|
-
},
|
1090
|
-
{
|
1091
|
-
"name": "dot",
|
1092
|
-
"default": "`false`",
|
1093
|
-
"description": "是否展示为小红点",
|
1094
|
-
"options": [],
|
1095
|
-
"value": {
|
1096
|
-
"type": "boolean",
|
1097
|
-
"kind": "expression"
|
1098
|
-
}
|
1099
|
-
},
|
1100
|
-
{
|
1101
|
-
"name": "max",
|
1102
|
-
"default": "-",
|
1103
|
-
"description": "最大值,超过最大值会显示 `{max}+`,仅当 content 为数字时有效",
|
1104
|
-
"options": [],
|
1105
|
-
"value": {
|
1106
|
-
"type": "number | string",
|
1107
|
-
"kind": "expression"
|
1108
|
-
}
|
1109
|
-
},
|
1110
|
-
{
|
1111
|
-
"name": "offset",
|
1112
|
-
"default": "string]_",
|
1113
|
-
"description": "设置徽标的偏移量,数组的两项分别对应水平和垂直方向的偏移量,默认单位为 `px`",
|
1114
|
-
"options": [
|
1115
|
-
"-"
|
1116
|
-
],
|
1117
|
-
"value": {
|
1118
|
-
"type": "[number | string, number \\",
|
1119
|
-
"kind": "expression"
|
1120
|
-
}
|
1121
|
-
},
|
1122
|
-
{
|
1123
|
-
"name": "show-zero",
|
1124
|
-
"default": "`true`",
|
1125
|
-
"description": "当 content 为数字 0 时,是否展示徽标",
|
1126
|
-
"options": [],
|
1127
|
-
"value": {
|
1128
|
-
"type": "boolean",
|
1129
|
-
"kind": "expression"
|
1130
|
-
}
|
1131
|
-
}
|
1132
|
-
]
|
1133
|
-
},
|
1134
1134
|
{
|
1135
1135
|
"name": "van-button",
|
1136
1136
|
"slots": [
|
@@ -3799,52 +3799,19 @@
|
|
3799
3799
|
]
|
3800
3800
|
},
|
3801
3801
|
{
|
3802
|
-
"name": "van-
|
3802
|
+
"name": "van-divider",
|
3803
3803
|
"slots": [
|
3804
3804
|
{
|
3805
3805
|
"name": "default",
|
3806
|
-
"description": "
|
3807
|
-
},
|
3808
|
-
{
|
3809
|
-
"name": "title",
|
3810
|
-
"description": "自定义标题"
|
3811
|
-
},
|
3812
|
-
{
|
3813
|
-
"name": "footer",
|
3814
|
-
"description": "自定义底部按钮区域"
|
3815
|
-
}
|
3816
|
-
],
|
3817
|
-
"events": [
|
3818
|
-
{
|
3819
|
-
"name": "confirm",
|
3820
|
-
"description": "点击确认按钮时触发"
|
3821
|
-
},
|
3822
|
-
{
|
3823
|
-
"name": "cancel",
|
3824
|
-
"description": "点击取消按钮时触发"
|
3825
|
-
},
|
3826
|
-
{
|
3827
|
-
"name": "open",
|
3828
|
-
"description": "打开弹窗时触发"
|
3829
|
-
},
|
3830
|
-
{
|
3831
|
-
"name": "close",
|
3832
|
-
"description": "关闭弹窗时触发"
|
3833
|
-
},
|
3834
|
-
{
|
3835
|
-
"name": "opened",
|
3836
|
-
"description": "打开弹窗且动画结束后触发"
|
3837
|
-
},
|
3838
|
-
{
|
3839
|
-
"name": "closed",
|
3840
|
-
"description": "关闭弹窗且动画结束后触发"
|
3806
|
+
"description": "内容"
|
3841
3807
|
}
|
3842
3808
|
],
|
3809
|
+
"events": [],
|
3843
3810
|
"attributes": [
|
3844
3811
|
{
|
3845
|
-
"name": "
|
3846
|
-
"default": "
|
3847
|
-
"description": "
|
3812
|
+
"name": "dashed",
|
3813
|
+
"default": "`false`",
|
3814
|
+
"description": "是否使用虚线",
|
3848
3815
|
"options": [],
|
3849
3816
|
"value": {
|
3850
3817
|
"type": "boolean",
|
@@ -3852,39 +3819,46 @@
|
|
3852
3819
|
}
|
3853
3820
|
},
|
3854
3821
|
{
|
3855
|
-
"name": "
|
3856
|
-
"default": "
|
3857
|
-
"description": "
|
3822
|
+
"name": "hairline",
|
3823
|
+
"default": "`true`",
|
3824
|
+
"description": "是否使用 0.5px 线",
|
3858
3825
|
"options": [],
|
3859
3826
|
"value": {
|
3860
|
-
"type": "
|
3827
|
+
"type": "boolean",
|
3861
3828
|
"kind": "expression"
|
3862
3829
|
}
|
3863
3830
|
},
|
3864
3831
|
{
|
3865
|
-
"name": "
|
3866
|
-
"default": "`
|
3867
|
-
"description": "
|
3832
|
+
"name": "content-position",
|
3833
|
+
"default": "`center`",
|
3834
|
+
"description": "内容位置,可选值为 `left` `right`",
|
3868
3835
|
"options": [],
|
3869
3836
|
"value": {
|
3870
|
-
"type": "
|
3837
|
+
"type": "string",
|
3871
3838
|
"kind": "expression"
|
3872
3839
|
}
|
3873
|
-
}
|
3840
|
+
}
|
3841
|
+
]
|
3842
|
+
},
|
3843
|
+
{
|
3844
|
+
"name": "van-dropdown-menu",
|
3845
|
+
"slots": [],
|
3846
|
+
"events": [],
|
3847
|
+
"attributes": [
|
3874
3848
|
{
|
3875
|
-
"name": "
|
3876
|
-
"default": "
|
3877
|
-
"description": "
|
3849
|
+
"name": "active-color",
|
3850
|
+
"default": "`#ee0a24`",
|
3851
|
+
"description": "菜单标题和选项的选中态颜色",
|
3878
3852
|
"options": [],
|
3879
3853
|
"value": {
|
3880
|
-
"type": "string
|
3854
|
+
"type": "string",
|
3881
3855
|
"kind": "expression"
|
3882
3856
|
}
|
3883
3857
|
},
|
3884
3858
|
{
|
3885
|
-
"name": "
|
3886
|
-
"default": "`
|
3887
|
-
"description": "
|
3859
|
+
"name": "direction",
|
3860
|
+
"default": "`down`",
|
3861
|
+
"description": "菜单展开方向,可选值为`up`",
|
3888
3862
|
"options": [],
|
3889
3863
|
"value": {
|
3890
3864
|
"type": "string",
|
@@ -3892,29 +3866,29 @@
|
|
3892
3866
|
}
|
3893
3867
|
},
|
3894
3868
|
{
|
3895
|
-
"name": "
|
3896
|
-
"default": "`
|
3897
|
-
"description": "
|
3869
|
+
"name": "z-index",
|
3870
|
+
"default": "`10`",
|
3871
|
+
"description": "菜单栏 z-index 层级",
|
3898
3872
|
"options": [],
|
3899
3873
|
"value": {
|
3900
|
-
"type": "string",
|
3874
|
+
"type": "number | string",
|
3901
3875
|
"kind": "expression"
|
3902
3876
|
}
|
3903
3877
|
},
|
3904
3878
|
{
|
3905
|
-
"name": "
|
3906
|
-
"default": "`
|
3907
|
-
"description": "
|
3879
|
+
"name": "duration",
|
3880
|
+
"default": "`0.2`",
|
3881
|
+
"description": "动画时长,单位秒,设置为 0 可以禁用动画",
|
3908
3882
|
"options": [],
|
3909
3883
|
"value": {
|
3910
|
-
"type": "
|
3884
|
+
"type": "number | string",
|
3911
3885
|
"kind": "expression"
|
3912
3886
|
}
|
3913
3887
|
},
|
3914
3888
|
{
|
3915
|
-
"name": "
|
3916
|
-
"default": "`
|
3917
|
-
"description": "
|
3889
|
+
"name": "overlay",
|
3890
|
+
"default": "`true`",
|
3891
|
+
"description": "是否显示遮罩层",
|
3918
3892
|
"options": [],
|
3919
3893
|
"value": {
|
3920
3894
|
"type": "boolean",
|
@@ -3922,39 +3896,76 @@
|
|
3922
3896
|
}
|
3923
3897
|
},
|
3924
3898
|
{
|
3925
|
-
"name": "
|
3926
|
-
"default": "
|
3927
|
-
"description": "
|
3899
|
+
"name": "close-on-click-overlay",
|
3900
|
+
"default": "`true`",
|
3901
|
+
"description": "是否在点击遮罩层后关闭菜单",
|
3928
3902
|
"options": [],
|
3929
3903
|
"value": {
|
3930
|
-
"type": "
|
3904
|
+
"type": "boolean",
|
3931
3905
|
"kind": "expression"
|
3932
3906
|
}
|
3933
3907
|
},
|
3934
3908
|
{
|
3935
|
-
"name": "
|
3936
|
-
"default": "
|
3937
|
-
"description": "
|
3909
|
+
"name": "close-on-click-outside",
|
3910
|
+
"default": "`true`",
|
3911
|
+
"description": "是否在点击外部元素后关闭菜单",
|
3938
3912
|
"options": [],
|
3939
3913
|
"value": {
|
3940
|
-
"type": "
|
3914
|
+
"type": "boolean",
|
3941
3915
|
"kind": "expression"
|
3942
3916
|
}
|
3917
|
+
}
|
3918
|
+
]
|
3919
|
+
},
|
3920
|
+
{
|
3921
|
+
"name": "van-dropdown-item",
|
3922
|
+
"slots": [
|
3923
|
+
{
|
3924
|
+
"name": "default",
|
3925
|
+
"description": "菜单内容"
|
3943
3926
|
},
|
3944
3927
|
{
|
3945
|
-
"name": "
|
3946
|
-
"
|
3947
|
-
|
3928
|
+
"name": "title",
|
3929
|
+
"description": "自定义菜单项标题"
|
3930
|
+
}
|
3931
|
+
],
|
3932
|
+
"events": [
|
3933
|
+
{
|
3934
|
+
"name": "change",
|
3935
|
+
"description": "点击选项导致 value 变化时触发"
|
3936
|
+
},
|
3937
|
+
{
|
3938
|
+
"name": "open",
|
3939
|
+
"description": "打开菜单栏时触发"
|
3940
|
+
},
|
3941
|
+
{
|
3942
|
+
"name": "close",
|
3943
|
+
"description": "关闭菜单栏时触发"
|
3944
|
+
},
|
3945
|
+
{
|
3946
|
+
"name": "opened",
|
3947
|
+
"description": "打开菜单栏且动画结束后触发"
|
3948
|
+
},
|
3949
|
+
{
|
3950
|
+
"name": "closed",
|
3951
|
+
"description": "关闭菜单栏且动画结束后触发"
|
3952
|
+
}
|
3953
|
+
],
|
3954
|
+
"attributes": [
|
3955
|
+
{
|
3956
|
+
"name": "v-model",
|
3957
|
+
"default": "-",
|
3958
|
+
"description": "当前选中项对应的 value",
|
3948
3959
|
"options": [],
|
3949
3960
|
"value": {
|
3950
|
-
"type": "string",
|
3961
|
+
"type": "number | string",
|
3951
3962
|
"kind": "expression"
|
3952
3963
|
}
|
3953
3964
|
},
|
3954
3965
|
{
|
3955
|
-
"name": "
|
3956
|
-
"default": "
|
3957
|
-
"description": "
|
3966
|
+
"name": "title",
|
3967
|
+
"default": "当前选中项文字",
|
3968
|
+
"description": "菜单项标题",
|
3958
3969
|
"options": [],
|
3959
3970
|
"value": {
|
3960
3971
|
"type": "string",
|
@@ -3962,59 +3973,106 @@
|
|
3962
3973
|
}
|
3963
3974
|
},
|
3964
3975
|
{
|
3965
|
-
"name": "
|
3966
|
-
"default": "`
|
3967
|
-
"description": "
|
3976
|
+
"name": "options",
|
3977
|
+
"default": "`[]`",
|
3978
|
+
"description": "选项数组",
|
3968
3979
|
"options": [],
|
3969
3980
|
"value": {
|
3970
|
-
"type": "
|
3981
|
+
"type": "Option[]",
|
3971
3982
|
"kind": "expression"
|
3972
3983
|
}
|
3973
3984
|
},
|
3974
3985
|
{
|
3975
|
-
"name": "
|
3976
|
-
"default": "
|
3977
|
-
"description": "
|
3986
|
+
"name": "disabled",
|
3987
|
+
"default": "`false`",
|
3988
|
+
"description": "是否禁用菜单",
|
3978
3989
|
"options": [],
|
3979
3990
|
"value": {
|
3980
|
-
"type": "
|
3991
|
+
"type": "boolean",
|
3981
3992
|
"kind": "expression"
|
3982
3993
|
}
|
3983
3994
|
},
|
3984
3995
|
{
|
3985
|
-
"name": "
|
3986
|
-
"default": "
|
3987
|
-
"description": "
|
3996
|
+
"name": "lazy-render",
|
3997
|
+
"default": "`true`",
|
3998
|
+
"description": "是否在首次展开时才渲染菜单内容",
|
3988
3999
|
"options": [],
|
3989
4000
|
"value": {
|
3990
|
-
"type": "
|
4001
|
+
"type": "boolean",
|
3991
4002
|
"kind": "expression"
|
3992
4003
|
}
|
3993
4004
|
},
|
3994
4005
|
{
|
3995
|
-
"name": "
|
3996
|
-
"default": "
|
3997
|
-
"description": "
|
3998
|
-
"options": [
|
4006
|
+
"name": "title-class",
|
4007
|
+
"default": "object_",
|
4008
|
+
"description": "标题额外类名",
|
4009
|
+
"options": [
|
4010
|
+
"-"
|
4011
|
+
],
|
3999
4012
|
"value": {
|
4000
|
-
"type": "
|
4013
|
+
"type": "string | Array \\",
|
4001
4014
|
"kind": "expression"
|
4002
4015
|
}
|
4003
4016
|
},
|
4004
4017
|
{
|
4005
|
-
"name": "
|
4006
|
-
"default": "
|
4007
|
-
"description": "
|
4018
|
+
"name": "teleport",
|
4019
|
+
"default": "-",
|
4020
|
+
"description": "指定挂载的节点,等同于 Teleport 组件的 [to 属性](https://v3.cn.vuejs.org/api/built-in-components.html#teleport)",
|
4008
4021
|
"options": [],
|
4009
4022
|
"value": {
|
4010
|
-
"type": "
|
4023
|
+
"type": "string | Element",
|
4011
4024
|
"kind": "expression"
|
4012
4025
|
}
|
4026
|
+
}
|
4027
|
+
]
|
4028
|
+
},
|
4029
|
+
{
|
4030
|
+
"name": "van-dialog",
|
4031
|
+
"slots": [
|
4032
|
+
{
|
4033
|
+
"name": "default",
|
4034
|
+
"description": "自定义内容"
|
4013
4035
|
},
|
4014
4036
|
{
|
4015
|
-
"name": "
|
4016
|
-
"
|
4017
|
-
|
4037
|
+
"name": "title",
|
4038
|
+
"description": "自定义标题"
|
4039
|
+
},
|
4040
|
+
{
|
4041
|
+
"name": "footer",
|
4042
|
+
"description": "自定义底部按钮区域"
|
4043
|
+
}
|
4044
|
+
],
|
4045
|
+
"events": [
|
4046
|
+
{
|
4047
|
+
"name": "confirm",
|
4048
|
+
"description": "点击确认按钮时触发"
|
4049
|
+
},
|
4050
|
+
{
|
4051
|
+
"name": "cancel",
|
4052
|
+
"description": "点击取消按钮时触发"
|
4053
|
+
},
|
4054
|
+
{
|
4055
|
+
"name": "open",
|
4056
|
+
"description": "打开弹窗时触发"
|
4057
|
+
},
|
4058
|
+
{
|
4059
|
+
"name": "close",
|
4060
|
+
"description": "关闭弹窗时触发"
|
4061
|
+
},
|
4062
|
+
{
|
4063
|
+
"name": "opened",
|
4064
|
+
"description": "打开弹窗且动画结束后触发"
|
4065
|
+
},
|
4066
|
+
{
|
4067
|
+
"name": "closed",
|
4068
|
+
"description": "关闭弹窗且动画结束后触发"
|
4069
|
+
}
|
4070
|
+
],
|
4071
|
+
"attributes": [
|
4072
|
+
{
|
4073
|
+
"name": "v-model:show",
|
4074
|
+
"default": "-",
|
4075
|
+
"description": "是否显示弹窗",
|
4018
4076
|
"options": [],
|
4019
4077
|
"value": {
|
4020
4078
|
"type": "boolean",
|
@@ -4022,39 +4080,39 @@
|
|
4022
4080
|
}
|
4023
4081
|
},
|
4024
4082
|
{
|
4025
|
-
"name": "
|
4026
|
-
"default": "
|
4027
|
-
"description": "
|
4083
|
+
"name": "title",
|
4084
|
+
"default": "-",
|
4085
|
+
"description": "标题",
|
4028
4086
|
"options": [],
|
4029
4087
|
"value": {
|
4030
|
-
"type": "
|
4088
|
+
"type": "string",
|
4031
4089
|
"kind": "expression"
|
4032
4090
|
}
|
4033
4091
|
},
|
4034
4092
|
{
|
4035
|
-
"name": "
|
4036
|
-
"default": "`
|
4037
|
-
"description": "
|
4093
|
+
"name": "width",
|
4094
|
+
"default": "`320px`",
|
4095
|
+
"description": "弹窗宽度,默认单位为 `px`",
|
4038
4096
|
"options": [],
|
4039
4097
|
"value": {
|
4040
|
-
"type": "
|
4098
|
+
"type": "number | string",
|
4041
4099
|
"kind": "expression"
|
4042
4100
|
}
|
4043
4101
|
},
|
4044
4102
|
{
|
4045
|
-
"name": "
|
4103
|
+
"name": "message",
|
4046
4104
|
"default": "-",
|
4047
|
-
"description": "
|
4105
|
+
"description": "文本内容,支持通过 `\\n` 换行",
|
4048
4106
|
"options": [],
|
4049
4107
|
"value": {
|
4050
|
-
"type": "(
|
4108
|
+
"type": "string | () => JSX.ELement",
|
4051
4109
|
"kind": "expression"
|
4052
4110
|
}
|
4053
4111
|
},
|
4054
4112
|
{
|
4055
|
-
"name": "
|
4056
|
-
"default": "
|
4057
|
-
"description": "
|
4113
|
+
"name": "message-align",
|
4114
|
+
"default": "`center`",
|
4115
|
+
"description": "内容水平对齐方式,可选值为 `left` `right`",
|
4058
4116
|
"options": [],
|
4059
4117
|
"value": {
|
4060
4118
|
"type": "string",
|
@@ -4062,31 +4120,19 @@
|
|
4062
4120
|
}
|
4063
4121
|
},
|
4064
4122
|
{
|
4065
|
-
"name": "
|
4066
|
-
"default": "
|
4067
|
-
"description": "
|
4123
|
+
"name": "theme",
|
4124
|
+
"default": "`default`",
|
4125
|
+
"description": "样式风格,可选值为 `round-button`",
|
4068
4126
|
"options": [],
|
4069
4127
|
"value": {
|
4070
|
-
"type": "string
|
4128
|
+
"type": "string",
|
4071
4129
|
"kind": "expression"
|
4072
4130
|
}
|
4073
|
-
}
|
4074
|
-
]
|
4075
|
-
},
|
4076
|
-
{
|
4077
|
-
"name": "van-divider",
|
4078
|
-
"slots": [
|
4079
|
-
{
|
4080
|
-
"name": "default",
|
4081
|
-
"description": "内容"
|
4082
|
-
}
|
4083
|
-
],
|
4084
|
-
"events": [],
|
4085
|
-
"attributes": [
|
4131
|
+
},
|
4086
4132
|
{
|
4087
|
-
"name": "
|
4088
|
-
"default": "`
|
4089
|
-
"description": "
|
4133
|
+
"name": "show-confirm-button",
|
4134
|
+
"default": "`true`",
|
4135
|
+
"description": "是否展示确认按钮",
|
4090
4136
|
"options": [],
|
4091
4137
|
"value": {
|
4092
4138
|
"type": "boolean",
|
@@ -4094,9 +4140,9 @@
|
|
4094
4140
|
}
|
4095
4141
|
},
|
4096
4142
|
{
|
4097
|
-
"name": "
|
4098
|
-
"default": "`
|
4099
|
-
"description": "
|
4143
|
+
"name": "show-cancel-button",
|
4144
|
+
"default": "`false`",
|
4145
|
+
"description": "是否展示取消按钮",
|
4100
4146
|
"options": [],
|
4101
4147
|
"value": {
|
4102
4148
|
"type": "boolean",
|
@@ -4104,26 +4150,19 @@
|
|
4104
4150
|
}
|
4105
4151
|
},
|
4106
4152
|
{
|
4107
|
-
"name": "
|
4108
|
-
"default": "
|
4109
|
-
"description": "
|
4153
|
+
"name": "confirm-button-text",
|
4154
|
+
"default": "`确认`",
|
4155
|
+
"description": "确认按钮文案",
|
4110
4156
|
"options": [],
|
4111
4157
|
"value": {
|
4112
4158
|
"type": "string",
|
4113
4159
|
"kind": "expression"
|
4114
4160
|
}
|
4115
|
-
}
|
4116
|
-
]
|
4117
|
-
},
|
4118
|
-
{
|
4119
|
-
"name": "van-dropdown-menu",
|
4120
|
-
"slots": [],
|
4121
|
-
"events": [],
|
4122
|
-
"attributes": [
|
4161
|
+
},
|
4123
4162
|
{
|
4124
|
-
"name": "
|
4163
|
+
"name": "confirm-button-color",
|
4125
4164
|
"default": "`#ee0a24`",
|
4126
|
-
"description": "
|
4165
|
+
"description": "确认按钮颜色",
|
4127
4166
|
"options": [],
|
4128
4167
|
"value": {
|
4129
4168
|
"type": "string",
|
@@ -4131,9 +4170,9 @@
|
|
4131
4170
|
}
|
4132
4171
|
},
|
4133
4172
|
{
|
4134
|
-
"name": "
|
4135
|
-
"default": "
|
4136
|
-
"description": "
|
4173
|
+
"name": "cancel-button-text",
|
4174
|
+
"default": "`取消`",
|
4175
|
+
"description": "取消按钮文案",
|
4137
4176
|
"options": [],
|
4138
4177
|
"value": {
|
4139
4178
|
"type": "string",
|
@@ -4141,126 +4180,89 @@
|
|
4141
4180
|
}
|
4142
4181
|
},
|
4143
4182
|
{
|
4144
|
-
"name": "
|
4145
|
-
"default": "`
|
4146
|
-
"description": "
|
4183
|
+
"name": "cancel-button-color",
|
4184
|
+
"default": "`black`",
|
4185
|
+
"description": "取消按钮颜色",
|
4147
4186
|
"options": [],
|
4148
4187
|
"value": {
|
4149
|
-
"type": "
|
4188
|
+
"type": "string",
|
4150
4189
|
"kind": "expression"
|
4151
4190
|
}
|
4152
4191
|
},
|
4153
4192
|
{
|
4154
|
-
"name": "
|
4155
|
-
"default": "`
|
4156
|
-
"description": "
|
4193
|
+
"name": "overlay",
|
4194
|
+
"default": "`true`",
|
4195
|
+
"description": "是否展示遮罩层",
|
4157
4196
|
"options": [],
|
4158
4197
|
"value": {
|
4159
|
-
"type": "
|
4198
|
+
"type": "boolean",
|
4160
4199
|
"kind": "expression"
|
4161
4200
|
}
|
4162
4201
|
},
|
4163
4202
|
{
|
4164
|
-
"name": "overlay",
|
4165
|
-
"default": "
|
4166
|
-
"description": "
|
4203
|
+
"name": "overlay-class",
|
4204
|
+
"default": "-",
|
4205
|
+
"description": "自定义遮罩层类名",
|
4167
4206
|
"options": [],
|
4168
4207
|
"value": {
|
4169
|
-
"type": "
|
4208
|
+
"type": "string",
|
4170
4209
|
"kind": "expression"
|
4171
4210
|
}
|
4172
4211
|
},
|
4173
4212
|
{
|
4174
|
-
"name": "
|
4175
|
-
"default": "
|
4176
|
-
"description": "
|
4213
|
+
"name": "overlay-style",
|
4214
|
+
"default": "-",
|
4215
|
+
"description": "自定义遮罩层样式",
|
4177
4216
|
"options": [],
|
4178
4217
|
"value": {
|
4179
|
-
"type": "
|
4218
|
+
"type": "object",
|
4180
4219
|
"kind": "expression"
|
4181
4220
|
}
|
4182
4221
|
},
|
4183
4222
|
{
|
4184
|
-
"name": "close-on-
|
4223
|
+
"name": "close-on-popstate",
|
4185
4224
|
"default": "`true`",
|
4186
|
-
"description": "
|
4225
|
+
"description": "是否在页面回退时自动关闭",
|
4187
4226
|
"options": [],
|
4188
4227
|
"value": {
|
4189
4228
|
"type": "boolean",
|
4190
4229
|
"kind": "expression"
|
4191
4230
|
}
|
4192
|
-
}
|
4193
|
-
]
|
4194
|
-
},
|
4195
|
-
{
|
4196
|
-
"name": "van-dropdown-item",
|
4197
|
-
"slots": [
|
4198
|
-
{
|
4199
|
-
"name": "default",
|
4200
|
-
"description": "菜单内容"
|
4201
|
-
},
|
4202
|
-
{
|
4203
|
-
"name": "title",
|
4204
|
-
"description": "自定义菜单项标题"
|
4205
|
-
}
|
4206
|
-
],
|
4207
|
-
"events": [
|
4208
|
-
{
|
4209
|
-
"name": "change",
|
4210
|
-
"description": "点击选项导致 value 变化时触发"
|
4211
|
-
},
|
4212
|
-
{
|
4213
|
-
"name": "open",
|
4214
|
-
"description": "打开菜单栏时触发"
|
4215
|
-
},
|
4216
|
-
{
|
4217
|
-
"name": "close",
|
4218
|
-
"description": "关闭菜单栏时触发"
|
4219
4231
|
},
|
4220
4232
|
{
|
4221
|
-
"name": "
|
4222
|
-
"
|
4223
|
-
|
4224
|
-
{
|
4225
|
-
"name": "closed",
|
4226
|
-
"description": "关闭菜单栏且动画结束后触发"
|
4227
|
-
}
|
4228
|
-
],
|
4229
|
-
"attributes": [
|
4230
|
-
{
|
4231
|
-
"name": "v-model",
|
4232
|
-
"default": "-",
|
4233
|
-
"description": "当前选中项对应的 value",
|
4233
|
+
"name": "close-on-click-overlay",
|
4234
|
+
"default": "`false`",
|
4235
|
+
"description": "是否在点击遮罩层后关闭弹窗",
|
4234
4236
|
"options": [],
|
4235
4237
|
"value": {
|
4236
|
-
"type": "
|
4238
|
+
"type": "boolean",
|
4237
4239
|
"kind": "expression"
|
4238
4240
|
}
|
4239
4241
|
},
|
4240
4242
|
{
|
4241
|
-
"name": "
|
4242
|
-
"default": "
|
4243
|
-
"description": "
|
4243
|
+
"name": "lazy-render",
|
4244
|
+
"default": "`true`",
|
4245
|
+
"description": "是否在显示弹层时才渲染节点",
|
4244
4246
|
"options": [],
|
4245
4247
|
"value": {
|
4246
|
-
"type": "
|
4248
|
+
"type": "boolean",
|
4247
4249
|
"kind": "expression"
|
4248
4250
|
}
|
4249
4251
|
},
|
4250
4252
|
{
|
4251
|
-
"name": "
|
4252
|
-
"default": "`
|
4253
|
-
"description": "
|
4253
|
+
"name": "lock-scroll",
|
4254
|
+
"default": "`true`",
|
4255
|
+
"description": "是否锁定背景滚动",
|
4254
4256
|
"options": [],
|
4255
4257
|
"value": {
|
4256
|
-
"type": "
|
4258
|
+
"type": "boolean",
|
4257
4259
|
"kind": "expression"
|
4258
4260
|
}
|
4259
4261
|
},
|
4260
4262
|
{
|
4261
|
-
"name": "
|
4263
|
+
"name": "allow-html",
|
4262
4264
|
"default": "`false`",
|
4263
|
-
"description": "
|
4265
|
+
"description": "是否允许 message 内容中渲染 HTML",
|
4264
4266
|
"options": [],
|
4265
4267
|
"value": {
|
4266
4268
|
"type": "boolean",
|
@@ -4268,24 +4270,22 @@
|
|
4268
4270
|
}
|
4269
4271
|
},
|
4270
4272
|
{
|
4271
|
-
"name": "
|
4272
|
-
"default": "
|
4273
|
-
"description": "
|
4273
|
+
"name": "before-close",
|
4274
|
+
"default": "-",
|
4275
|
+
"description": "关闭前的回调函数,返回 `false` 可阻止关闭,支持返回 Promise",
|
4274
4276
|
"options": [],
|
4275
4277
|
"value": {
|
4276
|
-
"type": "boolean",
|
4278
|
+
"type": "(action: string) => boolean | Promise\\<boolean\\>",
|
4277
4279
|
"kind": "expression"
|
4278
4280
|
}
|
4279
4281
|
},
|
4280
4282
|
{
|
4281
|
-
"name": "
|
4282
|
-
"default": "
|
4283
|
-
"description": "
|
4284
|
-
"options": [
|
4285
|
-
"-"
|
4286
|
-
],
|
4283
|
+
"name": "transition",
|
4284
|
+
"default": "-",
|
4285
|
+
"description": "动画类名,等价于 [transition](https://v3.cn.vuejs.org/api/built-in-components.html#transition) 的 `name` 属性",
|
4286
|
+
"options": [],
|
4287
4287
|
"value": {
|
4288
|
-
"type": "string
|
4288
|
+
"type": "string",
|
4289
4289
|
"kind": "expression"
|
4290
4290
|
}
|
4291
4291
|
},
|
@@ -4852,39 +4852,121 @@
|
|
4852
4852
|
}
|
4853
4853
|
},
|
4854
4854
|
{
|
4855
|
-
"name": "validate-trigger",
|
4856
|
-
"default": "`onBlur`",
|
4857
|
-
"description": "表单校验触发时机,可选值为 `onChange`、`onSubmit`,详见下表",
|
4855
|
+
"name": "validate-trigger",
|
4856
|
+
"default": "`onBlur`",
|
4857
|
+
"description": "表单校验触发时机,可选值为 `onChange`、`onSubmit`,详见下表",
|
4858
|
+
"options": [],
|
4859
|
+
"value": {
|
4860
|
+
"type": "string",
|
4861
|
+
"kind": "expression"
|
4862
|
+
}
|
4863
|
+
},
|
4864
|
+
{
|
4865
|
+
"name": "colon",
|
4866
|
+
"default": "`false`",
|
4867
|
+
"description": "是否在 label 后面添加冒号",
|
4868
|
+
"options": [],
|
4869
|
+
"value": {
|
4870
|
+
"type": "boolean",
|
4871
|
+
"kind": "expression"
|
4872
|
+
}
|
4873
|
+
},
|
4874
|
+
{
|
4875
|
+
"name": "disabled",
|
4876
|
+
"default": "`false`",
|
4877
|
+
"description": "是否禁用表单中的所有输入框",
|
4878
|
+
"options": [],
|
4879
|
+
"value": {
|
4880
|
+
"type": "boolean",
|
4881
|
+
"kind": "expression"
|
4882
|
+
}
|
4883
|
+
},
|
4884
|
+
{
|
4885
|
+
"name": "readonly",
|
4886
|
+
"default": "`false`",
|
4887
|
+
"description": "是否将表单中的所有输入框设置为只读状态",
|
4888
|
+
"options": [],
|
4889
|
+
"value": {
|
4890
|
+
"type": "boolean",
|
4891
|
+
"kind": "expression"
|
4892
|
+
}
|
4893
|
+
},
|
4894
|
+
{
|
4895
|
+
"name": "validate-first",
|
4896
|
+
"default": "`false`",
|
4897
|
+
"description": "是否在某一项校验不通过时停止校验",
|
4898
|
+
"options": [],
|
4899
|
+
"value": {
|
4900
|
+
"type": "boolean",
|
4901
|
+
"kind": "expression"
|
4902
|
+
}
|
4903
|
+
},
|
4904
|
+
{
|
4905
|
+
"name": "scroll-to-error",
|
4906
|
+
"default": "`false`",
|
4907
|
+
"description": "是否在提交表单且校验不通过时滚动至错误的表单项",
|
4908
|
+
"options": [],
|
4909
|
+
"value": {
|
4910
|
+
"type": "boolean",
|
4911
|
+
"kind": "expression"
|
4912
|
+
}
|
4913
|
+
},
|
4914
|
+
{
|
4915
|
+
"name": "show-error",
|
4916
|
+
"default": "`false`",
|
4917
|
+
"description": "是否在校验不通过时标红输入框",
|
4918
|
+
"options": [],
|
4919
|
+
"value": {
|
4920
|
+
"type": "boolean",
|
4921
|
+
"kind": "expression"
|
4922
|
+
}
|
4923
|
+
},
|
4924
|
+
{
|
4925
|
+
"name": "show-error-message",
|
4926
|
+
"default": "`true`",
|
4927
|
+
"description": "是否在校验不通过时在输入框下方展示错误提示",
|
4858
4928
|
"options": [],
|
4859
4929
|
"value": {
|
4860
|
-
"type": "
|
4930
|
+
"type": "boolean",
|
4861
4931
|
"kind": "expression"
|
4862
4932
|
}
|
4863
4933
|
},
|
4864
4934
|
{
|
4865
|
-
"name": "
|
4866
|
-
"default": "`
|
4867
|
-
"description": "
|
4935
|
+
"name": "submit-on-enter",
|
4936
|
+
"default": "`true`",
|
4937
|
+
"description": "是否在按下回车键时提交表单",
|
4868
4938
|
"options": [],
|
4869
4939
|
"value": {
|
4870
4940
|
"type": "boolean",
|
4871
4941
|
"kind": "expression"
|
4872
4942
|
}
|
4873
|
-
}
|
4943
|
+
}
|
4944
|
+
]
|
4945
|
+
},
|
4946
|
+
{
|
4947
|
+
"name": "van-icon",
|
4948
|
+
"slots": [],
|
4949
|
+
"events": [
|
4874
4950
|
{
|
4875
|
-
"name": "
|
4876
|
-
"
|
4877
|
-
|
4951
|
+
"name": "click",
|
4952
|
+
"description": "点击图标时触发"
|
4953
|
+
}
|
4954
|
+
],
|
4955
|
+
"attributes": [
|
4956
|
+
{
|
4957
|
+
"name": "name",
|
4958
|
+
"default": "-",
|
4959
|
+
"description": "图标名称或图片链接",
|
4878
4960
|
"options": [],
|
4879
4961
|
"value": {
|
4880
|
-
"type": "
|
4962
|
+
"type": "string",
|
4881
4963
|
"kind": "expression"
|
4882
4964
|
}
|
4883
4965
|
},
|
4884
4966
|
{
|
4885
|
-
"name": "
|
4967
|
+
"name": "dot",
|
4886
4968
|
"default": "`false`",
|
4887
|
-
"description": "
|
4969
|
+
"description": "是否显示图标右上角小红点",
|
4888
4970
|
"options": [],
|
4889
4971
|
"value": {
|
4890
4972
|
"type": "boolean",
|
@@ -4892,52 +4974,52 @@
|
|
4892
4974
|
}
|
4893
4975
|
},
|
4894
4976
|
{
|
4895
|
-
"name": "
|
4896
|
-
"default": "
|
4897
|
-
"description": "
|
4977
|
+
"name": "badge",
|
4978
|
+
"default": "-",
|
4979
|
+
"description": "图标右上角徽标的内容",
|
4898
4980
|
"options": [],
|
4899
4981
|
"value": {
|
4900
|
-
"type": "
|
4982
|
+
"type": "number | string",
|
4901
4983
|
"kind": "expression"
|
4902
4984
|
}
|
4903
4985
|
},
|
4904
4986
|
{
|
4905
|
-
"name": "
|
4906
|
-
"default": "`
|
4907
|
-
"description": "
|
4987
|
+
"name": "color",
|
4988
|
+
"default": "`inherit`",
|
4989
|
+
"description": "图标颜色",
|
4908
4990
|
"options": [],
|
4909
4991
|
"value": {
|
4910
|
-
"type": "
|
4992
|
+
"type": "string",
|
4911
4993
|
"kind": "expression"
|
4912
4994
|
}
|
4913
4995
|
},
|
4914
4996
|
{
|
4915
|
-
"name": "
|
4916
|
-
"default": "`
|
4917
|
-
"description": "
|
4997
|
+
"name": "size",
|
4998
|
+
"default": "`inherit`",
|
4999
|
+
"description": "图标大小,如 `20px` `2em`,默认单位为 `px`",
|
4918
5000
|
"options": [],
|
4919
5001
|
"value": {
|
4920
|
-
"type": "
|
5002
|
+
"type": "number | string",
|
4921
5003
|
"kind": "expression"
|
4922
5004
|
}
|
4923
5005
|
},
|
4924
5006
|
{
|
4925
|
-
"name": "
|
4926
|
-
"default": "`
|
4927
|
-
"description": "
|
5007
|
+
"name": "class-prefix",
|
5008
|
+
"default": "`van-icon`",
|
5009
|
+
"description": "类名前缀,用于使用自定义图标",
|
4928
5010
|
"options": [],
|
4929
5011
|
"value": {
|
4930
|
-
"type": "
|
5012
|
+
"type": "string",
|
4931
5013
|
"kind": "expression"
|
4932
5014
|
}
|
4933
5015
|
},
|
4934
5016
|
{
|
4935
|
-
"name": "
|
4936
|
-
"default": "`
|
4937
|
-
"description": "
|
5017
|
+
"name": "tag",
|
5018
|
+
"default": "`i`",
|
5019
|
+
"description": "根节点对应的 HTML 标签名",
|
4938
5020
|
"options": [],
|
4939
5021
|
"value": {
|
4940
|
-
"type": "
|
5022
|
+
"type": "string",
|
4941
5023
|
"kind": "expression"
|
4942
5024
|
}
|
4943
5025
|
}
|
@@ -5156,82 +5238,98 @@
|
|
5156
5238
|
]
|
5157
5239
|
},
|
5158
5240
|
{
|
5159
|
-
"name": "van-
|
5241
|
+
"name": "van-index-bar",
|
5160
5242
|
"slots": [],
|
5161
5243
|
"events": [
|
5162
5244
|
{
|
5163
|
-
"name": "
|
5164
|
-
"description": "
|
5245
|
+
"name": "select",
|
5246
|
+
"description": "点击索引栏的字符时触发"
|
5247
|
+
},
|
5248
|
+
{
|
5249
|
+
"name": "change",
|
5250
|
+
"description": "当前高亮的索引字符变化时触发"
|
5165
5251
|
}
|
5166
5252
|
],
|
5167
5253
|
"attributes": [
|
5168
5254
|
{
|
5169
|
-
"name": "
|
5170
|
-
"default": "-",
|
5171
|
-
"description": "
|
5255
|
+
"name": "index-list",
|
5256
|
+
"default": "`A-Z`",
|
5257
|
+
"description": "索引字符列表",
|
5172
5258
|
"options": [],
|
5173
5259
|
"value": {
|
5174
|
-
"type": "string",
|
5260
|
+
"type": "string[] | number[]",
|
5175
5261
|
"kind": "expression"
|
5176
5262
|
}
|
5177
5263
|
},
|
5178
5264
|
{
|
5179
|
-
"name": "
|
5180
|
-
"default": "`
|
5181
|
-
"description": "
|
5265
|
+
"name": "z-index",
|
5266
|
+
"default": "`1`",
|
5267
|
+
"description": "z-index 层级",
|
5182
5268
|
"options": [],
|
5183
5269
|
"value": {
|
5184
|
-
"type": "
|
5270
|
+
"type": "number | string",
|
5185
5271
|
"kind": "expression"
|
5186
5272
|
}
|
5187
5273
|
},
|
5188
5274
|
{
|
5189
|
-
"name": "
|
5190
|
-
"default": "
|
5191
|
-
"description": "
|
5275
|
+
"name": "sticky",
|
5276
|
+
"default": "`true`",
|
5277
|
+
"description": "是否开启锚点自动吸顶",
|
5192
5278
|
"options": [],
|
5193
5279
|
"value": {
|
5194
|
-
"type": "
|
5280
|
+
"type": "boolean",
|
5195
5281
|
"kind": "expression"
|
5196
5282
|
}
|
5197
5283
|
},
|
5198
5284
|
{
|
5199
|
-
"name": "
|
5200
|
-
"default": "`
|
5201
|
-
"description": "
|
5285
|
+
"name": "sticky-offset-top",
|
5286
|
+
"default": "`0`",
|
5287
|
+
"description": "锚点自动吸顶时与顶部的距离",
|
5202
5288
|
"options": [],
|
5203
5289
|
"value": {
|
5204
|
-
"type": "
|
5290
|
+
"type": "number",
|
5205
5291
|
"kind": "expression"
|
5206
5292
|
}
|
5207
5293
|
},
|
5208
5294
|
{
|
5209
|
-
"name": "
|
5210
|
-
"default": "`
|
5211
|
-
"description": "
|
5295
|
+
"name": "highlight-color",
|
5296
|
+
"default": "`#ee0a24`",
|
5297
|
+
"description": "索引字符高亮颜色",
|
5212
5298
|
"options": [],
|
5213
5299
|
"value": {
|
5214
|
-
"type": "
|
5300
|
+
"type": "string",
|
5215
5301
|
"kind": "expression"
|
5216
5302
|
}
|
5217
5303
|
},
|
5218
5304
|
{
|
5219
|
-
"name": "
|
5220
|
-
"default": "
|
5221
|
-
"description": "
|
5305
|
+
"name": "teleport",
|
5306
|
+
"default": "-",
|
5307
|
+
"description": "指定索引栏挂载的节点",
|
5222
5308
|
"options": [],
|
5223
5309
|
"value": {
|
5224
|
-
"type": "string",
|
5310
|
+
"type": "string | Element",
|
5225
5311
|
"kind": "expression"
|
5226
5312
|
}
|
5227
|
-
}
|
5313
|
+
}
|
5314
|
+
]
|
5315
|
+
},
|
5316
|
+
{
|
5317
|
+
"name": "van-index-anchor",
|
5318
|
+
"slots": [
|
5228
5319
|
{
|
5229
|
-
"name": "
|
5230
|
-
"
|
5231
|
-
|
5320
|
+
"name": "default",
|
5321
|
+
"description": "锚点位置显示内容,默认为索引字符"
|
5322
|
+
}
|
5323
|
+
],
|
5324
|
+
"events": [],
|
5325
|
+
"attributes": [
|
5326
|
+
{
|
5327
|
+
"name": "index",
|
5328
|
+
"default": "-",
|
5329
|
+
"description": "索引字符",
|
5232
5330
|
"options": [],
|
5233
5331
|
"value": {
|
5234
|
-
"type": "string",
|
5332
|
+
"type": "number | string",
|
5235
5333
|
"kind": "expression"
|
5236
5334
|
}
|
5237
5335
|
}
|
@@ -5544,115 +5642,19 @@
|
|
5544
5642
|
}
|
5545
5643
|
},
|
5546
5644
|
{
|
5547
|
-
"name": "max-zoom",
|
5548
|
-
"default": "`3`",
|
5549
|
-
"description": "手势缩放时,最大缩放比例",
|
5550
|
-
"options": [],
|
5551
|
-
"value": {
|
5552
|
-
"type": "number | string",
|
5553
|
-
"kind": "expression"
|
5554
|
-
}
|
5555
|
-
},
|
5556
|
-
{
|
5557
|
-
"name": "min-zoom",
|
5558
|
-
"default": "`1/3`",
|
5559
|
-
"description": "手势缩放时,最小缩放比例",
|
5560
|
-
"options": [],
|
5561
|
-
"value": {
|
5562
|
-
"type": "number | string",
|
5563
|
-
"kind": "expression"
|
5564
|
-
}
|
5565
|
-
},
|
5566
|
-
{
|
5567
|
-
"name": "closeable",
|
5568
|
-
"default": "`false`",
|
5569
|
-
"description": "是否显示关闭图标",
|
5570
|
-
"options": [],
|
5571
|
-
"value": {
|
5572
|
-
"type": "boolean",
|
5573
|
-
"kind": "expression"
|
5574
|
-
}
|
5575
|
-
},
|
5576
|
-
{
|
5577
|
-
"name": "close-icon",
|
5578
|
-
"default": "`clear`",
|
5579
|
-
"description": "关闭图标名称或图片链接",
|
5580
|
-
"options": [],
|
5581
|
-
"value": {
|
5582
|
-
"type": "string",
|
5583
|
-
"kind": "expression"
|
5584
|
-
}
|
5585
|
-
},
|
5586
|
-
{
|
5587
|
-
"name": "close-icon-position",
|
5588
|
-
"default": "`top-right`",
|
5589
|
-
"description": "关闭图标位置,可选值为 `top-left`<br>`bottom-left` `bottom-right`",
|
5590
|
-
"options": [],
|
5591
|
-
"value": {
|
5592
|
-
"type": "string",
|
5593
|
-
"kind": "expression"
|
5594
|
-
}
|
5595
|
-
},
|
5596
|
-
{
|
5597
|
-
"name": "transition",
|
5598
|
-
"default": "`van-fade`",
|
5599
|
-
"description": "动画类名,等价于 [transition](https://v3.cn.vuejs.org/api/built-in-components.html#transition) 的 `name` 属性",
|
5600
|
-
"options": [],
|
5601
|
-
"value": {
|
5602
|
-
"type": "string",
|
5603
|
-
"kind": "expression"
|
5604
|
-
}
|
5605
|
-
},
|
5606
|
-
{
|
5607
|
-
"name": "overlay-style",
|
5608
|
-
"default": "-",
|
5609
|
-
"description": "自定义遮罩层样式",
|
5610
|
-
"options": [],
|
5611
|
-
"value": {
|
5612
|
-
"type": "object",
|
5613
|
-
"kind": "expression"
|
5614
|
-
}
|
5615
|
-
},
|
5616
|
-
{
|
5617
|
-
"name": "teleport",
|
5618
|
-
"default": "-",
|
5619
|
-
"description": "指定挂载的节点,等同于 Teleport 组件的 [to 属性](https://v3.cn.vuejs.org/api/built-in-components.html#teleport)",
|
5620
|
-
"options": [],
|
5621
|
-
"value": {
|
5622
|
-
"type": "string | Element",
|
5623
|
-
"kind": "expression"
|
5624
|
-
}
|
5625
|
-
}
|
5626
|
-
]
|
5627
|
-
},
|
5628
|
-
{
|
5629
|
-
"name": "van-index-bar",
|
5630
|
-
"slots": [],
|
5631
|
-
"events": [
|
5632
|
-
{
|
5633
|
-
"name": "select",
|
5634
|
-
"description": "点击索引栏的字符时触发"
|
5635
|
-
},
|
5636
|
-
{
|
5637
|
-
"name": "change",
|
5638
|
-
"description": "当前高亮的索引字符变化时触发"
|
5639
|
-
}
|
5640
|
-
],
|
5641
|
-
"attributes": [
|
5642
|
-
{
|
5643
|
-
"name": "index-list",
|
5644
|
-
"default": "`A-Z`",
|
5645
|
-
"description": "索引字符列表",
|
5645
|
+
"name": "max-zoom",
|
5646
|
+
"default": "`3`",
|
5647
|
+
"description": "手势缩放时,最大缩放比例",
|
5646
5648
|
"options": [],
|
5647
5649
|
"value": {
|
5648
|
-
"type": "
|
5650
|
+
"type": "number | string",
|
5649
5651
|
"kind": "expression"
|
5650
5652
|
}
|
5651
5653
|
},
|
5652
5654
|
{
|
5653
|
-
"name": "
|
5654
|
-
"default": "`1`",
|
5655
|
-
"description": "
|
5655
|
+
"name": "min-zoom",
|
5656
|
+
"default": "`1/3`",
|
5657
|
+
"description": "手势缩放时,最小缩放比例",
|
5656
5658
|
"options": [],
|
5657
5659
|
"value": {
|
5658
5660
|
"type": "number | string",
|
@@ -5660,9 +5662,9 @@
|
|
5660
5662
|
}
|
5661
5663
|
},
|
5662
5664
|
{
|
5663
|
-
"name": "
|
5664
|
-
"default": "`
|
5665
|
-
"description": "
|
5665
|
+
"name": "closeable",
|
5666
|
+
"default": "`false`",
|
5667
|
+
"description": "是否显示关闭图标",
|
5666
5668
|
"options": [],
|
5667
5669
|
"value": {
|
5668
5670
|
"type": "boolean",
|
@@ -5670,19 +5672,19 @@
|
|
5670
5672
|
}
|
5671
5673
|
},
|
5672
5674
|
{
|
5673
|
-
"name": "
|
5674
|
-
"default": "`
|
5675
|
-
"description": "
|
5675
|
+
"name": "close-icon",
|
5676
|
+
"default": "`clear`",
|
5677
|
+
"description": "关闭图标名称或图片链接",
|
5676
5678
|
"options": [],
|
5677
5679
|
"value": {
|
5678
|
-
"type": "
|
5680
|
+
"type": "string",
|
5679
5681
|
"kind": "expression"
|
5680
5682
|
}
|
5681
5683
|
},
|
5682
5684
|
{
|
5683
|
-
"name": "
|
5684
|
-
"default": "
|
5685
|
-
"description": "
|
5685
|
+
"name": "close-icon-position",
|
5686
|
+
"default": "`top-right`",
|
5687
|
+
"description": "关闭图标位置,可选值为 `top-left`<br>`bottom-left` `bottom-right`",
|
5686
5688
|
"options": [],
|
5687
5689
|
"value": {
|
5688
5690
|
"type": "string",
|
@@ -5690,34 +5692,32 @@
|
|
5690
5692
|
}
|
5691
5693
|
},
|
5692
5694
|
{
|
5693
|
-
"name": "
|
5694
|
-
"default": "-",
|
5695
|
-
"description": "
|
5695
|
+
"name": "transition",
|
5696
|
+
"default": "`van-fade`",
|
5697
|
+
"description": "动画类名,等价于 [transition](https://v3.cn.vuejs.org/api/built-in-components.html#transition) 的 `name` 属性",
|
5696
5698
|
"options": [],
|
5697
5699
|
"value": {
|
5698
|
-
"type": "string
|
5700
|
+
"type": "string",
|
5699
5701
|
"kind": "expression"
|
5700
5702
|
}
|
5701
|
-
}
|
5702
|
-
]
|
5703
|
-
},
|
5704
|
-
{
|
5705
|
-
"name": "van-index-anchor",
|
5706
|
-
"slots": [
|
5703
|
+
},
|
5707
5704
|
{
|
5708
|
-
"name": "
|
5709
|
-
"
|
5710
|
-
|
5711
|
-
|
5712
|
-
|
5713
|
-
|
5705
|
+
"name": "overlay-style",
|
5706
|
+
"default": "-",
|
5707
|
+
"description": "自定义遮罩层样式",
|
5708
|
+
"options": [],
|
5709
|
+
"value": {
|
5710
|
+
"type": "object",
|
5711
|
+
"kind": "expression"
|
5712
|
+
}
|
5713
|
+
},
|
5714
5714
|
{
|
5715
|
-
"name": "
|
5715
|
+
"name": "teleport",
|
5716
5716
|
"default": "-",
|
5717
|
-
"description": "
|
5717
|
+
"description": "指定挂载的节点,等同于 Teleport 组件的 [to 属性](https://v3.cn.vuejs.org/api/built-in-components.html#teleport)",
|
5718
5718
|
"options": [],
|
5719
5719
|
"value": {
|
5720
|
-
"type": "
|
5720
|
+
"type": "string | Element",
|
5721
5721
|
"kind": "expression"
|
5722
5722
|
}
|
5723
5723
|
}
|
@@ -9319,6 +9319,99 @@
|
|
9319
9319
|
}
|
9320
9320
|
]
|
9321
9321
|
},
|
9322
|
+
{
|
9323
|
+
"name": "van-swipe-cell",
|
9324
|
+
"slots": [
|
9325
|
+
{
|
9326
|
+
"name": "default",
|
9327
|
+
"description": "默认显示的内容"
|
9328
|
+
},
|
9329
|
+
{
|
9330
|
+
"name": "left",
|
9331
|
+
"description": "左侧滑动区域的内容"
|
9332
|
+
},
|
9333
|
+
{
|
9334
|
+
"name": "right",
|
9335
|
+
"description": "右侧滑动区域的内容"
|
9336
|
+
}
|
9337
|
+
],
|
9338
|
+
"events": [
|
9339
|
+
{
|
9340
|
+
"name": "click",
|
9341
|
+
"description": "点击时触发"
|
9342
|
+
},
|
9343
|
+
{
|
9344
|
+
"name": "open",
|
9345
|
+
"description": "打开时触发"
|
9346
|
+
},
|
9347
|
+
{
|
9348
|
+
"name": "close",
|
9349
|
+
"description": "关闭时触发"
|
9350
|
+
}
|
9351
|
+
],
|
9352
|
+
"attributes": [
|
9353
|
+
{
|
9354
|
+
"name": "name",
|
9355
|
+
"default": "`''`",
|
9356
|
+
"description": "标识符,可以在事件参数中获取到",
|
9357
|
+
"options": [],
|
9358
|
+
"value": {
|
9359
|
+
"type": "number | string",
|
9360
|
+
"kind": "expression"
|
9361
|
+
}
|
9362
|
+
},
|
9363
|
+
{
|
9364
|
+
"name": "left-width",
|
9365
|
+
"default": "`auto`",
|
9366
|
+
"description": "指定左侧滑动区域宽度,单位为 `px`",
|
9367
|
+
"options": [],
|
9368
|
+
"value": {
|
9369
|
+
"type": "number | string",
|
9370
|
+
"kind": "expression"
|
9371
|
+
}
|
9372
|
+
},
|
9373
|
+
{
|
9374
|
+
"name": "right-width",
|
9375
|
+
"default": "`auto`",
|
9376
|
+
"description": "指定右侧滑动区域宽度,单位为 `px`",
|
9377
|
+
"options": [],
|
9378
|
+
"value": {
|
9379
|
+
"type": "number | string",
|
9380
|
+
"kind": "expression"
|
9381
|
+
}
|
9382
|
+
},
|
9383
|
+
{
|
9384
|
+
"name": "before-close",
|
9385
|
+
"default": "-",
|
9386
|
+
"description": "关闭前的回调函数,返回 `false` 可阻止关闭,支持返回 Promise",
|
9387
|
+
"options": [],
|
9388
|
+
"value": {
|
9389
|
+
"type": "(args) => boolean | Promise\\<boolean\\>",
|
9390
|
+
"kind": "expression"
|
9391
|
+
}
|
9392
|
+
},
|
9393
|
+
{
|
9394
|
+
"name": "disabled",
|
9395
|
+
"default": "`false`",
|
9396
|
+
"description": "是否禁用滑动",
|
9397
|
+
"options": [],
|
9398
|
+
"value": {
|
9399
|
+
"type": "boolean",
|
9400
|
+
"kind": "expression"
|
9401
|
+
}
|
9402
|
+
},
|
9403
|
+
{
|
9404
|
+
"name": "stop-propagation",
|
9405
|
+
"default": "`false`",
|
9406
|
+
"description": "是否阻止滑动事件冒泡",
|
9407
|
+
"options": [],
|
9408
|
+
"value": {
|
9409
|
+
"type": "boolean",
|
9410
|
+
"kind": "expression"
|
9411
|
+
}
|
9412
|
+
}
|
9413
|
+
]
|
9414
|
+
},
|
9322
9415
|
{
|
9323
9416
|
"name": "van-swipe",
|
9324
9417
|
"slots": [
|
@@ -9471,99 +9564,6 @@
|
|
9471
9564
|
],
|
9472
9565
|
"attributes": []
|
9473
9566
|
},
|
9474
|
-
{
|
9475
|
-
"name": "van-swipe-cell",
|
9476
|
-
"slots": [
|
9477
|
-
{
|
9478
|
-
"name": "default",
|
9479
|
-
"description": "默认显示的内容"
|
9480
|
-
},
|
9481
|
-
{
|
9482
|
-
"name": "left",
|
9483
|
-
"description": "左侧滑动区域的内容"
|
9484
|
-
},
|
9485
|
-
{
|
9486
|
-
"name": "right",
|
9487
|
-
"description": "右侧滑动区域的内容"
|
9488
|
-
}
|
9489
|
-
],
|
9490
|
-
"events": [
|
9491
|
-
{
|
9492
|
-
"name": "click",
|
9493
|
-
"description": "点击时触发"
|
9494
|
-
},
|
9495
|
-
{
|
9496
|
-
"name": "open",
|
9497
|
-
"description": "打开时触发"
|
9498
|
-
},
|
9499
|
-
{
|
9500
|
-
"name": "close",
|
9501
|
-
"description": "关闭时触发"
|
9502
|
-
}
|
9503
|
-
],
|
9504
|
-
"attributes": [
|
9505
|
-
{
|
9506
|
-
"name": "name",
|
9507
|
-
"default": "`''`",
|
9508
|
-
"description": "标识符,可以在事件参数中获取到",
|
9509
|
-
"options": [],
|
9510
|
-
"value": {
|
9511
|
-
"type": "number | string",
|
9512
|
-
"kind": "expression"
|
9513
|
-
}
|
9514
|
-
},
|
9515
|
-
{
|
9516
|
-
"name": "left-width",
|
9517
|
-
"default": "`auto`",
|
9518
|
-
"description": "指定左侧滑动区域宽度,单位为 `px`",
|
9519
|
-
"options": [],
|
9520
|
-
"value": {
|
9521
|
-
"type": "number | string",
|
9522
|
-
"kind": "expression"
|
9523
|
-
}
|
9524
|
-
},
|
9525
|
-
{
|
9526
|
-
"name": "right-width",
|
9527
|
-
"default": "`auto`",
|
9528
|
-
"description": "指定右侧滑动区域宽度,单位为 `px`",
|
9529
|
-
"options": [],
|
9530
|
-
"value": {
|
9531
|
-
"type": "number | string",
|
9532
|
-
"kind": "expression"
|
9533
|
-
}
|
9534
|
-
},
|
9535
|
-
{
|
9536
|
-
"name": "before-close",
|
9537
|
-
"default": "-",
|
9538
|
-
"description": "关闭前的回调函数,返回 `false` 可阻止关闭,支持返回 Promise",
|
9539
|
-
"options": [],
|
9540
|
-
"value": {
|
9541
|
-
"type": "(args) => boolean | Promise\\<boolean\\>",
|
9542
|
-
"kind": "expression"
|
9543
|
-
}
|
9544
|
-
},
|
9545
|
-
{
|
9546
|
-
"name": "disabled",
|
9547
|
-
"default": "`false`",
|
9548
|
-
"description": "是否禁用滑动",
|
9549
|
-
"options": [],
|
9550
|
-
"value": {
|
9551
|
-
"type": "boolean",
|
9552
|
-
"kind": "expression"
|
9553
|
-
}
|
9554
|
-
},
|
9555
|
-
{
|
9556
|
-
"name": "stop-propagation",
|
9557
|
-
"default": "`false`",
|
9558
|
-
"description": "是否阻止滑动事件冒泡",
|
9559
|
-
"options": [],
|
9560
|
-
"value": {
|
9561
|
-
"type": "boolean",
|
9562
|
-
"kind": "expression"
|
9563
|
-
}
|
9564
|
-
}
|
9565
|
-
]
|
9566
|
-
},
|
9567
9567
|
{
|
9568
9568
|
"name": "van-switch",
|
9569
9569
|
"slots": [],
|