vant 2.12.34 → 2.12.38

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,208 +2,10 @@
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",
5
+ "version": "2.12.38",
6
6
  "contributions": {
7
7
  "html": {
8
8
  "tags": [
9
- {
10
- "name": "van-action-sheet",
11
- "slots": [
12
- {
13
- "name": "default",
14
- "description": "自定义面板的展示内容"
15
- },
16
- {
17
- "name": "description",
18
- "description": "自定义描述文案"
19
- }
20
- ],
21
- "events": [
22
- {
23
- "name": "select",
24
- "description": "点击选项时触发,禁用或加载状态下不会触发"
25
- },
26
- {
27
- "name": "cancel",
28
- "description": "点击取消按钮时触发"
29
- },
30
- {
31
- "name": "open",
32
- "description": "打开面板时触发"
33
- },
34
- {
35
- "name": "close",
36
- "description": "关闭面板时触发"
37
- },
38
- {
39
- "name": "opened",
40
- "description": "打开面板且动画结束后触发"
41
- },
42
- {
43
- "name": "closed",
44
- "description": "关闭面板且动画结束后触发"
45
- },
46
- {
47
- "name": "click-overlay",
48
- "description": "点击遮罩层时触发"
49
- }
50
- ],
51
- "attributes": [
52
- {
53
- "name": "v-model (value)",
54
- "default": "`false`",
55
- "description": "是否显示动作面板",
56
- "value": {
57
- "type": "boolean",
58
- "kind": "expression"
59
- }
60
- },
61
- {
62
- "name": "actions",
63
- "default": "`[]`",
64
- "description": "面板选项列表",
65
- "value": {
66
- "type": "Action[]",
67
- "kind": "expression"
68
- }
69
- },
70
- {
71
- "name": "title",
72
- "default": "-",
73
- "description": "顶部标题",
74
- "value": {
75
- "type": "string",
76
- "kind": "expression"
77
- }
78
- },
79
- {
80
- "name": "cancel-text",
81
- "default": "-",
82
- "description": "取消按钮文字",
83
- "value": {
84
- "type": "string",
85
- "kind": "expression"
86
- }
87
- },
88
- {
89
- "name": "description",
90
- "default": "-",
91
- "description": "选项上方的描述信息",
92
- "value": {
93
- "type": "string",
94
- "kind": "expression"
95
- }
96
- },
97
- {
98
- "name": "closeable",
99
- "default": "`true`",
100
- "description": "是否显示关闭图标",
101
- "value": {
102
- "type": "boolean",
103
- "kind": "expression"
104
- }
105
- },
106
- {
107
- "name": "close-icon",
108
- "default": "`cross`",
109
- "description": "关闭[图标名称](#/zh-CN/icon)或图片链接",
110
- "value": {
111
- "type": "string",
112
- "kind": "expression"
113
- }
114
- },
115
- {
116
- "name": "duration",
117
- "default": "`0.3`",
118
- "description": "动画时长,单位秒",
119
- "value": {
120
- "type": "number | string",
121
- "kind": "expression"
122
- }
123
- },
124
- {
125
- "name": "round",
126
- "default": "`true`",
127
- "description": "是否显示圆角",
128
- "value": {
129
- "type": "boolean",
130
- "kind": "expression"
131
- }
132
- },
133
- {
134
- "name": "overlay",
135
- "default": "`true`",
136
- "description": "是否显示遮罩层",
137
- "value": {
138
- "type": "boolean",
139
- "kind": "expression"
140
- }
141
- },
142
- {
143
- "name": "lock-scroll",
144
- "default": "`true`",
145
- "description": "是否锁定背景滚动",
146
- "value": {
147
- "type": "boolean",
148
- "kind": "expression"
149
- }
150
- },
151
- {
152
- "name": "lazy-render",
153
- "default": "`true`",
154
- "description": "是否在显示弹层时才渲染节点",
155
- "value": {
156
- "type": "boolean",
157
- "kind": "expression"
158
- }
159
- },
160
- {
161
- "name": "close-on-popstate",
162
- "default": "`false`",
163
- "description": "是否在页面回退时自动关闭",
164
- "value": {
165
- "type": "boolean",
166
- "kind": "expression"
167
- }
168
- },
169
- {
170
- "name": "close-on-click-action",
171
- "default": "`false`",
172
- "description": "是否在点击选项后关闭",
173
- "value": {
174
- "type": "boolean",
175
- "kind": "expression"
176
- }
177
- },
178
- {
179
- "name": "close-on-click-overlay",
180
- "default": "`true`",
181
- "description": "是否在点击遮罩层后关闭",
182
- "value": {
183
- "type": "boolean",
184
- "kind": "expression"
185
- }
186
- },
187
- {
188
- "name": "safe-area-inset-bottom",
189
- "default": "`true`",
190
- "description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei)",
191
- "value": {
192
- "type": "boolean",
193
- "kind": "expression"
194
- }
195
- },
196
- {
197
- "name": "get-container",
198
- "default": "-",
199
- "description": "指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi)",
200
- "value": {
201
- "type": "string | () => Element",
202
- "kind": "expression"
203
- }
204
- }
205
- ]
206
- },
207
9
  {
208
10
  "name": "van-address-edit",
209
11
  "slots": [
@@ -452,150 +254,198 @@
452
254
  ]
453
255
  },
454
256
  {
455
- "name": "van-area",
257
+ "name": "van-action-sheet",
456
258
  "slots": [
457
259
  {
458
- "name": "title",
459
- "description": "自定义标题内容"
460
- },
461
- {
462
- "name": "columns-top",
463
- "description": "自定义选项上方内容"
260
+ "name": "default",
261
+ "description": "自定义面板的展示内容"
464
262
  },
465
263
  {
466
- "name": "columns-bottom",
467
- "description": "自定义选项下方内容"
264
+ "name": "description",
265
+ "description": "自定义描述文案"
468
266
  }
469
267
  ],
470
268
  "events": [
471
269
  {
472
- "name": "confirm",
473
- "description": "点击右上方完成按钮"
270
+ "name": "select",
271
+ "description": "点击选项时触发,禁用或加载状态下不会触发"
474
272
  },
475
273
  {
476
274
  "name": "cancel",
477
- "description": "点击取消按钮时"
275
+ "description": "点击取消按钮时触发"
478
276
  },
479
277
  {
480
- "name": "change",
481
- "description": "选项改变时触发"
278
+ "name": "open",
279
+ "description": "打开面板时触发"
280
+ },
281
+ {
282
+ "name": "close",
283
+ "description": "关闭面板时触发"
284
+ },
285
+ {
286
+ "name": "opened",
287
+ "description": "打开面板且动画结束后触发"
288
+ },
289
+ {
290
+ "name": "closed",
291
+ "description": "关闭面板且动画结束后触发"
292
+ },
293
+ {
294
+ "name": "click-overlay",
295
+ "description": "点击遮罩层时触发"
482
296
  }
483
297
  ],
484
298
  "attributes": [
485
299
  {
486
- "name": "value",
300
+ "name": "v-model (value)",
301
+ "default": "`false`",
302
+ "description": "是否显示动作面板",
303
+ "value": {
304
+ "type": "boolean",
305
+ "kind": "expression"
306
+ }
307
+ },
308
+ {
309
+ "name": "actions",
310
+ "default": "`[]`",
311
+ "description": "面板选项列表",
312
+ "value": {
313
+ "type": "Action[]",
314
+ "kind": "expression"
315
+ }
316
+ },
317
+ {
318
+ "name": "title",
487
319
  "default": "-",
488
- "description": "当前选中的省市区`code`",
320
+ "description": "顶部标题",
489
321
  "value": {
490
322
  "type": "string",
491
323
  "kind": "expression"
492
324
  }
493
325
  },
494
326
  {
495
- "name": "title",
327
+ "name": "cancel-text",
496
328
  "default": "-",
497
- "description": "顶部栏标题",
329
+ "description": "取消按钮文字",
498
330
  "value": {
499
331
  "type": "string",
500
332
  "kind": "expression"
501
333
  }
502
334
  },
503
335
  {
504
- "name": "confirm-button-text",
505
- "default": "`确认`",
506
- "description": "确认按钮文字",
336
+ "name": "description",
337
+ "default": "-",
338
+ "description": "选项上方的描述信息",
507
339
  "value": {
508
340
  "type": "string",
509
341
  "kind": "expression"
510
342
  }
511
343
  },
512
344
  {
513
- "name": "cancel-button-text",
514
- "default": "`取消`",
515
- "description": "取消按钮文字",
345
+ "name": "closeable",
346
+ "default": "`true`",
347
+ "description": "是否显示关闭图标",
348
+ "value": {
349
+ "type": "boolean",
350
+ "kind": "expression"
351
+ }
352
+ },
353
+ {
354
+ "name": "close-icon",
355
+ "default": "`cross`",
356
+ "description": "关闭[图标名称](#/zh-CN/icon)或图片链接",
516
357
  "value": {
517
358
  "type": "string",
518
359
  "kind": "expression"
519
360
  }
520
361
  },
521
362
  {
522
- "name": "area-list",
523
- "default": "-",
524
- "description": "省市区数据,格式见下方",
363
+ "name": "duration",
364
+ "default": "`0.3`",
365
+ "description": "动画时长,单位秒",
525
366
  "value": {
526
- "type": "object",
367
+ "type": "number | string",
527
368
  "kind": "expression"
528
369
  }
529
370
  },
530
371
  {
531
- "name": "columns-placeholder",
532
- "default": "`[]`",
533
- "description": "列占位提示文字",
372
+ "name": "round",
373
+ "default": "`true`",
374
+ "description": "是否显示圆角",
534
375
  "value": {
535
- "type": "string[]",
376
+ "type": "boolean",
536
377
  "kind": "expression"
537
378
  }
538
379
  },
539
380
  {
540
- "name": "loading",
541
- "default": "`false`",
542
- "description": "是否显示加载状态",
381
+ "name": "overlay",
382
+ "default": "`true`",
383
+ "description": "是否显示遮罩层",
384
+ "value": {
385
+ "type": "boolean",
386
+ "kind": "expression"
387
+ }
388
+ },
389
+ {
390
+ "name": "lock-scroll",
391
+ "default": "`true`",
392
+ "description": "是否锁定背景滚动",
543
393
  "value": {
544
394
  "type": "boolean",
545
395
  "kind": "expression"
546
396
  }
547
397
  },
548
398
  {
549
- "name": "readonly",
550
- "default": "`false`",
551
- "description": "是否为只读状态,只读状态下无法切换选项",
399
+ "name": "lazy-render",
400
+ "default": "`true`",
401
+ "description": "是否在显示弹层时才渲染节点",
552
402
  "value": {
553
403
  "type": "boolean",
554
404
  "kind": "expression"
555
405
  }
556
406
  },
557
407
  {
558
- "name": "item-height",
559
- "default": "`44`",
560
- "description": "选项高度,支持 `px` `vw` `vh` `rem` 单位,默认 `px`",
408
+ "name": "close-on-popstate",
409
+ "default": "`false`",
410
+ "description": "是否在页面回退时自动关闭",
561
411
  "value": {
562
- "type": "number | string",
412
+ "type": "boolean",
563
413
  "kind": "expression"
564
414
  }
565
415
  },
566
416
  {
567
- "name": "columns-num",
568
- "default": "`3`",
569
- "description": "显示列数,3-省市区,2-省市,1-省",
417
+ "name": "close-on-click-action",
418
+ "default": "`false`",
419
+ "description": "是否在点击选项后关闭",
570
420
  "value": {
571
- "type": "number | string",
421
+ "type": "boolean",
572
422
  "kind": "expression"
573
423
  }
574
424
  },
575
425
  {
576
- "name": "visible-item-count",
577
- "default": "`6`",
578
- "description": "可见的选项个数",
426
+ "name": "close-on-click-overlay",
427
+ "default": "`true`",
428
+ "description": "是否在点击遮罩层后关闭",
579
429
  "value": {
580
- "type": "number | string",
430
+ "type": "boolean",
581
431
  "kind": "expression"
582
432
  }
583
433
  },
584
434
  {
585
- "name": "swipe-duration",
586
- "default": "`1000`",
587
- "description": "快速滑动时惯性滚动的时长,单位`ms`",
435
+ "name": "safe-area-inset-bottom",
436
+ "default": "`true`",
437
+ "description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei)",
588
438
  "value": {
589
- "type": "number | string",
439
+ "type": "boolean",
590
440
  "kind": "expression"
591
441
  }
592
442
  },
593
443
  {
594
- "name": "is-oversea-code",
444
+ "name": "get-container",
595
445
  "default": "-",
596
- "description": "根据`code`校验海外地址,海外地址会划分至单独的分类",
446
+ "description": "指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi)",
597
447
  "value": {
598
- "type": "() => boolean",
448
+ "type": "string | () => Element",
599
449
  "kind": "expression"
600
450
  }
601
451
  }
@@ -765,6 +615,156 @@
765
615
  }
766
616
  ]
767
617
  },
618
+ {
619
+ "name": "van-area",
620
+ "slots": [
621
+ {
622
+ "name": "title",
623
+ "description": "自定义标题内容"
624
+ },
625
+ {
626
+ "name": "columns-top",
627
+ "description": "自定义选项上方内容"
628
+ },
629
+ {
630
+ "name": "columns-bottom",
631
+ "description": "自定义选项下方内容"
632
+ }
633
+ ],
634
+ "events": [
635
+ {
636
+ "name": "confirm",
637
+ "description": "点击右上方完成按钮"
638
+ },
639
+ {
640
+ "name": "cancel",
641
+ "description": "点击取消按钮时"
642
+ },
643
+ {
644
+ "name": "change",
645
+ "description": "选项改变时触发"
646
+ }
647
+ ],
648
+ "attributes": [
649
+ {
650
+ "name": "value",
651
+ "default": "-",
652
+ "description": "当前选中的省市区`code`",
653
+ "value": {
654
+ "type": "string",
655
+ "kind": "expression"
656
+ }
657
+ },
658
+ {
659
+ "name": "title",
660
+ "default": "-",
661
+ "description": "顶部栏标题",
662
+ "value": {
663
+ "type": "string",
664
+ "kind": "expression"
665
+ }
666
+ },
667
+ {
668
+ "name": "confirm-button-text",
669
+ "default": "`确认`",
670
+ "description": "确认按钮文字",
671
+ "value": {
672
+ "type": "string",
673
+ "kind": "expression"
674
+ }
675
+ },
676
+ {
677
+ "name": "cancel-button-text",
678
+ "default": "`取消`",
679
+ "description": "取消按钮文字",
680
+ "value": {
681
+ "type": "string",
682
+ "kind": "expression"
683
+ }
684
+ },
685
+ {
686
+ "name": "area-list",
687
+ "default": "-",
688
+ "description": "省市区数据,格式见下方",
689
+ "value": {
690
+ "type": "object",
691
+ "kind": "expression"
692
+ }
693
+ },
694
+ {
695
+ "name": "columns-placeholder",
696
+ "default": "`[]`",
697
+ "description": "列占位提示文字",
698
+ "value": {
699
+ "type": "string[]",
700
+ "kind": "expression"
701
+ }
702
+ },
703
+ {
704
+ "name": "loading",
705
+ "default": "`false`",
706
+ "description": "是否显示加载状态",
707
+ "value": {
708
+ "type": "boolean",
709
+ "kind": "expression"
710
+ }
711
+ },
712
+ {
713
+ "name": "readonly",
714
+ "default": "`false`",
715
+ "description": "是否为只读状态,只读状态下无法切换选项",
716
+ "value": {
717
+ "type": "boolean",
718
+ "kind": "expression"
719
+ }
720
+ },
721
+ {
722
+ "name": "item-height",
723
+ "default": "`44`",
724
+ "description": "选项高度,支持 `px` `vw` `vh` `rem` 单位,默认 `px`",
725
+ "value": {
726
+ "type": "number | string",
727
+ "kind": "expression"
728
+ }
729
+ },
730
+ {
731
+ "name": "columns-num",
732
+ "default": "`3`",
733
+ "description": "显示列数,3-省市区,2-省市,1-省",
734
+ "value": {
735
+ "type": "number | string",
736
+ "kind": "expression"
737
+ }
738
+ },
739
+ {
740
+ "name": "visible-item-count",
741
+ "default": "`6`",
742
+ "description": "可见的选项个数",
743
+ "value": {
744
+ "type": "number | string",
745
+ "kind": "expression"
746
+ }
747
+ },
748
+ {
749
+ "name": "swipe-duration",
750
+ "default": "`1000`",
751
+ "description": "快速滑动时惯性滚动的时长,单位`ms`",
752
+ "value": {
753
+ "type": "number | string",
754
+ "kind": "expression"
755
+ }
756
+ },
757
+ {
758
+ "name": "is-oversea-code",
759
+ "default": "-",
760
+ "description": "根据`code`校验海外地址,海外地址会划分至单独的分类",
761
+ "value": {
762
+ "type": "() => boolean",
763
+ "kind": "expression"
764
+ }
765
+ }
766
+ ]
767
+ },
768
768
  {
769
769
  "name": "van-button",
770
770
  "slots": [
@@ -2520,52 +2520,109 @@
2520
2520
  "slots": [],
2521
2521
  "events": [
2522
2522
  {
2523
- "name": "add",
2524
- "description": "点击新增按钮时触发"
2525
- },
2526
- {
2527
- "name": "edit",
2528
- "description": "点击编辑按钮时触发"
2523
+ "name": "add",
2524
+ "description": "点击新增按钮时触发"
2525
+ },
2526
+ {
2527
+ "name": "edit",
2528
+ "description": "点击编辑按钮时触发"
2529
+ },
2530
+ {
2531
+ "name": "select",
2532
+ "description": "切换选中的联系人时触发"
2533
+ }
2534
+ ],
2535
+ "attributes": [
2536
+ {
2537
+ "name": "v-model",
2538
+ "default": "-",
2539
+ "description": "当前选中联系人的 id",
2540
+ "value": {
2541
+ "type": "number | string",
2542
+ "kind": "expression"
2543
+ }
2544
+ },
2545
+ {
2546
+ "name": "list",
2547
+ "default": "`[]`",
2548
+ "description": "联系人列表",
2549
+ "value": {
2550
+ "type": "Contact[]",
2551
+ "kind": "expression"
2552
+ }
2553
+ },
2554
+ {
2555
+ "name": "add-text",
2556
+ "default": "`新建联系人`",
2557
+ "description": "新建按钮文案",
2558
+ "value": {
2559
+ "type": "string",
2560
+ "kind": "expression"
2561
+ }
2562
+ },
2563
+ {
2564
+ "name": "default-tag-text",
2565
+ "default": "-",
2566
+ "description": "默认联系人标签文案",
2567
+ "value": {
2568
+ "type": "string",
2569
+ "kind": "expression"
2570
+ }
2571
+ }
2572
+ ]
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": "倒计时结束时触发"
2529
2586
  },
2530
2587
  {
2531
- "name": "select",
2532
- "description": "切换选中的联系人时触发"
2588
+ "name": "change",
2589
+ "description": "倒计时变化时触发"
2533
2590
  }
2534
2591
  ],
2535
2592
  "attributes": [
2536
2593
  {
2537
- "name": "v-model",
2538
- "default": "-",
2539
- "description": "当前选中联系人的 id",
2594
+ "name": "time",
2595
+ "default": "`0`",
2596
+ "description": "倒计时时长,单位毫秒",
2540
2597
  "value": {
2541
2598
  "type": "number | string",
2542
2599
  "kind": "expression"
2543
2600
  }
2544
2601
  },
2545
2602
  {
2546
- "name": "list",
2547
- "default": "`[]`",
2548
- "description": "联系人列表",
2603
+ "name": "format",
2604
+ "default": "`HH:mm:ss`",
2605
+ "description": "时间格式",
2549
2606
  "value": {
2550
- "type": "Contact[]",
2607
+ "type": "string",
2551
2608
  "kind": "expression"
2552
2609
  }
2553
2610
  },
2554
2611
  {
2555
- "name": "add-text",
2556
- "default": "`新建联系人`",
2557
- "description": "新建按钮文案",
2612
+ "name": "auto-start",
2613
+ "default": "`true`",
2614
+ "description": "是否自动开始倒计时",
2558
2615
  "value": {
2559
- "type": "string",
2616
+ "type": "boolean",
2560
2617
  "kind": "expression"
2561
2618
  }
2562
2619
  },
2563
2620
  {
2564
- "name": "default-tag-text",
2565
- "default": "-",
2566
- "description": "默认联系人标签文案",
2621
+ "name": "millisecond",
2622
+ "default": "`false`",
2623
+ "description": "是否开启毫秒级渲染",
2567
2624
  "value": {
2568
- "type": "string",
2625
+ "type": "boolean",
2569
2626
  "kind": "expression"
2570
2627
  }
2571
2628
  }
@@ -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": [
@@ -4932,6 +4932,15 @@
4932
4932
  "kind": "expression"
4933
4933
  }
4934
4934
  },
4935
+ {
4936
+ "name": "overlay-style",
4937
+ "default": "-",
4938
+ "description": "自定义遮罩层样式",
4939
+ "value": {
4940
+ "type": "object",
4941
+ "kind": "expression"
4942
+ }
4943
+ },
4935
4944
  {
4936
4945
  "name": "get-container",
4937
4946
  "default": "-",
@@ -5425,6 +5434,77 @@
5425
5434
  }
5426
5435
  ]
