vant 2.12.34-beta.0 → 2.12.34

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.
@@ -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.12.34-beta.0",
5
+ "version": "2.12.34",
6
6
  "contributions": {
7
7
  "html": {
8
8
  "tags": [
@@ -452,54 +452,152 @@
452
452
  ]
453
453
  },
454
454
  {
455
- "name": "van-badge",
455
+ "name": "van-area",
456
456
  "slots": [
457
457
  {
458
- "name": "default",
459
- "description": "徽标包裹的子元素"
458
+ "name": "title",
459
+ "description": "自定义标题内容"
460
460
  },
461
461
  {
462
- "name": "content",
463
- "description": "自定义徽标内容"
462
+ "name": "columns-top",
463
+ "description": "自定义选项上方内容"
464
+ },
465
+ {
466
+ "name": "columns-bottom",
467
+ "description": "自定义选项下方内容"
468
+ }
469
+ ],
470
+ "events": [
471
+ {
472
+ "name": "confirm",
473
+ "description": "点击右上方完成按钮"
474
+ },
475
+ {
476
+ "name": "cancel",
477
+ "description": "点击取消按钮时"
478
+ },
479
+ {
480
+ "name": "change",
481
+ "description": "选项改变时触发"
464
482
  }
465
483
  ],
466
- "events": [],
467
484
  "attributes": [
468
485
  {
469
- "name": "content",
486
+ "name": "value",
470
487
  "default": "-",
471
- "description": "徽标内容",
488
+ "description": "当前选中的省市区`code`",
472
489
  "value": {
473
- "type": "number | string",
490
+ "type": "string",
474
491
  "kind": "expression"
475
492
  }
476
493
  },
477
494
  {
478
- "name": "color",
479
- "default": "`#ee0a24`",
480
- "description": "徽标背景颜色",
495
+ "name": "title",
496
+ "default": "-",
497
+ "description": "顶部栏标题",
481
498
  "value": {
482
499
  "type": "string",
483
500
  "kind": "expression"
484
501
  }
485
502
  },
486
503
  {
487
- "name": "dot",
504
+ "name": "confirm-button-text",
505
+ "default": "`确认`",
506
+ "description": "确认按钮文字",
507
+ "value": {
508
+ "type": "string",
509
+ "kind": "expression"
510
+ }
511
+ },
512
+ {
513
+ "name": "cancel-button-text",
514
+ "default": "`取消`",
515
+ "description": "取消按钮文字",
516
+ "value": {
517
+ "type": "string",
518
+ "kind": "expression"
519
+ }
520
+ },
521
+ {
522
+ "name": "area-list",
523
+ "default": "-",
524
+ "description": "省市区数据,格式见下方",
525
+ "value": {
526
+ "type": "object",
527
+ "kind": "expression"
528
+ }
529
+ },
530
+ {
531
+ "name": "columns-placeholder",
532
+ "default": "`[]`",
533
+ "description": "列占位提示文字",
534
+ "value": {
535
+ "type": "string[]",
536
+ "kind": "expression"
537
+ }
538
+ },
539
+ {
540
+ "name": "loading",
488
541
  "default": "`false`",
489
- "description": "是否展示为小红点",
542
+ "description": "是否显示加载状态",
490
543
  "value": {
491
544
  "type": "boolean",
492
545
  "kind": "expression"
493
546
  }
494
547
  },
495
548
  {
496
- "name": "max",
497
- "default": "-",
498
- "description": "最大值,超过最大值会显示 `{max}+`,仅当 content 为数字时有效",
549
+ "name": "readonly",
550
+ "default": "`false`",
551
+ "description": "是否为只读状态,只读状态下无法切换选项",
552
+ "value": {
553
+ "type": "boolean",
554
+ "kind": "expression"
555
+ }
556
+ },
557
+ {
558
+ "name": "item-height",
559
+ "default": "`44`",
560
+ "description": "选项高度,支持 `px` `vw` `vh` `rem` 单位,默认 `px`",
561
+ "value": {
562
+ "type": "number | string",
563
+ "kind": "expression"
564
+ }
565
+ },
566
+ {
567
+ "name": "columns-num",
568
+ "default": "`3`",
569
+ "description": "显示列数,3-省市区,2-省市,1-省",
570
+ "value": {
571
+ "type": "number | string",
572
+ "kind": "expression"
573
+ }
574
+ },
575
+ {
576
+ "name": "visible-item-count",
577
+ "default": "`6`",
578
+ "description": "可见的选项个数",
579
+ "value": {
580
+ "type": "number | string",
581
+ "kind": "expression"
582
+ }
583
+ },
584
+ {
585
+ "name": "swipe-duration",
586
+ "default": "`1000`",
587
+ "description": "快速滑动时惯性滚动的时长,单位`ms`",
499
588
  "value": {
500
589
  "type": "number | string",
501
590
  "kind": "expression"
502
591
  }
592
+ },
593
+ {
594
+ "name": "is-oversea-code",
595
+ "default": "-",
596
+ "description": "根据`code`校验海外地址,海外地址会划分至单独的分类",
597
+ "value": {
598
+ "type": "() => boolean",
599
+ "kind": "expression"
600
+ }
503
601
  }
504
602
  ]
505
603
  },
@@ -615,6 +713,58 @@
615
713
  }
