vant 2.13.1 → 2.13.2
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/changelog.generated.md +11 -0
- package/es/index.js +1 -1
- package/es/sku/Sku.js +1 -1
- package/lib/index.js +1 -1
- package/lib/sku/Sku.js +1 -1
- package/lib/vant.js +2 -2
- package/lib/vant.min.js +1 -1
- package/package.json +1 -1
- package/vetur/attributes.json +401 -401
- package/vetur/tags.json +147 -147
- package/vetur/web-types.json +1127 -1119
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": "2.13.
|
5
|
+
"version": "2.13.2",
|
6
6
|
"contributions": {
|
7
7
|
"html": {
|
8
8
|
"tags": [
|
@@ -451,6 +451,118 @@
|
|
451
451
|
}
|
452
452
|
]
|
453
453
|
},
|
454
|
+
{
|
455
|
+
"name": "van-address-list",
|
456
|
+
"slots": [
|
457
|
+
{
|
458
|
+
"name": "default",
|
459
|
+
"description": "在列表下方插入内容"
|
460
|
+
},
|
461
|
+
{
|
462
|
+
"name": "top",
|
463
|
+
"description": "在顶部插入内容"
|
464
|
+
},
|
465
|
+
{
|
466
|
+
"name": "item-bottom",
|
467
|
+
"description": "在列表项底部插入内容"
|
468
|
+
},
|
469
|
+
{
|
470
|
+
"name": "tag",
|
471
|
+
"description": "列表项标签内容自定义"
|
472
|
+
}
|
473
|
+
],
|
474
|
+
"events": [
|
475
|
+
{
|
476
|
+
"name": "add",
|
477
|
+
"description": "点击新增按钮时触发"
|
478
|
+
},
|
479
|
+
{
|
480
|
+
"name": "edit",
|
481
|
+
"description": "点击编辑按钮时触发"
|
482
|
+
},
|
483
|
+
{
|
484
|
+
"name": "select",
|
485
|
+
"description": "切换选中的地址时触发"
|
486
|
+
},
|
487
|
+
{
|
488
|
+
"name": "edit-disabled",
|
489
|
+
"description": "编辑不可配送的地址时触发"
|
490
|
+
},
|
491
|
+
{
|
492
|
+
"name": "select-disabled",
|
493
|
+
"description": "选中不可配送的地址时触发"
|
494
|
+
},
|
495
|
+
{
|
496
|
+
"name": "click-item",
|
497
|
+
"description": "点击任意地址时触发"
|
498
|
+
}
|
499
|
+
],
|
500
|
+
"attributes": [
|
501
|
+
{
|
502
|
+
"name": "v-model",
|
503
|
+
"default": "-",
|
504
|
+
"description": "当前选中地址的 id",
|
505
|
+
"value": {
|
506
|
+
"type": "string",
|
507
|
+
"kind": "expression"
|
508
|
+
}
|
509
|
+
},
|
510
|
+
{
|
511
|
+
"name": "list",
|
512
|
+
"default": "`[]`",
|
513
|
+
"description": "地址列表",
|
514
|
+
"value": {
|
515
|
+
"type": "Address[]",
|
516
|
+
"kind": "expression"
|
517
|
+
}
|
518
|
+
},
|
519
|
+
{
|
520
|
+
"name": "disabled-list",
|
521
|
+
"default": "`[]`",
|
522
|
+
"description": "不可配送地址列表",
|
523
|
+
"value": {
|
524
|
+
"type": "Address[]",
|
525
|
+
"kind": "expression"
|
526
|
+
}
|
527
|
+
},
|
528
|
+
{
|
529
|
+
"name": "disabled-text",
|
530
|
+
"default": "-",
|
531
|
+
"description": "不可配送提示文案",
|
532
|
+
"value": {
|
533
|
+
"type": "string",
|
534
|
+
"kind": "expression"
|
535
|
+
}
|
536
|
+
},
|
537
|
+
{
|
538
|
+
"name": "switchable",
|
539
|
+
"default": "`true`",
|
540
|
+
"description": "是否允许切换地址",
|
541
|
+
"value": {
|
542
|
+
"type": "boolean",
|
543
|
+
"kind": "expression"
|
544
|
+
}
|
545
|
+
},
|
546
|
+
{
|
547
|
+
"name": "add-button-text",
|
548
|
+
"default": "`新增地址`",
|
549
|
+
"description": "底部按钮文字",
|
550
|
+
"value": {
|
551
|
+
"type": "string",
|
552
|
+
"kind": "expression"
|
553
|
+
}
|
554
|
+
},
|
555
|
+
{
|
556
|
+
"name": "default-tag-text",
|
557
|
+
"default": "-",
|
558
|
+
"description": "默认地址标签文字",
|
559
|
+
"value": {
|
560
|
+
"type": "string",
|
561
|
+
"kind": "expression"
|
562
|
+
}
|
563
|
+
}
|
564
|
+
]
|
565
|
+
},
|
454
566
|
{
|
455
567
|
"name": "van-area",
|
456
568
|
"slots": [
|
@@ -601,118 +713,6 @@
|
|
601
713
|
}
|
602
714
|
]
|
603
715
|
},
|
604
|
-
{
|
605
|
-
"name": "van-address-list",
|
606
|
-
"slots": [
|
607
|
-
{
|
608
|
-
"name": "default",
|
609
|
-
"description": "在列表下方插入内容"
|
610
|
-
},
|
611
|
-
{
|
612
|
-
"name": "top",
|
613
|
-
"description": "在顶部插入内容"
|
614
|
-
},
|
615
|
-
{
|
616
|
-
"name": "item-bottom",
|
617
|
-
"description": "在列表项底部插入内容"
|
618
|
-
},
|
619
|
-
{
|
620
|
-
"name": "tag",
|
621
|
-
"description": "列表项标签内容自定义"
|
622
|
-
}
|
623
|
-
],
|
624
|
-
"events": [
|
625
|
-
{
|
626
|
-
"name": "add",
|
627
|
-
"description": "点击新增按钮时触发"
|
628
|
-
},
|
629
|
-
{
|
630
|
-
"name": "edit",
|
631
|
-
"description": "点击编辑按钮时触发"
|
632
|
-
},
|
633
|
-
{
|
634
|
-
"name": "select",
|
635
|
-
"description": "切换选中的地址时触发"
|
636
|
-
},
|
637
|
-
{
|
638
|
-
"name": "edit-disabled",
|
639
|
-
"description": "编辑不可配送的地址时触发"
|
640
|
-
},
|
641
|
-
{
|
642
|
-
"name": "select-disabled",
|
643
|
-
"description": "选中不可配送的地址时触发"
|
644
|
-
},
|
645
|
-
{
|
646
|
-
"name": "click-item",
|
647
|
-
"description": "点击任意地址时触发"
|
648
|
-
}
|
649
|
-
],
|
650
|
-
"attributes": [
|
651
|
-
{
|
652
|
-
"name": "v-model",
|
653
|
-
"default": "-",
|
654
|
-
"description": "当前选中地址的 id",
|
655
|
-
"value": {
|
656
|
-
"type": "string",
|
657
|
-
"kind": "expression"
|
658
|
-
}
|
659
|
-
},
|
660
|
-
{
|
661
|
-
"name": "list",
|
662
|
-
"default": "`[]`",
|
663
|
-
"description": "地址列表",
|
664
|
-
"value": {
|
665
|
-
"type": "Address[]",
|
666
|
-
"kind": "expression"
|
667
|
-
}
|
668
|
-
},
|
669
|
-
{
|
670
|
-
"name": "disabled-list",
|
671
|
-
"default": "`[]`",
|
672
|
-
"description": "不可配送地址列表",
|
673
|
-
"value": {
|
674
|
-
"type": "Address[]",
|
675
|
-
"kind": "expression"
|
676
|
-
}
|
677
|
-
},
|
678
|
-
{
|
679
|
-
"name": "disabled-text",
|
680
|
-
"default": "-",
|
681
|
-
"description": "不可配送提示文案",
|
682
|
-
"value": {
|
683
|
-
"type": "string",
|
684
|
-
"kind": "expression"
|
685
|
-
}
|
686
|
-
},
|
687
|
-
{
|
688
|
-
"name": "switchable",
|
689
|
-
"default": "`true`",
|
690
|
-
"description": "是否允许切换地址",
|
691
|
-
"value": {
|
692
|
-
"type": "boolean",
|
693
|
-
"kind": "expression"
|
694
|
-
}
|
695
|
-
},
|
696
|
-
{
|
697
|
-
"name": "add-button-text",
|
698
|
-
"default": "`新增地址`",
|
699
|
-
"description": "底部按钮文字",
|
700
|
-
"value": {
|
701
|
-
"type": "string",
|
702
|
-
"kind": "expression"
|
703
|
-
}
|
704
|
-
},
|
705
|
-
{
|
706
|
-
"name": "default-tag-text",
|
707
|
-
"default": "-",
|
708
|
-
"description": "默认地址标签文字",
|
709
|
-
"value": {
|
710
|
-
"type": "string",
|
711
|
-
"kind": "expression"
|
712
|
-
}
|
713
|
-
}
|
714
|
-
]
|
715
|
-
},
|
716
716
|
{
|
717
717
|
"name": "van-button",
|
718
718
|
"slots": [
|
@@ -2355,89 +2355,41 @@
|
|
2355
2355
|
]
|
2356
2356
|
},
|
2357
2357
|
{
|
2358
|
-
"name": "van-contact-
|
2358
|
+
"name": "van-contact-edit",
|
2359
2359
|
"slots": [],
|
2360
2360
|
"events": [
|
2361
2361
|
{
|
2362
|
-
"name": "
|
2363
|
-
"description": "
|
2362
|
+
"name": "save",
|
2363
|
+
"description": "点击保存按钮时触发"
|
2364
|
+
},
|
2365
|
+
{
|
2366
|
+
"name": "delete",
|
2367
|
+
"description": "点击删除按钮时触发"
|
2364
2368
|
}
|
2365
2369
|
],
|
2366
2370
|
"attributes": [
|
2367
2371
|
{
|
2368
|
-
"name": "
|
2369
|
-
"default": "`
|
2370
|
-
"description": "
|
2372
|
+
"name": "contact-info",
|
2373
|
+
"default": "`{}`",
|
2374
|
+
"description": "联系人信息",
|
2371
2375
|
"value": {
|
2372
|
-
"type": "
|
2376
|
+
"type": "Contact",
|
2373
2377
|
"kind": "expression"
|
2374
2378
|
}
|
2375
2379
|
},
|
2376
2380
|
{
|
2377
|
-
"name": "
|
2378
|
-
"default": "
|
2379
|
-
"description": "
|
2381
|
+
"name": "is-edit",
|
2382
|
+
"default": "`false`",
|
2383
|
+
"description": "是否为编辑联系人",
|
2380
2384
|
"value": {
|
2381
|
-
"type": "
|
2385
|
+
"type": "boolean",
|
2382
2386
|
"kind": "expression"
|
2383
2387
|
}
|
2384
2388
|
},
|
2385
2389
|
{
|
2386
|
-
"name": "
|
2387
|
-
"default": "
|
2388
|
-
"description": "
|
2389
|
-
"value": {
|
2390
|
-
"type": "string",
|
2391
|
-
"kind": "expression"
|
2392
|
-
}
|
2393
|
-
},
|
2394
|
-
{
|
2395
|
-
"name": "add-text",
|
2396
|
-
"default": "`添加联系人`",
|
2397
|
-
"description": "添加时的文案提示",
|
2398
|
-
"value": {
|
2399
|
-
"type": "string",
|
2400
|
-
"kind": "expression"
|
2401
|
-
}
|
2402
|
-
}
|
2403
|
-
]
|
2404
|
-
},
|
2405
|
-
{
|
2406
|
-
"name": "van-contact-edit",
|
2407
|
-
"slots": [],
|
2408
|
-
"events": [
|
2409
|
-
{
|
2410
|
-
"name": "save",
|
2411
|
-
"description": "点击保存按钮时触发"
|
2412
|
-
},
|
2413
|
-
{
|
2414
|
-
"name": "delete",
|
2415
|
-
"description": "点击删除按钮时触发"
|
2416
|
-
}
|
2417
|
-
],
|
2418
|
-
"attributes": [
|
2419
|
-
{
|
2420
|
-
"name": "contact-info",
|
2421
|
-
"default": "`{}`",
|
2422
|
-
"description": "联系人信息",
|
2423
|
-
"value": {
|
2424
|
-
"type": "Contact",
|
2425
|
-
"kind": "expression"
|
2426
|
-
}
|
2427
|
-
},
|
2428
|
-
{
|
2429
|
-
"name": "is-edit",
|
2430
|
-
"default": "`false`",
|
2431
|
-
"description": "是否为编辑联系人",
|
2432
|
-
"value": {
|
2433
|
-
"type": "boolean",
|
2434
|
-
"kind": "expression"
|
2435
|
-
}
|
2436
|
-
},
|
2437
|
-
{
|
2438
|
-
"name": "is-saving",
|
2439
|
-
"default": "`false`",
|
2440
|
-
"description": "是否显示保存按钮加载动画",
|
2390
|
+
"name": "is-saving",
|
2391
|
+
"default": "`false`",
|
2392
|
+
"description": "是否显示保存按钮加载动画",
|
2441
2393
|
"value": {
|
2442
2394
|
"type": "boolean",
|
2443
2395
|
"kind": "expression"
|
@@ -2537,6 +2489,54 @@
|
|
2537
2489
|
}
|
2538
2490
|
]
|
2539
2491
|
},
|
2492
|
+
{
|
2493
|
+
"name": "van-contact-card",
|
2494
|
+
"slots": [],
|
2495
|
+
"events": [
|
2496
|
+
{
|
2497
|
+
"name": "click",
|
2498
|
+
"description": "点击时触发"
|
2499
|
+
}
|
2500
|
+
],
|
2501
|
+
"attributes": [
|
2502
|
+
{
|
2503
|
+
"name": "type",
|
2504
|
+
"default": "`add`",
|
2505
|
+
"description": "卡片类型,可选值为 `edit`",
|
2506
|
+
"value": {
|
2507
|
+
"type": "string",
|
2508
|
+
"kind": "expression"
|
2509
|
+
}
|
2510
|
+
},
|
2511
|
+
{
|
2512
|
+
"name": "name",
|
2513
|
+
"default": "-",
|
2514
|
+
"description": "联系人姓名",
|
2515
|
+
"value": {
|
2516
|
+
"type": "string",
|
2517
|
+
"kind": "expression"
|
2518
|
+
}
|
2519
|
+
},
|
2520
|
+
{
|
2521
|
+
"name": "tel",
|
2522
|
+
"default": "-",
|
2523
|
+
"description": "联系人手机号",
|
2524
|
+
"value": {
|
2525
|
+
"type": "string",
|
2526
|
+
"kind": "expression"
|
2527
|
+
}
|
2528
|
+
},
|
2529
|
+
{
|
2530
|
+
"name": "add-text",
|
2531
|
+
"default": "`添加联系人`",
|
2532
|
+
"description": "添加时的文案提示",
|
2533
|
+
"value": {
|
2534
|
+
"type": "string",
|
2535
|
+
"kind": "expression"
|
2536
|
+
}
|
2537
|
+
}
|
2538
|
+
]
|
2539
|
+
},
|
2540
2540
|
{
|
2541
2541
|
"name": "van-count-down",
|
2542
2542
|
"slots": [
|
@@ -3055,6 +3055,45 @@
|
|
3055
3055
|
}
|
3056
3056
|
]
|
3057
3057
|
},
|
3058
|
+
{
|
3059
|
+
"name": "van-divider",
|
3060
|
+
"slots": [
|
3061
|
+
{
|
3062
|
+
"name": "default",
|
3063
|
+
"description": "内容"
|
3064
|
+
}
|
3065
|
+
],
|
3066
|
+
"events": [],
|
3067
|
+
"attributes": [
|
3068
|
+
{
|
3069
|
+
"name": "dashed",
|
3070
|
+
"default": "`false`",
|
3071
|
+
"description": "是否使用虚线",
|
3072
|
+
"value": {
|
3073
|
+
"type": "boolean",
|
3074
|
+
"kind": "expression"
|
3075
|
+
}
|
3076
|
+
},
|
3077
|
+
{
|
3078
|
+
"name": "hairline",
|
3079
|
+
"default": "`true`",
|
3080
|
+
"description": "是否使用 0.5px 线",
|
3081
|
+
"value": {
|
3082
|
+
"type": "boolean",
|
3083
|
+
"kind": "expression"
|
3084
|
+
}
|
3085
|
+
},
|
3086
|
+
{
|
3087
|
+
"name": "content-position",
|
3088
|
+
"default": "`center`",
|
3089
|
+
"description": "内容位置,可选值为`left` `right`",
|
3090
|
+
"value": {
|
3091
|
+
"type": "string",
|
3092
|
+
"kind": "expression"
|
3093
|
+
}
|
3094
|
+
}
|
3095
|
+
]
|
3096
|
+
},
|
3058
3097
|
{
|
3059
3098
|
"name": "van-dialog",
|
3060
3099
|
"slots": [
|
@@ -3303,45 +3342,6 @@
|
|
3303
3342
|
}
|
3304
3343
|
]
|
3305
3344
|
},
|
3306
|
-
{
|
3307
|
-
"name": "van-divider",
|
3308
|
-
"slots": [
|
3309
|
-
{
|
3310
|
-
"name": "default",
|
3311
|
-
"description": "内容"
|
3312
|
-
}
|
3313
|
-
],
|
3314
|
-
"events": [],
|
3315
|
-
"attributes": [
|
3316
|
-
{
|
3317
|
-
"name": "dashed",
|
3318
|
-
"default": "`false`",
|
3319
|
-
"description": "是否使用虚线",
|
3320
|
-
"value": {
|
3321
|
-
"type": "boolean",
|
3322
|
-
"kind": "expression"
|
3323
|
-
}
|
3324
|
-
},
|
3325
|
-
{
|
3326
|
-
"name": "hairline",
|
3327
|
-
"default": "`true`",
|
3328
|
-
"description": "是否使用 0.5px 线",
|
3329
|
-
"value": {
|
3330
|
-
"type": "boolean",
|
3331
|
-
"kind": "expression"
|
3332
|
-
}
|
3333
|
-
},
|
3334
|
-
{
|
3335
|
-
"name": "content-position",
|
3336
|
-
"default": "`center`",
|
3337
|
-
"description": "内容位置,可选值为`left` `right`",
|
3338
|
-
"value": {
|
3339
|
-
"type": "string",
|
3340
|
-
"kind": "expression"
|
3341
|
-
}
|
3342
|
-
}
|
3343
|
-
]
|
3344
|
-
},
|
3345
3345
|
{
|
3346
3346
|
"name": "van-dropdown-menu",
|
3347
3347
|
"slots": [
|
@@ -5362,175 +5362,187 @@
|
|
5362
5362
|
"attributes": []
|
5363
5363
|
},
|
5364
5364
|
{
|
5365
|
-
"name": "van-
|
5365
|
+
"name": "van-number-keyboard",
|
5366
5366
|
"slots": [
|
5367
5367
|
{
|
5368
|
-
"name": "
|
5369
|
-
"description": "
|
5368
|
+
"name": "delete",
|
5369
|
+
"description": "自定义删除按键内容"
|
5370
|
+
},
|
5371
|
+
{
|
5372
|
+
"name": "extra-key",
|
5373
|
+
"description": "自定义左下角按键内容"
|
5374
|
+
},
|
5375
|
+
{
|
5376
|
+
"name": "title-left",
|
5377
|
+
"description": "自定义标题栏左侧内容"
|
5370
5378
|
}
|
5371
5379
|
],
|
5372
5380
|
"events": [
|
5373
5381
|
{
|
5374
|
-
"name": "
|
5375
|
-
"description": "
|
5382
|
+
"name": "input",
|
5383
|
+
"description": "点击按键时触发"
|
5384
|
+
},
|
5385
|
+
{
|
5386
|
+
"name": "delete",
|
5387
|
+
"description": "点击删除键时触发"
|
5388
|
+
},
|
5389
|
+
{
|
5390
|
+
"name": "close",
|
5391
|
+
"description": "点击关闭按钮时触发"
|
5392
|
+
},
|
5393
|
+
{
|
5394
|
+
"name": "blur",
|
5395
|
+
"description": "点击关闭按钮或非键盘区域时触发"
|
5396
|
+
},
|
5397
|
+
{
|
5398
|
+
"name": "show",
|
5399
|
+
"description": "键盘完全弹出时触发"
|
5400
|
+
},
|
5401
|
+
{
|
5402
|
+
"name": "hide",
|
5403
|
+
"description": "键盘完全收起时触发"
|
5376
5404
|
}
|
5377
5405
|
],
|
5378
5406
|
"attributes": [
|
5379
5407
|
{
|
5380
|
-
"name": "
|
5381
|
-
"default": "
|
5382
|
-
"description": "
|
5408
|
+
"name": "v-model (value)",
|
5409
|
+
"default": "-",
|
5410
|
+
"description": "当前输入值",
|
5383
5411
|
"value": {
|
5384
|
-
"type": "
|
5412
|
+
"type": "string",
|
5385
5413
|
"kind": "expression"
|
5386
5414
|
}
|
5387
5415
|
},
|
5388
5416
|
{
|
5389
|
-
"name": "
|
5390
|
-
"default": "
|
5391
|
-
"description": "
|
5417
|
+
"name": "show",
|
5418
|
+
"default": "-",
|
5419
|
+
"description": "是否显示键盘",
|
5392
5420
|
"value": {
|
5393
|
-
"type": "
|
5421
|
+
"type": "boolean",
|
5394
5422
|
"kind": "expression"
|
5395
5423
|
}
|
5396
5424
|
},
|
5397
5425
|
{
|
5398
|
-
"name": "
|
5399
|
-
"default": "
|
5400
|
-
"description": "
|
5426
|
+
"name": "title",
|
5427
|
+
"default": "-",
|
5428
|
+
"description": "键盘标题",
|
5401
5429
|
"value": {
|
5402
|
-
"type": "
|
5430
|
+
"type": "string",
|
5403
5431
|
"kind": "expression"
|
5404
5432
|
}
|
5405
5433
|
},
|
5406
5434
|
{
|
5407
|
-
"name": "
|
5408
|
-
"default": "
|
5409
|
-
"description": "
|
5435
|
+
"name": "theme",
|
5436
|
+
"default": "`default`",
|
5437
|
+
"description": "样式风格,可选值为 `custom`",
|
5410
5438
|
"value": {
|
5411
5439
|
"type": "string",
|
5412
5440
|
"kind": "expression"
|
5413
5441
|
}
|
5414
5442
|
},
|
5415
5443
|
{
|
5416
|
-
"name": "
|
5444
|
+
"name": "maxlength",
|
5417
5445
|
"default": "-",
|
5418
|
-
"description": "
|
5446
|
+
"description": "输入值最大长度",
|
5419
5447
|
"value": {
|
5420
|
-
"type": "
|
5448
|
+
"type": "number | string",
|
5421
5449
|
"kind": "expression"
|
5422
5450
|
}
|
5423
5451
|
},
|
5424
5452
|
{
|
5425
|
-
"name": "
|
5453
|
+
"name": "transition",
|
5426
5454
|
"default": "`true`",
|
5427
|
-
"description": "
|
5455
|
+
"description": "是否开启过场动画",
|
5428
5456
|
"value": {
|
5429
5457
|
"type": "boolean",
|
5430
5458
|
"kind": "expression"
|
5431
5459
|
}
|
5432
|
-
}
|
5433
|
-
]
|
5434
|
-
},
|
5435
|
-
{
|
5436
|
-
"name": "van-pagination",
|
5437
|
-
"slots": [
|
5438
|
-
{
|
5439
|
-
"name": "page",
|
5440
|
-
"description": "自定义页码"
|
5441
5460
|
},
|
5442
5461
|
{
|
5443
|
-
"name": "
|
5444
|
-
"
|
5462
|
+
"name": "z-index",
|
5463
|
+
"default": "`100`",
|
5464
|
+
"description": "键盘 z-index 层级",
|
5465
|
+
"value": {
|
5466
|
+
"type": "number | string",
|
5467
|
+
"kind": "expression"
|
5468
|
+
}
|
5445
5469
|
},
|
5446
5470
|
{
|
5447
|
-
"name": "
|
5448
|
-
"
|
5449
|
-
|
5450
|
-
],
|
5451
|
-
"events": [
|
5452
|
-
{
|
5453
|
-
"name": "change",
|
5454
|
-
"description": "页码改变时触发"
|
5455
|
-
}
|
5456
|
-
],
|
5457
|
-
"attributes": [
|
5458
|
-
{
|
5459
|
-
"name": "v-model",
|
5460
|
-
"default": "-",
|
5461
|
-
"description": "当前页码",
|
5471
|
+
"name": "extra-key",
|
5472
|
+
"default": "`''`",
|
5473
|
+
"description": "底部额外按键的内容",
|
5462
5474
|
"value": {
|
5463
|
-
"type": "
|
5475
|
+
"type": "string | string[]",
|
5464
5476
|
"kind": "expression"
|
5465
5477
|
}
|
5466
5478
|
},
|
5467
5479
|
{
|
5468
|
-
"name": "
|
5469
|
-
"default": "
|
5470
|
-
"description": "
|
5480
|
+
"name": "close-button-text",
|
5481
|
+
"default": "-",
|
5482
|
+
"description": "关闭按钮文字,空则不展示",
|
5471
5483
|
"value": {
|
5472
5484
|
"type": "string",
|
5473
5485
|
"kind": "expression"
|
5474
5486
|
}
|
5475
5487
|
},
|
5476
5488
|
{
|
5477
|
-
"name": "
|
5478
|
-
"default": "
|
5479
|
-
"description": "
|
5489
|
+
"name": "delete-button-text",
|
5490
|
+
"default": "-",
|
5491
|
+
"description": "删除按钮文字,空则展示删除图标",
|
5480
5492
|
"value": {
|
5481
5493
|
"type": "string",
|
5482
5494
|
"kind": "expression"
|
5483
5495
|
}
|
5484
5496
|
},
|
5485
5497
|
{
|
5486
|
-
"name": "
|
5487
|
-
"default": "
|
5488
|
-
"description": "
|
5498
|
+
"name": "close-button-loading",
|
5499
|
+
"default": "`false`",
|
5500
|
+
"description": "是否将关闭按钮设置为加载中状态,仅在 `theme=\"custom\"` 时有效",
|
5489
5501
|
"value": {
|
5490
|
-
"type": "
|
5502
|
+
"type": "boolean",
|
5491
5503
|
"kind": "expression"
|
5492
5504
|
}
|
5493
5505
|
},
|
5494
5506
|
{
|
5495
|
-
"name": "
|
5496
|
-
"default": "
|
5497
|
-
"description": "
|
5507
|
+
"name": "show-delete-key",
|
5508
|
+
"default": "`true`",
|
5509
|
+
"description": "是否展示删除图标",
|
5498
5510
|
"value": {
|
5499
|
-
"type": "
|
5511
|
+
"type": "boolean",
|
5500
5512
|
"kind": "expression"
|
5501
5513
|
}
|
5502
5514
|
},
|
5503
5515
|
{
|
5504
|
-
"name": "
|
5505
|
-
"default": "`
|
5506
|
-
"description": "
|
5516
|
+
"name": "hide-on-click-outside",
|
5517
|
+
"default": "`true`",
|
5518
|
+
"description": "点击外部时是否收起键盘",
|
5507
5519
|
"value": {
|
5508
|
-
"type": "
|
5520
|
+
"type": "boolean",
|
5509
5521
|
"kind": "expression"
|
5510
5522
|
}
|
5511
5523
|
},
|
5512
5524
|
{
|
5513
|
-
"name": "
|
5514
|
-
"default": "
|
5515
|
-
"description": "
|
5525
|
+
"name": "get-container",
|
5526
|
+
"default": "-",
|
5527
|
+
"description": "指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi)",
|
5516
5528
|
"value": {
|
5517
|
-
"type": "
|
5529
|
+
"type": "string | () => Element",
|
5518
5530
|
"kind": "expression"
|
5519
5531
|
}
|
5520
5532
|
},
|
5521
5533
|
{
|
5522
|
-
"name": "
|
5523
|
-
"default": "`
|
5524
|
-
"description": "
|
5534
|
+
"name": "safe-area-inset-bottom",
|
5535
|
+
"default": "`true`",
|
5536
|
+
"description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei)",
|
5525
5537
|
"value": {
|
5526
|
-
"type": "
|
5538
|
+
"type": "boolean",
|
5527
5539
|
"kind": "expression"
|
5528
5540
|
}
|
5529
5541
|
},
|
5530
5542
|
{
|
5531
|
-
"name": "
|
5543
|
+
"name": "random-key-order",
|
5532
5544
|
"default": "`false`",
|
5533
|
-
"description": "
|
5545
|
+
"description": "是否将通过随机顺序展示按键",
|
5534
5546
|
"value": {
|
5535
5547
|
"type": "boolean",
|
5536
5548
|
"kind": "expression"
|
@@ -5539,189 +5551,246 @@
|
|
5539
5551
|
]
|
5540
5552
|
},
|
5541
5553
|
{
|
5542
|
-
"name": "van-
|
5554
|
+
"name": "van-overlay",
|
5543
5555
|
"slots": [
|
5544
5556
|
{
|
5545
|
-
"name": "
|
5546
|
-
"description": "
|
5547
|
-
},
|
5548
|
-
{
|
5549
|
-
"name": "extra-key",
|
5550
|
-
"description": "自定义左下角按键内容"
|
5551
|
-
},
|
5552
|
-
{
|
5553
|
-
"name": "title-left",
|
5554
|
-
"description": "自定义标题栏左侧内容"
|
5557
|
+
"name": "default",
|
5558
|
+
"description": "默认插槽,用于在遮罩层上方嵌入内容"
|
5555
5559
|
}
|
5556
5560
|
],
|
5557
5561
|
"events": [
|
5558
5562
|
{
|
5559
|
-
"name": "
|
5560
|
-
"description": "
|
5561
|
-
}
|
5562
|
-
|
5563
|
-
|
5564
|
-
"description": "点击删除键时触发"
|
5565
|
-
},
|
5563
|
+
"name": "click",
|
5564
|
+
"description": "点击时触发"
|
5565
|
+
}
|
5566
|
+
],
|
5567
|
+
"attributes": [
|
5566
5568
|
{
|
5567
|
-
"name": "
|
5568
|
-
"
|
5569
|
+
"name": "show",
|
5570
|
+
"default": "`false`",
|
5571
|
+
"description": "是否展示遮罩层",
|
5572
|
+
"value": {
|
5573
|
+
"type": "boolean",
|
5574
|
+
"kind": "expression"
|
5575
|
+
}
|
5569
5576
|
},
|
5570
5577
|
{
|
5571
|
-
"name": "
|
5572
|
-
"
|
5578
|
+
"name": "z-index",
|
5579
|
+
"default": "`1`",
|
5580
|
+
"description": "z-index 层级",
|
5581
|
+
"value": {
|
5582
|
+
"type": "number | string",
|
5583
|
+
"kind": "expression"
|
5584
|
+
}
|
5573
5585
|
},
|
5574
5586
|
{
|
5575
|
-
"name": "
|
5576
|
-
"
|
5587
|
+
"name": "duration",
|
5588
|
+
"default": "`0.3`",
|
5589
|
+
"description": "动画时长,单位秒",
|
5590
|
+
"value": {
|
5591
|
+
"type": "number | string",
|
5592
|
+
"kind": "expression"
|
5593
|
+
}
|
5577
5594
|
},
|
5578
5595
|
{
|
5579
|
-
"name": "
|
5580
|
-
"description": "键盘完全收起时触发"
|
5581
|
-
}
|
5582
|
-
],
|
5583
|
-
"attributes": [
|
5584
|
-
{
|
5585
|
-
"name": "v-model (value)",
|
5596
|
+
"name": "class-name",
|
5586
5597
|
"default": "-",
|
5587
|
-
"description": "
|
5598
|
+
"description": "自定义类名",
|
5588
5599
|
"value": {
|
5589
5600
|
"type": "string",
|
5590
5601
|
"kind": "expression"
|
5591
5602
|
}
|
5592
5603
|
},
|
5593
5604
|
{
|
5594
|
-
"name": "
|
5605
|
+
"name": "custom-style",
|
5595
5606
|
"default": "-",
|
5596
|
-
"description": "
|
5607
|
+
"description": "自定义样式",
|
5597
5608
|
"value": {
|
5598
|
-
"type": "
|
5609
|
+
"type": "object",
|
5599
5610
|
"kind": "expression"
|
5600
5611
|
}
|
5601
5612
|
},
|
5602
5613
|
{
|
5603
|
-
"name": "
|
5604
|
-
"default": "
|
5605
|
-
"description": "
|
5614
|
+
"name": "lock-scroll",
|
5615
|
+
"default": "`true`",
|
5616
|
+
"description": "是否锁定背景滚动,锁定时蒙层里的内容也将无法滚动",
|
5606
5617
|
"value": {
|
5607
|
-
"type": "
|
5618
|
+
"type": "boolean",
|
5608
5619
|
"kind": "expression"
|
5609
5620
|
}
|
5621
|
+
}
|
5622
|
+
]
|
5623
|
+
},
|
5624
|
+
{
|
5625
|
+
"name": "van-picker",
|
5626
|
+
"slots": [
|
5627
|
+
{
|
5628
|
+
"name": "default",
|
5629
|
+
"description": "自定义整个顶部栏的内容"
|
5610
5630
|
},
|
5611
5631
|
{
|
5612
|
-
"name": "
|
5613
|
-
"
|
5614
|
-
|
5632
|
+
"name": "title",
|
5633
|
+
"description": "自定义标题内容"
|
5634
|
+
},
|
5635
|
+
{
|
5636
|
+
"name": "confirm",
|
5637
|
+
"description": "自定义确认按钮内容"
|
5638
|
+
},
|
5639
|
+
{
|
5640
|
+
"name": "cancel",
|
5641
|
+
"description": "自定义取消按钮内容"
|
5642
|
+
},
|
5643
|
+
{
|
5644
|
+
"name": "option",
|
5645
|
+
"description": "自定义选项内容"
|
5646
|
+
},
|
5647
|
+
{
|
5648
|
+
"name": "columns-top",
|
5649
|
+
"description": "自定义选项上方内容"
|
5650
|
+
},
|
5651
|
+
{
|
5652
|
+
"name": "columns-bottom",
|
5653
|
+
"description": "自定义选项下方内容"
|
5654
|
+
}
|
5655
|
+
],
|
5656
|
+
"events": [
|
5657
|
+
{
|
5658
|
+
"name": "confirm",
|
5659
|
+
"description": "点击完成按钮时触发"
|
5660
|
+
},
|
5661
|
+
{
|
5662
|
+
"name": "cancel",
|
5663
|
+
"description": "点击取消按钮时触发"
|
5664
|
+
},
|
5665
|
+
{
|
5666
|
+
"name": "change",
|
5667
|
+
"description": "选项改变时触发"
|
5668
|
+
}
|
5669
|
+
],
|
5670
|
+
"attributes": [
|
5671
|
+
{
|
5672
|
+
"name": "columns",
|
5673
|
+
"default": "`[]`",
|
5674
|
+
"description": "对象数组,配置每一列显示的数据",
|
5615
5675
|
"value": {
|
5616
|
-
"type": "
|
5676
|
+
"type": "Column[]",
|
5617
5677
|
"kind": "expression"
|
5618
5678
|
}
|
5619
5679
|
},
|
5620
5680
|
{
|
5621
|
-
"name": "
|
5681
|
+
"name": "title",
|
5622
5682
|
"default": "-",
|
5623
|
-
"description": "
|
5683
|
+
"description": "顶部栏标题",
|
5624
5684
|
"value": {
|
5625
|
-
"type": "
|
5685
|
+
"type": "string",
|
5626
5686
|
"kind": "expression"
|
5627
5687
|
}
|
5628
5688
|
},
|
5629
5689
|
{
|
5630
|
-
"name": "
|
5631
|
-
"default": "
|
5632
|
-
"description": "
|
5690
|
+
"name": "confirm-button-text",
|
5691
|
+
"default": "`确认`",
|
5692
|
+
"description": "确认按钮文字",
|
5633
5693
|
"value": {
|
5634
|
-
"type": "
|
5694
|
+
"type": "string",
|
5635
5695
|
"kind": "expression"
|
5636
5696
|
}
|
5637
5697
|
},
|
5638
5698
|
{
|
5639
|
-
"name": "
|
5640
|
-
"default": "
|
5641
|
-
"description": "
|
5699
|
+
"name": "cancel-button-text",
|
5700
|
+
"default": "`取消`",
|
5701
|
+
"description": "取消按钮文字",
|
5642
5702
|
"value": {
|
5643
|
-
"type": "
|
5703
|
+
"type": "string",
|
5644
5704
|
"kind": "expression"
|
5645
5705
|
}
|
5646
5706
|
},
|
5647
5707
|
{
|
5648
|
-
"name": "
|
5649
|
-
"default": "`
|
5650
|
-
"description": "
|
5708
|
+
"name": "value-key",
|
5709
|
+
"default": "`text`",
|
5710
|
+
"description": "选项对象中,选项文字对应的键名",
|
5651
5711
|
"value": {
|
5652
|
-
"type": "string
|
5712
|
+
"type": "string",
|
5653
5713
|
"kind": "expression"
|
5654
5714
|
}
|
5655
5715
|
},
|
5656
5716
|
{
|
5657
|
-
"name": "
|
5658
|
-
"default": "
|
5659
|
-
"description": "
|
5717
|
+
"name": "toolbar-position",
|
5718
|
+
"default": "`top`",
|
5719
|
+
"description": "顶部栏位置,可选值为`bottom`",
|
5660
5720
|
"value": {
|
5661
5721
|
"type": "string",
|
5662
5722
|
"kind": "expression"
|
5663
5723
|
}
|
5664
5724
|
},
|
5665
5725
|
{
|
5666
|
-
"name": "
|
5667
|
-
"default": "
|
5668
|
-
"description": "
|
5726
|
+
"name": "loading",
|
5727
|
+
"default": "`false`",
|
5728
|
+
"description": "是否显示加载状态",
|
5669
5729
|
"value": {
|
5670
|
-
"type": "
|
5730
|
+
"type": "boolean",
|
5671
5731
|
"kind": "expression"
|
5672
5732
|
}
|
5673
5733
|
},
|
5674
5734
|
{
|
5675
|
-
"name": "
|
5735
|
+
"name": "readonly",
|
5676
5736
|
"default": "`false`",
|
5677
|
-
"description": "
|
5737
|
+
"description": "是否为只读状态,只读状态下无法切换选项",
|
5678
5738
|
"value": {
|
5679
5739
|
"type": "boolean",
|
5680
5740
|
"kind": "expression"
|
5681
5741
|
}
|
5682
5742
|
},
|
5683
5743
|
{
|
5684
|
-
"name": "show-
|
5685
|
-
"default": "`
|
5686
|
-
"description": "
|
5744
|
+
"name": "show-toolbar",
|
5745
|
+
"default": "`false`",
|
5746
|
+
"description": "是否显示顶部栏",
|
5687
5747
|
"value": {
|
5688
5748
|
"type": "boolean",
|
5689
5749
|
"kind": "expression"
|
5690
5750
|
}
|
5691
5751
|
},
|
5692
5752
|
{
|
5693
|
-
"name": "
|
5753
|
+
"name": "allow-html",
|
5694
5754
|
"default": "`true`",
|
5695
|
-
"description": "
|
5755
|
+
"description": "是否允许选项内容中渲染 HTML",
|
5696
5756
|
"value": {
|
5697
5757
|
"type": "boolean",
|
5698
5758
|
"kind": "expression"
|
5699
5759
|
}
|
5700
5760
|
},
|
5701
5761
|
{
|
5702
|
-
"name": "
|
5703
|
-
"default": "
|
5704
|
-
"description": "
|
5762
|
+
"name": "default-index",
|
5763
|
+
"default": "`0`",
|
5764
|
+
"description": "单列选择时,默认选中项的索引",
|
5705
5765
|
"value": {
|
5706
|
-
"type": "
|
5766
|
+
"type": "number | string",
|
5707
5767
|
"kind": "expression"
|
5708
5768
|
}
|
5709
5769
|
},
|
5710
5770
|
{
|
5711
|
-
"name": "
|
5712
|
-
"default": "`
|
5713
|
-
"description": "
|
5771
|
+
"name": "item-height",
|
5772
|
+
"default": "`44`",
|
5773
|
+
"description": "选项高度,支持 `px` `vw` `vh` `rem` 单位,默认 `px`",
|
5714
5774
|
"value": {
|
5715
|
-
"type": "
|
5775
|
+
"type": "number | string",
|
5716
5776
|
"kind": "expression"
|
5717
5777
|
}
|
5718
5778
|
},
|
5719
5779
|
{
|
5720
|
-
"name": "
|
5721
|
-
"default": "`
|
5722
|
-
"description": "
|
5780
|
+
"name": "visible-item-count",
|
5781
|
+
"default": "`6`",
|
5782
|
+
"description": "可见的选项个数",
|
5723
5783
|
"value": {
|
5724
|
-
"type": "
|
5784
|
+
"type": "number | string",
|
5785
|
+
"kind": "expression"
|
5786
|
+
}
|
5787
|
+
},
|
5788
|
+
{
|
5789
|
+
"name": "swipe-duration",
|
5790
|
+
"default": "`1000`",
|
5791
|
+
"description": "快速滑动时惯性滚动的时长,单位 `ms`",
|
5792
|
+
"value": {
|
5793
|
+
"type": "number | string",
|
5725
5794
|
"kind": "expression"
|
5726
5795
|
}
|
5727
5796
|
}
|
@@ -5783,6 +5852,112 @@
|
|
5783
5852
|
}
|
5784
5853
|
]
|
5785
5854
|
},
|
5855
|
+
{
|
5856
|
+
"name": "van-pagination",
|
5857
|
+
"slots": [
|
5858
|
+
{
|
5859
|
+
"name": "page",
|
5860
|
+
"description": "自定义页码"
|
5861
|
+
},
|
5862
|
+
{
|
5863
|
+
"name": "prev-text",
|
5864
|
+
"description": "自定义上一页按钮文字"
|
5865
|
+
},
|
5866
|
+
{
|
5867
|
+
"name": "next-text",
|
5868
|
+
"description": "自定义下一页按钮文字"
|
5869
|
+
}
|
5870
|
+
],
|
5871
|
+
"events": [
|
5872
|
+
{
|
5873
|
+
"name": "change",
|
5874
|
+
"description": "页码改变时触发"
|
5875
|
+
}
|
5876
|
+
],
|
5877
|
+
"attributes": [
|
5878
|
+
{
|
5879
|
+
"name": "v-model",
|
5880
|
+
"default": "-",
|
5881
|
+
"description": "当前页码",
|
5882
|
+
"value": {
|
5883
|
+
"type": "number",
|
5884
|
+
"kind": "expression"
|
5885
|
+
}
|
5886
|
+
},
|
5887
|
+
{
|
5888
|
+
"name": "mode",
|
5889
|
+
"default": "`multi`",
|
5890
|
+
"description": "显示模式,可选值为 `simple`",
|
5891
|
+
"value": {
|
5892
|
+
"type": "string",
|
5893
|
+
"kind": "expression"
|
5894
|
+
}
|
5895
|
+
},
|
5896
|
+
{
|
5897
|
+
"name": "prev-text",
|
5898
|
+
"default": "`上一页`",
|
5899
|
+
"description": "上一页按钮文字",
|
5900
|
+
"value": {
|
5901
|
+
"type": "string",
|
5902
|
+
"kind": "expression"
|
5903
|
+
}
|
5904
|
+
},
|
5905
|
+
{
|
5906
|
+
"name": "next-text",
|
5907
|
+
"default": "`下一页`",
|
5908
|
+
"description": "下一页按钮文字",
|
5909
|
+
"value": {
|
5910
|
+
"type": "string",
|
5911
|
+
"kind": "expression"
|
5912
|
+
}
|
5913
|
+
},
|
5914
|
+
{
|
5915
|
+
"name": "page-count",
|
5916
|
+
"default": "根据页数计算",
|
5917
|
+
"description": "总页数",
|
5918
|
+
"value": {
|
5919
|
+
"type": "number | string",
|
5920
|
+
"kind": "expression"
|
5921
|
+
}
|
5922
|
+
},
|
5923
|
+
{
|
5924
|
+
"name": "total-items",
|
5925
|
+
"default": "`0`",
|
5926
|
+
"description": "总记录数",
|
5927
|
+
"value": {
|
5928
|
+
"type": "number | string",
|
5929
|
+
"kind": "expression"
|
5930
|
+
}
|
5931
|
+
},
|
5932
|
+
{
|
5933
|
+
"name": "items-per-page",
|
5934
|
+
"default": "`10`",
|
5935
|
+
"description": "每页记录数",
|
5936
|
+
"value": {
|
5937
|
+
"type": "number | string",
|
5938
|
+
"kind": "expression"
|
5939
|
+
}
|
5940
|
+
},
|
5941
|
+
{
|
5942
|
+
"name": "show-page-size",
|
5943
|
+
"default": "`5`",
|
5944
|
+
"description": "显示的页码个数",
|
5945
|
+
"value": {
|
5946
|
+
"type": "number | string",
|
5947
|
+
"kind": "expression"
|
5948
|
+
}
|
5949
|
+
},
|
5950
|
+
{
|
5951
|
+
"name": "force-ellipses",
|
5952
|
+
"default": "`false`",
|
5953
|
+
"description": "是否显示省略号",
|
5954
|
+
"value": {
|
5955
|
+
"type": "boolean",
|
5956
|
+
"kind": "expression"
|
5957
|
+
}
|
5958
|
+
}
|
5959
|
+
]
|
5960
|
+
},
|
5786
5961
|
{
|
5787
5962
|
"name": "van-password-input",
|
5788
5963
|
"slots": [],
|
@@ -5859,175 +6034,126 @@
|
|
5859
6034
|
]
|
5860
6035
|
},
|
5861
6036
|
{
|
5862
|
-
"name": "van-
|
5863
|
-
"slots": [
|
5864
|
-
{
|
5865
|
-
"name": "default",
|
5866
|
-
"description": "自定义整个顶部栏的内容"
|
5867
|
-
},
|
5868
|
-
{
|
5869
|
-
"name": "title",
|
5870
|
-
"description": "自定义标题内容"
|
5871
|
-
},
|
5872
|
-
{
|
5873
|
-
"name": "confirm",
|
5874
|
-
"description": "自定义确认按钮内容"
|
5875
|
-
},
|
5876
|
-
{
|
5877
|
-
"name": "cancel",
|
5878
|
-
"description": "自定义取消按钮内容"
|
5879
|
-
},
|
5880
|
-
{
|
5881
|
-
"name": "option",
|
5882
|
-
"description": "自定义选项内容"
|
5883
|
-
},
|
6037
|
+
"name": "van-popover",
|
6038
|
+
"slots": [
|
5884
6039
|
{
|
5885
|
-
"name": "
|
5886
|
-
"description": "
|
6040
|
+
"name": "default",
|
6041
|
+
"description": "自定义菜单内容"
|
5887
6042
|
},
|
5888
6043
|
{
|
5889
|
-
"name": "
|
5890
|
-
"description": "
|
6044
|
+
"name": "reference",
|
6045
|
+
"description": "触发 Popover 显示的元素内容"
|
5891
6046
|
}
|
5892
6047
|
],
|
5893
6048
|
"events": [
|
5894
6049
|
{
|
5895
|
-
"name": "
|
5896
|
-
"description": "
|
6050
|
+
"name": "select",
|
6051
|
+
"description": "点击选项时触发"
|
5897
6052
|
},
|
5898
6053
|
{
|
5899
|
-
"name": "
|
5900
|
-
"description": "
|
6054
|
+
"name": "open",
|
6055
|
+
"description": "打开菜单时触发"
|
5901
6056
|
},
|
5902
6057
|
{
|
5903
|
-
"name": "
|
5904
|
-
"description": "
|
6058
|
+
"name": "close",
|
6059
|
+
"description": "关闭菜单时触发"
|
6060
|
+
},
|
6061
|
+
{
|
6062
|
+
"name": "opened",
|
6063
|
+
"description": "打开菜单且动画结束后触发"
|
6064
|
+
},
|
6065
|
+
{
|
6066
|
+
"name": "closed",
|
6067
|
+
"description": "关闭菜单且动画结束后触发"
|
5905
6068
|
}
|
5906
6069
|
],
|
5907
6070
|
"attributes": [
|
5908
6071
|
{
|
5909
|
-
"name": "
|
5910
|
-
"default": "`
|
5911
|
-
"description": "
|
5912
|
-
"value": {
|
5913
|
-
"type": "Column[]",
|
5914
|
-
"kind": "expression"
|
5915
|
-
}
|
5916
|
-
},
|
5917
|
-
{
|
5918
|
-
"name": "title",
|
5919
|
-
"default": "-",
|
5920
|
-
"description": "顶部栏标题",
|
6072
|
+
"name": "v-model",
|
6073
|
+
"default": "`false`",
|
6074
|
+
"description": "是否展示气泡弹出层",
|
5921
6075
|
"value": {
|
5922
|
-
"type": "
|
6076
|
+
"type": "boolean",
|
5923
6077
|
"kind": "expression"
|
5924
6078
|
}
|
5925
6079
|
},
|
5926
6080
|
{
|
5927
|
-
"name": "
|
5928
|
-
"default": "
|
5929
|
-
"description": "
|
6081
|
+
"name": "actions",
|
6082
|
+
"default": "`[]`",
|
6083
|
+
"description": "选项列表",
|
5930
6084
|
"value": {
|
5931
|
-
"type": "
|
6085
|
+
"type": "Action[]",
|
5932
6086
|
"kind": "expression"
|
5933
6087
|
}
|
5934
6088
|
},
|
5935
6089
|
{
|
5936
|
-
"name": "
|
5937
|
-
"default": "
|
5938
|
-
"description": "
|
6090
|
+
"name": "placement",
|
6091
|
+
"default": "`bottom`",
|
6092
|
+
"description": "弹出位置",
|
5939
6093
|
"value": {
|
5940
6094
|
"type": "string",
|
5941
6095
|
"kind": "expression"
|
5942
6096
|
}
|
5943
6097
|
},
|
5944
6098
|
{
|
5945
|
-
"name": "
|
5946
|
-
"default": "`
|
5947
|
-
"description": "
|
6099
|
+
"name": "theme",
|
6100
|
+
"default": "`light`",
|
6101
|
+
"description": "主题风格,可选值为 `dark`",
|
5948
6102
|
"value": {
|
5949
6103
|
"type": "string",
|
5950
6104
|
"kind": "expression"
|
5951
6105
|
}
|
5952
6106
|
},
|
5953
6107
|
{
|
5954
|
-
"name": "
|
5955
|
-
"
|
5956
|
-
"description": "顶部栏位置,可选值为`bottom`",
|
6108
|
+
"name": "trigger",
|
6109
|
+
"description": "触发方式,可选值为 `click`",
|
5957
6110
|
"value": {
|
5958
|
-
"type": "
|
6111
|
+
"type": "-",
|
5959
6112
|
"kind": "expression"
|
5960
6113
|
}
|
5961
6114
|
},
|
5962
6115
|
{
|
5963
|
-
"name": "
|
5964
|
-
"default": "`
|
5965
|
-
"description": "
|
6116
|
+
"name": "offset",
|
6117
|
+
"default": "`[0, 8]`",
|
6118
|
+
"description": "出现位置的偏移量",
|
5966
6119
|
"value": {
|
5967
|
-
"type": "
|
6120
|
+
"type": "[number, number]",
|
5968
6121
|
"kind": "expression"
|
5969
6122
|
}
|
5970
6123
|
},
|
5971
6124
|
{
|
5972
|
-
"name": "
|
6125
|
+
"name": "overlay",
|
5973
6126
|
"default": "`false`",
|
5974
|
-
"description": "
|
6127
|
+
"description": "是否显示遮罩层",
|
5975
6128
|
"value": {
|
5976
6129
|
"type": "boolean",
|
5977
6130
|
"kind": "expression"
|
5978
6131
|
}
|
5979
6132
|
},
|
5980
6133
|
{
|
5981
|
-
"name": "
|
5982
|
-
"default": "`
|
5983
|
-
"description": "
|
6134
|
+
"name": "close-on-click-action",
|
6135
|
+
"default": "`true`",
|
6136
|
+
"description": "是否在点击选项后关闭",
|
5984
6137
|
"value": {
|
5985
6138
|
"type": "boolean",
|
5986
6139
|
"kind": "expression"
|
5987
6140
|
}
|
5988
6141
|
},
|
5989
6142
|
{
|
5990
|
-
"name": "
|
6143
|
+
"name": "close-on-click-outside",
|
5991
6144
|
"default": "`true`",
|
5992
|
-
"description": "
|
6145
|
+
"description": "是否在点击外部元素后关闭菜单",
|
5993
6146
|
"value": {
|
5994
6147
|
"type": "boolean",
|
5995
6148
|
"kind": "expression"
|
5996
6149
|
}
|
5997
6150
|
},
|
5998
6151
|
{
|
5999
|
-
"name": "
|
6000
|
-
"default": "`
|
6001
|
-
"description": "
|
6002
|
-
"value": {
|
6003
|
-
"type": "number | string",
|
6004
|
-
"kind": "expression"
|
6005
|
-
}
|
6006
|
-
},
|
6007
|
-
{
|
6008
|
-
"name": "item-height",
|
6009
|
-
"default": "`44`",
|
6010
|
-
"description": "选项高度,支持 `px` `vw` `vh` `rem` 单位,默认 `px`",
|
6011
|
-
"value": {
|
6012
|
-
"type": "number | string",
|
6013
|
-
"kind": "expression"
|
6014
|
-
}
|
6015
|
-
},
|
6016
|
-
{
|
6017
|
-
"name": "visible-item-count",
|
6018
|
-
"default": "`6`",
|
6019
|
-
"description": "可见的选项个数",
|
6020
|
-
"value": {
|
6021
|
-
"type": "number | string",
|
6022
|
-
"kind": "expression"
|
6023
|
-
}
|
6024
|
-
},
|
6025
|
-
{
|
6026
|
-
"name": "swipe-duration",
|
6027
|
-
"default": "`1000`",
|
6028
|
-
"description": "快速滑动时惯性滚动的时长,单位 `ms`",
|
6152
|
+
"name": "get-container",
|
6153
|
+
"default": "`body`",
|
6154
|
+
"description": "指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi)",
|
6029
6155
|
"value": {
|
6030
|
-
"type": "
|
6156
|
+
"type": "string | () => Element",
|
6031
6157
|
"kind": "expression"
|
6032
6158
|
}
|
6033
6159
|
}
|
@@ -6189,169 +6315,43 @@
|
|
6189
6315
|
"default": "`top-right`",
|
6190
6316
|
"description": "关闭图标位置,可选值为`top-left`<br>`bottom-left` `bottom-right`",
|
6191
6317
|
"value": {
|
6192
|
-
"type": "string",
|
6193
|
-
"kind": "expression"
|
6194
|
-
}
|
6195
|
-
},
|
6196
|
-
{
|
6197
|
-
"name": "transition",
|
6198
|
-
"default": "-",
|
6199
|
-
"description": "动画类名,等价于 [transition](https://cn.vuejs.org/v2/api/index.html#transition) 的`name`属性",
|
6200
|
-
"value": {
|
6201
|
-
"type": "string",
|
6202
|
-
"kind": "expression"
|
6203
|
-
}
|
6204
|
-
},
|
6205
|
-
{
|
6206
|
-
"name": "transition-appear",
|
6207
|
-
"default": "`false`",
|
6208
|
-
"description": "是否在初始渲染时启用过渡动画",
|
6209
|
-
"value": {
|
6210
|
-
"type": "boolean",
|
6211
|
-
"kind": "expression"
|
6212
|
-
}
|
6213
|
-
},
|
6214
|
-
{
|
6215
|
-
"name": "get-container",
|
6216
|
-
"default": "-",
|
6217
|
-
"description": "指定挂载的节点",
|
6218
|
-
"value": {
|
6219
|
-
"type": "string | () => Element",
|
6220
|
-
"kind": "expression"
|
6221
|
-
}
|
6222
|
-
},
|
6223
|
-
{
|
6224
|
-
"name": "safe-area-inset-bottom",
|
6225
|
-
"default": "`false`",
|
6226
|
-
"description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei)",
|
6227
|
-
"value": {
|
6228
|
-
"type": "boolean",
|
6229
|
-
"kind": "expression"
|
6230
|
-
}
|
6231
|
-
}
|
6232
|
-
]
|
6233
|
-
},
|
6234
|
-
{
|
6235
|
-
"name": "van-popover",
|
6236
|
-
"slots": [
|
6237
|
-
{
|
6238
|
-
"name": "default",
|
6239
|
-
"description": "自定义菜单内容"
|
6240
|
-
},
|
6241
|
-
{
|
6242
|
-
"name": "reference",
|
6243
|
-
"description": "触发 Popover 显示的元素内容"
|
6244
|
-
}
|
6245
|
-
],
|
6246
|
-
"events": [
|
6247
|
-
{
|
6248
|
-
"name": "select",
|
6249
|
-
"description": "点击选项时触发"
|
6250
|
-
},
|
6251
|
-
{
|
6252
|
-
"name": "open",
|
6253
|
-
"description": "打开菜单时触发"
|
6254
|
-
},
|
6255
|
-
{
|
6256
|
-
"name": "close",
|
6257
|
-
"description": "关闭菜单时触发"
|
6258
|
-
},
|
6259
|
-
{
|
6260
|
-
"name": "opened",
|
6261
|
-
"description": "打开菜单且动画结束后触发"
|
6262
|
-
},
|
6263
|
-
{
|
6264
|
-
"name": "closed",
|
6265
|
-
"description": "关闭菜单且动画结束后触发"
|
6266
|
-
}
|
6267
|
-
],
|
6268
|
-
"attributes": [
|
6269
|
-
{
|
6270
|
-
"name": "v-model",
|
6271
|
-
"default": "`false`",
|
6272
|
-
"description": "是否展示气泡弹出层",
|
6273
|
-
"value": {
|
6274
|
-
"type": "boolean",
|
6275
|
-
"kind": "expression"
|
6276
|
-
}
|
6277
|
-
},
|
6278
|
-
{
|
6279
|
-
"name": "actions",
|
6280
|
-
"default": "`[]`",
|
6281
|
-
"description": "选项列表",
|
6282
|
-
"value": {
|
6283
|
-
"type": "Action[]",
|
6284
|
-
"kind": "expression"
|
6285
|
-
}
|
6286
|
-
},
|
6287
|
-
{
|
6288
|
-
"name": "placement",
|
6289
|
-
"default": "`bottom`",
|
6290
|
-
"description": "弹出位置",
|
6291
|
-
"value": {
|
6292
|
-
"type": "string",
|
6293
|
-
"kind": "expression"
|
6294
|
-
}
|
6295
|
-
},
|
6296
|
-
{
|
6297
|
-
"name": "theme",
|
6298
|
-
"default": "`light`",
|
6299
|
-
"description": "主题风格,可选值为 `dark`",
|
6300
|
-
"value": {
|
6301
|
-
"type": "string",
|
6302
|
-
"kind": "expression"
|
6303
|
-
}
|
6304
|
-
},
|
6305
|
-
{
|
6306
|
-
"name": "trigger",
|
6307
|
-
"description": "触发方式,可选值为 `click`",
|
6308
|
-
"value": {
|
6309
|
-
"type": "-",
|
6310
|
-
"kind": "expression"
|
6311
|
-
}
|
6312
|
-
},
|
6313
|
-
{
|
6314
|
-
"name": "offset",
|
6315
|
-
"default": "`[0, 8]`",
|
6316
|
-
"description": "出现位置的偏移量",
|
6317
|
-
"value": {
|
6318
|
-
"type": "[number, number]",
|
6318
|
+
"type": "string",
|
6319
6319
|
"kind": "expression"
|
6320
6320
|
}
|
6321
6321
|
},
|
6322
6322
|
{
|
6323
|
-
"name": "
|
6324
|
-
"default": "
|
6325
|
-
"description": "
|
6323
|
+
"name": "transition",
|
6324
|
+
"default": "-",
|
6325
|
+
"description": "动画类名,等价于 [transition](https://cn.vuejs.org/v2/api/index.html#transition) 的`name`属性",
|
6326
6326
|
"value": {
|
6327
|
-
"type": "
|
6327
|
+
"type": "string",
|
6328
6328
|
"kind": "expression"
|
6329
6329
|
}
|
6330
6330
|
},
|
6331
6331
|
{
|
6332
|
-
"name": "
|
6333
|
-
"default": "`
|
6334
|
-
"description": "
|
6332
|
+
"name": "transition-appear",
|
6333
|
+
"default": "`false`",
|
6334
|
+
"description": "是否在初始渲染时启用过渡动画",
|
6335
6335
|
"value": {
|
6336
6336
|
"type": "boolean",
|
6337
6337
|
"kind": "expression"
|
6338
6338
|
}
|
6339
6339
|
},
|
6340
6340
|
{
|
6341
|
-
"name": "
|
6342
|
-
"default": "
|
6343
|
-
"description": "
|
6341
|
+
"name": "get-container",
|
6342
|
+
"default": "-",
|
6343
|
+
"description": "指定挂载的节点",
|
6344
6344
|
"value": {
|
6345
|
-
"type": "
|
6345
|
+
"type": "string | () => Element",
|
6346
6346
|
"kind": "expression"
|
6347
6347
|
}
|
6348
6348
|
},
|
6349
6349
|
{
|
6350
|
-
"name": "
|
6351
|
-
"default": "`
|
6352
|
-
"description": "
|
6350
|
+
"name": "safe-area-inset-bottom",
|
6351
|
+
"default": "`false`",
|
6352
|
+
"description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei)",
|
6353
6353
|
"value": {
|
6354
|
-
"type": "
|
6354
|
+
"type": "boolean",
|
6355
6355
|
"kind": "expression"
|
6356
6356
|
}
|
6357
6357
|
}
|
@@ -7040,143 +7040,6 @@
|
|
7040
7040
|
}
|
7041
7041
|
]
|
7042
7042
|
},
|
7043
|
-
{
|
7044
|
-
"name": "van-share-sheet",
|
7045
|
-
"slots": [
|
7046
|
-
{
|
7047
|
-
"name": "title",
|
7048
|
-
"description": "自定义顶部标题"
|
7049
|
-
},
|
7050
|
-
{
|
7051
|
-
"name": "description",
|
7052
|
-
"description": "自定义描述文字"
|
7053
|
-
}
|
7054
|
-
],
|
7055
|
-
"events": [
|
7056
|
-
{
|
7057
|
-
"name": "select",
|
7058
|
-
"description": "点击分享选项时触发"
|
7059
|
-
},
|
7060
|
-
{
|
7061
|
-
"name": "cancel",
|
7062
|
-
"description": "点击取消按钮时触发"
|
7063
|
-
},
|
7064
|
-
{
|
7065
|
-
"name": "click-overlay",
|
7066
|
-
"description": "点击遮罩层时触发"
|
7067
|
-
}
|
7068
|
-
],
|
7069
|
-
"attributes": [
|
7070
|
-
{
|
7071
|
-
"name": "options",
|
7072
|
-
"default": "`[]`",
|
7073
|
-
"description": "分享选项",
|
7074
|
-
"value": {
|
7075
|
-
"type": "Option[]",
|
7076
|
-
"kind": "expression"
|
7077
|
-
}
|
7078
|
-
},
|
7079
|
-
{
|
7080
|
-
"name": "title",
|
7081
|
-
"default": "-",
|
7082
|
-
"description": "顶部标题",
|
7083
|
-
"value": {
|
7084
|
-
"type": "string",
|
7085
|
-
"kind": "expression"
|
7086
|
-
}
|
7087
|
-
},
|
7088
|
-
{
|
7089
|
-
"name": "cancel-text",
|
7090
|
-
"default": "`'取消'`",
|
7091
|
-
"description": "取消按钮文字,传入空字符串可以隐藏按钮",
|
7092
|
-
"value": {
|
7093
|
-
"type": "string",
|
7094
|
-
"kind": "expression"
|
7095
|
-
}
|
7096
|
-
},
|
7097
|
-
{
|
7098
|
-
"name": "description",
|
7099
|
-
"default": "-",
|
7100
|
-
"description": "标题下方的辅助描述文字",
|
7101
|
-
"value": {
|
7102
|
-
"type": "string",
|
7103
|
-
"kind": "expression"
|
7104
|
-
}
|
7105
|
-
},
|
7106
|
-
{
|
7107
|
-
"name": "duration",
|
7108
|
-
"default": "`0.3`",
|
7109
|
-
"description": "动画时长,单位秒",
|
7110
|
-
"value": {
|
7111
|
-
"type": "number | string",
|
7112
|
-
"kind": "expression"
|
7113
|
-
}
|
7114
|
-
},
|
7115
|
-
{
|
7116
|
-
"name": "overlay",
|
7117
|
-
"default": "`true`",
|
7118
|
-
"description": "是否显示遮罩层",
|
7119
|
-
"value": {
|
7120
|
-
"type": "boolean",
|
7121
|
-
"kind": "expression"
|
7122
|
-
}
|
7123
|
-
},
|
7124
|
-
{
|
7125
|
-
"name": "lock-scroll",
|
7126
|
-
"default": "`true`",
|
7127
|
-
"description": "是否锁定背景滚动",
|
7128
|
-
"value": {
|
7129
|
-
"type": "boolean",
|
7130
|
-
"kind": "expression"
|
7131
|
-
}
|
7132
|
-
},
|
7133
|
-
{
|
7134
|
-
"name": "lazy-render",
|
7135
|
-
"default": "`true`",
|
7136
|
-
"description": "是否在显示弹层时才渲染内容",
|
7137
|
-
"value": {
|
7138
|
-
"type": "boolean",
|
7139
|
-
"kind": "expression"
|
7140
|
-
}
|
7141
|
-
},
|
7142
|
-
{
|
7143
|
-
"name": "close-on-popstate",
|
7144
|
-
"default": "`true`",
|
7145
|
-
"description": "是否在页面回退时自动关闭",
|
7146
|
-
"value": {
|
7147
|
-
"type": "boolean",
|
7148
|
-
"kind": "expression"
|
7149
|
-
}
|
7150
|
-
},
|
7151
|
-
{
|
7152
|
-
"name": "close-on-click-overlay",
|
7153
|
-
"default": "`true`",
|
7154
|
-
"description": "是否在点击遮罩层后关闭",
|
7155
|
-
"value": {
|
7156
|
-
"type": "boolean",
|
7157
|
-
"kind": "expression"
|
7158
|
-
}
|
7159
|
-
},
|
7160
|
-
{
|
7161
|
-
"name": "safe-area-inset-bottom",
|
7162
|
-
"default": "`true`",
|
7163
|
-
"description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei)",
|
7164
|
-
"value": {
|
7165
|
-
"type": "boolean",
|
7166
|
-
"kind": "expression"
|
7167
|
-
}
|
7168
|
-
},
|
7169
|
-
{
|
7170
|
-
"name": "get-container",
|
7171
|
-
"default": "-",
|
7172
|
-
"description": "指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi)",
|
7173
|
-
"value": {
|
7174
|
-
"type": "string | () => Element",
|
7175
|
-
"kind": "expression"
|
7176
|
-
}
|
7177
|
-
}
|
7178
|
-
]
|
7179
|
-
},
|
7180
7043
|
{
|
7181
7044
|
"name": "van-sidebar",
|
7182
7045
|
"slots": [
|
@@ -7280,97 +7143,137 @@
|
|
7280
7143
|
]
|
7281
7144
|
},
|
7282
7145
|
{
|
7283
|
-
"name": "van-
|
7284
|
-
"slots": [
|
7285
|
-
|
7146
|
+
"name": "van-share-sheet",
|
7147
|
+
"slots": [
|
7148
|
+
{
|
7149
|
+
"name": "title",
|
7150
|
+
"description": "自定义顶部标题"
|
7151
|
+
},
|
7152
|
+
{
|
7153
|
+
"name": "description",
|
7154
|
+
"description": "自定义描述文字"
|
7155
|
+
}
|
7156
|
+
],
|
7157
|
+
"events": [
|
7158
|
+
{
|
7159
|
+
"name": "select",
|
7160
|
+
"description": "点击分享选项时触发"
|
7161
|
+
},
|
7162
|
+
{
|
7163
|
+
"name": "cancel",
|
7164
|
+
"description": "点击取消按钮时触发"
|
7165
|
+
},
|
7166
|
+
{
|
7167
|
+
"name": "click-overlay",
|
7168
|
+
"description": "点击遮罩层时触发"
|
7169
|
+
}
|
7170
|
+
],
|
7286
7171
|
"attributes": [
|
7287
7172
|
{
|
7288
|
-
"name": "
|
7289
|
-
"default": "`
|
7290
|
-
"description": "
|
7173
|
+
"name": "options",
|
7174
|
+
"default": "`[]`",
|
7175
|
+
"description": "分享选项",
|
7291
7176
|
"value": {
|
7292
|
-
"type": "
|
7177
|
+
"type": "Option[]",
|
7293
7178
|
"kind": "expression"
|
7294
7179
|
}
|
7295
7180
|
},
|
7296
7181
|
{
|
7297
|
-
"name": "
|
7298
|
-
"default": "
|
7299
|
-
"description": "
|
7182
|
+
"name": "title",
|
7183
|
+
"default": "-",
|
7184
|
+
"description": "顶部标题",
|
7300
7185
|
"value": {
|
7301
|
-
"type": "
|
7186
|
+
"type": "string",
|
7302
7187
|
"kind": "expression"
|
7303
7188
|
}
|
7304
7189
|
},
|
7305
7190
|
{
|
7306
|
-
"name": "
|
7307
|
-
"default": "`
|
7308
|
-
"description": "
|
7191
|
+
"name": "cancel-text",
|
7192
|
+
"default": "`'取消'`",
|
7193
|
+
"description": "取消按钮文字,传入空字符串可以隐藏按钮",
|
7309
7194
|
"value": {
|
7310
|
-
"type": "
|
7195
|
+
"type": "string",
|
7311
7196
|
"kind": "expression"
|
7312
7197
|
}
|
7313
7198
|
},
|
7314
7199
|
{
|
7315
|
-
"name": "
|
7316
|
-
"default": "
|
7317
|
-
"description": "
|
7200
|
+
"name": "description",
|
7201
|
+
"default": "-",
|
7202
|
+
"description": "标题下方的辅助描述文字",
|
7318
7203
|
"value": {
|
7319
|
-
"type": "
|
7204
|
+
"type": "string",
|
7320
7205
|
"kind": "expression"
|
7321
7206
|
}
|
7322
7207
|
},
|
7323
7208
|
{
|
7324
|
-
"name": "
|
7209
|
+
"name": "duration",
|
7210
|
+
"default": "`0.3`",
|
7211
|
+
"description": "动画时长,单位秒",
|
7212
|
+
"value": {
|
7213
|
+
"type": "number | string",
|
7214
|
+
"kind": "expression"
|
7215
|
+
}
|
7216
|
+
},
|
7217
|
+
{
|
7218
|
+
"name": "overlay",
|
7325
7219
|
"default": "`true`",
|
7326
|
-
"description": "
|
7220
|
+
"description": "是否显示遮罩层",
|
7327
7221
|
"value": {
|
7328
7222
|
"type": "boolean",
|
7329
7223
|
"kind": "expression"
|
7330
7224
|
}
|
7331
7225
|
},
|
7332
7226
|
{
|
7333
|
-
"name": "
|
7227
|
+
"name": "lock-scroll",
|
7334
7228
|
"default": "`true`",
|
7335
|
-
"description": "
|
7229
|
+
"description": "是否锁定背景滚动",
|
7336
7230
|
"value": {
|
7337
7231
|
"type": "boolean",
|
7338
7232
|
"kind": "expression"
|
7339
7233
|
}
|
7340
7234
|
},
|
7341
7235
|
{
|
7342
|
-
"name": "
|
7343
|
-
"default": "`
|
7344
|
-
"description": "
|
7236
|
+
"name": "lazy-render",
|
7237
|
+
"default": "`true`",
|
7238
|
+
"description": "是否在显示弹层时才渲染内容",
|
7239
|
+
"value": {
|
7240
|
+
"type": "boolean",
|
7241
|
+
"kind": "expression"
|
7242
|
+
}
|
7243
|
+
},
|
7244
|
+
{
|
7245
|
+
"name": "close-on-popstate",
|
7246
|
+
"default": "`true`",
|
7247
|
+
"description": "是否在页面回退时自动关闭",
|
7345
7248
|
"value": {
|
7346
7249
|
"type": "boolean",
|
7347
7250
|
"kind": "expression"
|
7348
7251
|
}
|
7349
7252
|
},
|
7350
7253
|
{
|
7351
|
-
"name": "
|
7352
|
-
"default": "`
|
7353
|
-
"description": "
|
7254
|
+
"name": "close-on-click-overlay",
|
7255
|
+
"default": "`true`",
|
7256
|
+
"description": "是否在点击遮罩层后关闭",
|
7354
7257
|
"value": {
|
7355
|
-
"type": "
|
7258
|
+
"type": "boolean",
|
7356
7259
|
"kind": "expression"
|
7357
7260
|
}
|
7358
7261
|
},
|
7359
7262
|
{
|
7360
|
-
"name": "
|
7361
|
-
"default": "`
|
7362
|
-
"description": "
|
7263
|
+
"name": "safe-area-inset-bottom",
|
7264
|
+
"default": "`true`",
|
7265
|
+
"description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei)",
|
7363
7266
|
"value": {
|
7364
|
-
"type": "
|
7267
|
+
"type": "boolean",
|
7365
7268
|
"kind": "expression"
|
7366
7269
|
}
|
7367
7270
|
},
|
7368
7271
|
{
|
7369
|
-
"name": "
|
7370
|
-
"default": "
|
7371
|
-
"description": "
|
7272
|
+
"name": "get-container",
|
7273
|
+
"default": "-",
|
7274
|
+
"description": "指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi)",
|
7372
7275
|
"value": {
|
7373
|
-
"type": "string",
|
7276
|
+
"type": "string | () => Element",
|
7374
7277
|
"kind": "expression"
|
7375
7278
|
}
|
7376
7279
|
}
|
@@ -7419,6 +7322,14 @@
|
|
7419
7322
|
"name": "sku-messages",
|
7420
7323
|
"description": "商品留言区"
|
7421
7324
|
},
|
7325
|
+
{
|
7326
|
+
"name": "before-sku-messages",
|
7327
|
+
"description": "商品留言之前的区域"
|
7328
|
+
},
|
7329
|
+
{
|
7330
|
+
"name": "after-sku-messages",
|
7331
|
+
"description": "商品留言之后的区域"
|
7332
|
+
},
|
7422
7333
|
{
|
7423
7334
|
"name": "sku-actions-top",
|
7424
7335
|
"description": "操作按钮区顶部内容,无默认展示内容,按需使用"
|
@@ -7745,136 +7656,97 @@
|
|
7745
7656
|
]
|
7746
7657
|
},
|
7747
7658
|
{
|
7748
|
-
"name": "van-
|
7749
|
-
"slots": [
|
7750
|
-
|
7751
|
-
"name": "button",
|
7752
|
-
"description": "自定义滑动按钮"
|
7753
|
-
},
|
7754
|
-
{
|
7755
|
-
"name": "left-button",
|
7756
|
-
"description": "自定义左侧滑块按钮(双滑块模式下)"
|
7757
|
-
},
|
7758
|
-
{
|
7759
|
-
"name": "right-button",
|
7760
|
-
"description": "自定义右侧滑块按钮(双滑块模式下)"
|
7761
|
-
}
|
7762
|
-
],
|
7763
|
-
"events": [
|
7764
|
-
{
|
7765
|
-
"name": "input",
|
7766
|
-
"description": "进度变化时实时触发"
|
7767
|
-
},
|
7768
|
-
{
|
7769
|
-
"name": "change",
|
7770
|
-
"description": "进度变化且结束拖动后触发"
|
7771
|
-
},
|
7772
|
-
{
|
7773
|
-
"name": "drag-start",
|
7774
|
-
"description": "开始拖动时触发"
|
7775
|
-
},
|
7776
|
-
{
|
7777
|
-
"name": "drag-end",
|
7778
|
-
"description": "结束拖动时触发"
|
7779
|
-
}
|
7780
|
-
],
|
7659
|
+
"name": "van-skeleton",
|
7660
|
+
"slots": [],
|
7661
|
+
"events": [],
|
7781
7662
|
"attributes": [
|
7782
7663
|
{
|
7783
|
-
"name": "
|
7664
|
+
"name": "row",
|
7784
7665
|
"default": "`0`",
|
7785
|
-
"description": "
|
7786
|
-
"value": {
|
7787
|
-
"type": "number | array",
|
7788
|
-
"kind": "expression"
|
7789
|
-
}
|
7790
|
-
},
|
7791
|
-
{
|
7792
|
-
"name": "max",
|
7793
|
-
"default": "`100`",
|
7794
|
-
"description": "最大值",
|
7666
|
+
"description": "段落占位图行数",
|
7795
7667
|
"value": {
|
7796
7668
|
"type": "number | string",
|
7797
7669
|
"kind": "expression"
|
7798
7670
|
}
|
7799
7671
|
},
|
7800
7672
|
{
|
7801
|
-
"name": "
|
7802
|
-
"default": "
|
7803
|
-
"description": "
|
7673
|
+
"name": "row-width",
|
7674
|
+
"default": "<br>(number \\",
|
7675
|
+
"description": "段落占位图宽度,可传数组来设置每一行的宽度",
|
7804
7676
|
"value": {
|
7805
|
-
"type": "number | string",
|
7677
|
+
"type": "number | string \\",
|
7806
7678
|
"kind": "expression"
|
7807
7679
|
}
|
7808
7680
|
},
|
7809
7681
|
{
|
7810
|
-
"name": "
|
7811
|
-
"default": "`
|
7812
|
-
"description": "
|
7682
|
+
"name": "title",
|
7683
|
+
"default": "`false`",
|
7684
|
+
"description": "是否显示标题占位图",
|
7813
7685
|
"value": {
|
7814
|
-
"type": "
|
7686
|
+
"type": "boolean",
|
7815
7687
|
"kind": "expression"
|
7816
7688
|
}
|
7817
7689
|
},
|
7818
7690
|
{
|
7819
|
-
"name": "
|
7820
|
-
"default": "`
|
7821
|
-
"description": "
|
7691
|
+
"name": "avatar",
|
7692
|
+
"default": "`false`",
|
7693
|
+
"description": "是否显示头像占位图",
|
7822
7694
|
"value": {
|
7823
|
-
"type": "
|
7695
|
+
"type": "boolean",
|
7824
7696
|
"kind": "expression"
|
7825
7697
|
}
|
7826
7698
|
},
|
7827
7699
|
{
|
7828
|
-
"name": "
|
7829
|
-
"default": "`
|
7830
|
-
"description": "
|
7700
|
+
"name": "loading",
|
7701
|
+
"default": "`true`",
|
7702
|
+
"description": "是否显示骨架屏,传 `false` 时会展示子组件内容",
|
7831
7703
|
"value": {
|
7832
|
-
"type": "
|
7704
|
+
"type": "boolean",
|
7833
7705
|
"kind": "expression"
|
7834
7706
|
}
|
7835
7707
|
},
|
7836
7708
|
{
|
7837
|
-
"name": "
|
7838
|
-
"default": "
|
7839
|
-
"description": "
|
7709
|
+
"name": "animate",
|
7710
|
+
"default": "`true`",
|
7711
|
+
"description": "是否开启动画",
|
7840
7712
|
"value": {
|
7841
|
-
"type": "
|
7713
|
+
"type": "boolean",
|
7842
7714
|
"kind": "expression"
|
7843
7715
|
}
|
7844
7716
|
},
|
7845
7717
|
{
|
7846
|
-
"name": "
|
7847
|
-
"default": "
|
7848
|
-
"description": "
|
7718
|
+
"name": "round",
|
7719
|
+
"default": "`false`",
|
7720
|
+
"description": "是否将标题和段落显示为圆角风格",
|
7849
7721
|
"value": {
|
7850
|
-
"type": "
|
7722
|
+
"type": "boolean",
|
7851
7723
|
"kind": "expression"
|
7852
7724
|
}
|
7853
7725
|
},
|
7854
7726
|
{
|
7855
|
-
"name": "
|
7856
|
-
"default": "`
|
7857
|
-
"description": "
|
7727
|
+
"name": "title-width",
|
7728
|
+
"default": "`40%`",
|
7729
|
+
"description": "标题占位图宽度",
|
7858
7730
|
"value": {
|
7859
|
-
"type": "
|
7731
|
+
"type": "number | string",
|
7860
7732
|
"kind": "expression"
|
7861
7733
|
}
|
7862
7734
|
},
|
7863
7735
|
{
|
7864
|
-
"name": "
|
7865
|
-
"default": "`
|
7866
|
-
"description": "
|
7736
|
+
"name": "avatar-size",
|
7737
|
+
"default": "`32px`",
|
7738
|
+
"description": "头像占位图大小",
|
7867
7739
|
"value": {
|
7868
|
-
"type": "
|
7740
|
+
"type": "number | string",
|
7869
7741
|
"kind": "expression"
|
7870
7742
|
}
|
7871
7743
|
},
|
7872
7744
|
{
|
7873
|
-
"name": "
|
7874
|
-
"default": "`
|
7875
|
-
"description": "
|
7745
|
+
"name": "avatar-shape",
|
7746
|
+
"default": "`round`",
|
7747
|
+
"description": "头像占位图形状,可选值为`square`",
|
7876
7748
|
"value": {
|
7877
|
-
"type": "
|
7749
|
+
"type": "string",
|
7878
7750
|
"kind": "expression"
|
7879
7751
|
}
|
7880
7752
|
}
|
@@ -8111,43 +7983,136 @@
|
|
8111
7983
|
]
|
8112
7984
|
},
|
8113
7985
|
{
|
8114
|
-
"name": "van-
|
8115
|
-
"slots": [
|
7986
|
+
"name": "van-slider",
|
7987
|
+
"slots": [
|
7988
|
+
{
|
7989
|
+
"name": "button",
|
7990
|
+
"description": "自定义滑动按钮"
|
7991
|
+
},
|
7992
|
+
{
|
7993
|
+
"name": "left-button",
|
7994
|
+
"description": "自定义左侧滑块按钮(双滑块模式下)"
|
7995
|
+
},
|
7996
|
+
{
|
7997
|
+
"name": "right-button",
|
7998
|
+
"description": "自定义右侧滑块按钮(双滑块模式下)"
|
7999
|
+
}
|
8000
|
+
],
|
8116
8001
|
"events": [
|
8002
|
+
{
|
8003
|
+
"name": "input",
|
8004
|
+
"description": "进度变化时实时触发"
|
8005
|
+
},
|
8117
8006
|
{
|
8118
8007
|
"name": "change",
|
8119
|
-
"description": "
|
8008
|
+
"description": "进度变化且结束拖动后触发"
|
8009
|
+
},
|
8010
|
+
{
|
8011
|
+
"name": "drag-start",
|
8012
|
+
"description": "开始拖动时触发"
|
8013
|
+
},
|
8014
|
+
{
|
8015
|
+
"name": "drag-end",
|
8016
|
+
"description": "结束拖动时触发"
|
8017
|
+
}
|
8018
|
+
],
|
8019
|
+
"attributes": [
|
8020
|
+
{
|
8021
|
+
"name": "value",
|
8022
|
+
"default": "`0`",
|
8023
|
+
"description": "当前进度百分比",
|
8024
|
+
"value": {
|
8025
|
+
"type": "number | array",
|
8026
|
+
"kind": "expression"
|
8027
|
+
}
|
8028
|
+
},
|
8029
|
+
{
|
8030
|
+
"name": "max",
|
8031
|
+
"default": "`100`",
|
8032
|
+
"description": "最大值",
|
8033
|
+
"value": {
|
8034
|
+
"type": "number | string",
|
8035
|
+
"kind": "expression"
|
8036
|
+
}
|
8037
|
+
},
|
8038
|
+
{
|
8039
|
+
"name": "min",
|
8040
|
+
"default": "`0`",
|
8041
|
+
"description": "最小值",
|
8042
|
+
"value": {
|
8043
|
+
"type": "number | string",
|
8044
|
+
"kind": "expression"
|
8045
|
+
}
|
8046
|
+
},
|
8047
|
+
{
|
8048
|
+
"name": "step",
|
8049
|
+
"default": "`1`",
|
8050
|
+
"description": "步长",
|
8051
|
+
"value": {
|
8052
|
+
"type": "number | string",
|
8053
|
+
"kind": "expression"
|
8054
|
+
}
|
8055
|
+
},
|
8056
|
+
{
|
8057
|
+
"name": "bar-height",
|
8058
|
+
"default": "`2px`",
|
8059
|
+
"description": "进度条高度,默认单位为`px`",
|
8060
|
+
"value": {
|
8061
|
+
"type": "number | string",
|
8062
|
+
"kind": "expression"
|
8063
|
+
}
|
8064
|
+
},
|
8065
|
+
{
|
8066
|
+
"name": "button-size",
|
8067
|
+
"default": "`24px`",
|
8068
|
+
"description": "滑块按钮大小,默认单位为`px`",
|
8069
|
+
"value": {
|
8070
|
+
"type": "number | string",
|
8071
|
+
"kind": "expression"
|
8072
|
+
}
|
8073
|
+
},
|
8074
|
+
{
|
8075
|
+
"name": "active-color",
|
8076
|
+
"default": "`#1989fa`",
|
8077
|
+
"description": "进度条激活态颜色",
|
8078
|
+
"value": {
|
8079
|
+
"type": "string",
|
8080
|
+
"kind": "expression"
|
8081
|
+
}
|
8082
|
+
},
|
8083
|
+
{
|
8084
|
+
"name": "inactive-color",
|
8085
|
+
"default": "`#e5e5e5`",
|
8086
|
+
"description": "进度条非激活态颜色",
|
8087
|
+
"value": {
|
8088
|
+
"type": "string",
|
8089
|
+
"kind": "expression"
|
8090
|
+
}
|
8120
8091
|
},
|
8121
8092
|
{
|
8122
|
-
"name": "
|
8123
|
-
"
|
8124
|
-
|
8125
|
-
],
|
8126
|
-
"attributes": [
|
8127
|
-
{
|
8128
|
-
"name": "offset-top",
|
8129
|
-
"default": "`0`",
|
8130
|
-
"description": "吸顶时与顶部的距离,支持 `px` `vw` `vh` `rem` 单位,默认 `px`",
|
8093
|
+
"name": "range",
|
8094
|
+
"default": "`false`",
|
8095
|
+
"description": "是否开启双滑块模式",
|
8131
8096
|
"value": {
|
8132
|
-
"type": "
|
8097
|
+
"type": "boolean",
|
8133
8098
|
"kind": "expression"
|
8134
8099
|
}
|
8135
8100
|
},
|
8136
8101
|
{
|
8137
|
-
"name": "
|
8138
|
-
"default": "`
|
8139
|
-
"description": "
|
8102
|
+
"name": "disabled",
|
8103
|
+
"default": "`false`",
|
8104
|
+
"description": "是否禁用滑块",
|
8140
8105
|
"value": {
|
8141
|
-
"type": "
|
8106
|
+
"type": "boolean",
|
8142
8107
|
"kind": "expression"
|
8143
8108
|
}
|
8144
8109
|
},
|
8145
8110
|
{
|
8146
|
-
"name": "
|
8147
|
-
"default": "
|
8148
|
-
"description": "
|
8111
|
+
"name": "vertical",
|
8112
|
+
"default": "`false`",
|
8113
|
+
"description": "是否垂直展示",
|
8149
8114
|
"value": {
|
8150
|
-
"type": "
|
8115
|
+
"type": "boolean",
|
8151
8116
|
"kind": "expression"
|
8152
8117
|
}
|
8153
8118
|
}
|
@@ -8259,6 +8224,49 @@
|
|
8259
8224
|
}
|
8260
8225
|
]
|
8261
8226
|
},
|
8227
|
+
{
|
8228
|
+
"name": "van-sticky",
|
8229
|
+
"slots": [],
|
8230
|
+
"events": [
|
8231
|
+
{
|
8232
|
+
"name": "change",
|
8233
|
+
"description": "当吸顶状态改变时触发"
|
8234
|
+
},
|
8235
|
+
{
|
8236
|
+
"name": "scroll",
|
8237
|
+
"description": "滚动时触发"
|
8238
|
+
}
|
8239
|
+
],
|
8240
|
+
"attributes": [
|
8241
|
+
{
|
8242
|
+
"name": "offset-top",
|
8243
|
+
"default": "`0`",
|
8244
|
+
"description": "吸顶时与顶部的距离,支持 `px` `vw` `vh` `rem` 单位,默认 `px`",
|
8245
|
+
"value": {
|
8246
|
+
"type": "number | string",
|
8247
|
+
"kind": "expression"
|
8248
|
+
}
|
8249
|
+
},
|
8250
|
+
{
|
8251
|
+
"name": "z-index",
|
8252
|
+
"default": "`99`",
|
8253
|
+
"description": "吸顶时的 z-index",
|
8254
|
+
"value": {
|
8255
|
+
"type": "number | string",
|
8256
|
+
"kind": "expression"
|
8257
|
+
}
|
8258
|
+
},
|
8259
|
+
{
|
8260
|
+
"name": "container",
|
8261
|
+
"default": "-",
|
8262
|
+
"description": "容器对应的 HTML 节点",
|
8263
|
+
"value": {
|
8264
|
+
"type": "Element",
|
8265
|
+
"kind": "expression"
|
8266
|
+
}
|
8267
|
+
}
|
8268
|
+
]
|
8269
|
+
},
|
8262
8270
|
{
|
8263
8271
|
"name": "van-内置样式",
|
8264
8272
|
"slots": [],
|
@@ -8420,93 +8428,6 @@
|
|
8420
8428
|
}
|
8421
8429
|
]
|
8422
8430
|
},
|
8423
|
-
{
|
8424
|
-
"name": "van-swipe-cell",
|
8425
|
-
"slots": [
|
8426
|
-
{
|
8427
|
-
"name": "default",
|
8428
|
-
"description": "自定义显示内容"
|
8429
|
-
},
|
8430
|
-
{
|
8431
|
-
"name": "left",
|
8432
|
-
"description": "左侧滑动内容"
|
8433
|
-
},
|
8434
|
-
{
|
8435
|
-
"name": "right",
|
8436
|
-
"description": "右侧滑动内容"
|
8437
|
-
}
|
8438
|
-
],
|
8439
|
-
"events": [
|
8440
|
-
{
|
8441
|
-
"name": "click",
|
8442
|
-
"description": "点击时触发"
|
8443
|
-
},
|
8444
|
-
{
|
8445
|
-
"name": "open",
|
8446
|
-
"description": "打开时触发"
|
8447
|
-
},
|
8448
|
-
{
|
8449
|
-
"name": "close",
|
8450
|
-
"description": "关闭时触发"
|
8451
|
-
}
|
8452
|
-
],
|
8453
|
-
"attributes": [
|
8454
|
-
{
|
8455
|
-
"name": "name",
|
8456
|
-
"default": "-",
|
8457
|
-
"description": "标识符,可以在事件参数中获取到",
|
8458
|
-
"value": {
|
8459
|
-
"type": "number | string",
|
8460
|
-
"kind": "expression"
|
8461
|
-
}
|
8462
|
-
},
|
8463
|
-
{
|
8464
|
-
"name": "left-width",
|
8465
|
-
"default": "`auto`",
|
8466
|
-
"description": "指定左侧滑动区域宽度,单位为`px`",
|
8467
|
-
"value": {
|
8468
|
-
"type": "number | string",
|
8469
|
-
"kind": "expression"
|
8470
|
-
}
|
8471
|
-
},
|
8472
|
-
{
|
8473
|
-
"name": "right-width",
|
8474
|
-
"default": "`auto`",
|
8475
|
-
"description": "指定右侧滑动区域宽度,单位为`px`",
|
8476
|
-
"value": {
|
8477
|
-
"type": "number | string",
|
8478
|
-
"kind": "expression"
|
8479
|
-
}
|
8480
|
-
},
|
8481
|
-
{
|
8482
|
-
"name": "before-close",
|
8483
|
-
"default": "-",
|
8484
|
-
"description": "关闭前的回调函数",
|
8485
|
-
"value": {
|
8486
|
-
"type": "Function",
|
8487
|
-
"kind": "expression"
|
8488
|
-
}
|
8489
|
-
},
|
8490
|
-
{
|
8491
|
-
"name": "disabled",
|
8492
|
-
"default": "`false`",
|
8493
|
-
"description": "是否禁用滑动",
|
8494
|
-
"value": {
|
8495
|
-
"type": "boolean",
|
8496
|
-
"kind": "expression"
|
8497
|
-
}
|
8498
|
-
},
|
8499
|
-
{
|
8500
|
-
"name": "stop-propagation",
|
8501
|
-
"default": "`false`",
|
8502
|
-
"description": "是否阻止滑动事件冒泡",
|
8503
|
-
"value": {
|
8504
|
-
"type": "boolean",
|
8505
|
-
"kind": "expression"
|
8506
|
-
}
|
8507
|
-
}
|
8508
|
-
]
|
8509
|
-
},
|
8510
8431
|
{
|
8511
8432
|
"name": "van-swipe",
|
8512
8433
|
"slots": [
|
@@ -8641,48 +8562,112 @@
|
|
8641
8562
|
]
|
8642
8563
|
},
|
8643
8564
|
{
|
8644
|
-
"name": "van-
|
8645
|
-
"slots": [
|
8565
|
+
"name": "van-swipe-cell",
|
8566
|
+
"slots": [
|
8567
|
+
{
|
8568
|
+
"name": "default",
|
8569
|
+
"description": "自定义显示内容"
|
8570
|
+
},
|
8571
|
+
{
|
8572
|
+
"name": "left",
|
8573
|
+
"description": "左侧滑动内容"
|
8574
|
+
},
|
8575
|
+
{
|
8576
|
+
"name": "right",
|
8577
|
+
"description": "右侧滑动内容"
|
8578
|
+
}
|
8579
|
+
],
|
8646
8580
|
"events": [
|
8647
8581
|
{
|
8648
|
-
"name": "
|
8649
|
-
"description": "
|
8582
|
+
"name": "click",
|
8583
|
+
"description": "点击时触发"
|
8584
|
+
},
|
8585
|
+
{
|
8586
|
+
"name": "open",
|
8587
|
+
"description": "打开时触发"
|
8588
|
+
},
|
8589
|
+
{
|
8590
|
+
"name": "close",
|
8591
|
+
"description": "关闭时触发"
|
8650
8592
|
}
|
8651
8593
|
],
|
8652
8594
|
"attributes": [
|
8653
8595
|
{
|
8654
|
-
"name": "
|
8655
|
-
"default": "
|
8656
|
-
"description": "
|
8596
|
+
"name": "name",
|
8597
|
+
"default": "-",
|
8598
|
+
"description": "标识符,可以在事件参数中获取到",
|
8657
8599
|
"value": {
|
8658
|
-
"type": "
|
8600
|
+
"type": "number | string",
|
8659
8601
|
"kind": "expression"
|
8660
8602
|
}
|
8661
8603
|
},
|
8662
8604
|
{
|
8663
|
-
"name": "
|
8664
|
-
"default": "`
|
8665
|
-
"description": "
|
8605
|
+
"name": "left-width",
|
8606
|
+
"default": "`auto`",
|
8607
|
+
"description": "指定左侧滑动区域宽度,单位为`px`",
|
8666
8608
|
"value": {
|
8667
|
-
"type": "string",
|
8609
|
+
"type": "number | string",
|
8668
8610
|
"kind": "expression"
|
8669
8611
|
}
|
8670
8612
|
},
|
8671
8613
|
{
|
8672
|
-
"name": "
|
8673
|
-
"default": "`
|
8674
|
-
"description": "
|
8614
|
+
"name": "right-width",
|
8615
|
+
"default": "`auto`",
|
8616
|
+
"description": "指定右侧滑动区域宽度,单位为`px`",
|
8617
|
+
"value": {
|
8618
|
+
"type": "number | string",
|
8619
|
+
"kind": "expression"
|
8620
|
+
}
|
8621
|
+
},
|
8622
|
+
{
|
8623
|
+
"name": "before-close",
|
8624
|
+
"default": "-",
|
8625
|
+
"description": "关闭前的回调函数",
|
8626
|
+
"value": {
|
8627
|
+
"type": "Function",
|
8628
|
+
"kind": "expression"
|
8629
|
+
}
|
8630
|
+
},
|
8631
|
+
{
|
8632
|
+
"name": "disabled",
|
8633
|
+
"default": "`false`",
|
8634
|
+
"description": "是否禁用滑动",
|
8635
|
+
"value": {
|
8636
|
+
"type": "boolean",
|
8637
|
+
"kind": "expression"
|
8638
|
+
}
|
8639
|
+
},
|
8640
|
+
{
|
8641
|
+
"name": "stop-propagation",
|
8642
|
+
"default": "`false`",
|
8643
|
+
"description": "是否阻止滑动事件冒泡",
|
8675
8644
|
"value": {
|
8676
8645
|
"type": "boolean",
|
8677
8646
|
"kind": "expression"
|
8678
8647
|
}
|
8648
|
+
}
|
8649
|
+
]
|
8650
|
+
},
|
8651
|
+
{
|
8652
|
+
"name": "van-switch",
|
8653
|
+
"slots": [],
|
8654
|
+
"events": [
|
8655
|
+
{
|
8656
|
+
"name": "change",
|
8657
|
+
"description": "开关状态切换时触发"
|
8679
8658
|
},
|
8680
8659
|
{
|
8681
|
-
"name": "
|
8682
|
-
"
|
8683
|
-
|
8660
|
+
"name": "click",
|
8661
|
+
"description": "点击时触发"
|
8662
|
+
}
|
8663
|
+
],
|
8664
|
+
"attributes": [
|
8665
|
+
{
|
8666
|
+
"name": "v-model",
|
8667
|
+
"default": "`false`",
|
8668
|
+
"description": "开关选中状态",
|
8684
8669
|
"value": {
|
8685
|
-
"type": "
|
8670
|
+
"type": "any",
|
8686
8671
|
"kind": "expression"
|
8687
8672
|
}
|
8688
8673
|
},
|
@@ -8706,8 +8691,8 @@
|
|
8706
8691
|
},
|
8707
8692
|
{
|
8708
8693
|
"name": "size",
|
8709
|
-
"default": "`
|
8710
|
-
"description": "
|
8694
|
+
"default": "`30px`",
|
8695
|
+
"description": "开关尺寸,默认单位为`px`",
|
8711
8696
|
"value": {
|
8712
8697
|
"type": "number | string",
|
8713
8698
|
"kind": "expression"
|
@@ -8716,7 +8701,7 @@
|
|
8716
8701
|
{
|
8717
8702
|
"name": "active-color",
|
8718
8703
|
"default": "`#1989fa`",
|
8719
|
-
"description": "
|
8704
|
+
"description": "打开时的背景色",
|
8720
8705
|
"value": {
|
8721
8706
|
"type": "string",
|
8722
8707
|
"kind": "expression"
|
@@ -8725,7 +8710,7 @@
|
|
8725
8710
|
{
|
8726
8711
|
"name": "inactive-color",
|
8727
8712
|
"default": "`white`",
|
8728
|
-
"description": "
|
8713
|
+
"description": "关闭时的背景色",
|
8729
8714
|
"value": {
|
8730
8715
|
"type": "string",
|
8731
8716
|
"kind": "expression"
|
@@ -8734,7 +8719,7 @@
|
|
8734
8719
|
{
|
8735
8720
|
"name": "active-value",
|
8736
8721
|
"default": "`true`",
|
8737
|
-
"description": "
|
8722
|
+
"description": "打开时对应的值",
|
8738
8723
|
"value": {
|
8739
8724
|
"type": "any",
|
8740
8725
|
"kind": "expression"
|
@@ -8743,7 +8728,7 @@
|
|
8743
8728
|
{
|
8744
8729
|
"name": "inactive-value",
|
8745
8730
|
"default": "`false`",
|
8746
|
-
"description": "
|
8731
|
+
"description": "关闭时对应的值",
|
8747
8732
|
"value": {
|
8748
8733
|
"type": "any",
|
8749
8734
|
"kind": "expression"
|
@@ -8752,28 +8737,51 @@
|
|
8752
8737
|
]
|
8753
8738
|
},
|
8754
8739
|
{
|
8755
|
-
"name": "van-switch",
|
8740
|
+
"name": "van-switch-cell",
|
8756
8741
|
"slots": [],
|
8757
8742
|
"events": [
|
8758
8743
|
{
|
8759
8744
|
"name": "change",
|
8760
|
-
"description": "
|
8761
|
-
},
|
8762
|
-
{
|
8763
|
-
"name": "click",
|
8764
|
-
"description": "点击时触发"
|
8745
|
+
"description": "开关状态切换回调"
|
8765
8746
|
}
|
8766
8747
|
],
|
8767
8748
|
"attributes": [
|
8768
8749
|
{
|
8769
8750
|
"name": "v-model",
|
8770
8751
|
"default": "`false`",
|
8771
|
-
"description": "
|
8752
|
+
"description": "开关状态",
|
8772
8753
|
"value": {
|
8773
8754
|
"type": "any",
|
8774
8755
|
"kind": "expression"
|
8775
8756
|
}
|
8776
8757
|
},
|
8758
|
+
{
|
8759
|
+
"name": "title",
|
8760
|
+
"default": "`''`",
|
8761
|
+
"description": "左侧标题",
|
8762
|
+
"value": {
|
8763
|
+
"type": "string",
|
8764
|
+
"kind": "expression"
|
8765
|
+
}
|
8766
|
+
},
|
8767
|
+
{
|
8768
|
+
"name": "border",
|
8769
|
+
"default": "`true`",
|
8770
|
+
"description": "是否展示单元格内边框",
|
8771
|
+
"value": {
|
8772
|
+
"type": "boolean",
|
8773
|
+
"kind": "expression"
|
8774
|
+
}
|
8775
|
+
},
|
8776
|
+
{
|
8777
|
+
"name": "cell-size",
|
8778
|
+
"default": "-",
|
8779
|
+
"description": "单元格大小,可选值为 `large`",
|
8780
|
+
"value": {
|
8781
|
+
"type": "string",
|
8782
|
+
"kind": "expression"
|
8783
|
+
}
|
8784
|
+
},
|
8777
8785
|
{
|
8778
8786
|
"name": "loading",
|
8779
8787
|
"default": "`false`",
|
@@ -8794,8 +8802,8 @@
|
|
8794
8802
|
},
|
8795
8803
|
{
|
8796
8804
|
"name": "size",
|
8797
|
-
"default": "`
|
8798
|
-
"description": "
|
8805
|
+
"default": "`24px`",
|
8806
|
+
"description": "开关尺寸",
|
8799
8807
|
"value": {
|
8800
8808
|
"type": "number | string",
|
8801
8809
|
"kind": "expression"
|
@@ -8804,7 +8812,7 @@
|
|
8804
8812
|
{
|
8805
8813
|
"name": "active-color",
|
8806
8814
|
"default": "`#1989fa`",
|
8807
|
-
"description": "
|
8815
|
+
"description": "开关时的背景色",
|
8808
8816
|
"value": {
|
8809
8817
|
"type": "string",
|
8810
8818
|
"kind": "expression"
|
@@ -8813,7 +8821,7 @@
|
|
8813
8821
|
{
|
8814
8822
|
"name": "inactive-color",
|
8815
8823
|
"default": "`white`",
|
8816
|
-
"description": "
|
8824
|
+
"description": "开关时的背景色",
|
8817
8825
|
"value": {
|
8818
8826
|
"type": "string",
|
8819
8827
|
"kind": "expression"
|
@@ -8822,7 +8830,7 @@
|
|
8822
8830
|
{
|
8823
8831
|
"name": "active-value",
|
8824
8832
|
"default": "`true`",
|
8825
|
-
"description": "
|
8833
|
+
"description": "打开时的值",
|
8826
8834
|
"value": {
|
8827
8835
|
"type": "any",
|
8828
8836
|
"kind": "expression"
|
@@ -8831,7 +8839,7 @@
|
|
8831
8839
|
{
|
8832
8840
|
"name": "inactive-value",
|
8833
8841
|
"default": "`false`",
|
8834
|
-
"description": "
|
8842
|
+
"description": "关闭时的值",
|
8835
8843
|
"value": {
|
8836
8844
|
"type": "any",
|
8837
8845
|
"kind": "expression"
|
@@ -9154,6 +9162,99 @@
|
|
9154
9162
|
}
|
9155
9163
|
]
|
9156
9164
|
},
|
9165
|
+
{
|
9166
|
+
"name": "van-tag",
|
9167
|
+
"slots": [
|
9168
|
+
{
|
9169
|
+
"name": "default",
|
9170
|
+
"description": "标签显示内容"
|
9171
|
+
}
|
9172
|
+
],
|
9173
|
+
"events": [
|
9174
|
+
{
|
9175
|
+
"name": "click",
|
9176
|
+
"description": "点击时触发"
|
9177
|
+
},
|
9178
|
+
{
|
9179
|
+
"name": "close",
|
9180
|
+
"description": "关闭标签时触发"
|
9181
|
+
}
|
9182
|
+
],
|
9183
|
+
"attributes": [
|
9184
|
+
{
|
9185
|
+
"name": "type",
|
9186
|
+
"default": "`default`",
|
9187
|
+
"description": "类型,可选值为`primary` `success` `danger` `warning`",
|
9188
|
+
"value": {
|
9189
|
+
"type": "string",
|
9190
|
+
"kind": "expression"
|
9191
|
+
}
|
9192
|
+
},
|
9193
|
+
{
|
9194
|
+
"name": "size",
|
9195
|
+
"default": "-",
|
9196
|
+
"description": "大小, 可选值为`large` `medium`",
|
9197
|
+
"value": {
|
9198
|
+
"type": "string",
|
9199
|
+
"kind": "expression"
|
9200
|
+
}
|
9201
|
+
},
|
9202
|
+
{
|
9203
|
+
"name": "color",
|
9204
|
+
"default": "-",
|
9205
|
+
"description": "标签颜色",
|
9206
|
+
"value": {
|
9207
|
+
"type": "string",
|
9208
|
+
"kind": "expression"
|
9209
|
+
}
|
9210
|
+
},
|
9211
|
+
{
|
9212
|
+
"name": "plain",
|
9213
|
+
"default": "`false`",
|
9214
|
+
"description": "是否为空心样式",
|
9215
|
+
"value": {
|
9216
|
+
"type": "boolean",
|
9217
|
+
"kind": "expression"
|
9218
|
+
}
|
9219
|
+
},
|
9220
|
+
{
|
9221
|
+
"name": "round",
|
9222
|
+
"default": "`false`",
|
9223
|
+
"description": "是否为圆角样式",
|
9224
|
+
"value": {
|
9225
|
+
"type": "boolean",
|
9226
|
+
"kind": "expression"
|
9227
|
+
}
|
9228
|
+
},
|
9229
|
+
{
|
9230
|
+
"name": "mark",
|
9231
|
+
"default": "`false`",
|
9232
|
+
"description": "是否为标记样式",
|
9233
|
+
"value": {
|
9234
|
+
"type": "boolean",
|
9235
|
+
"kind": "expression"
|
9236
|
+
}
|
9237
|
+
},
|
9238
|
+
{
|
9239
|
+
"name": "text-color",
|
9240
|
+
"default": "`white`",
|
9241
|
+
"description": "文本颜色,优先级高于`color`属性",
|
9242
|
+
"value": {
|
9243
|
+
"type": "string",
|
9244
|
+
"kind": "expression"
|
9245
|
+
}
|
9246
|
+
},
|
9247
|
+
{
|
9248
|
+
"name": "closeable",
|
9249
|
+
"default": "`false`",
|
9250
|
+
"description": "是否为可关闭标签",
|
9251
|
+
"value": {
|
9252
|
+
"type": "boolean",
|
9253
|
+
"kind": "expression"
|
9254
|
+
}
|
9255
|
+
}
|
9256
|
+
]
|
9257
|
+
},
|
9157
9258
|
{
|
9158
9259
|
"name": "van-tabbar",
|
9159
9260
|
"slots": [
|
@@ -9342,99 +9443,6 @@
|
|
9342
9443
|
}
|
9343
9444
|
]
|
9344
9445
|
},
|
9345
|
-
{
|
9346
|
-
"name": "van-tag",
|
9347
|
-
"slots": [
|
9348
|
-
{
|
9349
|
-
"name": "default",
|
9350
|
-
"description": "标签显示内容"
|
9351
|
-
}
|
9352
|
-
],
|
9353
|
-
"events": [
|
9354
|
-
{
|
9355
|
-
"name": "click",
|
9356
|
-
"description": "点击时触发"
|
9357
|
-
},
|
9358
|
-
{
|
9359
|
-
"name": "close",
|
9360
|
-
"description": "关闭标签时触发"
|
9361
|
-
}
|
9362
|
-
],
|
9363
|
-
"attributes": [
|
9364
|
-
{
|
9365
|
-
"name": "type",
|
9366
|
-
"default": "`default`",
|
9367
|
-
"description": "类型,可选值为`primary` `success` `danger` `warning`",
|
9368
|
-
"value": {
|
9369
|
-
"type": "string",
|
9370
|
-
"kind": "expression"
|
9371
|
-
}
|
9372
|
-
},
|
9373
|
-
{
|
9374
|
-
"name": "size",
|
9375
|
-
"default": "-",
|
9376
|
-
"description": "大小, 可选值为`large` `medium`",
|
9377
|
-
"value": {
|
9378
|
-
"type": "string",
|
9379
|
-
"kind": "expression"
|
9380
|
-
}
|
9381
|
-
},
|
9382
|
-
{
|
9383
|
-
"name": "color",
|
9384
|
-
"default": "-",
|
9385
|
-
"description": "标签颜色",
|
9386
|
-
"value": {
|
9387
|
-
"type": "string",
|
9388
|
-
"kind": "expression"
|
9389
|
-
}
|
9390
|
-
},
|
9391
|
-
{
|
9392
|
-
"name": "plain",
|
9393
|
-
"default": "`false`",
|
9394
|
-
"description": "是否为空心样式",
|
9395
|
-
"value": {
|
9396
|
-
"type": "boolean",
|
9397
|
-
"kind": "expression"
|
9398
|
-
}
|
9399
|
-
},
|
9400
|
-
{
|
9401
|
-
"name": "round",
|
9402
|
-
"default": "`false`",
|
9403
|
-
"description": "是否为圆角样式",
|
9404
|
-
"value": {
|
9405
|
-
"type": "boolean",
|
9406
|
-
"kind": "expression"
|
9407
|
-
}
|
9408
|
-
},
|
9409
|
-
{
|
9410
|
-
"name": "mark",
|
9411
|
-
"default": "`false`",
|
9412
|
-
"description": "是否为标记样式",
|
9413
|
-
"value": {
|
9414
|
-
"type": "boolean",
|
9415
|
-
"kind": "expression"
|
9416
|
-
}
|
9417
|
-
},
|
9418
|
-
{
|
9419
|
-
"name": "text-color",
|
9420
|
-
"default": "`white`",
|
9421
|
-
"description": "文本颜色,优先级高于`color`属性",
|
9422
|
-
"value": {
|
9423
|
-
"type": "string",
|
9424
|
-
"kind": "expression"
|
9425
|
-
}
|
9426
|
-
},
|
9427
|
-
{
|
9428
|
-
"name": "closeable",
|
9429
|
-
"default": "`false`",
|
9430
|
-
"description": "是否为可关闭标签",
|
9431
|
-
"value": {
|
9432
|
-
"type": "boolean",
|
9433
|
-
"kind": "expression"
|
9434
|
-
}
|
9435
|
-
}
|
9436
|
-
]
|
9437
|
-
},
|
9438
9446
|
{
|
9439
9447
|
"name": "van-tree-select",
|
9440
9448
|
"slots": [
|