5427
5436
  },
5437
+ {
5438
+ "name": "van-overlay",
5439
+ "slots": [
5440
+ {
5441
+ "name": "default",
5442
+ "description": "默认插槽,用于在遮罩层上方嵌入内容"
5443
+ }
5444
+ ],
5445
+ "events": [
5446
+ {
5447
+ "name": "click",
5448
+ "description": "点击时触发"
5449
+ }
5450
+ ],
5451
+ "attributes": [
5452
+ {
5453
+ "name": "show",
5454
+ "default": "`false`",
5455
+ "description": "是否展示遮罩层",
5456
+ "value": {
5457
+ "type": "boolean",
5458
+ "kind": "expression"
5459
+ }
5460
+ },
5461
+ {
5462
+ "name": "z-index",
5463
+ "default": "`1`",
5464
+ "description": "z-index 层级",
5465
+ "value": {
5466
+ "type": "number | string",
5467
+ "kind": "expression"
5468
+ }
5469
+ },
5470
+ {
5471
+ "name": "duration",
5472
+ "default": "`0.3`",
5473
+ "description": "动画时长,单位秒",
5474
+ "value": {
5475
+ "type": "number | string",
5476
+ "kind": "expression"
5477
+ }
5478
+ },
5479
+ {
5480
+ "name": "class-name",
5481
+ "default": "-",
5482
+ "description": "自定义类名",
5483
+ "value": {
5484
+ "type": "string",
5485
+ "kind": "expression"
5486
+ }
5487
+ },
5488
+ {
5489
+ "name": "custom-style",
5490
+ "default": "-",
5491
+ "description": "自定义样式",
5492
+ "value": {
5493
+ "type": "object",
5494
+ "kind": "expression"
5495
+ }
5496
+ },
5497
+ {
5498
+ "name": "lock-scroll",
5499
+ "default": "`true`",
5500
+ "description": "是否锁定背景滚动,锁定时蒙层里的内容也将无法滚动",
5501
+ "value": {
5502
+ "type": "boolean",
5503
+ "kind": "expression"
5504
+ }
5505
+ }
5506
+ ]
5507
+ },
5428
5508
  {
5429
5509
  "name": "van-number-keyboard",
5430
5510
  "slots": [
@@ -5614,77 +5694,6 @@
5614
5694
  }
5615
5695
  ]