616
714
  ]
617
715
  },
716
+ {
717
+ "name": "van-badge",
718
+ "slots": [
719
+ {
720
+ "name": "default",
721
+ "description": "徽标包裹的子元素"
722
+ },
723
+ {
724
+ "name": "content",
725
+ "description": "自定义徽标内容"
726
+ }
727
+ ],
728
+ "events": [],
729
+ "attributes": [
730
+ {
731
+ "name": "content",
732
+ "default": "-",
733
+ "description": "徽标内容",
734
+ "value": {
735
+ "type": "number | string",
736
+ "kind": "expression"
737
+ }
738
+ },
739
+ {
740
+ "name": "color",
741
+ "default": "`#ee0a24`",
742
+ "description": "徽标背景颜色",
743
+ "value": {
744
+ "type": "string",
745
+ "kind": "expression"
746
+ }
747
+ },
748
+ {
749
+ "name": "dot",
750
+ "default": "`false`",
751
+ "description": "是否展示为小红点",
752
+ "value": {
753
+ "type": "boolean",
754
+ "kind": "expression"
755
+ }
756
+ },
757
+ {
758
+ "name": "max",
759
+ "default": "-",
760
+ "description": "最大值,超过最大值会显示 `{max}+`,仅当 content 为数字时有效",
761
+ "value": {
762
+ "type": "number | string",
763
+ "kind": "expression"
764
+ }
765
+ }
766
+ ]
767
+ },
618
768
  {
619
769
  "name": "van-button",
620
770
  "slots": [
@@ -842,156 +992,6 @@
842
992
  }
843
993
  ]
844
994
  },
