vant 2.12.38 → 2.12.42
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/cascader/index.js +20 -13
- package/es/datetime-picker/utils.js +4 -0
- package/es/icon/index.css +1 -1
- package/es/icon/index.less +1 -0
- package/es/image-preview/ImagePreviewItem.js +8 -3
- package/es/index.js +1 -1
- package/es/nav-bar/index.js +9 -1
- package/es/tabbar/index.js +14 -6
- package/lib/cascader/index.js +20 -13
- package/lib/datetime-picker/utils.js +4 -0
- package/lib/icon/index.css +1 -1
- package/lib/icon/index.less +1 -0
- package/lib/image-preview/ImagePreviewItem.js +8 -3
- package/lib/index.css +1 -1
- package/lib/index.js +1 -1
- package/lib/nav-bar/index.js +9 -1
- package/lib/tabbar/index.js +14 -6
- package/lib/vant.js +57 -25
- package/lib/vant.min.js +1 -1
- package/package.json +6 -3
- package/vetur/attributes.json +188 -184
- package/vetur/tags.json +67 -66
- package/vetur/web-types.json +608 -599
package/vetur/web-types.json
CHANGED
@@ -2,257 +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.
|
5
|
+
"version": "2.12.42",
|
6
6
|
"contributions": {
|
7
7
|
"html": {
|
8
8
|
"tags": [
|
9
|
-
{
|
10
|
-
"name": "van-address-edit",
|
11
|
-
"slots": [
|
12
|
-
{
|
13
|
-
"name": "default",
|
14
|
-
"description": "在邮政编码下方插入内容"
|
15
|
-
}
|
16
|
-
],
|
17
|
-
"events": [
|
18
|
-
{
|
19
|
-
"name": "save",
|
20
|
-
"description": "点击保存按钮时触发"
|
21
|
-
},
|
22
|
-
{
|
23
|
-
"name": "focus",
|
24
|
-
"description": "输入框聚焦时触发"
|
25
|
-
},
|
26
|
-
{
|
27
|
-
"name": "delete",
|
28
|
-
"description": "确认删除地址时触发"
|
29
|
-
},
|
30
|
-
{
|
31
|
-
"name": "cancel-delete",
|
32
|
-
"description": "取消删除地址时触发"
|
33
|
-
},
|
34
|
-
{
|
35
|
-
"name": "select-search",
|
36
|
-
"description": "选中搜索结果时触发"
|
37
|
-
},
|
38
|
-
{
|
39
|
-
"name": "click-area",
|
40
|
-
"description": "点击收件地区时触发"
|
41
|
-
},
|
42
|
-
{
|
43
|
-
"name": "change-area",
|
44
|
-
"description": "修改收件地区时触发"
|
45
|
-
},
|
46
|
-
{
|
47
|
-
"name": "change-detail",
|
48
|
-
"description": "修改详细地址时触发"
|
49
|
-
},
|
50
|
-
{
|
51
|
-
"name": "change-default",
|
52
|
-
"description": "切换是否使用默认地址时触发"
|
53
|
-
}
|
54
|
-
],
|
55
|
-
"attributes": [
|
56
|
-
{
|
57
|
-
"name": "area-list",
|
58
|
-
"default": "-",
|
59
|
-
"description": "地区列表",
|
60
|
-
"value": {
|
61
|
-
"type": "object",
|
62
|
-
"kind": "expression"
|
63
|
-
}
|
64
|
-
},
|
65
|
-
{
|
66
|
-
"name": "area-columns-placeholder",
|
67
|
-
"default": "`[]`",
|
68
|
-
"description": "地区选择列占位提示文字",
|
69
|
-
"value": {
|
70
|
-
"type": "string[]",
|
71
|
-
"kind": "expression"
|
72
|
-
}
|
73
|
-
},
|
74
|
-
{
|
75
|
-
"name": "area-placeholder",
|
76
|
-
"default": "`选择省 / 市 / 区`",
|
77
|
-
"description": "地区输入框占位提示文字",
|
78
|
-
"value": {
|
79
|
-
"type": "string",
|
80
|
-
"kind": "expression"
|
81
|
-
}
|
82
|
-
},
|
83
|
-
{
|
84
|
-
"name": "address-info",
|
85
|
-
"default": "`{}`",
|
86
|
-
"description": "收货人信息初始值",
|
87
|
-
"value": {
|
88
|
-
"type": "AddressInfo",
|
89
|
-
"kind": "expression"
|
90
|
-
}
|
91
|
-
},
|
92
|
-
{
|
93
|
-
"name": "search-result",
|
94
|
-
"default": "`[]`",
|
95
|
-
"description": "详细地址搜索结果",
|
96
|
-
"value": {
|
97
|
-
"type": "SearchResult[]",
|
98
|
-
"kind": "expression"
|
99
|
-
}
|
100
|
-
},
|
101
|
-
{
|
102
|
-
"name": "show-postal",
|
103
|
-
"default": "`false`",
|
104
|
-
"description": "是否显示邮政编码",
|
105
|
-
"value": {
|
106
|
-
"type": "boolean",
|
107
|
-
"kind": "expression"
|
108
|
-
}
|
109
|
-
},
|
110
|
-
{
|
111
|
-
"name": "show-delete",
|
112
|
-
"default": "`false`",
|
113
|
-
"description": "是否显示删除按钮",
|
114
|
-
"value": {
|
115
|
-
"type": "boolean",
|
116
|
-
"kind": "expression"
|
117
|
-
}
|
118
|
-
},
|
119
|
-
{
|
120
|
-
"name": "show-set-default",
|
121
|
-
"default": "`false`",
|
122
|
-
"description": "是否显示默认地址栏",
|
123
|
-
"value": {
|
124
|
-
"type": "boolean",
|
125
|
-
"kind": "expression"
|
126
|
-
}
|
127
|
-
},
|
128
|
-
{
|
129
|
-
"name": "show-search-result",
|
130
|
-
"default": "`false`",
|
131
|
-
"description": "是否显示搜索结果",
|
132
|
-
"value": {
|
133
|
-
"type": "boolean",
|
134
|
-
"kind": "expression"
|
135
|
-
}
|
136
|
-
},
|
137
|
-
{
|
138
|
-
"name": "show-area",
|
139
|
-
"default": "`true`",
|
140
|
-
"description": "是否显示地区",
|
141
|
-
"value": {
|
142
|
-
"type": "boolean",
|
143
|
-
"kind": "expression"
|
144
|
-
}
|
145
|
-
},
|
146
|
-
{
|
147
|
-
"name": "show-detail",
|
148
|
-
"default": "`true`",
|
149
|
-
"description": "是否显示详细地址",
|
150
|
-
"value": {
|
151
|
-
"type": "boolean",
|
152
|
-
"kind": "expression"
|
153
|
-
}
|
154
|
-
},
|
155
|
-
{
|
156
|
-
"name": "disable-area",
|
157
|
-
"default": "`false`",
|
158
|
-
"description": "是否禁用地区选择",
|
159
|
-
"value": {
|
160
|
-
"type": "boolean",
|
161
|
-
"kind": "expression"
|
162
|
-
}
|
163
|
-
},
|
164
|
-
{
|
165
|
-
"name": "save-button-text",
|
166
|
-
"default": "`保存`",
|
167
|
-
"description": "保存按钮文字",
|
168
|
-
"value": {
|
169
|
-
"type": "string",
|
170
|
-
"kind": "expression"
|
171
|
-
}
|
172
|
-
},
|
173
|
-
{
|
174
|
-
"name": "delete-button-text",
|
175
|
-
"default": "`删除`",
|
176
|
-
"description": "删除按钮文字",
|
177
|
-
"value": {
|
178
|
-
"type": "string",
|
179
|
-
"kind": "expression"
|
180
|
-
}
|
181
|
-
},
|
182
|
-
{
|
183
|
-
"name": "detail-rows",
|
184
|
-
"default": "`1`",
|
185
|
-
"description": "详细地址输入框行数",
|
186
|
-
"value": {
|
187
|
-
"type": "number | string",
|
188
|
-
"kind": "expression"
|
189
|
-
}
|
190
|
-
},
|
191
|
-
{
|
192
|
-
"name": "detail-maxlength",
|
193
|
-
"default": "`200`",
|
194
|
-
"description": "详细地址最大长度",
|
195
|
-
"value": {
|
196
|
-
"type": "number | string",
|
197
|
-
"kind": "expression"
|
198
|
-
}
|
199
|
-
},
|
200
|
-
{
|
201
|
-
"name": "is-saving",
|
202
|
-
"default": "`false`",
|
203
|
-
"description": "是否显示保存按钮加载动画",
|
204
|
-
"value": {
|
205
|
-
"type": "boolean",
|
206
|
-
"kind": "expression"
|
207
|
-
}
|
208
|
-
},
|
209
|
-
{
|
210
|
-
"name": "is-deleting",
|
211
|
-
"default": "`false`",
|
212
|
-
"description": "是否显示删除按钮加载动画",
|
213
|
-
"value": {
|
214
|
-
"type": "boolean",
|
215
|
-
"kind": "expression"
|
216
|
-
}
|
217
|
-
},
|
218
|
-
{
|
219
|
-
"name": "tel-validator",
|
220
|
-
"default": "-",
|
221
|
-
"description": "手机号格式校验函数",
|
222
|
-
"value": {
|
223
|
-
"type": "string => boolean",
|
224
|
-
"kind": "expression"
|
225
|
-
}
|
226
|
-
},
|
227
|
-
{
|
228
|
-
"name": "tel-maxlength",
|
229
|
-
"default": "-",
|
230
|
-
"description": "手机号最大长度",
|
231
|
-
"value": {
|
232
|
-
"type": "number | string",
|
233
|
-
"kind": "expression"
|
234
|
-
}
|
235
|
-
},
|
236
|
-
{
|
237
|
-
"name": "postal-validator",
|
238
|
-
"default": "-",
|
239
|
-
"description": "邮政编码格式校验函数",
|
240
|
-
"value": {
|
241
|
-
"type": "string => boolean",
|
242
|
-
"kind": "expression"
|
243
|
-
}
|
244
|
-
},
|
245
|
-
{
|
246
|
-
"name": "validator",
|
247
|
-
"default": "-",
|
248
|
-
"description": "自定义校验函数",
|
249
|
-
"value": {
|
250
|
-
"type": "(key, val) => string",
|
251
|
-
"kind": "expression"
|
252
|
-
}
|
253
|
-
}
|
254
|
-
]
|
255
|
-
},
|
256
9
|
{
|
257
10
|
"name": "van-action-sheet",
|
258
11
|
"slots": [
|
@@ -452,314 +205,509 @@
|
|
452
205
|
]
|
453
206
|
},
|
454
207
|
{
|
455
|
-
"name": "van-
|
208
|
+
"name": "van-area",
|
456
209
|
"slots": [
|
457
210
|
{
|
458
|
-
"name": "
|
459
|
-
"description": "
|
211
|
+
"name": "title",
|
212
|
+
"description": "自定义标题内容"
|
460
213
|
},
|
461
214
|
{
|
462
|
-
"name": "top",
|
463
|
-
"description": "
|
464
|
-
},
|
465
|
-
{
|
466
|
-
"name": "item-bottom",
|
467
|
-
"description": "在列表项底部插入内容"
|
215
|
+
"name": "columns-top",
|
216
|
+
"description": "自定义选项上方内容"
|
468
217
|
},
|
469
218
|
{
|
470
|
-
"name": "
|
471
|
-
"description": "
|
219
|
+
"name": "columns-bottom",
|
220
|
+
"description": "自定义选项下方内容"
|
472
221
|
}
|
473
222
|
],
|
474
223
|
"events": [
|
475
224
|
{
|
476
|
-
"name": "
|
477
|
-
"description": "
|
225
|
+
"name": "confirm",
|
226
|
+
"description": "点击右上方完成按钮"
|
478
227
|
},
|
479
228
|
{
|
480
|
-
"name": "
|
481
|
-
"description": "
|
229
|
+
"name": "cancel",
|
230
|
+
"description": "点击取消按钮时"
|
482
231
|
},
|
483
232
|
{
|
484
|
-
"name": "
|
485
|
-
"description": "
|
486
|
-
}
|
233
|
+
"name": "change",
|
234
|
+
"description": "选项改变时触发"
|
235
|
+
}
|
236
|
+
],
|
237
|
+
"attributes": [
|
487
238
|
{
|
488
|
-
"name": "
|
489
|
-
"
|
239
|
+
"name": "value",
|
240
|
+
"default": "-",
|
241
|
+
"description": "当前选中的省市区`code`",
|
242
|
+
"value": {
|
243
|
+
"type": "string",
|
244
|
+
"kind": "expression"
|
245
|
+
}
|
490
246
|
},
|
491
247
|
{
|
492
|
-
"name": "
|
493
|
-
"
|
248
|
+
"name": "title",
|
249
|
+
"default": "-",
|
250
|
+
"description": "顶部栏标题",
|
251
|
+
"value": {
|
252
|
+
"type": "string",
|
253
|
+
"kind": "expression"
|
254
|
+
}
|
494
255
|
},
|
495
256
|
{
|
496
|
-
"name": "
|
497
|
-
"
|
498
|
-
|
499
|
-
|
500
|
-
|
257
|
+
"name": "confirm-button-text",
|
258
|
+
"default": "`确认`",
|
259
|
+
"description": "确认按钮文字",
|
260
|
+
"value": {
|
261
|
+
"type": "string",
|
262
|
+
"kind": "expression"
|
263
|
+
}
|
264
|
+
},
|
501
265
|
{
|
502
|
-
"name": "
|
503
|
-
"default": "
|
504
|
-
"description": "
|
266
|
+
"name": "cancel-button-text",
|
267
|
+
"default": "`取消`",
|
268
|
+
"description": "取消按钮文字",
|
505
269
|
"value": {
|
506
270
|
"type": "string",
|
507
271
|
"kind": "expression"
|
508
272
|
}
|
509
273
|
},
|
510
274
|
{
|
511
|
-
"name": "list",
|
512
|
-
"default": "
|
513
|
-
"description": "
|
275
|
+
"name": "area-list",
|
276
|
+
"default": "-",
|
277
|
+
"description": "省市区数据,格式见下方",
|
514
278
|
"value": {
|
515
|
-
"type": "
|
279
|
+
"type": "object",
|
516
280
|
"kind": "expression"
|
517
281
|
}
|
518
282
|
},
|
519
283
|
{
|
520
|
-
"name": "
|
284
|
+
"name": "columns-placeholder",
|
521
285
|
"default": "`[]`",
|
522
|
-
"description": "
|
286
|
+
"description": "列占位提示文字",
|
523
287
|
"value": {
|
524
|
-
"type": "
|
288
|
+
"type": "string[]",
|
525
289
|
"kind": "expression"
|
526
290
|
}
|
527
291
|
},
|
528
292
|
{
|
529
|
-
"name": "
|
530
|
-
"default": "
|
531
|
-
"description": "
|
293
|
+
"name": "loading",
|
294
|
+
"default": "`false`",
|
295
|
+
"description": "是否显示加载状态",
|
532
296
|
"value": {
|
533
|
-
"type": "
|
297
|
+
"type": "boolean",
|
534
298
|
"kind": "expression"
|
535
299
|
}
|
536
300
|
},
|
537
301
|
{
|
538
|
-
"name": "
|
539
|
-
"default": "`
|
540
|
-
"description": "
|
302
|
+
"name": "readonly",
|
303
|
+
"default": "`false`",
|
304
|
+
"description": "是否为只读状态,只读状态下无法切换选项",
|
541
305
|
"value": {
|
542
306
|
"type": "boolean",
|
543
307
|
"kind": "expression"
|
544
308
|
}
|
545
309
|
},
|
546
310
|
{
|
547
|
-
"name": "
|
548
|
-
"default": "
|
549
|
-
"description": "
|
311
|
+
"name": "item-height",
|
312
|
+
"default": "`44`",
|
313
|
+
"description": "选项高度,支持 `px` `vw` `vh` `rem` 单位,默认 `px`",
|
550
314
|
"value": {
|
551
|
-
"type": "string",
|
315
|
+
"type": "number | string",
|
552
316
|
"kind": "expression"
|
553
317
|
}
|
554
318
|
},
|
555
319
|
{
|
556
|
-
"name": "
|
320
|
+
"name": "columns-num",
|
321
|
+
"default": "`3`",
|
322
|
+
"description": "显示列数,3-省市区,2-省市,1-省",
|
323
|
+
"value": {
|
324
|
+
"type": "number | string",
|
325
|
+
"kind": "expression"
|
326
|
+
}
|
327
|
+
},
|
328
|
+
{
|
329
|
+
"name": "visible-item-count",
|
330
|
+
"default": "`6`",
|
331
|
+
"description": "可见的选项个数",
|
332
|
+
"value": {
|
333
|
+
"type": "number | string",
|
334
|
+
"kind": "expression"
|
335
|
+
}
|
336
|
+
},
|
337
|
+
{
|
338
|
+
"name": "swipe-duration",
|
339
|
+
"default": "`1000`",
|
340
|
+
"description": "快速滑动时惯性滚动的时长,单位`ms`",
|
341
|
+
"value": {
|
342
|
+
"type": "number | string",
|
343
|
+
"kind": "expression"
|
344
|
+
}
|
345
|
+
},
|
346
|
+
{
|
347
|
+
"name": "is-oversea-code",
|
557
348
|
"default": "-",
|
558
|
-
"description": "
|
349
|
+
"description": "根据`code`校验海外地址,海外地址会划分至单独的分类",
|
559
350
|
"value": {
|
560
|
-
"type": "
|
351
|
+
"type": "() => boolean",
|
561
352
|
"kind": "expression"
|
562
353
|
}
|
563
354
|
}
|
564
355
|
]
|
565
356
|
},
|
566
357
|
{
|
567
|
-
"name": "van-
|
358
|
+
"name": "van-address-edit",
|
568
359
|
"slots": [
|
569
360
|
{
|
570
361
|
"name": "default",
|
571
|
-
"description": "
|
362
|
+
"description": "在邮政编码下方插入内容"
|
363
|
+
}
|
364
|
+
],
|
365
|
+
"events": [
|
366
|
+
{
|
367
|
+
"name": "save",
|
368
|
+
"description": "点击保存按钮时触发"
|
572
369
|
},
|
573
370
|
{
|
574
|
-
"name": "
|
575
|
-
"description": "
|
371
|
+
"name": "focus",
|
372
|
+
"description": "输入框聚焦时触发"
|
373
|
+
},
|
374
|
+
{
|
375
|
+
"name": "delete",
|
376
|
+
"description": "确认删除地址时触发"
|
377
|
+
},
|
378
|
+
{
|
379
|
+
"name": "cancel-delete",
|
380
|
+
"description": "取消删除地址时触发"
|
381
|
+
},
|
382
|
+
{
|
383
|
+
"name": "select-search",
|
384
|
+
"description": "选中搜索结果时触发"
|
385
|
+
},
|
386
|
+
{
|
387
|
+
"name": "click-area",
|
388
|
+
"description": "点击收件地区时触发"
|
389
|
+
},
|
390
|
+
{
|
391
|
+
"name": "change-area",
|
392
|
+
"description": "修改收件地区时触发"
|
393
|
+
},
|
394
|
+
{
|
395
|
+
"name": "change-detail",
|
396
|
+
"description": "修改详细地址时触发"
|
397
|
+
},
|
398
|
+
{
|
399
|
+
"name": "change-default",
|
400
|
+
"description": "切换是否使用默认地址时触发"
|
576
401
|
}
|
577
402
|
],
|
578
|
-
"events": [],
|
579
403
|
"attributes": [
|
580
404
|
{
|
581
|
-
"name": "
|
405
|
+
"name": "area-list",
|
582
406
|
"default": "-",
|
583
|
-
"description": "
|
407
|
+
"description": "地区列表",
|
584
408
|
"value": {
|
585
|
-
"type": "
|
409
|
+
"type": "object",
|
586
410
|
"kind": "expression"
|
587
411
|
}
|
588
412
|
},
|
589
413
|
{
|
590
|
-
"name": "
|
591
|
-
"default": "
|
592
|
-
"description": "
|
414
|
+
"name": "area-columns-placeholder",
|
415
|
+
"default": "`[]`",
|
416
|
+
"description": "地区选择列占位提示文字",
|
593
417
|
"value": {
|
594
|
-
"type": "string",
|
418
|
+
"type": "string[]",
|
595
419
|
"kind": "expression"
|
596
420
|
}
|
597
421
|
},
|
598
422
|
{
|
599
|
-
"name": "
|
600
|
-
"default": "
|
601
|
-
"description": "
|
423
|
+
"name": "area-placeholder",
|
424
|
+
"default": "`选择省 / 市 / 区`",
|
425
|
+
"description": "地区输入框占位提示文字",
|
602
426
|
"value": {
|
603
|
-
"type": "
|
427
|
+
"type": "string",
|
604
428
|
"kind": "expression"
|
605
429
|
}
|
606
430
|
},
|
607
431
|
{
|
608
|
-
"name": "
|
609
|
-
"default": "
|
610
|
-
"description": "
|
432
|
+
"name": "address-info",
|
433
|
+
"default": "`{}`",
|
434
|
+
"description": "收货人信息初始值",
|
611
435
|
"value": {
|
612
|
-
"type": "
|
436
|
+
"type": "AddressInfo",
|
613
437
|
"kind": "expression"
|
614
438
|
}
|
615
|
-
}
|
616
|
-
]
|
617
|
-
},
|
618
|
-
{
|
619
|
-
"name": "van-area",
|
620
|
-
"slots": [
|
439
|
+
},
|
621
440
|
{
|
622
|
-
"name": "
|
623
|
-
"
|
441
|
+
"name": "search-result",
|
442
|
+
"default": "`[]`",
|
443
|
+
"description": "详细地址搜索结果",
|
444
|
+
"value": {
|
445
|
+
"type": "SearchResult[]",
|
446
|
+
"kind": "expression"
|
447
|
+
}
|
624
448
|
},
|
625
449
|
{
|
626
|
-
"name": "
|
627
|
-
"
|
450
|
+
"name": "show-postal",
|
451
|
+
"default": "`false`",
|
452
|
+
"description": "是否显示邮政编码",
|
453
|
+
"value": {
|
454
|
+
"type": "boolean",
|
455
|
+
"kind": "expression"
|
456
|
+
}
|
628
457
|
},
|
629
458
|
{
|
630
|
-
"name": "
|
631
|
-
"
|
632
|
-
|
633
|
-
|
634
|
-
|
459
|
+
"name": "show-delete",
|
460
|
+
"default": "`false`",
|
461
|
+
"description": "是否显示删除按钮",
|
462
|
+
"value": {
|
463
|
+
"type": "boolean",
|
464
|
+
"kind": "expression"
|
465
|
+
}
|
466
|
+
},
|
635
467
|
{
|
636
|
-
"name": "
|
637
|
-
"
|
468
|
+
"name": "show-set-default",
|
469
|
+
"default": "`false`",
|
470
|
+
"description": "是否显示默认地址栏",
|
471
|
+
"value": {
|
472
|
+
"type": "boolean",
|
473
|
+
"kind": "expression"
|
474
|
+
}
|
638
475
|
},
|
639
476
|
{
|
640
|
-
"name": "
|
641
|
-
"
|
477
|
+
"name": "show-search-result",
|
478
|
+
"default": "`false`",
|
479
|
+
"description": "是否显示搜索结果",
|
480
|
+
"value": {
|
481
|
+
"type": "boolean",
|
482
|
+
"kind": "expression"
|
483
|
+
}
|
642
484
|
},
|
643
485
|
{
|
644
|
-
"name": "
|
645
|
-
"
|
646
|
-
|
647
|
-
|
648
|
-
|
486
|
+
"name": "show-area",
|
487
|
+
"default": "`true`",
|
488
|
+
"description": "是否显示地区",
|
489
|
+
"value": {
|
490
|
+
"type": "boolean",
|
491
|
+
"kind": "expression"
|
492
|
+
}
|
493
|
+
},
|
649
494
|
{
|
650
|
-
"name": "
|
651
|
-
"default": "
|
652
|
-
"description": "
|
495
|
+
"name": "show-detail",
|
496
|
+
"default": "`true`",
|
497
|
+
"description": "是否显示详细地址",
|
653
498
|
"value": {
|
654
|
-
"type": "
|
499
|
+
"type": "boolean",
|
655
500
|
"kind": "expression"
|
656
501
|
}
|
657
502
|
},
|
658
503
|
{
|
659
|
-
"name": "
|
660
|
-
"default": "
|
661
|
-
"description": "
|
504
|
+
"name": "disable-area",
|
505
|
+
"default": "`false`",
|
506
|
+
"description": "是否禁用地区选择",
|
662
507
|
"value": {
|
663
|
-
"type": "
|
508
|
+
"type": "boolean",
|
664
509
|
"kind": "expression"
|
665
510
|
}
|
666
511
|
},
|
667
512
|
{
|
668
|
-
"name": "
|
669
|
-
"default": "
|
670
|
-
"description": "
|
513
|
+
"name": "save-button-text",
|
514
|
+
"default": "`保存`",
|
515
|
+
"description": "保存按钮文字",
|
671
516
|
"value": {
|
672
517
|
"type": "string",
|
673
518
|
"kind": "expression"
|
674
519
|
}
|
675
520
|
},
|
676
521
|
{
|
677
|
-
"name": "
|
678
|
-
"default": "
|
679
|
-
"description": "
|
522
|
+
"name": "delete-button-text",
|
523
|
+
"default": "`删除`",
|
524
|
+
"description": "删除按钮文字",
|
680
525
|
"value": {
|
681
526
|
"type": "string",
|
682
527
|
"kind": "expression"
|
683
528
|
}
|
684
529
|
},
|
685
530
|
{
|
686
|
-
"name": "
|
687
|
-
"default": "
|
688
|
-
"description": "
|
531
|
+
"name": "detail-rows",
|
532
|
+
"default": "`1`",
|
533
|
+
"description": "详细地址输入框行数",
|
689
534
|
"value": {
|
690
|
-
"type": "
|
535
|
+
"type": "number | string",
|
691
536
|
"kind": "expression"
|
692
537
|
}
|
693
538
|
},
|
694
539
|
{
|
695
|
-
"name": "
|
696
|
-
"default": "`
|
697
|
-
"description": "
|
540
|
+
"name": "detail-maxlength",
|
541
|
+
"default": "`200`",
|
542
|
+
"description": "详细地址最大长度",
|
698
543
|
"value": {
|
699
|
-
"type": "string
|
544
|
+
"type": "number | string",
|
700
545
|
"kind": "expression"
|
701
546
|
}
|
702
547
|
},
|
703
548
|
{
|
704
|
-
"name": "
|
549
|
+
"name": "is-saving",
|
705
550
|
"default": "`false`",
|
706
|
-
"description": "
|
551
|
+
"description": "是否显示保存按钮加载动画",
|
707
552
|
"value": {
|
708
553
|
"type": "boolean",
|
709
554
|
"kind": "expression"
|
710
555
|
}
|
711
556
|
},
|
712
557
|
{
|
713
|
-
"name": "
|
558
|
+
"name": "is-deleting",
|
714
559
|
"default": "`false`",
|
715
|
-
"description": "
|
560
|
+
"description": "是否显示删除按钮加载动画",
|
716
561
|
"value": {
|
717
562
|
"type": "boolean",
|
718
563
|
"kind": "expression"
|
719
564
|
}
|
720
565
|
},
|
721
566
|
{
|
722
|
-
"name": "
|
723
|
-
"default": "
|
724
|
-
"description": "
|
567
|
+
"name": "tel-validator",
|
568
|
+
"default": "-",
|
569
|
+
"description": "手机号格式校验函数",
|
570
|
+
"value": {
|
571
|
+
"type": "string => boolean",
|
572
|
+
"kind": "expression"
|
573
|
+
}
|
574
|
+
},
|
575
|
+
{
|
576
|
+
"name": "tel-maxlength",
|
577
|
+
"default": "-",
|
578
|
+
"description": "手机号最大长度",
|
725
579
|
"value": {
|
726
580
|
"type": "number | string",
|
727
581
|
"kind": "expression"
|
728
582
|
}
|
729
583
|
},
|
730
584
|
{
|
731
|
-
"name": "
|
732
|
-
"default": "
|
733
|
-
"description": "
|
585
|
+
"name": "postal-validator",
|
586
|
+
"default": "-",
|
587
|
+
"description": "邮政编码格式校验函数",
|
588
|
+
"value": {
|
589
|
+
"type": "string => boolean",
|
590
|
+
"kind": "expression"
|
591
|
+
}
|
592
|
+
},
|
593
|
+
{
|
594
|
+
"name": "validator",
|
595
|
+
"default": "-",
|
596
|
+
"description": "自定义校验函数",
|
597
|
+
"value": {
|
598
|
+
"type": "(key, val) => string",
|
599
|
+
"kind": "expression"
|
600
|
+
}
|
601
|
+
}
|
602
|
+
]
|
603
|
+
},
|
604
|
+
{
|
605
|
+
"name": "van-address-list",
|
606
|
+
"slots": [
|
607
|
+
{
|
608
|
+
"name": "default",
|
609
|
+
"description": "在列表下方插入内容"
|
610
|
+
},
|
611
|
+
{
|
612
|
+
"name": "top",
|
613
|
+
"description": "在顶部插入内容"
|
614
|
+
},
|
615
|
+
{
|
616
|
+
"name": "item-bottom",
|
617
|
+
"description": "在列表项底部插入内容"
|
618
|
+
},
|
619
|
+
{
|
620
|
+
"name": "tag",
|
621
|
+
"description": "列表项标签内容自定义"
|
622
|
+
}
|
623
|
+
],
|
624
|
+
"events": [
|
625
|
+
{
|
626
|
+
"name": "add",
|
627
|
+
"description": "点击新增按钮时触发"
|
628
|
+
},
|
629
|
+
{
|
630
|
+
"name": "edit",
|
631
|
+
"description": "点击编辑按钮时触发"
|
632
|
+
},
|
633
|
+
{
|
634
|
+
"name": "select",
|
635
|
+
"description": "切换选中的地址时触发"
|
636
|
+
},
|
637
|
+
{
|
638
|
+
"name": "edit-disabled",
|
639
|
+
"description": "编辑不可配送的地址时触发"
|
640
|
+
},
|
641
|
+
{
|
642
|
+
"name": "select-disabled",
|
643
|
+
"description": "选中不可配送的地址时触发"
|
644
|
+
},
|
645
|
+
{
|
646
|
+
"name": "click-item",
|
647
|
+
"description": "点击任意地址时触发"
|
648
|
+
}
|
649
|
+
],
|
650
|
+
"attributes": [
|
651
|
+
{
|
652
|
+
"name": "v-model",
|
653
|
+
"default": "-",
|
654
|
+
"description": "当前选中地址的 id",
|
655
|
+
"value": {
|
656
|
+
"type": "string",
|
657
|
+
"kind": "expression"
|
658
|
+
}
|
659
|
+
},
|
660
|
+
{
|
661
|
+
"name": "list",
|
662
|
+
"default": "`[]`",
|
663
|
+
"description": "地址列表",
|
664
|
+
"value": {
|
665
|
+
"type": "Address[]",
|
666
|
+
"kind": "expression"
|
667
|
+
}
|
668
|
+
},
|
669
|
+
{
|
670
|
+
"name": "disabled-list",
|
671
|
+
"default": "`[]`",
|
672
|
+
"description": "不可配送地址列表",
|
673
|
+
"value": {
|
674
|
+
"type": "Address[]",
|
675
|
+
"kind": "expression"
|
676
|
+
}
|
677
|
+
},
|
678
|
+
{
|
679
|
+
"name": "disabled-text",
|
680
|
+
"default": "-",
|
681
|
+
"description": "不可配送提示文案",
|
734
682
|
"value": {
|
735
|
-
"type": "
|
683
|
+
"type": "string",
|
736
684
|
"kind": "expression"
|
737
685
|
}
|
738
686
|
},
|
739
687
|
{
|
740
|
-
"name": "
|
741
|
-
"default": "`
|
742
|
-
"description": "
|
688
|
+
"name": "switchable",
|
689
|
+
"default": "`true`",
|
690
|
+
"description": "是否允许切换地址",
|
743
691
|
"value": {
|
744
|
-
"type": "
|
692
|
+
"type": "boolean",
|
745
693
|
"kind": "expression"
|
746
694
|
}
|
747
695
|
},
|
748
696
|
{
|
749
|
-
"name": "
|
750
|
-
"default": "
|
751
|
-
"description": "
|
697
|
+
"name": "add-button-text",
|
698
|
+
"default": "`新增地址`",
|
699
|
+
"description": "底部按钮文字",
|
752
700
|
"value": {
|
753
|
-
"type": "
|
701
|
+
"type": "string",
|
754
702
|
"kind": "expression"
|
755
703
|
}
|
756
704
|
},
|
757
705
|
{
|
758
|
-
"name": "
|
706
|
+
"name": "default-tag-text",
|
759
707
|
"default": "-",
|
760
|
-
"description": "
|
708
|
+
"description": "默认地址标签文字",
|
761
709
|
"value": {
|
762
|
-
"type": "
|
710
|
+
"type": "string",
|
763
711
|
"kind": "expression"
|
764
712
|
}
|
765
713
|
}
|
@@ -1500,98 +1448,6 @@
|
|
1500
1448
|
}
|
1501
1449
|
]
|
1502
1450
|
},
|
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
1451
|
{
|
1596
1452
|
"name": "van-cell-group",
|
1597
1453
|
"slots": [
|
@@ -1716,119 +1572,272 @@
|
|
1716
1572
|
}
|
1717
1573
|
},
|
1718
1574
|
{
|
1719
|
-
"name": "url",
|
1575
|
+
"name": "url",
|
1576
|
+
"default": "-",
|
1577
|
+
"description": "点击后跳转的链接地址",
|
1578
|
+
"value": {
|
1579
|
+
"type": "string",
|
1580
|
+
"kind": "expression"
|
1581
|
+
}
|
1582
|
+
},
|
1583
|
+
{
|
1584
|
+
"name": "to",
|
1585
|
+
"default": "-",
|
1586
|
+
"description": "点击后跳转的目标路由对象,同 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to)",
|
1587
|
+
"value": {
|
1588
|
+
"type": "string | object",
|
1589
|
+
"kind": "expression"
|
1590
|
+
}
|
1591
|
+
},
|
1592
|
+
{
|
1593
|
+
"name": "border",
|
1594
|
+
"default": "`true`",
|
1595
|
+
"description": "是否显示内边框",
|
1596
|
+
"value": {
|
1597
|
+
"type": "boolean",
|
1598
|
+
"kind": "expression"
|
1599
|
+
}
|
1600
|
+
},
|
1601
|
+
{
|
1602
|
+
"name": "replace",
|
1603
|
+
"default": "`false`",
|
1604
|
+
"description": "是否在跳转时替换当前页面历史",
|
1605
|
+
"value": {
|
1606
|
+
"type": "boolean",
|
1607
|
+
"kind": "expression"
|
1608
|
+
}
|
1609
|
+
},
|
1610
|
+
{
|
1611
|
+
"name": "clickable",
|
1612
|
+
"default": "`null`",
|
1613
|
+
"description": "是否开启点击反馈",
|
1614
|
+
"value": {
|
1615
|
+
"type": "boolean",
|
1616
|
+
"kind": "expression"
|
1617
|
+
}
|
1618
|
+
},
|
1619
|
+
{
|
1620
|
+
"name": "is-link",
|
1621
|
+
"default": "`false`",
|
1622
|
+
"description": "是否展示右侧箭头并开启点击反馈",
|
1623
|
+
"value": {
|
1624
|
+
"type": "boolean",
|
1625
|
+
"kind": "expression"
|
1626
|
+
}
|
1627
|
+
},
|
1628
|
+
{
|
1629
|
+
"name": "required",
|
1630
|
+
"default": "`false`",
|
1631
|
+
"description": "是否显示表单必填星号",
|
1632
|
+
"value": {
|
1633
|
+
"type": "boolean",
|
1634
|
+
"kind": "expression"
|
1635
|
+
}
|
1636
|
+
},
|
1637
|
+
{
|
1638
|
+
"name": "center",
|
1639
|
+
"default": "`false`",
|
1640
|
+
"description": "是否使内容垂直居中",
|
1641
|
+
"value": {
|
1642
|
+
"type": "boolean",
|
1643
|
+
"kind": "expression"
|
1644
|
+
}
|
1645
|
+
},
|
1646
|
+
{
|
1647
|
+
"name": "arrow-direction",
|
1648
|
+
"default": "`right`",
|
1649
|
+
"description": "箭头方向,可选值为 `left` `up` `down`",
|
1650
|
+
"value": {
|
1651
|
+
"type": "string",
|
1652
|
+
"kind": "expression"
|
1653
|
+
}
|
1654
|
+
},
|
1655
|
+
{
|
1656
|
+
"name": "title-style",
|
1657
|
+
"default": "-",
|
1658
|
+
"description": "左侧标题额外样式",
|
1659
|
+
"value": {
|
1660
|
+
"type": "any",
|
1661
|
+
"kind": "expression"
|
1662
|
+
}
|
1663
|
+
},
|
1664
|
+
{
|
1665
|
+
"name": "title-class",
|
1666
|
+
"default": "-",
|
1667
|
+
"description": "左侧标题额外类名",
|
1668
|
+
"value": {
|
1669
|
+
"type": "any",
|
1670
|
+
"kind": "expression"
|
1671
|
+
}
|
1672
|
+
},
|
1673
|
+
{
|
1674
|
+
"name": "value-class",
|
1675
|
+
"default": "-",
|
1676
|
+
"description": "右侧内容额外类名",
|
1677
|
+
"value": {
|
1678
|
+
"type": "any",
|
1679
|
+
"kind": "expression"
|
1680
|
+
}
|
1681
|
+
},
|
1682
|
+
{
|
1683
|
+
"name": "label-class",
|
1684
|
+
"default": "-",
|
1685
|
+
"description": "描述信息额外类名",
|
1686
|
+
"value": {
|
1687
|
+
"type": "any",
|
1688
|
+
"kind": "expression"
|
1689
|
+
}
|
1690
|
+
}
|
1691
|
+
]
|
1692
|
+
},
|
1693
|
+
{
|
1694
|
+
"name": "van-cascader",
|
1695
|
+
"slots": [
|
1696
|
+
{
|
1697
|
+
"name": "title",
|
1698
|
+
"description": "自定义顶部标题"
|
1699
|
+
},
|
1700
|
+
{
|
1701
|
+
"name": "option",
|
1702
|
+
"description": "自定义选项文字"
|
1703
|
+
}
|
1704
|
+
],
|
1705
|
+
"events": [
|
1706
|
+
{
|
1707
|
+
"name": "change",
|
1708
|
+
"description": "选中项变化时触发"
|
1709
|
+
},
|
1710
|
+
{
|
1711
|
+
"name": "finish",
|
1712
|
+
"description": "全部选项选择完成后触发"
|
1713
|
+
},
|
1714
|
+
{
|
1715
|
+
"name": "close",
|
1716
|
+
"description": "点击关闭图标时触发"
|
1717
|
+
}
|
1718
|
+
],
|
1719
|
+
"attributes": [
|
1720
|
+
{
|
1721
|
+
"name": "title",
|
1720
1722
|
"default": "-",
|
1721
|
-
"description": "
|
1723
|
+
"description": "顶部标题",
|
1722
1724
|
"value": {
|
1723
1725
|
"type": "string",
|
1724
1726
|
"kind": "expression"
|
1725
1727
|
}
|
1726
1728
|
},
|
1727
1729
|
{
|
1728
|
-
"name": "
|
1730
|
+
"name": "value",
|
1729
1731
|
"default": "-",
|
1730
|
-
"description": "
|
1732
|
+
"description": "选中项的值",
|
1731
1733
|
"value": {
|
1732
|
-
"type": "string |
|
1734
|
+
"type": "string | number",
|
1733
1735
|
"kind": "expression"
|
1734
1736
|
}
|
1735
1737
|
},
|
1736
1738
|
{
|
1737
|
-
"name": "
|
1738
|
-
"default": "`
|
1739
|
-
"description": "
|
1739
|
+
"name": "options",
|
1740
|
+
"default": "`[]`",
|
1741
|
+
"description": "可选项数据源",
|
1740
1742
|
"value": {
|
1741
|
-
"type": "
|
1743
|
+
"type": "Option[]",
|
1742
1744
|
"kind": "expression"
|
1743
1745
|
}
|
1744
1746
|
},
|
1745
1747
|
{
|
1746
|
-
"name": "
|
1747
|
-
"default": "
|
1748
|
-
"description": "
|
1748
|
+
"name": "placeholder",
|
1749
|
+
"default": "`请选择`",
|
1750
|
+
"description": "未选中时的提示文案",
|
1749
1751
|
"value": {
|
1750
|
-
"type": "
|
1752
|
+
"type": "string",
|
1751
1753
|
"kind": "expression"
|
1752
1754
|
}
|
1753
1755
|
},
|
1754
1756
|
{
|
1755
|
-
"name": "
|
1756
|
-
"default": "`
|
1757
|
-
"description": "
|
1757
|
+
"name": "active-color",
|
1758
|
+
"default": "`#ee0a24`",
|
1759
|
+
"description": "选中状态的高亮颜色",
|
1758
1760
|
"value": {
|
1759
|
-
"type": "
|
1761
|
+
"type": "string",
|
1760
1762
|
"kind": "expression"
|
1761
1763
|
}
|
1762
1764
|
},
|
1763
1765
|
{
|
1764
|
-
"name": "
|
1765
|
-
"default": "`
|
1766
|
-
"description": "
|
1766
|
+
"name": "closeable",
|
1767
|
+
"default": "`true`",
|
1768
|
+
"description": "是否显示关闭图标",
|
1767
1769
|
"value": {
|
1768
1770
|
"type": "boolean",
|
1769
1771
|
"kind": "expression"
|
1770
1772
|
}
|
1771
1773
|
},
|
1772
1774
|
{
|
1773
|
-
"name": "
|
1774
|
-
"default": "`
|
1775
|
-
"description": "
|
1775
|
+
"name": "show-header",
|
1776
|
+
"default": "`true`",
|
1777
|
+
"description": "是否展示标题栏",
|
1776
1778
|
"value": {
|
1777
1779
|
"type": "boolean",
|
1778
1780
|
"kind": "expression"
|
1779
1781
|
}
|
1780
1782
|
},
|
1781
1783
|
{
|
1782
|
-
"name": "
|
1783
|
-
"default": "`
|
1784
|
-
"description": "
|
1784
|
+
"name": "field-names",
|
1785
|
+
"default": "`{ text: 'text', value: 'value', children: 'children' }`",
|
1786
|
+
"description": "自定义 `options` 结构中的字段",
|
1785
1787
|
"value": {
|
1786
|
-
"type": "
|
1788
|
+
"type": "object",
|
1787
1789
|
"kind": "expression"
|
1788
1790
|
}
|
1789
|
-
}
|
1791
|
+
}
|
1792
|
+
]
|
1793
|
+
},
|
1794
|
+
{
|
1795
|
+
"name": "van-badge",
|
1796
|
+
"slots": [
|
1790
1797
|
{
|
1791
|
-
"name": "
|
1792
|
-
"
|
1793
|
-
"description": "箭头方向,可选值为 `left` `up` `down`",
|
1794
|
-
"value": {
|
1795
|
-
"type": "string",
|
1796
|
-
"kind": "expression"
|
1797
|
-
}
|
1798
|
+
"name": "default",
|
1799
|
+
"description": "徽标包裹的子元素"
|
1798
1800
|
},
|
1799
1801
|
{
|
1800
|
-
"name": "
|
1802
|
+
"name": "content",
|
1803
|
+
"description": "自定义徽标内容"
|
1804
|
+
}
|
1805
|
+
],
|
1806
|
+
"events": [],
|
1807
|
+
"attributes": [
|
1808
|
+
{
|
1809
|
+
"name": "content",
|
1801
1810
|
"default": "-",
|
1802
|
-
"description": "
|
1811
|
+
"description": "徽标内容",
|
1803
1812
|
"value": {
|
1804
|
-
"type": "
|
1813
|
+
"type": "number | string",
|
1805
1814
|
"kind": "expression"
|
1806
1815
|
}
|
1807
1816
|
},
|
1808
1817
|
{
|
1809
|
-
"name": "
|
1810
|
-
"default": "
|
1811
|
-
"description": "
|
1818
|
+
"name": "color",
|
1819
|
+
"default": "`#ee0a24`",
|
1820
|
+
"description": "徽标背景颜色",
|
1812
1821
|
"value": {
|
1813
|
-
"type": "
|
1822
|
+
"type": "string",
|
1814
1823
|
"kind": "expression"
|
1815
1824
|
}
|
1816
1825
|
},
|
1817
1826
|
{
|
1818
|
-
"name": "
|
1819
|
-
"default": "
|
1820
|
-
"description": "
|
1827
|
+
"name": "dot",
|
1828
|
+
"default": "`false`",
|
1829
|
+
"description": "是否展示为小红点",
|
1821
1830
|
"value": {
|
1822
|
-
"type": "
|
1831
|
+
"type": "boolean",
|
1823
1832
|
"kind": "expression"
|
1824
1833
|
}
|
1825
1834
|
},
|
1826
1835
|
{
|
1827
|
-
"name": "
|
1836
|
+
"name": "max",
|
1828
1837
|
"default": "-",
|
1829
|
-
"description": "
|
1838
|
+
"description": "最大值,超过最大值会显示 `{max}+`,仅当 content 为数字时有效",
|
1830
1839
|
"value": {
|
1831
|
-
"type": "
|
1840
|
+
"type": "number | string",
|
1832
1841
|
"kind": "expression"
|
1833
1842
|
}
|
1834
1843
|
}
|
@@ -5434,77 +5443,6 @@
|
|
5434
5443
|
}
|
5435
5444
|
]
|
5436
5445
|
},
|
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
|
-
},
|
5508
5446
|
{
|
5509
5447
|
"name": "van-number-keyboard",
|
5510
5448
|
"slots": [
|
@@ -5694,6 +5632,77 @@
|
|
5694
5632
|
}
|
5695
5633
|
]
|
5696
5634
|
},
|
5635
|
+
{
|
5636
|
+
"name": "van-overlay",
|
5637
|
+
"slots": [
|
5638
|
+
{
|
5639
|
+
"name": "default",
|
5640
|
+
"description": "默认插槽,用于在遮罩层上方嵌入内容"
|
5641
|
+
}
|
5642
|
+
],
|
5643
|
+
"events": [
|
5644
|
+
{
|
5645
|
+
"name": "click",
|
5646
|
+
"description": "点击时触发"
|
5647
|
+
}
|
5648
|
+
],
|
5649
|
+
"attributes": [
|
5650
|
+
{
|
5651
|
+
"name": "show",
|
5652
|
+
"default": "`false`",
|
5653
|
+
"description": "是否展示遮罩层",
|
5654
|
+
"value": {
|
5655
|
+
"type": "boolean",
|
5656
|
+
"kind": "expression"
|
5657
|
+
}
|
5658
|
+
},
|
5659
|
+
{
|
5660
|
+
"name": "z-index",
|
5661
|
+
"default": "`1`",
|
5662
|
+
"description": "z-index 层级",
|
5663
|
+
"value": {
|
5664
|
+
"type": "number | string",
|
5665
|
+
"kind": "expression"
|
5666
|
+
}
|
5667
|
+
},
|
5668
|
+
{
|
5669
|
+
"name": "duration",
|
5670
|
+
"default": "`0.3`",
|
5671
|
+
"description": "动画时长,单位秒",
|
5672
|
+
"value": {
|
5673
|
+
"type": "number | string",
|
5674
|
+
"kind": "expression"
|
5675
|
+
}
|
5676
|
+
},
|
5677
|
+
{
|
5678
|
+
"name": "class-name",
|
5679
|
+
"default": "-",
|
5680
|
+
"description": "自定义类名",
|
5681
|
+
"value": {
|
5682
|
+
"type": "string",
|
5683
|
+
"kind": "expression"
|
5684
|
+
}
|
5685
|
+
},
|
5686
|
+
{
|
5687
|
+
"name": "custom-style",
|
5688
|
+
"default": "-",
|
5689
|
+
"description": "自定义样式",
|
5690
|
+
"value": {
|
5691
|
+
"type": "object",
|
5692
|
+
"kind": "expression"
|
5693
|
+
}
|
5694
|
+
},
|
5695
|
+
{
|
5696
|
+
"name": "lock-scroll",
|
5697
|
+
"default": "`true`",
|
5698
|
+
"description": "是否锁定背景滚动,锁定时蒙层里的内容也将无法滚动",
|
5699
|
+
"value": {
|
5700
|
+
"type": "boolean",
|
5701
|
+
"kind": "expression"
|
5702
|
+
}
|
5703
|
+
}
|
5704
|
+
]
|
5705
|
+
},
|
5697
5706
|
{
|
5698
5707
|
"name": "van-pagination",
|
5699
5708
|
"slots": [
|