vant 2.12.33 → 2.12.34-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/index.js +1 -1
- package/es/swipe/index.js +8 -2
- package/es/tabbar-item/index.js +5 -3
- package/lib/index.js +1 -1
- package/lib/swipe/index.js +8 -2
- package/lib/tabbar-item/index.js +5 -3
- package/lib/vant.js +14 -6
- package/lib/vant.min.js +1 -1
- package/package.json +1 -1
- package/vetur/attributes.json +126 -126
- package/vetur/tags.json +52 -52
- package/vetur/web-types.json +371 -371
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.12.
|
5
|
+
"version": "2.12.34-beta.0",
|
6
6
|
"contributions": {
|
7
7
|
"html": {
|
8
8
|
"tags": [
|
@@ -452,150 +452,52 @@
|
|
452
452
|
]
|
453
453
|
},
|
454
454
|
{
|
455
|
-
"name": "van-
|
455
|
+
"name": "van-badge",
|
456
456
|
"slots": [
|
457
457
|
{
|
458
|
-
"name": "
|
459
|
-
"description": "
|
460
|
-
},
|
461
|
-
{
|
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": "点击取消按钮时"
|
458
|
+
"name": "default",
|
459
|
+
"description": "徽标包裹的子元素"
|
478
460
|
},
|
479
461
|
{
|
480
|
-
"name": "
|
481
|
-
"description": "
|
462
|
+
"name": "content",
|
463
|
+
"description": "自定义徽标内容"
|
482
464
|
}
|
483
465
|
],
|
466
|
+
"events": [],
|
484
467
|
"attributes": [
|
485
468
|
{
|
486
|
-
"name": "
|
487
|
-
"default": "-",
|
488
|
-
"description": "当前选中的省市区`code`",
|
489
|
-
"value": {
|
490
|
-
"type": "string",
|
491
|
-
"kind": "expression"
|
492
|
-
}
|
493
|
-
},
|
494
|
-
{
|
495
|
-
"name": "title",
|
469
|
+
"name": "content",
|
496
470
|
"default": "-",
|
497
|
-
"description": "
|
498
|
-
"value": {
|
499
|
-
"type": "string",
|
500
|
-
"kind": "expression"
|
501
|
-
}
|
502
|
-
},
|
503
|
-
{
|
504
|
-
"name": "confirm-button-text",
|
505
|
-
"default": "`确认`",
|
506
|
-
"description": "确认按钮文字",
|
471
|
+
"description": "徽标内容",
|
507
472
|
"value": {
|
508
|
-
"type": "string",
|
473
|
+
"type": "number | string",
|
509
474
|
"kind": "expression"
|
510
475
|
}
|
511
476
|
},
|
512
477
|
{
|
513
|
-
"name": "
|
514
|
-
"default": "
|
515
|
-
"description": "
|
478
|
+
"name": "color",
|
479
|
+
"default": "`#ee0a24`",
|
480
|
+
"description": "徽标背景颜色",
|
516
481
|
"value": {
|
517
482
|
"type": "string",
|
518
483
|
"kind": "expression"
|
519
484
|
}
|
520
485
|
},
|
521
486
|
{
|
522
|
-
"name": "
|
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",
|
541
|
-
"default": "`false`",
|
542
|
-
"description": "是否显示加载状态",
|
543
|
-
"value": {
|
544
|
-
"type": "boolean",
|
545
|
-
"kind": "expression"
|
546
|
-
}
|
547
|
-
},
|
548
|
-
{
|
549
|
-
"name": "readonly",
|
487
|
+
"name": "dot",
|
550
488
|
"default": "`false`",
|
551
|
-
"description": "
|
489
|
+
"description": "是否展示为小红点",
|
552
490
|
"value": {
|
553
491
|
"type": "boolean",
|
554
492
|
"kind": "expression"
|
555
493
|
}
|
556
494
|
},
|
557
495
|
{
|
558
|
-
"name": "
|
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`",
|
588
|
-
"value": {
|
589
|
-
"type": "number | string",
|
590
|
-
"kind": "expression"
|
591
|
-
}
|
592
|
-
},
|
593
|
-
{
|
594
|
-
"name": "is-oversea-code",
|
496
|
+
"name": "max",
|
595
497
|
"default": "-",
|
596
|
-
"description": "
|
498
|
+
"description": "最大值,超过最大值会显示 `{max}+`,仅当 content 为数字时有效",
|
597
499
|
"value": {
|
598
|
-
"type": "
|
500
|
+
"type": "number | string",
|
599
501
|
"kind": "expression"
|
600
502
|
}
|
601
503
|
}
|
@@ -941,54 +843,152 @@
|
|
941
843
|
]
|
942
844
|
},
|
943
845
|
{
|
944
|
-
"name": "van-
|
846
|
+
"name": "van-area",
|
945
847
|
"slots": [
|
946
848
|
{
|
947
|
-
"name": "
|
948
|
-
"description": "
|
849
|
+
"name": "title",
|
850
|
+
"description": "自定义标题内容"
|
949
851
|
},
|
950
852
|
{
|
951
|
-
"name": "
|
952
|
-
"description": "
|
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": "选项改变时触发"
|
953
873
|
}
|
954
874
|
],
|
955
|
-
"events": [],
|
956
875
|
"attributes": [
|
957
876
|
{
|
958
|
-
"name": "
|
877
|
+
"name": "value",
|
959
878
|
"default": "-",
|
960
|
-
"description": "
|
879
|
+
"description": "当前选中的省市区`code`",
|
961
880
|
"value": {
|
962
|
-
"type": "
|
881
|
+
"type": "string",
|
963
882
|
"kind": "expression"
|
964
883
|
}
|
965
884
|
},
|
966
885
|
{
|
967
|
-
"name": "
|
968
|
-
"default": "
|
969
|
-
"description": "
|
886
|
+
"name": "title",
|
887
|
+
"default": "-",
|
888
|
+
"description": "顶部栏标题",
|
970
889
|
"value": {
|
971
890
|
"type": "string",
|
972
891
|
"kind": "expression"
|
973
892
|
}
|
974
893
|
},
|
975
894
|
{
|
976
|
-
"name": "
|
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",
|
977
932
|
"default": "`false`",
|
978
|
-
"description": "
|
933
|
+
"description": "是否显示加载状态",
|
979
934
|
"value": {
|
980
935
|
"type": "boolean",
|
981
936
|
"kind": "expression"
|
982
937
|
}
|
983
938
|
},
|
984
939
|
{
|
985
|
-
"name": "
|
986
|
-
"default": "
|
987
|
-
"description": "
|
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`",
|
988
979
|
"value": {
|
989
980
|
"type": "number | string",
|
990
981
|
"kind": "expression"
|
991
982
|
}
|
983
|
+
},
|
984
|
+
{
|
985
|
+
"name": "is-oversea-code",
|
986
|
+
"default": "-",
|
987
|
+
"description": "根据`code`校验海外地址,海外地址会划分至单独的分类",
|
988
|
+
"value": {
|
989
|
+
"type": "() => boolean",
|
990
|
+
"kind": "expression"
|
991
|
+
}
|
992
992
|
}
|
993
993
|
]
|
994
994
|
},
|
@@ -3110,6 +3110,45 @@
|
|
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
|
+
},
|
3113
3152
|
{
|
3114
3153
|
"name": "van-dialog",
|
3115
3154
|
"slots": [
|
@@ -3358,45 +3397,6 @@
|
|
3358
3397
|
}
|
3359
3398
|
]
|
3360
3399
|
},
|
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,6 +5425,77 @@
|
|
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
|
+
},
|
5428
5499
|
{
|
5429
5500
|
"name": "van-number-keyboard",
|
5430
5501
|
"slots": [
|
@@ -5568,116 +5639,45 @@
|
|
5568
5639
|
}
|
5569
5640
|
},
|
5570
5641
|
{
|
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 层级",
|
5642
|
+
"name": "show-delete-key",
|
5643
|
+
"default": "`true`",
|
5644
|
+
"description": "是否展示删除图标",
|
5645
5645
|
"value": {
|
5646
|
-
"type": "
|
5646
|
+
"type": "boolean",
|
5647
5647
|
"kind": "expression"
|
5648
5648
|
}
|
5649
5649
|
},
|
5650
5650
|
{
|
5651
|
-
"name": "
|
5652
|
-
"default": "`
|
5653
|
-
"description": "
|
5651
|
+
"name": "hide-on-click-outside",
|
5652
|
+
"default": "`true`",
|
5653
|
+
"description": "点击外部时是否收起键盘",
|
5654
5654
|
"value": {
|
5655
|
-
"type": "
|
5655
|
+
"type": "boolean",
|
5656
5656
|
"kind": "expression"
|
5657
5657
|
}
|
5658
5658
|
},
|
5659
5659
|
{
|
5660
|
-
"name": "
|
5660
|
+
"name": "get-container",
|
5661
5661
|
"default": "-",
|
5662
|
-
"description": "
|
5662
|
+
"description": "指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi)",
|
5663
5663
|
"value": {
|
5664
|
-
"type": "string",
|
5664
|
+
"type": "string | () => Element",
|
5665
5665
|
"kind": "expression"
|
5666
5666
|
}
|
5667
5667
|
},
|
5668
5668
|
{
|
5669
|
-
"name": "
|
5670
|
-
"default": "
|
5671
|
-
"description": "
|
5669
|
+
"name": "safe-area-inset-bottom",
|
5670
|
+
"default": "`true`",
|
5671
|
+
"description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei)",
|
5672
5672
|
"value": {
|
5673
|
-
"type": "
|
5673
|
+
"type": "boolean",
|
5674
5674
|
"kind": "expression"
|
5675
5675
|
}
|
5676
5676
|
},
|
5677
5677
|
{
|
5678
|
-
"name": "
|
5679
|
-
"default": "`
|
5680
|
-
"description": "
|
5678
|
+
"name": "random-key-order",
|
5679
|
+
"default": "`false`",
|
5680
|
+
"description": "是否将通过随机顺序展示按键",
|
5681
5681
|
"value": {
|
5682
5682
|
"type": "boolean",
|
5683
5683
|
"kind": "expression"
|
@@ -7112,6 +7112,116 @@
|
|
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
|
+
},
|
7115
7225
|
{
|
7116
7226
|
"name": "van-share-sheet",
|
7117
7227
|
"slots": [
|
@@ -7249,116 +7359,6 @@
|
|
7249
7359
|
}
|
7250
7360
|
]
|
7251
7361
|
},
|
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": [],
|