845
- {
846
- "name": "van-area",
847
- "slots": [
848
- {
849
- "name": "title",
850
- "description": "自定义标题内容"
851
- },
852
- {
853
- "name": "columns-top",
854
- "description": "自定义选项上方内容"
855
- },
856
- {
857
- "name": "columns-bottom",
858
- "description": "自定义选项下方内容"
859
- }
860
- ],
861
- "events": [
862
- {
863
- "name": "confirm",
864
- "description": "点击右上方完成按钮"
865
- },
866
- {
867
- "name": "cancel",
868
- "description": "点击取消按钮时"
869
- },
870
- {
871
- "name": "change",
872
- "description": "选项改变时触发"
873
- }
874
- ],
875
- "attributes": [
876
- {
877
- "name": "value",
878
- "default": "-",
879
- "description": "当前选中的省市区`code`",
880
- "value": {
881
- "type": "string",
882
- "kind": "expression"
883
- }
884
- },
885
- {
886
- "name": "title",
887
- "default": "-",
888
- "description": "顶部栏标题",
889
- "value": {
890
- "type": "string",
891
- "kind": "expression"
892
- }
893
- },
894
- {
895
- "name": "confirm-button-text",
896
- "default": "`确认`",
897
- "description": "确认按钮文字",
898
- "value": {
899
- "type": "string",
900
- "kind": "expression"
901
- }
902
- },
903
- {
904
- "name": "cancel-button-text",
905
- "default": "`取消`",
906
- "description": "取消按钮文字",
907
- "value": {
908
- "type": "string",
909
- "kind": "expression"
910
- }
911
- },
912
- {
913
- "name": "area-list",
914
- "default": "-",
915
- "description": "省市区数据,格式见下方",
916
- "value": {
917
- "type": "object",
918
- "kind": "expression"
919
- }
920
- },
921
- {
922
- "name": "columns-placeholder",
923
- "default": "`[]`",
924
- "description": "列占位提示文字",
925
- "value": {
926
- "type": "string[]",
927
- "kind": "expression"
928
- }
929
- },
930
- {
931
- "name": "loading",
932
- "default": "`false`",
933
- "description": "是否显示加载状态",
934
- "value": {
935
- "type": "boolean",
936
- "kind": "expression"
937
- }
938
- },
939
- {
940
- "name": "readonly",
941
- "default": "`false`",
942
- "description": "是否为只读状态,只读状态下无法切换选项",
943
- "value": {
944
- "type": "boolean",
945
- "kind": "expression"
946
- }
947
- },
948
- {
949
- "name": "item-height",
950
- "default": "`44`",
951
- "description": "选项高度,支持 `px` `vw` `vh` `rem` 单位,默认 `px`",
952
- "value": {
953
- "type": "number | string",
954
- "kind": "expression"
955
- }
956
- },
957
- {
958
- "name": "columns-num",
959
- "default": "`3`",
960
- "description": "显示列数,3-省市区,2-省市,1-省",
961
- "value": {
962
- "type": "number | string",
963
- "kind": "expression"
964
- }
965
- },
966
- {
967
- "name": "visible-item-count",
968
- "default": "`6`",
969
- "description": "可见的选项个数",
970
- "value": {
971
- "type": "number | string",
972
- "kind": "expression"
973
- }
974
- },
975
- {
976
- "name": "swipe-duration",
977
- "default": "`1000`",
978
- "description": "快速滑动时惯性滚动的时长,单位`ms`",
979
- "value": {
980
- "type": "number | string",
981
- "kind": "expression"
982
- }
983
- },
984
- {
985
- "name": "is-oversea-code",
986
- "default": "-",
987
- "description": "根据`code`校验海外地址,海外地址会划分至单独的分类",
988
- "value": {
989
- "type": "() => boolean",
990
- "kind": "expression"
991
- }
992
- }
993
- ]
994
- },
995
995
  {
996
996
  "name": "van-calendar",
997
997
  "slots": [
@@ -2571,63 +2571,6 @@
2571
2571
  }
2572
2572
  ]
2573
2573
  },
2574
- {
2575
- "name": "van-count-down",
2576
- "slots": [
2577
- {
2578
- "name": "default",
2579
- "description": "自定义内容"
2580
- }
2581
- ],
2582
- "events": [
2583
- {
2584
- "name": "finish",
2585
- "description": "倒计时结束时触发"
2586
- },
2587
- {
2588
- "name": "change",
2589
- "description": "倒计时变化时触发"
2590
- }
2591
- ],
2592
- "attributes": [
2593
- {
2594
- "name": "time",
2595
- "default": "`0`",
2596
- "description": "倒计时时长,单位毫秒",
2597
- "value": {
2598
- "type": "number | string",
2599
- "kind": "expression"
2600
- }
2601
- },
2602
- {
2603
- "name": "format",
2604
- "default": "`HH:mm:ss`",
2605
- "description": "时间格式",
2606
- "value": {
2607
- "type": "string",
2608
- "kind": "expression"
2609
- }
2610
- },
2611
- {
2612
- "name": "auto-start",
2613
- "default": "`true`",
2614
- "description": "是否自动开始倒计时",
2615
- "value": {
2616
- "type": "boolean",
2617
- "kind": "expression"
2618
- }
2619
- },
2620
- {
2621
- "name": "millisecond",
2622
- "default": "`false`",
2623
- "description": "是否开启毫秒级渲染",
2624
- "value": {
2625
- "type": "boolean",
2626
- "kind": "expression"
2627
- }
2628
- }
2629
- ]
2630
- },
2631
2574
  {
2632
2575
  "name": "van-coupon-cell",
2633
2576
  "slots": [],
@@ -2839,36 +2782,93 @@
2839
2782
  }
