vant 2.12.34 → 2.12.35
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/datetime-picker/DatePicker.js +3 -0
- package/es/index.js +1 -1
- package/es/swipe/index.css +1 -1
- package/es/swipe/index.less +2 -0
- package/lib/datetime-picker/DatePicker.js +3 -0
- package/lib/index.css +1 -1
- package/lib/index.js +1 -1
- package/lib/swipe/index.css +1 -1
- package/lib/swipe/index.less +2 -0
- package/lib/vant.js +4 -1
- package/lib/vant.min.js +1 -1
- package/package.json +1 -1
- package/vetur/attributes.json +181 -181
- package/vetur/tags.json +62 -62
- package/vetur/web-types.json +621 -621
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.35",
|
6
6
|
"contributions": {
|
7
7
|
"html": {
|
8
8
|
"tags": [
|
@@ -451,156 +451,6 @@
|
|
451
451
|
}
|
452
452
|
]
|
453
453
|
},
|
454
|
-
{
|
455
|
-
"name": "van-area",
|
456
|
-
"slots": [
|
457
|
-
{
|
458
|
-
"name": "title",
|
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": "点击取消按钮时"
|
478
|
-
},
|
479
|
-
{
|
480
|
-
"name": "change",
|
481
|
-
"description": "选项改变时触发"
|
482
|
-
}
|
483
|
-
],
|
484
|
-
"attributes": [
|
485
|
-
{
|
486
|
-
"name": "value",
|
487
|
-
"default": "-",
|
488
|
-
"description": "当前选中的省市区`code`",
|
489
|
-
"value": {
|
490
|
-
"type": "string",
|
491
|
-
"kind": "expression"
|
492
|
-
}
|
493
|
-
},
|
494
|
-
{
|
495
|
-
"name": "title",
|
496
|
-
"default": "-",
|
497
|
-
"description": "顶部栏标题",
|
498
|
-
"value": {
|
499
|
-
"type": "string",
|
500
|
-
"kind": "expression"
|
501
|
-
}
|
502
|
-
},
|
503
|
-
{
|
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",
|
541
|
-
"default": "`false`",
|
542
|
-
"description": "是否显示加载状态",
|
543
|
-
"value": {
|
544
|
-
"type": "boolean",
|
545
|
-
"kind": "expression"
|
546
|
-
}
|
547
|
-
},
|
548
|
-
{
|
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`",
|
588
|
-
"value": {
|
589
|
-
"type": "number | string",
|
590
|
-
"kind": "expression"
|
591
|
-
}
|
592
|
-
},
|
593
|
-
{
|
594
|
-
"name": "is-oversea-code",
|
595
|
-
"default": "-",
|
596
|
-
"description": "根据`code`校验海外地址,海外地址会划分至单独的分类",
|
597
|
-
"value": {
|
598
|
-
"type": "() => boolean",
|
599
|
-
"kind": "expression"
|
600
|
-
}
|
601
|
-
}
|
602
|
-
]
|
603
|
-
},
|
604
454
|
{
|
605
455
|
"name": "van-address-list",
|
606
456
|
"slots": [
|
@@ -766,356 +616,129 @@
|
|
766
616
|
]
|
767
617
|
},
|
768
618
|
{
|
769
|
-
"name": "van-
|
619
|
+
"name": "van-calendar",
|
770
620
|
"slots": [
|
771
621
|
{
|
772
|
-
"name": "
|
773
|
-
"description": "
|
622
|
+
"name": "title",
|
623
|
+
"description": "自定义标题"
|
774
624
|
},
|
775
625
|
{
|
776
|
-
"name": "
|
777
|
-
"description": "
|
626
|
+
"name": "footer",
|
627
|
+
"description": "自定义底部区域内容"
|
778
628
|
},
|
779
629
|
{
|
780
|
-
"name": "
|
781
|
-
"description": "
|
630
|
+
"name": "top-info",
|
631
|
+
"description": "自定义日期上方的提示信息"
|
632
|
+
},
|
633
|
+
{
|
634
|
+
"name": "bottom-info",
|
635
|
+
"description": "自定义日期下方的提示信息"
|
782
636
|
}
|
783
637
|
],
|
784
638
|
"events": [
|
785
639
|
{
|
786
|
-
"name": "
|
787
|
-
"description": "
|
640
|
+
"name": "select",
|
641
|
+
"description": "点击并选中任意日期时触发"
|
788
642
|
},
|
789
643
|
{
|
790
|
-
"name": "
|
791
|
-
"description": "
|
644
|
+
"name": "confirm",
|
645
|
+
"description": "日期选择完成后触发,若`show-confirm`为`true`,则点击确认按钮后触发"
|
646
|
+
},
|
647
|
+
{
|
648
|
+
"name": "open",
|
649
|
+
"description": "打开弹出层时触发"
|
650
|
+
},
|
651
|
+
{
|
652
|
+
"name": "close",
|
653
|
+
"description": "关闭弹出层时触发"
|
654
|
+
},
|
655
|
+
{
|
656
|
+
"name": "opened",
|
657
|
+
"description": "打开弹出层且动画结束后触发"
|
658
|
+
},
|
659
|
+
{
|
660
|
+
"name": "closed",
|
661
|
+
"description": "关闭弹出层且动画结束后触发"
|
662
|
+
},
|
663
|
+
{
|
664
|
+
"name": "unselect",
|
665
|
+
"description": "当日历组件的 `type` 为 `multiple` 时,取消选中日期时触发"
|
666
|
+
},
|
667
|
+
{
|
668
|
+
"name": "month-show",
|
669
|
+
"description": "当某个月份进入可视区域时触发"
|
792
670
|
}
|
793
671
|
],
|
794
672
|
"attributes": [
|
795
673
|
{
|
796
674
|
"name": "type",
|
797
|
-
"default": "`
|
798
|
-
"description": "
|
675
|
+
"default": "`single`",
|
676
|
+
"description": "选择类型:<br>`single`表示选择单个日期,<br>`multiple`表示选择多个日期,<br>`range`表示选择日期区间",
|
799
677
|
"value": {
|
800
678
|
"type": "string",
|
801
679
|
"kind": "expression"
|
802
680
|
}
|
803
681
|
},
|
804
682
|
{
|
805
|
-
"name": "
|
806
|
-
"default": "
|
807
|
-
"description": "
|
683
|
+
"name": "title",
|
684
|
+
"default": "`日期选择`",
|
685
|
+
"description": "日历标题",
|
808
686
|
"value": {
|
809
687
|
"type": "string",
|
810
688
|
"kind": "expression"
|
811
689
|
}
|
812
690
|
},
|
813
691
|
{
|
814
|
-
"name": "
|
815
|
-
"default": "
|
816
|
-
"description": "
|
692
|
+
"name": "color",
|
693
|
+
"default": "`#ee0a24`",
|
694
|
+
"description": "主题色,对底部按钮和选中日期生效",
|
817
695
|
"value": {
|
818
696
|
"type": "string",
|
819
697
|
"kind": "expression"
|
820
698
|
}
|
821
699
|
},
|
822
700
|
{
|
823
|
-
"name": "
|
824
|
-
"default": "
|
825
|
-
"description": "
|
701
|
+
"name": "min-date",
|
702
|
+
"default": "当前日期",
|
703
|
+
"description": "可选择的最小日期",
|
826
704
|
"value": {
|
827
|
-
"type": "
|
705
|
+
"type": "Date",
|
828
706
|
"kind": "expression"
|
829
707
|
}
|
830
708
|
},
|
831
709
|
{
|
832
|
-
"name": "
|
833
|
-
"default": "
|
834
|
-
"description": "
|
710
|
+
"name": "max-date",
|
711
|
+
"default": "当前日期的六个月后",
|
712
|
+
"description": "可选择的最大日期",
|
835
713
|
"value": {
|
836
|
-
"type": "
|
714
|
+
"type": "Date",
|
837
715
|
"kind": "expression"
|
838
716
|
}
|
839
717
|
},
|
840
718
|
{
|
841
|
-
"name": "
|
842
|
-
"default": "
|
843
|
-
"description": "
|
719
|
+
"name": "default-date",
|
720
|
+
"default": "null_",
|
721
|
+
"description": "默认选中的日期,`type` 为 `multiple` 或 `range` 时为数组,传入 `null` 表示默认不选择",
|
844
722
|
"value": {
|
845
|
-
"type": "
|
723
|
+
"type": "Date | Date[] \\",
|
846
724
|
"kind": "expression"
|
847
725
|
}
|
848
726
|
},
|
849
727
|
{
|
850
|
-
"name": "
|
851
|
-
"default": "`
|
852
|
-
"description": "
|
728
|
+
"name": "row-height",
|
729
|
+
"default": "`64`",
|
730
|
+
"description": "日期行高",
|
853
731
|
"value": {
|
854
|
-
"type": "string",
|
732
|
+
"type": "number | string",
|
855
733
|
"kind": "expression"
|
856
734
|
}
|
857
735
|
},
|
858
736
|
{
|
859
|
-
"name": "
|
860
|
-
"default": "
|
861
|
-
"description": "
|
737
|
+
"name": "formatter",
|
738
|
+
"default": "-",
|
739
|
+
"description": "日期格式化函数",
|
862
740
|
"value": {
|
863
|
-
"type": "
|
864
|
-
"kind": "expression"
|
865
|
-
}
|
866
|
-
},
|
867
|
-
{
|
868
|
-
"name": "native-type",
|
869
|
-
"default": "-",
|
870
|
-
"description": "原生 button 标签的 type 属性",
|
871
|
-
"value": {
|
872
|
-
"type": "string",
|
873
|
-
"kind": "expression"
|
874
|
-
}
|
875
|
-
},
|
876
|
-
{
|
877
|
-
"name": "block",
|
878
|
-
"default": "`false`",
|
879
|
-
"description": "是否为块级元素",
|
880
|
-
"value": {
|
881
|
-
"type": "boolean",
|
882
|
-
"kind": "expression"
|
883
|
-
}
|
884
|
-
},
|
885
|
-
{
|
886
|
-
"name": "plain",
|
887
|
-
"default": "`false`",
|
888
|
-
"description": "是否为朴素按钮",
|
889
|
-
"value": {
|
890
|
-
"type": "boolean",
|
891
|
-
"kind": "expression"
|
892
|
-
}
|
893
|
-
},
|
894
|
-
{
|
895
|
-
"name": "square",
|
896
|
-
"default": "`false`",
|
897
|
-
"description": "是否为方形按钮",
|
898
|
-
"value": {
|
899
|
-
"type": "boolean",
|
900
|
-
"kind": "expression"
|
901
|
-
}
|
902
|
-
},
|
903
|
-
{
|
904
|
-
"name": "round",
|
905
|
-
"default": "`false`",
|
906
|
-
"description": "是否为圆形按钮",
|
907
|
-
"value": {
|
908
|
-
"type": "boolean",
|
909
|
-
"kind": "expression"
|
910
|
-
}
|
911
|
-
},
|
912
|
-
{
|
913
|
-
"name": "disabled",
|
914
|
-
"default": "`false`",
|
915
|
-
"description": "是否禁用按钮",
|
916
|
-
"value": {
|
917
|
-
"type": "boolean",
|
918
|
-
"kind": "expression"
|
919
|
-
}
|
920
|
-
},
|
921
|
-
{
|
922
|
-
"name": "hairline",
|
923
|
-
"default": "`false`",
|
924
|
-
"description": "是否使用 0.5px 边框",
|
925
|
-
"value": {
|
926
|
-
"type": "boolean",
|
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": "loading-text",
|
941
|
-
"default": "-",
|
942
|
-
"description": "加载状态提示文字",
|
943
|
-
"value": {
|
944
|
-
"type": "string",
|
945
|
-
"kind": "expression"
|
946
|
-
}
|
947
|
-
},
|
948
|
-
{
|
949
|
-
"name": "loading-type",
|
950
|
-
"default": "`circular`",
|
951
|
-
"description": "[加载图标类型](#/zh-CN/loading),可选值为 `spinner`",
|
952
|
-
"value": {
|
953
|
-
"type": "string",
|
954
|
-
"kind": "expression"
|
955
|
-
}
|
956
|
-
},
|
957
|
-
{
|
958
|
-
"name": "loading-size",
|
959
|
-
"default": "`20px`",
|
960
|
-
"description": "加载图标大小",
|
961
|
-
"value": {
|
962
|
-
"type": "string",
|
963
|
-
"kind": "expression"
|
964
|
-
}
|
965
|
-
},
|
966
|
-
{
|
967
|
-
"name": "url",
|
968
|
-
"default": "-",
|
969
|
-
"description": "点击后跳转的链接地址",
|
970
|
-
"value": {
|
971
|
-
"type": "string",
|
972
|
-
"kind": "expression"
|
973
|
-
}
|
974
|
-
},
|
975
|
-
{
|
976
|
-
"name": "to",
|
977
|
-
"default": "-",
|
978
|
-
"description": "点击后跳转的目标路由对象,同 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to)",
|
979
|
-
"value": {
|
980
|
-
"type": "string | object",
|
981
|
-
"kind": "expression"
|
982
|
-
}
|
983
|
-
},
|
984
|
-
{
|
985
|
-
"name": "replace",
|
986
|
-
"default": "`false`",
|
987
|
-
"description": "是否在跳转时替换当前页面历史",
|
988
|
-
"value": {
|
989
|
-
"type": "boolean",
|
990
|
-
"kind": "expression"
|
991
|
-
}
|
992
|
-
}
|
993
|
-
]
|
994
|
-
},
|
995
|
-
{
|
996
|
-
"name": "van-calendar",
|
997
|
-
"slots": [
|
998
|
-
{
|
999
|
-
"name": "title",
|
1000
|
-
"description": "自定义标题"
|
1001
|
-
},
|
1002
|
-
{
|
1003
|
-
"name": "footer",
|
1004
|
-
"description": "自定义底部区域内容"
|
1005
|
-
},
|
1006
|
-
{
|
1007
|
-
"name": "top-info",
|
1008
|
-
"description": "自定义日期上方的提示信息"
|
1009
|
-
},
|
1010
|
-
{
|
1011
|
-
"name": "bottom-info",
|
1012
|
-
"description": "自定义日期下方的提示信息"
|
1013
|
-
}
|
1014
|
-
],
|
1015
|
-
"events": [
|
1016
|
-
{
|
1017
|
-
"name": "select",
|
1018
|
-
"description": "点击并选中任意日期时触发"
|
1019
|
-
},
|
1020
|
-
{
|
1021
|
-
"name": "confirm",
|
1022
|
-
"description": "日期选择完成后触发,若`show-confirm`为`true`,则点击确认按钮后触发"
|
1023
|
-
},
|
1024
|
-
{
|
1025
|
-
"name": "open",
|
1026
|
-
"description": "打开弹出层时触发"
|
1027
|
-
},
|
1028
|
-
{
|
1029
|
-
"name": "close",
|
1030
|
-
"description": "关闭弹出层时触发"
|
1031
|
-
},
|
1032
|
-
{
|
1033
|
-
"name": "opened",
|
1034
|
-
"description": "打开弹出层且动画结束后触发"
|
1035
|
-
},
|
1036
|
-
{
|
1037
|
-
"name": "closed",
|
1038
|
-
"description": "关闭弹出层且动画结束后触发"
|
1039
|
-
},
|
1040
|
-
{
|
1041
|
-
"name": "unselect",
|
1042
|
-
"description": "当日历组件的 `type` 为 `multiple` 时,取消选中日期时触发"
|
1043
|
-
},
|
1044
|
-
{
|
1045
|
-
"name": "month-show",
|
1046
|
-
"description": "当某个月份进入可视区域时触发"
|
1047
|
-
}
|
1048
|
-
],
|
1049
|
-
"attributes": [
|
1050
|
-
{
|
1051
|
-
"name": "type",
|
1052
|
-
"default": "`single`",
|
1053
|
-
"description": "选择类型:<br>`single`表示选择单个日期,<br>`multiple`表示选择多个日期,<br>`range`表示选择日期区间",
|
1054
|
-
"value": {
|
1055
|
-
"type": "string",
|
1056
|
-
"kind": "expression"
|
1057
|
-
}
|
1058
|
-
},
|
1059
|
-
{
|
1060
|
-
"name": "title",
|
1061
|
-
"default": "`日期选择`",
|
1062
|
-
"description": "日历标题",
|
1063
|
-
"value": {
|
1064
|
-
"type": "string",
|
1065
|
-
"kind": "expression"
|
1066
|
-
}
|
1067
|
-
},
|
1068
|
-
{
|
1069
|
-
"name": "color",
|
1070
|
-
"default": "`#ee0a24`",
|
1071
|
-
"description": "主题色,对底部按钮和选中日期生效",
|
1072
|
-
"value": {
|
1073
|
-
"type": "string",
|
1074
|
-
"kind": "expression"
|
1075
|
-
}
|
1076
|
-
},
|
1077
|
-
{
|
1078
|
-
"name": "min-date",
|
1079
|
-
"default": "当前日期",
|
1080
|
-
"description": "可选择的最小日期",
|
1081
|
-
"value": {
|
1082
|
-
"type": "Date",
|
1083
|
-
"kind": "expression"
|
1084
|
-
}
|
1085
|
-
},
|
1086
|
-
{
|
1087
|
-
"name": "max-date",
|
1088
|
-
"default": "当前日期的六个月后",
|
1089
|
-
"description": "可选择的最大日期",
|
1090
|
-
"value": {
|
1091
|
-
"type": "Date",
|
1092
|
-
"kind": "expression"
|
1093
|
-
}
|
1094
|
-
},
|
1095
|
-
{
|
1096
|
-
"name": "default-date",
|
1097
|
-
"default": "null_",
|
1098
|
-
"description": "默认选中的日期,`type` 为 `multiple` 或 `range` 时为数组,传入 `null` 表示默认不选择",
|
1099
|
-
"value": {
|
1100
|
-
"type": "Date | Date[] \\",
|
1101
|
-
"kind": "expression"
|
1102
|
-
}
|
1103
|
-
},
|
1104
|
-
{
|
1105
|
-
"name": "row-height",
|
1106
|
-
"default": "`64`",
|
1107
|
-
"description": "日期行高",
|
1108
|
-
"value": {
|
1109
|
-
"type": "number | string",
|
1110
|
-
"kind": "expression"
|
1111
|
-
}
|
1112
|
-
},
|
1113
|
-
{
|
1114
|
-
"name": "formatter",
|
1115
|
-
"default": "-",
|
1116
|
-
"description": "日期格式化函数",
|
1117
|
-
"value": {
|
1118
|
-
"type": "(day: Day) => Day",
|
741
|
+
"type": "(day: Day) => Day",
|
1119
742
|
"kind": "expression"
|
1120
743
|
}
|
1121
744
|
},
|
@@ -1287,54 +910,523 @@
|
|
1287
910
|
"events": [],
|
1288
911
|
"attributes": [
|
1289
912
|
{
|
1290
|
-
"name": "max-range",
|
1291
|
-
"default": "无限制",
|
1292
|
-
"description": "日期区间最多可选天数",
|
913
|
+
"name": "max-range",
|
914
|
+
"default": "无限制",
|
915
|
+
"description": "日期区间最多可选天数",
|
916
|
+
"value": {
|
917
|
+
"type": "number | string",
|
918
|
+
"kind": "expression"
|
919
|
+
}
|
920
|
+
},
|
921
|
+
{
|
922
|
+
"name": "range-prompt",
|
923
|
+
"default": "`选择天数不能超过 xx 天`",
|
924
|
+
"description": "范围选择超过最多可选天数时的提示文案",
|
925
|
+
"value": {
|
926
|
+
"type": "string",
|
927
|
+
"kind": "expression"
|
928
|
+
}
|
929
|
+
},
|
930
|
+
{
|
931
|
+
"name": "allow-same-day",
|
932
|
+
"default": "`false`",
|
933
|
+
"description": "是否允许日期范围的起止时间为同一天",
|
934
|
+
"value": {
|
935
|
+
"type": "boolean",
|
936
|
+
"kind": "expression"
|
937
|
+
}
|
938
|
+
}
|
939
|
+
]
|
940
|
+
},
|
941
|
+
{
|
942
|
+
"name": "van-multiple",
|
943
|
+
"slots": [],
|
944
|
+
"events": [],
|
945
|
+
"attributes": [
|
946
|
+
{
|
947
|
+
"name": "max-range",
|
948
|
+
"default": "无限制",
|
949
|
+
"description": "日期最多可选天数",
|
950
|
+
"value": {
|
951
|
+
"type": "number | string",
|
952
|
+
"kind": "expression"
|
953
|
+
}
|
954
|
+
},
|
955
|
+
{
|
956
|
+
"name": "range-prompt",
|
957
|
+
"default": "`选择天数不能超过 xx 天`",
|
958
|
+
"description": "选择超过最多可选天数时的提示文案",
|
959
|
+
"value": {
|
960
|
+
"type": "string",
|
961
|
+
"kind": "expression"
|
962
|
+
}
|
963
|
+
}
|
964
|
+
]
|
965
|
+
},
|
966
|
+
{
|
967
|
+
"name": "van-button",
|
968
|
+
"slots": [
|
969
|
+
{
|
970
|
+
"name": "default",
|
971
|
+
"description": "按钮内容"
|
972
|
+
},
|
973
|
+
{
|
974
|
+
"name": "icon",
|
975
|
+
"description": "自定义图标"
|
976
|
+
},
|
977
|
+
{
|
978
|
+
"name": "loading",
|
979
|
+
"description": "自定义加载图标"
|
980
|
+
}
|
981
|
+
],
|
982
|
+
"events": [
|
983
|
+
{
|
984
|
+
"name": "click",
|
985
|
+
"description": "点击按钮,且按钮状态不为加载或禁用时触发"
|
986
|
+
},
|
987
|
+
{
|
988
|
+
"name": "touchstart",
|
989
|
+
"description": "开始触摸按钮时触发"
|
990
|
+
}
|
991
|
+
],
|
992
|
+
"attributes": [
|
993
|
+
{
|
994
|
+
"name": "type",
|
995
|
+
"default": "`default`",
|
996
|
+
"description": "类型,可选值为 `primary` `info` `warning` `danger`",
|
997
|
+
"value": {
|
998
|
+
"type": "string",
|
999
|
+
"kind": "expression"
|
1000
|
+
}
|
1001
|
+
},
|
1002
|
+
{
|
1003
|
+
"name": "size",
|
1004
|
+
"default": "`normal`",
|
1005
|
+
"description": "尺寸,可选值为 `large` `small` `mini`",
|
1006
|
+
"value": {
|
1007
|
+
"type": "string",
|
1008
|
+
"kind": "expression"
|
1009
|
+
}
|
1010
|
+
},
|
1011
|
+
{
|
1012
|
+
"name": "text",
|
1013
|
+
"default": "-",
|
1014
|
+
"description": "按钮文字",
|
1015
|
+
"value": {
|
1016
|
+
"type": "string",
|
1017
|
+
"kind": "expression"
|
1018
|
+
}
|
1019
|
+
},
|
1020
|
+
{
|
1021
|
+
"name": "color",
|
1022
|
+
"default": "-",
|
1023
|
+
"description": "按钮颜色,支持传入 `linear-gradient` 渐变色",
|
1024
|
+
"value": {
|
1025
|
+
"type": "string",
|
1026
|
+
"kind": "expression"
|
1027
|
+
}
|
1028
|
+
},
|
1029
|
+
{
|
1030
|
+
"name": "icon",
|
1031
|
+
"default": "-",
|
1032
|
+
"description": "左侧[图标名称](#/zh-CN/icon)或图片链接",
|
1033
|
+
"value": {
|
1034
|
+
"type": "string",
|
1035
|
+
"kind": "expression"
|
1036
|
+
}
|
1037
|
+
},
|
1038
|
+
{
|
1039
|
+
"name": "icon-prefix",
|
1040
|
+
"default": "`van-icon`",
|
1041
|
+
"description": "图标类名前缀,同 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props)",
|
1042
|
+
"value": {
|
1043
|
+
"type": "string",
|
1044
|
+
"kind": "expression"
|
1045
|
+
}
|
1046
|
+
},
|
1047
|
+
{
|
1048
|
+
"name": "icon-position",
|
1049
|
+
"default": "`left`",
|
1050
|
+
"description": "图标展示位置,可选值为 `right`",
|
1051
|
+
"value": {
|
1052
|
+
"type": "string",
|
1053
|
+
"kind": "expression"
|
1054
|
+
}
|
1055
|
+
},
|
1056
|
+
{
|
1057
|
+
"name": "tag",
|
1058
|
+
"default": "`button`",
|
1059
|
+
"description": "按钮根节点的 HTML 标签",
|
1060
|
+
"value": {
|
1061
|
+
"type": "string",
|
1062
|
+
"kind": "expression"
|
1063
|
+
}
|
1064
|
+
},
|
1065
|
+
{
|
1066
|
+
"name": "native-type",
|
1067
|
+
"default": "-",
|
1068
|
+
"description": "原生 button 标签的 type 属性",
|
1069
|
+
"value": {
|
1070
|
+
"type": "string",
|
1071
|
+
"kind": "expression"
|
1072
|
+
}
|
1073
|
+
},
|
1074
|
+
{
|
1075
|
+
"name": "block",
|
1076
|
+
"default": "`false`",
|
1077
|
+
"description": "是否为块级元素",
|
1078
|
+
"value": {
|
1079
|
+
"type": "boolean",
|
1080
|
+
"kind": "expression"
|
1081
|
+
}
|
1082
|
+
},
|
1083
|
+
{
|
1084
|
+
"name": "plain",
|
1085
|
+
"default": "`false`",
|
1086
|
+
"description": "是否为朴素按钮",
|
1087
|
+
"value": {
|
1088
|
+
"type": "boolean",
|
1089
|
+
"kind": "expression"
|
1090
|
+
}
|
1091
|
+
},
|
1092
|
+
{
|
1093
|
+
"name": "square",
|
1094
|
+
"default": "`false`",
|
1095
|
+
"description": "是否为方形按钮",
|
1096
|
+
"value": {
|
1097
|
+
"type": "boolean",
|
1098
|
+
"kind": "expression"
|
1099
|
+
}
|
1100
|
+
},
|
1101
|
+
{
|
1102
|
+
"name": "round",
|
1103
|
+
"default": "`false`",
|
1104
|
+
"description": "是否为圆形按钮",
|
1105
|
+
"value": {
|
1106
|
+
"type": "boolean",
|
1107
|
+
"kind": "expression"
|
1108
|
+
}
|
1109
|
+
},
|
1110
|
+
{
|
1111
|
+
"name": "disabled",
|
1112
|
+
"default": "`false`",
|
1113
|
+
"description": "是否禁用按钮",
|
1114
|
+
"value": {
|
1115
|
+
"type": "boolean",
|
1116
|
+
"kind": "expression"
|
1117
|
+
}
|
1118
|
+
},
|
1119
|
+
{
|
1120
|
+
"name": "hairline",
|
1121
|
+
"default": "`false`",
|
1122
|
+
"description": "是否使用 0.5px 边框",
|
1123
|
+
"value": {
|
1124
|
+
"type": "boolean",
|
1125
|
+
"kind": "expression"
|
1126
|
+
}
|
1127
|
+
},
|
1128
|
+
{
|
1129
|
+
"name": "loading",
|
1130
|
+
"default": "`false`",
|
1131
|
+
"description": "是否显示为加载状态",
|
1132
|
+
"value": {
|
1133
|
+
"type": "boolean",
|
1134
|
+
"kind": "expression"
|
1135
|
+
}
|
1136
|
+
},
|
1137
|
+
{
|
1138
|
+
"name": "loading-text",
|
1139
|
+
"default": "-",
|
1140
|
+
"description": "加载状态提示文字",
|
1141
|
+
"value": {
|
1142
|
+
"type": "string",
|
1143
|
+
"kind": "expression"
|
1144
|
+
}
|
1145
|
+
},
|
1146
|
+
{
|
1147
|
+
"name": "loading-type",
|
1148
|
+
"default": "`circular`",
|
1149
|
+
"description": "[加载图标类型](#/zh-CN/loading),可选值为 `spinner`",
|
1150
|
+
"value": {
|
1151
|
+
"type": "string",
|
1152
|
+
"kind": "expression"
|
1153
|
+
}
|
1154
|
+
},
|
1155
|
+
{
|
1156
|
+
"name": "loading-size",
|
1157
|
+
"default": "`20px`",
|
1158
|
+
"description": "加载图标大小",
|
1159
|
+
"value": {
|
1160
|
+
"type": "string",
|
1161
|
+
"kind": "expression"
|
1162
|
+
}
|
1163
|
+
},
|
1164
|
+
{
|
1165
|
+
"name": "url",
|
1166
|
+
"default": "-",
|
1167
|
+
"description": "点击后跳转的链接地址",
|
1168
|
+
"value": {
|
1169
|
+
"type": "string",
|
1170
|
+
"kind": "expression"
|
1171
|
+
}
|
1172
|
+
},
|
1173
|
+
{
|
1174
|
+
"name": "to",
|
1175
|
+
"default": "-",
|
1176
|
+
"description": "点击后跳转的目标路由对象,同 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to)",
|
1177
|
+
"value": {
|
1178
|
+
"type": "string | object",
|
1179
|
+
"kind": "expression"
|
1180
|
+
}
|
1181
|
+
},
|
1182
|
+
{
|
1183
|
+
"name": "replace",
|
1184
|
+
"default": "`false`",
|
1185
|
+
"description": "是否在跳转时替换当前页面历史",
|
1186
|
+
"value": {
|
1187
|
+
"type": "boolean",
|
1188
|
+
"kind": "expression"
|
1189
|
+
}
|
1190
|
+
}
|
1191
|
+
]
|
1192
|
+
},
|
1193
|
+
{
|
1194
|
+
"name": "van-area",
|
1195
|
+
"slots": [
|
1196
|
+
{
|
1197
|
+
"name": "title",
|
1198
|
+
"description": "自定义标题内容"
|
1199
|
+
},
|
1200
|
+
{
|
1201
|
+
"name": "columns-top",
|
1202
|
+
"description": "自定义选项上方内容"
|
1203
|
+
},
|
1204
|
+
{
|
1205
|
+
"name": "columns-bottom",
|
1206
|
+
"description": "自定义选项下方内容"
|
1207
|
+
}
|
1208
|
+
],
|
1209
|
+
"events": [
|
1210
|
+
{
|
1211
|
+
"name": "confirm",
|
1212
|
+
"description": "点击右上方完成按钮"
|
1213
|
+
},
|
1214
|
+
{
|
1215
|
+
"name": "cancel",
|
1216
|
+
"description": "点击取消按钮时"
|
1217
|
+
},
|
1218
|
+
{
|
1219
|
+
"name": "change",
|
1220
|
+
"description": "选项改变时触发"
|
1221
|
+
}
|
1222
|
+
],
|
1223
|
+
"attributes": [
|
1224
|
+
{
|
1225
|
+
"name": "value",
|
1226
|
+
"default": "-",
|
1227
|
+
"description": "当前选中的省市区`code`",
|
1228
|
+
"value": {
|
1229
|
+
"type": "string",
|
1230
|
+
"kind": "expression"
|
1231
|
+
}
|
1232
|
+
},
|
1233
|
+
{
|
1234
|
+
"name": "title",
|
1235
|
+
"default": "-",
|
1236
|
+
"description": "顶部栏标题",
|
1237
|
+
"value": {
|
1238
|
+
"type": "string",
|
1239
|
+
"kind": "expression"
|
1240
|
+
}
|
1241
|
+
},
|
1242
|
+
{
|
1243
|
+
"name": "confirm-button-text",
|
1244
|
+
"default": "`确认`",
|
1245
|
+
"description": "确认按钮文字",
|
1246
|
+
"value": {
|
1247
|
+
"type": "string",
|
1248
|
+
"kind": "expression"
|
1249
|
+
}
|
1250
|
+
},
|
1251
|
+
{
|
1252
|
+
"name": "cancel-button-text",
|
1253
|
+
"default": "`取消`",
|
1254
|
+
"description": "取消按钮文字",
|
1255
|
+
"value": {
|
1256
|
+
"type": "string",
|
1257
|
+
"kind": "expression"
|
1258
|
+
}
|
1259
|
+
},
|
1260
|
+
{
|
1261
|
+
"name": "area-list",
|
1262
|
+
"default": "-",
|
1263
|
+
"description": "省市区数据,格式见下方",
|
1264
|
+
"value": {
|
1265
|
+
"type": "object",
|
1266
|
+
"kind": "expression"
|
1267
|
+
}
|
1268
|
+
},
|
1269
|
+
{
|
1270
|
+
"name": "columns-placeholder",
|
1271
|
+
"default": "`[]`",
|
1272
|
+
"description": "列占位提示文字",
|
1273
|
+
"value": {
|
1274
|
+
"type": "string[]",
|
1275
|
+
"kind": "expression"
|
1276
|
+
}
|
1277
|
+
},
|
1278
|
+
{
|
1279
|
+
"name": "loading",
|
1280
|
+
"default": "`false`",
|
1281
|
+
"description": "是否显示加载状态",
|
1282
|
+
"value": {
|
1283
|
+
"type": "boolean",
|
1284
|
+
"kind": "expression"
|
1285
|
+
}
|
1286
|
+
},
|
1287
|
+
{
|
1288
|
+
"name": "readonly",
|
1289
|
+
"default": "`false`",
|
1290
|
+
"description": "是否为只读状态,只读状态下无法切换选项",
|
1291
|
+
"value": {
|
1292
|
+
"type": "boolean",
|
1293
|
+
"kind": "expression"
|
1294
|
+
}
|
1295
|
+
},
|
1296
|
+
{
|
1297
|
+
"name": "item-height",
|
1298
|
+
"default": "`44`",
|
1299
|
+
"description": "选项高度,支持 `px` `vw` `vh` `rem` 单位,默认 `px`",
|
1300
|
+
"value": {
|
1301
|
+
"type": "number | string",
|
1302
|
+
"kind": "expression"
|
1303
|
+
}
|
1304
|
+
},
|
1305
|
+
{
|
1306
|
+
"name": "columns-num",
|
1307
|
+
"default": "`3`",
|
1308
|
+
"description": "显示列数,3-省市区,2-省市,1-省",
|
1309
|
+
"value": {
|
1310
|
+
"type": "number | string",
|
1311
|
+
"kind": "expression"
|
1312
|
+
}
|
1313
|
+
},
|
1314
|
+
{
|
1315
|
+
"name": "visible-item-count",
|
1316
|
+
"default": "`6`",
|
1317
|
+
"description": "可见的选项个数",
|
1318
|
+
"value": {
|
1319
|
+
"type": "number | string",
|
1320
|
+
"kind": "expression"
|
1321
|
+
}
|
1322
|
+
},
|
1323
|
+
{
|
1324
|
+
"name": "swipe-duration",
|
1325
|
+
"default": "`1000`",
|
1326
|
+
"description": "快速滑动时惯性滚动的时长,单位`ms`",
|
1327
|
+
"value": {
|
1328
|
+
"type": "number | string",
|
1329
|
+
"kind": "expression"
|
1330
|
+
}
|
1331
|
+
},
|
1332
|
+
{
|
1333
|
+
"name": "is-oversea-code",
|
1334
|
+
"default": "-",
|
1335
|
+
"description": "根据`code`校验海外地址,海外地址会划分至单独的分类",
|
1336
|
+
"value": {
|
1337
|
+
"type": "() => boolean",
|
1338
|
+
"kind": "expression"
|
1339
|
+
}
|
1340
|
+
}
|
1341
|
+
]
|
1342
|
+
},
|
1343
|
+
{
|
1344
|
+
"name": "van-cascader",
|
1345
|
+
"slots": [
|
1346
|
+
{
|
1347
|
+
"name": "title",
|
1348
|
+
"description": "自定义顶部标题"
|
1349
|
+
},
|
1350
|
+
{
|
1351
|
+
"name": "option",
|
1352
|
+
"description": "自定义选项文字"
|
1353
|
+
}
|
1354
|
+
],
|
1355
|
+
"events": [
|
1356
|
+
{
|
1357
|
+
"name": "change",
|
1358
|
+
"description": "选中项变化时触发"
|
1359
|
+
},
|
1360
|
+
{
|
1361
|
+
"name": "finish",
|
1362
|
+
"description": "全部选项选择完成后触发"
|
1363
|
+
},
|
1364
|
+
{
|
1365
|
+
"name": "close",
|
1366
|
+
"description": "点击关闭图标时触发"
|
1367
|
+
}
|
1368
|
+
],
|
1369
|
+
"attributes": [
|
1370
|
+
{
|
1371
|
+
"name": "title",
|
1372
|
+
"default": "-",
|
1373
|
+
"description": "顶部标题",
|
1374
|
+
"value": {
|
1375
|
+
"type": "string",
|
1376
|
+
"kind": "expression"
|
1377
|
+
}
|
1378
|
+
},
|
1379
|
+
{
|
1380
|
+
"name": "value",
|
1381
|
+
"default": "-",
|
1382
|
+
"description": "选中项的值",
|
1383
|
+
"value": {
|
1384
|
+
"type": "string | number",
|
1385
|
+
"kind": "expression"
|
1386
|
+
}
|
1387
|
+
},
|
1388
|
+
{
|
1389
|
+
"name": "options",
|
1390
|
+
"default": "`[]`",
|
1391
|
+
"description": "可选项数据源",
|
1293
1392
|
"value": {
|
1294
|
-
"type": "
|
1393
|
+
"type": "Option[]",
|
1295
1394
|
"kind": "expression"
|
1296
1395
|
}
|
1297
1396
|
},
|
1298
1397
|
{
|
1299
|
-
"name": "
|
1300
|
-
"default": "
|
1301
|
-
"description": "
|
1398
|
+
"name": "placeholder",
|
1399
|
+
"default": "`请选择`",
|
1400
|
+
"description": "未选中时的提示文案",
|
1302
1401
|
"value": {
|
1303
1402
|
"type": "string",
|
1304
1403
|
"kind": "expression"
|
1305
1404
|
}
|
1306
1405
|
},
|
1307
1406
|
{
|
1308
|
-
"name": "
|
1309
|
-
"default": "`
|
1310
|
-
"description": "
|
1407
|
+
"name": "active-color",
|
1408
|
+
"default": "`#ee0a24`",
|
1409
|
+
"description": "选中状态的高亮颜色",
|
1311
1410
|
"value": {
|
1312
|
-
"type": "
|
1411
|
+
"type": "string",
|
1313
1412
|
"kind": "expression"
|
1314
1413
|
}
|
1315
|
-
}
|
1316
|
-
]
|
1317
|
-
},
|
1318
|
-
{
|
1319
|
-
"name": "van-multiple",
|
1320
|
-
"slots": [],
|
1321
|
-
"events": [],
|
1322
|
-
"attributes": [
|
1414
|
+
},
|
1323
1415
|
{
|
1324
|
-
"name": "
|
1325
|
-
"default": "
|
1326
|
-
"description": "
|
1416
|
+
"name": "closeable",
|
1417
|
+
"default": "`true`",
|
1418
|
+
"description": "是否显示关闭图标",
|
1327
1419
|
"value": {
|
1328
|
-
"type": "
|
1420
|
+
"type": "boolean",
|
1329
1421
|
"kind": "expression"
|
1330
1422
|
}
|
1331
1423
|
},
|
1332
1424
|
{
|
1333
|
-
"name": "
|
1334
|
-
"default": "
|
1335
|
-
"description": "
|
1425
|
+
"name": "field-names",
|
1426
|
+
"default": "`{ text: 'text', value: 'value', children: 'children' }`",
|
1427
|
+
"description": "自定义 `options` 结构中的字段",
|
1336
1428
|
"value": {
|
1337
|
-
"type": "
|
1429
|
+
"type": "object",
|
1338
1430
|
"kind": "expression"
|
1339
1431
|
}
|
1340
1432
|
}
|
@@ -1500,98 +1592,6 @@
|
|
1500
1592
|
}
|
1501
1593
|
]
|
1502
1594
|
},
|
1503
|
-
{
|
1504
|
-
"name": "van-cascader",
|
1505
|
-
"slots": [
|
1506
|
-
{
|
1507
|
-
"name": "title",
|
1508
|
-
"description": "自定义顶部标题"
|
1509
|
-
},
|
1510
|
-
{
|
1511
|
-
"name": "option",
|
1512
|
-
"description": "自定义选项文字"
|
1513
|
-
}
|
1514
|
-
],
|
1515
|
-
"events": [
|
1516
|
-
{
|
1517
|
-
"name": "change",
|
1518
|
-
"description": "选中项变化时触发"
|
1519
|
-
},
|
1520
|
-
{
|
1521
|
-
"name": "finish",
|
1522
|
-
"description": "全部选项选择完成后触发"
|
1523
|
-
},
|
1524
|
-
{
|
1525
|
-
"name": "close",
|
1526
|
-
"description": "点击关闭图标时触发"
|
1527
|
-
}
|
1528
|
-
],
|
1529
|
-
"attributes": [
|
1530
|
-
{
|
1531
|
-
"name": "title",
|
1532
|
-
"default": "-",
|
1533
|
-
"description": "顶部标题",
|
1534
|
-
"value": {
|
1535
|
-
"type": "string",
|
1536
|
-
"kind": "expression"
|
1537
|
-
}
|
1538
|
-
},
|
1539
|
-
{
|
1540
|
-
"name": "value",
|
1541
|
-
"default": "-",
|
1542
|
-
"description": "选中项的值",
|
1543
|
-
"value": {
|
1544
|
-
"type": "string | number",
|
1545
|
-
"kind": "expression"
|
1546
|
-
}
|
1547
|
-
},
|
1548
|
-
{
|
1549
|
-
"name": "options",
|
1550
|
-
"default": "`[]`",
|
1551
|
-
"description": "可选项数据源",
|
1552
|
-
"value": {
|
1553
|
-
"type": "Option[]",
|
1554
|
-
"kind": "expression"
|
1555
|
-
}
|
1556
|
-
},
|
1557
|
-
{
|
1558
|
-
"name": "placeholder",
|
1559
|
-
"default": "`请选择`",
|
1560
|
-
"description": "未选中时的提示文案",
|
1561
|
-
"value": {
|
1562
|
-
"type": "string",
|
1563
|
-
"kind": "expression"
|
1564
|
-
}
|
1565
|
-
},
|
1566
|
-
{
|
1567
|
-
"name": "active-color",
|
1568
|
-
"default": "`#ee0a24`",
|
1569
|
-
"description": "选中状态的高亮颜色",
|
1570
|
-
"value": {
|
1571
|
-
"type": "string",
|
1572
|
-
"kind": "expression"
|
1573
|
-
}
|
1574
|
-
},
|
1575
|
-
{
|
1576
|
-
"name": "closeable",
|
1577
|
-
"default": "`true`",
|
1578
|
-
"description": "是否显示关闭图标",
|
1579
|
-
"value": {
|
1580
|
-
"type": "boolean",
|
1581
|
-
"kind": "expression"
|
1582
|
-
}
|
1583
|
-
},
|
1584
|
-
{
|
1585
|
-
"name": "field-names",
|
1586
|
-
"default": "`{ text: 'text', value: 'value', children: 'children' }`",
|
1587
|
-
"description": "自定义 `options` 结构中的字段",
|
1588
|
-
"value": {
|
1589
|
-
"type": "object",
|
1590
|
-
"kind": "expression"
|
1591
|
-
}
|
1592
|
-
}
|
1593
|
-
]
|
1594
|
-
},
|
1595
1595
|
{
|
1596
1596
|
"name": "van-cell-group",
|
1597
1597
|
"slots": [
|
@@ -2571,6 +2571,63 @@
|
|
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
|
+
},
|
2574
2631
|
{
|
2575
2632
|
"name": "van-coupon-cell",
|
2576
2633
|
"slots": [],
|
@@ -2819,63 +2876,6 @@
|
|
2819
2876
|
}
|
2820
2877
|
]
|
2821
2878
|
},
|
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
|
-
"value": {
|
2846
|
-
"type": "number | string",
|
2847
|
-
"kind": "expression"
|
2848
|
-
}
|
2849
|
-
},
|
2850
|
-
{
|
2851
|
-
"name": "format",
|
2852
|
-
"default": "`HH:mm:ss`",
|
2853
|
-
"description": "时间格式",
|
2854
|
-
"value": {
|
2855
|
-
"type": "string",
|
2856
|
-
"kind": "expression"
|
2857
|
-
}
|
2858
|
-
},
|
2859
|
-
{
|
2860
|
-
"name": "auto-start",
|
2861
|
-
"default": "`true`",
|
2862
|
-
"description": "是否自动开始倒计时",
|
2863
|
-
"value": {
|
2864
|
-
"type": "boolean",
|
2865
|
-
"kind": "expression"
|
2866
|
-
}
|
2867
|
-
},
|
2868
|
-
{
|
2869
|
-
"name": "millisecond",
|
2870
|
-
"default": "`false`",
|
2871
|
-
"description": "是否开启毫秒级渲染",
|
2872
|
-
"value": {
|
2873
|
-
"type": "boolean",
|
2874
|
-
"kind": "expression"
|
2875
|
-
}
|
2876
|
-
}
|
2877
|
-
]
|
2878
|
-
},
|
2879
2879
|
{
|
2880
2880
|
"name": "van-datetime-picker",
|
2881
2881
|
"slots": [
|