5616
5696
  },
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
- "value": {
5646
- "type": "number | string",
5647
- "kind": "expression"
5648
- }
5649
- },
5650
- {
5651
- "name": "duration",
5652
- "default": "`0.3`",
5653
- "description": "动画时长,单位秒",
5654
- "value": {
5655
- "type": "number | string",
5656
- "kind": "expression"
5657
- }
5658
- },
5659
- {
5660
- "name": "class-name",
5661
- "default": "-",
5662
- "description": "自定义类名",
5663
- "value": {
5664
- "type": "string",
5665
- "kind": "expression"
5666
- }
5667
- },
5668
- {
5669
- "name": "custom-style",
5670
- "default": "-",
5671
- "description": "自定义样式",
5672
- "value": {
5673
- "type": "object",
5674
- "kind": "expression"
5675
- }
5676
- },
5677
- {
5678
- "name": "lock-scroll",
5679
- "default": "`true`",
5680
- "description": "是否锁定背景滚动,锁定时蒙层里的内容也将无法滚动",
5681
- "value": {
5682
- "type": "boolean",
5683
- "kind": "expression"
5684
- }
5685
- }
5686
- ]
5687
- },
5688
5697
  {
5689
5698
  "name": "van-pagination",
5690
5699
  "slots": [
@@ -7830,6 +7839,14 @@
7830
7839
  {
7831
7840
  "name": "button",
7832
7841
  "description": "自定义滑动按钮"
7842
+ },
7843
+ {
7844
+ "name": "left-button",
7845
+ "description": "自定义左侧滑块按钮(双滑块模式下)"
7846
+ },
7847
+ {
7848
+ "name": "right-button",
7849
+ "description": "自定义右侧滑块按钮(双滑块模式下)"
7833
7850
  }
7834
7851
  ],
7835
7852
  "events": [