2840
2783
  },
2841
2784
  {
2842
- "name": "show-exchange-bar",
2843
- "default": "`true`",
2844
- "description": "是否展示兑换栏",
2785
+ "name": "show-exchange-bar",
2786
+ "default": "`true`",
2787
+ "description": "是否展示兑换栏",
2788
+ "value": {
2789
+ "type": "boolean",
2790
+ "kind": "expression"
2791
+ }
2792
+ },
2793
+ {
2794
+ "name": "currency",
2795
+ "default": "`¥`",
2796
+ "description": "货币符号",
2797
+ "value": {
2798
+ "type": "string",
2799
+ "kind": "expression"
2800
+ }
2801
+ },
2802
+ {
2803
+ "name": "empty-image",
2804
+ "default": "`https://img01.yzcdn.cn/vant/coupon-empty.png`",
2805
+ "description": "列表为空时的占位图",
2806
+ "value": {
2807
+ "type": "string",
2808
+ "kind": "expression"
2809
+ }
2810
+ },
2811
+ {
2812
+ "name": "show-count",
2813
+ "default": "`true`",
2814
+ "description": "是否展示可用 / 不可用数量",
2815
+ "value": {
2816
+ "type": "boolean",
2817
+ "kind": "expression"
2818
+ }
2819
+ }
2820
+ ]
2821
+ },
2822
+ {
2823
+ "name": "van-count-down",
2824
+ "slots": [
2825
+ {
2826
+ "name": "default",
2827
+ "description": "自定义内容"
2828
+ }
2829
+ ],
2830
+ "events": [
2831
+ {
2832
+ "name": "finish",
2833
+ "description": "倒计时结束时触发"
2834
+ },
2835
+ {
2836
+ "name": "change",
2837
+ "description": "倒计时变化时触发"
2838
+ }
2839
+ ],
2840
+ "attributes": [
2841
+ {
2842
+ "name": "time",
2843
+ "default": "`0`",
2844
+ "description": "倒计时时长,单位毫秒",
2845
2845
  "value": {
2846
- "type": "boolean",
2846
+ "type": "number | string",
2847
2847
  "kind": "expression"
2848
2848
  }
2849
2849
  },
2850
2850
  {
2851
- "name": "currency",
2852
- "default": "`¥`",
2853
- "description": "货币符号",
2851
+ "name": "format",
2852
+ "default": "`HH:mm:ss`",
2853
+ "description": "时间格式",
2854
2854
  "value": {
2855
2855
  "type": "string",
2856
2856
  "kind": "expression"
2857
2857
  }
2858
2858
  },
2859
2859
  {
2860
- "name": "empty-image",
2861
- "default": "`https://img01.yzcdn.cn/vant/coupon-empty.png`",
2862
- "description": "列表为空时的占位图",
2860
+ "name": "auto-start",
2861
+ "default": "`true`",
2862
+ "description": "是否自动开始倒计时",
2863
2863
  "value": {
2864
- "type": "string",
2864
+ "type": "boolean",
2865
2865
  "kind": "expression"
2866
2866
  }
2867
2867
  },
2868
2868
  {
2869
- "name": "show-count",
2870
- "default": "`true`",
2871
- "description": "是否展示可用 / 不可用数量",
2869
+ "name": "millisecond",
2870
+ "default": "`false`",
2871
+ "description": "是否开启毫秒级渲染",
2872
2872
  "value": {
2873
2873
  "type": "boolean",
2874
2874
  "kind": "expression"
@@ -3110,45 +3110,6 @@
3110
3110
  }
3111
3111
  ]
3112
3112
  },
3113
- {
3114
- "name": "van-divider",
3115
- "slots": [
3116
- {
3117
- "name": "default",
3118
- "description": "内容"
3119
- }
3120
- ],
3121
- "events": [],
3122
- "attributes": [
3123
- {
3124
- "name": "dashed",
3125
- "default": "`false`",
3126
- "description": "是否使用虚线",
3127
- "value": {
3128
- "type": "boolean",
3129
- "kind": "expression"
3130
- }
3131
- },
3132
- {
3133
- "name": "hairline",
3134
- "default": "`true`",
3135
- "description": "是否使用 0.5px 线",
3136
- "value": {
3137
- "type": "boolean",
3138
- "kind": "expression"
3139
- }
3140
- },
3141
- {
3142
- "name": "content-position",
3143
- "default": "`center`",
3144
- "description": "内容位置,可选值为`left` `right`",
3145
- "value": {
3146
- "type": "string",
3147
- "kind": "expression"
3148
- }
3149
- }
3150
- ]
3151
- },
3152
3113
  {
3153
3114
  "name": "van-dialog",
3154
3115
  "slots": [
@@ -3397,6 +3358,45 @@
3397
3358
  }
3398
3359
  ]
3399
3360
  },
3361
+ {
3362
+ "name": "van-divider",
3363
+ "slots": [
3364
+ {
3365
+ "name": "default",
3366
+ "description": "内容"
3367
+ }
3368
+ ],
3369
+ "events": [],
3370
+ "attributes": [
3371
+ {
3372
+ "name": "dashed",
3373
+ "default": "`false`",
3374
+ "description": "是否使用虚线",
3375
+ "value": {
3376
+ "type": "boolean",
3377
+ "kind": "expression"
3378
+ }
3379
+ },
3380
+ {
3381
+ "name": "hairline",
3382
+ "default": "`true`",
3383
+ "description": "是否使用 0.5px 线",
3384
+ "value": {
3385
+ "type": "boolean",
3386
+ "kind": "expression"
3387
+ }
3388
+ },
3389
+ {
3390
+ "name": "content-position",
3391
+ "default": "`center`",
3392
+ "description": "内容位置,可选值为`left` `right`",
3393
+ "value": {
3394
+ "type": "string",
3395
+ "kind": "expression"
3396
+ }
3397
+ }
3398
+ ]
3399
+ },
3400
3400
  {
3401
3401
  "name": "van-dropdown-menu",
3402
3402
  "slots": [],
@@ -5425,77 +5425,6 @@
5425
5425
  }
5426
5426
  ]
5427
5427
  },
5428
- {
5429
- "name": "van-overlay",
5430
- "slots": [
5431
- {
5432
- "name": "default",
5433
- "description": "默认插槽,用于在遮罩层上方嵌入内容"
5434
- }
5435
- ],
5436
- "events": [
5437
- {
5438
- "name": "click",
5439
- "description": "点击时触发"
5440
- }
5441
- ],
5442
- "attributes": [
5443
- {
5444
- "name": "show",
5445
- "default": "`false`",
5446
- "description": "是否展示遮罩层",
5447
- "value": {
5448
- "type": "boolean",
5449
- "kind": "expression"
5450
- }
5451
- },
5452
- {
5453
- "name": "z-index",
5454
- "default": "`1`",
5455
- "description": "z-index 层级",
5456
- "value": {
5457
- "type": "number | string",
5458
- "kind": "expression"
5459
- }
5460
- },
5461
- {
5462
- "name": "duration",
5463
- "default": "`0.3`",
5464
- "description": "动画时长,单位秒",
5465
- "value": {
5466
- "type": "number | string",
5467
- "kind": "expression"
5468
- }
5469
- },
5470
- {
5471
- "name": "class-name",
5472
- "default": "-",
5473
- "description": "自定义类名",
5474
- "value": {
5475
- "type": "string",
5476
- "kind": "expression"
5477
- }
5478
- },
5479
- {
5480
- "name": "custom-style",
5481
- "default": "-",
5482
- "description": "自定义样式",
5483
- "value": {
5484
- "type": "object",
5485
- "kind": "expression"
5486
- }
5487
- },
5488
- {
5489
- "name": "lock-scroll",
5490
- "default": "`true`",
5491
- "description": "是否锁定背景滚动,锁定时蒙层里的内容也将无法滚动",
5492
- "value": {
5493
- "type": "boolean",
5494
- "kind": "expression"
5495
- }
5496
- }
5497
- ]
5498
- },
5499
5428
  {
5500
5429
  "name": "van-number-keyboard",
5501
5430
  "slots": [
@@ -5639,45 +5568,116 @@
5639
5568
  }
5640
5569
  },
5641
5570
  {
5642
- "name": "show-delete-key",
5643
- "default": "`true`",
5644
- "description": "是否展示删除图标",
5571
+ "name": "show-delete-key",
5572
+ "default": "`true`",
5573
+ "description": "是否展示删除图标",
5574
+ "value": {
5575
+ "type": "boolean",
5576
+ "kind": "expression"
5577
+ }
5578
+ },
5579
+ {
5580
+ "name": "hide-on-click-outside",
5581
+ "default": "`true`",
5582
+ "description": "点击外部时是否收起键盘",
5583
+ "value": {
5584
+ "type": "boolean",
5585
+ "kind": "expression"
5586
+ }
5587
+ },
5588
+ {
5589
+ "name": "get-container",
5590
+ "default": "-",
5591
+ "description": "指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi)",
5592
+ "value": {
5593
+ "type": "string | () => Element",
5594
+ "kind": "expression"
5595
+ }
5596
+ },
5597
+ {
5598
+ "name": "safe-area-inset-bottom",
5599
+ "default": "`true`",
5600
+ "description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei)",
5601
+ "value": {
5602
+ "type": "boolean",
5603
+ "kind": "expression"
5604
+ }
5605
+ },
5606
+ {
5607
+ "name": "random-key-order",
5608
+ "default": "`false`",
5609
+ "description": "是否将通过随机顺序展示按键",
5610
+ "value": {
5611
+ "type": "boolean",
5612
+ "kind": "expression"
5613
+ }
5614
+ }
5615
+ ]
5616
+ },
5617
+ {
5618
+ "name": "van-overlay",
5619
+ "slots": [
5620
+ {
5621
+ "name": "default",
5622
+ "description": "默认插槽,用于在遮罩层上方嵌入内容"
5623
+ }
5624
+ ],
5625
+ "events": [
5626
+ {
5627
+ "name": "click",
5628
+ "description": "点击时触发"
5629
+ }
5630
+ ],
5631
+ "attributes": [
5632
+ {
5633
+ "name": "show",
5634
+ "default": "`false`",
5635
+ "description": "是否展示遮罩层",
5636
+ "value": {
5637
+ "type": "boolean",
5638
+ "kind": "expression"
5639
+ }
5640
+ },
5641
+ {
5642
+ "name": "z-index",
5643
+ "default": "`1`",
5644
+ "description": "z-index 层级",
5645
5645
  "value": {
5646
- "type": "boolean",
5646
+ "type": "number | string",
5647
5647
  "kind": "expression"
5648
5648
  }
5649
5649
  },
5650
5650
  {
5651
- "name": "hide-on-click-outside",
5652
- "default": "`true`",
5653
- "description": "点击外部时是否收起键盘",
5651
+ "name": "duration",
5652
+ "default": "`0.3`",
5653
+ "description": "动画时长,单位秒",
5654
5654
  "value": {
5655
- "type": "boolean",
5655
+ "type": "number | string",
5656
5656
  "kind": "expression"
5657
5657
  }
5658
5658
  },
5659
5659
  {
5660
- "name": "get-container",
5660
+ "name": "class-name",
5661
5661
  "default": "-",
5662
- "description": "指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi)",
5662
+ "description": "自定义类名",
5663
5663
  "value": {
5664
- "type": "string | () => Element",
5664
+ "type": "string",
5665
5665
  "kind": "expression"
5666
5666
  }
5667
5667
  },
5668
5668
  {
5669
- "name": "safe-area-inset-bottom",
5670
- "default": "`true`",
5671
- "description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei)",
5669
+ "name": "custom-style",
5670
+ "default": "-",
5671
+ "description": "自定义样式",
5672
5672
  "value": {
5673
- "type": "boolean",
5673
+ "type": "object",
5674
5674
  "kind": "expression"
5675
5675
  }
5676
5676
  },
5677
5677
  {
5678
- "name": "random-key-order",
5679
- "default": "`false`",
5680
- "description": "是否将通过随机顺序展示按键",
5678
+ "name": "lock-scroll",
5679
+ "default": "`true`",
5680
+ "description": "是否锁定背景滚动,锁定时蒙层里的内容也将无法滚动",
5681
5681
  "value": {
5682
5682
  "type": "boolean",
5683
5683
  "kind": "expression"
@@ -7112,116 +7112,6 @@
7112
7112
  }
7113
7113
  ]
7114
7114
  },
7115
- {
7116
- "name": "van-sidebar",
7117
- "slots": [],
7118
- "events": [
7119
- {
7120
- "name": "change",
7121
- "description": "切换导航项时触发"
7122
- }
7123
- ],
7124
- "attributes": [
7125
- {
7126
- "name": "v-model",
7127
- "default": "`0`",
7128
- "description": "当前导航项的索引",
7129
- "value": {
7130
- "type": "number | string",
7131
- "kind": "expression"
7132
- }
7133
- }
7134
- ]
7135
- },
7136
- {
7137
- "name": "van-sidebar-item",
7138
- "slots": [
7139
- {
7140
- "name": "title",
7141
- "description": "自定义标题"
7142
- }
7143
- ],
7144
- "events": [
7145
- {
7146
- "name": "click",
7147
- "description": "点击时触发"
7148
- }
7149
- ],
7150
- "attributes": [
7151
- {
7152
- "name": "title",
7153
- "default": "`''`",
7154
- "description": "内容",
7155
- "value": {
7156
- "type": "string",
7157
- "kind": "expression"
7158
- }
7159
- },
7160
- {
7161
- "name": "dot",
7162
- "default": "`false`",
7163
- "description": "是否显示右上角小红点",
7164
- "value": {
7165
- "type": "boolean",
7166
- "kind": "expression"
7167
- }
7168
- },
7169
- {
7170
- "name": "badge",
7171
- "default": "-",
7172
- "description": "图标右上角徽标的内容",
7173
- "value": {
7174
- "type": "number | string",
7175
- "kind": "expression"
7176
- }
7177
- },
7178
- {
7179
- "name": "info",
7180
- "default": "-",
7181
- "description": "图标右上角徽标的内容(已废弃,请使用 badge 属性)",
7182
- "value": {
7183
- "type": "number | string",
7184
- "kind": "expression"
7185
- }
7186
- },
7187
- {
7188
- "name": "disabled",
7189
- "default": "`false`",
7190
- "description": "是否禁用该项",
7191
- "value": {
7192
- "type": "boolean",
7193
- "kind": "expression"
7194
- }
7195
- },
7196
- {
7197
- "name": "url",
7198
- "default": "-",
7199
- "description": "点击后跳转的链接地址",
7200
- "value": {
7201
- "type": "string",
7202
- "kind": "expression"
7203
- }
7204
- },
7205
- {
7206
- "name": "to",
7207
- "default": "-",
7208
- "description": "点击后跳转的目标路由对象,同 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to)",
7209
- "value": {
7210
- "type": "string | object",
7211
- "kind": "expression"
7212
- }
7213
- },
7214
- {
7215
- "name": "replace",
7216
- "default": "`false`",
7217
- "description": "是否在跳转时替换当前页面历史",
7218
- "value": {
7219
- "type": "boolean",
7220
- "kind": "expression"
7221
- }
7222
- }
7223
- ]
7224
- },
7225
7115
  {
7226
7116
  "name": "van-share-sheet",
7227
7117
  "slots": [
@@ -7359,6 +7249,116 @@
7359
7249
  }
7360
7250
  ]
7361
7251
  },
7252
+ {
7253
+ "name": "van-sidebar",
7254
+ "slots": [],
7255
+ "events": [
7256
+ {
7257
+ "name": "change",
7258
+ "description": "切换导航项时触发"
7259
+ }
7260
+ ],
7261
+ "attributes": [
7262
+ {
7263
+ "name": "v-model",
7264
+ "default": "`0`",
7265
+ "description": "当前导航项的索引",
7266
+ "value": {
7267
+ "type": "number | string",
7268
+ "kind": "expression"
7269
+ }
7270
+ }
7271
+ ]
7272
+ },
7273
+ {
7274
+ "name": "van-sidebar-item",
7275
+ "slots": [
7276
+ {
7277
+ "name": "title",
7278
+ "description": "自定义标题"
7279
+ }
7280
+ ],
7281
+ "events": [
7282
+ {
7283
+ "name": "click",
7284
+ "description": "点击时触发"
7285
+ }
7286
+ ],
7287
+ "attributes": [
7288
+ {
7289
+ "name": "title",
7290
+ "default": "`''`",
7291
+ "description": "内容",
7292
+ "value": {
7293
+ "type": "string",
7294
+ "kind": "expression"
7295
+ }
7296
+ },
7297
+ {
7298
+ "name": "dot",
7299
+ "default": "`false`",
7300
+ "description": "是否显示右上角小红点",
7301
+ "value": {
7302
+ "type": "boolean",
7303
+ "kind": "expression"
7304
+ }
7305
+ },
7306
+ {
7307
+ "name": "badge",
7308
+ "default": "-",
7309
+ "description": "图标右上角徽标的内容",
7310
+ "value": {
7311
+ "type": "number | string",
7312
+ "kind": "expression"
7313
+ }
7314
+ },
7315
+ {
7316
+ "name": "info",
7317
+ "default": "-",
7318
+ "description": "图标右上角徽标的内容(已废弃,请使用 badge 属性)",
7319
+ "value": {
7320
+ "type": "number | string",
7321
+ "kind": "expression"
7322
+ }
7323
+ },
7324
+ {
7325
+ "name": "disabled",
7326
+ "default": "`false`",
7327
+ "description": "是否禁用该项",
7328
+ "value": {
7329
+ "type": "boolean",
7330
+ "kind": "expression"
7331
+ }
7332
+ },
7333
+ {
7334
+ "name": "url",
7335
+ "default": "-",
7336
+ "description": "点击后跳转的链接地址",
7337
+ "value": {
7338
+ "type": "string",
7339
+ "kind": "expression"
7340
+ }
7341
+ },
7342
+ {
7343
+ "name": "to",
7344
+ "default": "-",
7345
+ "description": "点击后跳转的目标路由对象,同 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to)",
7346
+ "value": {
7347
+ "type": "string | object",
7348
+ "kind": "expression"
7349
+ }
7350
+ },
7351
+ {
7352
+ "name": "replace",
7353
+ "default": "`false`",
7354
+ "description": "是否在跳转时替换当前页面历史",
7355
+ "value": {
7356
+ "type": "boolean",
7357
+ "kind": "expression"
7358
+ }
7359
+ }
7360
+ ]
7361
+ },
7362
7362
  {
7363
7363
  "name": "van-skeleton",
7364
7364
  "slots": [],