vant 3.3.4 → 3.3.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/index.d.ts +1 -1
- package/es/index.js +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/vant.cjs.js +1 -1
- package/lib/vant.cjs.min.js +1 -1
- package/lib/vant.es.js +1 -1
- package/lib/vant.es.min.js +1 -1
- package/lib/vant.js +1 -1
- package/lib/vant.min.js +1 -1
- package/package.json +5 -3
- package/vetur/attributes.json +476 -476
- package/vetur/tags.json +165 -165
- package/vetur/web-types.json +1423 -1423
package/vetur/web-types.json
CHANGED
@@ -2,247 +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": "3.3.
|
5
|
+
"version": "3.3.5",
|
6
6
|
"contributions": {
|
7
7
|
"html": {
|
8
8
|
"tags": [
|
9
|
-
{
|
10
|
-
"name": "van-action-bar",
|
11
|
-
"slots": [],
|
12
|
-
"events": [],
|
13
|
-
"attributes": [
|
14
|
-
{
|
15
|
-
"name": "safe-area-inset-bottom",
|
16
|
-
"default": "`true`",
|
17
|
-
"description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei)",
|
18
|
-
"options": [],
|
19
|
-
"value": {
|
20
|
-
"type": "boolean",
|
21
|
-
"kind": "expression"
|
22
|
-
}
|
23
|
-
}
|
24
|
-
]
|
25
|
-
},
|
26
|
-
{
|
27
|
-
"name": "van-action-bar-icon",
|
28
|
-
"slots": [
|
29
|
-
{
|
30
|
-
"name": "default",
|
31
|
-
"description": "文本内容"
|
32
|
-
},
|
33
|
-
{
|
34
|
-
"name": "icon",
|
35
|
-
"description": "自定义图标"
|
36
|
-
}
|
37
|
-
],
|
38
|
-
"events": [],
|
39
|
-
"attributes": [
|
40
|
-
{
|
41
|
-
"name": "text",
|
42
|
-
"default": "-",
|
43
|
-
"description": "按钮文字",
|
44
|
-
"options": [],
|
45
|
-
"value": {
|
46
|
-
"type": "string",
|
47
|
-
"kind": "expression"
|
48
|
-
}
|
49
|
-
},
|
50
|
-
{
|
51
|
-
"name": "icon",
|
52
|
-
"default": "-",
|
53
|
-
"description": "图标",
|
54
|
-
"options": [],
|
55
|
-
"value": {
|
56
|
-
"type": "string",
|
57
|
-
"kind": "expression"
|
58
|
-
}
|
59
|
-
},
|
60
|
-
{
|
61
|
-
"name": "color",
|
62
|
-
"default": "`#323233`",
|
63
|
-
"description": "图标颜色",
|
64
|
-
"options": [],
|
65
|
-
"value": {
|
66
|
-
"type": "string",
|
67
|
-
"kind": "expression"
|
68
|
-
}
|
69
|
-
},
|
70
|
-
{
|
71
|
-
"name": "icon-class",
|
72
|
-
"default": "object_",
|
73
|
-
"description": "图标额外类名",
|
74
|
-
"options": [
|
75
|
-
"-"
|
76
|
-
],
|
77
|
-
"value": {
|
78
|
-
"type": "string | Array \\",
|
79
|
-
"kind": "expression"
|
80
|
-
}
|
81
|
-
},
|
82
|
-
{
|
83
|
-
"name": "icon-prefix",
|
84
|
-
"default": "`van-icon`",
|
85
|
-
"description": "图标类名前缀,等同于 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props)",
|
86
|
-
"options": [],
|
87
|
-
"value": {
|
88
|
-
"type": "string",
|
89
|
-
"kind": "expression"
|
90
|
-
}
|
91
|
-
},
|
92
|
-
{
|
93
|
-
"name": "dot",
|
94
|
-
"default": "`false`",
|
95
|
-
"description": "是否显示图标右上角小红点",
|
96
|
-
"options": [],
|
97
|
-
"value": {
|
98
|
-
"type": "boolean",
|
99
|
-
"kind": "expression"
|
100
|
-
}
|
101
|
-
},
|
102
|
-
{
|
103
|
-
"name": "badge",
|
104
|
-
"default": "-",
|
105
|
-
"description": "图标右上角徽标的内容",
|
106
|
-
"options": [],
|
107
|
-
"value": {
|
108
|
-
"type": "number | string",
|
109
|
-
"kind": "expression"
|
110
|
-
}
|
111
|
-
},
|
112
|
-
{
|
113
|
-
"name": "url",
|
114
|
-
"default": "-",
|
115
|
-
"description": "点击后跳转的链接地址",
|
116
|
-
"options": [],
|
117
|
-
"value": {
|
118
|
-
"type": "string",
|
119
|
-
"kind": "expression"
|
120
|
-
}
|
121
|
-
},
|
122
|
-
{
|
123
|
-
"name": "to",
|
124
|
-
"default": "-",
|
125
|
-
"description": "点击后跳转的目标路由对象,等同于 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to)",
|
126
|
-
"options": [],
|
127
|
-
"value": {
|
128
|
-
"type": "string | object",
|
129
|
-
"kind": "expression"
|
130
|
-
}
|
131
|
-
},
|
132
|
-
{
|
133
|
-
"name": "replace",
|
134
|
-
"default": "`false`",
|
135
|
-
"description": "是否在跳转时替换当前页面历史",
|
136
|
-
"options": [],
|
137
|
-
"value": {
|
138
|
-
"type": "boolean",
|
139
|
-
"kind": "expression"
|
140
|
-
}
|
141
|
-
}
|
142
|
-
]
|
143
|
-
},
|
144
|
-
{
|
145
|
-
"name": "van-action-bar-button",
|
146
|
-
"slots": [
|
147
|
-
{
|
148
|
-
"name": "default",
|
149
|
-
"description": "按钮显示内容"
|
150
|
-
}
|
151
|
-
],
|
152
|
-
"events": [],
|
153
|
-
"attributes": [
|
154
|
-
{
|
155
|
-
"name": "text",
|
156
|
-
"default": "-",
|
157
|
-
"description": "按钮文字",
|
158
|
-
"options": [],
|
159
|
-
"value": {
|
160
|
-
"type": "string",
|
161
|
-
"kind": "expression"
|
162
|
-
}
|
163
|
-
},
|
164
|
-
{
|
165
|
-
"name": "type",
|
166
|
-
"default": "`default`",
|
167
|
-
"description": "按钮类型,可选值为 `primary` `info` `warning` `danger`",
|
168
|
-
"options": [],
|
169
|
-
"value": {
|
170
|
-
"type": "string",
|
171
|
-
"kind": "expression"
|
172
|
-
}
|
173
|
-
},
|
174
|
-
{
|
175
|
-
"name": "color",
|
176
|
-
"default": "-",
|
177
|
-
"description": "按钮颜色,支持传入 `linear-gradient` 渐变色",
|
178
|
-
"options": [],
|
179
|
-
"value": {
|
180
|
-
"type": "string",
|
181
|
-
"kind": "expression"
|
182
|
-
}
|
183
|
-
},
|
184
|
-
{
|
185
|
-
"name": "icon",
|
186
|
-
"default": "-",
|
187
|
-
"description": "左侧[图标名称](#/zh-CN/icon)或图片链接",
|
188
|
-
"options": [],
|
189
|
-
"value": {
|
190
|
-
"type": "string",
|
191
|
-
"kind": "expression"
|
192
|
-
}
|
193
|
-
},
|
194
|
-
{
|
195
|
-
"name": "disabled",
|
196
|
-
"default": "`false`",
|
197
|
-
"description": "是否禁用按钮",
|
198
|
-
"options": [],
|
199
|
-
"value": {
|
200
|
-
"type": "boolean",
|
201
|
-
"kind": "expression"
|
202
|
-
}
|
203
|
-
},
|
204
|
-
{
|
205
|
-
"name": "loading",
|
206
|
-
"default": "`false`",
|
207
|
-
"description": "是否显示为加载状态",
|
208
|
-
"options": [],
|
209
|
-
"value": {
|
210
|
-
"type": "boolean",
|
211
|
-
"kind": "expression"
|
212
|
-
}
|
213
|
-
},
|
214
|
-
{
|
215
|
-
"name": "url",
|
216
|
-
"default": "-",
|
217
|
-
"description": "点击后跳转的链接地址",
|
218
|
-
"options": [],
|
219
|
-
"value": {
|
220
|
-
"type": "string",
|
221
|
-
"kind": "expression"
|
222
|
-
}
|
223
|
-
},
|
224
|
-
{
|
225
|
-
"name": "to",
|
226
|
-
"default": "-",
|
227
|
-
"description": "点击后跳转的目标路由对象,等同于 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to)",
|
228
|
-
"options": [],
|
229
|
-
"value": {
|
230
|
-
"type": "string | object",
|
231
|
-
"kind": "expression"
|
232
|
-
}
|
233
|
-
},
|
234
|
-
{
|
235
|
-
"name": "replace",
|
236
|
-
"default": "`false`",
|
237
|
-
"description": "是否在跳转时替换当前页面历史",
|
238
|
-
"options": [],
|
239
|
-
"value": {
|
240
|
-
"type": "boolean",
|
241
|
-
"kind": "expression"
|
242
|
-
}
|
243
|
-
}
|
244
|
-
]
|
245
|
-
},
|
246
9
|
{
|
247
10
|
"name": "van-action-sheet",
|
248
11
|
"slots": [
|
@@ -495,7 +258,244 @@
|
|
495
258
|
]
|
496
259
|
},
|
497
260
|
{
|
498
|
-
"name": "van-
|
261
|
+
"name": "van-action-bar",
|
262
|
+
"slots": [],
|
263
|
+
"events": [],
|
264
|
+
"attributes": [
|
265
|
+
{
|
266
|
+
"name": "safe-area-inset-bottom",
|
267
|
+
"default": "`true`",
|
268
|
+
"description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei)",
|
269
|
+
"options": [],
|
270
|
+
"value": {
|
271
|
+
"type": "boolean",
|
272
|
+
"kind": "expression"
|
273
|
+
}
|
274
|
+
}
|
275
|
+
]
|
276
|
+
},
|
277
|
+
{
|
278
|
+
"name": "van-action-bar-icon",
|
279
|
+
"slots": [
|
280
|
+
{
|
281
|
+
"name": "default",
|
282
|
+
"description": "文本内容"
|
283
|
+
},
|
284
|
+
{
|
285
|
+
"name": "icon",
|
286
|
+
"description": "自定义图标"
|
287
|
+
}
|
288
|
+
],
|
289
|
+
"events": [],
|
290
|
+
"attributes": [
|
291
|
+
{
|
292
|
+
"name": "text",
|
293
|
+
"default": "-",
|
294
|
+
"description": "按钮文字",
|
295
|
+
"options": [],
|
296
|
+
"value": {
|
297
|
+
"type": "string",
|
298
|
+
"kind": "expression"
|
299
|
+
}
|
300
|
+
},
|
301
|
+
{
|
302
|
+
"name": "icon",
|
303
|
+
"default": "-",
|
304
|
+
"description": "图标",
|
305
|
+
"options": [],
|
306
|
+
"value": {
|
307
|
+
"type": "string",
|
308
|
+
"kind": "expression"
|
309
|
+
}
|
310
|
+
},
|
311
|
+
{
|
312
|
+
"name": "color",
|
313
|
+
"default": "`#323233`",
|
314
|
+
"description": "图标颜色",
|
315
|
+
"options": [],
|
316
|
+
"value": {
|
317
|
+
"type": "string",
|
318
|
+
"kind": "expression"
|
319
|
+
}
|
320
|
+
},
|
321
|
+
{
|
322
|
+
"name": "icon-class",
|
323
|
+
"default": "object_",
|
324
|
+
"description": "图标额外类名",
|
325
|
+
"options": [
|
326
|
+
"-"
|
327
|
+
],
|
328
|
+
"value": {
|
329
|
+
"type": "string | Array \\",
|
330
|
+
"kind": "expression"
|
331
|
+
}
|
332
|
+
},
|
333
|
+
{
|
334
|
+
"name": "icon-prefix",
|
335
|
+
"default": "`van-icon`",
|
336
|
+
"description": "图标类名前缀,等同于 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props)",
|
337
|
+
"options": [],
|
338
|
+
"value": {
|
339
|
+
"type": "string",
|
340
|
+
"kind": "expression"
|
341
|
+
}
|
342
|
+
},
|
343
|
+
{
|
344
|
+
"name": "dot",
|
345
|
+
"default": "`false`",
|
346
|
+
"description": "是否显示图标右上角小红点",
|
347
|
+
"options": [],
|
348
|
+
"value": {
|
349
|
+
"type": "boolean",
|
350
|
+
"kind": "expression"
|
351
|
+
}
|
352
|
+
},
|
353
|
+
{
|
354
|
+
"name": "badge",
|
355
|
+
"default": "-",
|
356
|
+
"description": "图标右上角徽标的内容",
|
357
|
+
"options": [],
|
358
|
+
"value": {
|
359
|
+
"type": "number | string",
|
360
|
+
"kind": "expression"
|
361
|
+
}
|
362
|
+
},
|
363
|
+
{
|
364
|
+
"name": "url",
|
365
|
+
"default": "-",
|
366
|
+
"description": "点击后跳转的链接地址",
|
367
|
+
"options": [],
|
368
|
+
"value": {
|
369
|
+
"type": "string",
|
370
|
+
"kind": "expression"
|
371
|
+
}
|
372
|
+
},
|
373
|
+
{
|
374
|
+
"name": "to",
|
375
|
+
"default": "-",
|
376
|
+
"description": "点击后跳转的目标路由对象,等同于 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to)",
|
377
|
+
"options": [],
|
378
|
+
"value": {
|
379
|
+
"type": "string | object",
|
380
|
+
"kind": "expression"
|
381
|
+
}
|
382
|
+
},
|
383
|
+
{
|
384
|
+
"name": "replace",
|
385
|
+
"default": "`false`",
|
386
|
+
"description": "是否在跳转时替换当前页面历史",
|
387
|
+
"options": [],
|
388
|
+
"value": {
|
389
|
+
"type": "boolean",
|
390
|
+
"kind": "expression"
|
391
|
+
}
|
392
|
+
}
|
393
|
+
]
|
394
|
+
},
|
395
|
+
{
|
396
|
+
"name": "van-action-bar-button",
|
397
|
+
"slots": [
|
398
|
+
{
|
399
|
+
"name": "default",
|
400
|
+
"description": "按钮显示内容"
|
401
|
+
}
|
402
|
+
],
|
403
|
+
"events": [],
|
404
|
+
"attributes": [
|
405
|
+
{
|
406
|
+
"name": "text",
|
407
|
+
"default": "-",
|
408
|
+
"description": "按钮文字",
|
409
|
+
"options": [],
|
410
|
+
"value": {
|
411
|
+
"type": "string",
|
412
|
+
"kind": "expression"
|
413
|
+
}
|
414
|
+
},
|
415
|
+
{
|
416
|
+
"name": "type",
|
417
|
+
"default": "`default`",
|
418
|
+
"description": "按钮类型,可选值为 `primary` `info` `warning` `danger`",
|
419
|
+
"options": [],
|
420
|
+
"value": {
|
421
|
+
"type": "string",
|
422
|
+
"kind": "expression"
|
423
|
+
}
|
424
|
+
},
|
425
|
+
{
|
426
|
+
"name": "color",
|
427
|
+
"default": "-",
|
428
|
+
"description": "按钮颜色,支持传入 `linear-gradient` 渐变色",
|
429
|
+
"options": [],
|
430
|
+
"value": {
|
431
|
+
"type": "string",
|
432
|
+
"kind": "expression"
|
433
|
+
}
|
434
|
+
},
|
435
|
+
{
|
436
|
+
"name": "icon",
|
437
|
+
"default": "-",
|
438
|
+
"description": "左侧[图标名称](#/zh-CN/icon)或图片链接",
|
439
|
+
"options": [],
|
440
|
+
"value": {
|
441
|
+
"type": "string",
|
442
|
+
"kind": "expression"
|
443
|
+
}
|
444
|
+
},
|
445
|
+
{
|
446
|
+
"name": "disabled",
|
447
|
+
"default": "`false`",
|
448
|
+
"description": "是否禁用按钮",
|
449
|
+
"options": [],
|
450
|
+
"value": {
|
451
|
+
"type": "boolean",
|
452
|
+
"kind": "expression"
|
453
|
+
}
|
454
|
+
},
|
455
|
+
{
|
456
|
+
"name": "loading",
|
457
|
+
"default": "`false`",
|
458
|
+
"description": "是否显示为加载状态",
|
459
|
+
"options": [],
|
460
|
+
"value": {
|
461
|
+
"type": "boolean",
|
462
|
+
"kind": "expression"
|
463
|
+
}
|
464
|
+
},
|
465
|
+
{
|
466
|
+
"name": "url",
|
467
|
+
"default": "-",
|
468
|
+
"description": "点击后跳转的链接地址",
|
469
|
+
"options": [],
|
470
|
+
"value": {
|
471
|
+
"type": "string",
|
472
|
+
"kind": "expression"
|
473
|
+
}
|
474
|
+
},
|
475
|
+
{
|
476
|
+
"name": "to",
|
477
|
+
"default": "-",
|
478
|
+
"description": "点击后跳转的目标路由对象,等同于 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to)",
|
479
|
+
"options": [],
|
480
|
+
"value": {
|
481
|
+
"type": "string | object",
|
482
|
+
"kind": "expression"
|
483
|
+
}
|
484
|
+
},
|
485
|
+
{
|
486
|
+
"name": "replace",
|
487
|
+
"default": "`false`",
|
488
|
+
"description": "是否在跳转时替换当前页面历史",
|
489
|
+
"options": [],
|
490
|
+
"value": {
|
491
|
+
"type": "boolean",
|
492
|
+
"kind": "expression"
|
493
|
+
}
|
494
|
+
}
|
495
|
+
]
|
496
|
+
},
|
497
|
+
{
|
498
|
+
"name": "van-address-list",
|
499
499
|
"slots": [
|
500
500
|
{
|
501
501
|
"name": "default",
|
@@ -879,101 +879,23 @@
|
|
879
879
|
]
|
880
880
|
},
|
881
881
|
{
|
882
|
-
"name": "van-
|
882
|
+
"name": "van-area",
|
883
883
|
"slots": [
|
884
884
|
{
|
885
|
-
"name": "
|
886
|
-
"description": "
|
885
|
+
"name": "toolbar",
|
886
|
+
"description": "自定义整个顶部栏的内容"
|
887
887
|
},
|
888
888
|
{
|
889
|
-
"name": "
|
890
|
-
"description": "
|
891
|
-
}
|
892
|
-
],
|
893
|
-
"events": [],
|
894
|
-
"attributes": [
|
889
|
+
"name": "title",
|
890
|
+
"description": "自定义标题内容"
|
891
|
+
},
|
895
892
|
{
|
896
|
-
"name": "
|
897
|
-
"
|
898
|
-
"description": "徽标内容",
|
899
|
-
"options": [],
|
900
|
-
"value": {
|
901
|
-
"type": "number | string",
|
902
|
-
"kind": "expression"
|
903
|
-
}
|
893
|
+
"name": "confirm",
|
894
|
+
"description": "自定义确认按钮内容"
|
904
895
|
},
|
905
896
|
{
|
906
|
-
"name": "
|
907
|
-
"
|
908
|
-
"description": "徽标背景颜色",
|
909
|
-
"options": [],
|
910
|
-
"value": {
|
911
|
-
"type": "string",
|
912
|
-
"kind": "expression"
|
913
|
-
}
|
914
|
-
},
|
915
|
-
{
|
916
|
-
"name": "dot",
|
917
|
-
"default": "`false`",
|
918
|
-
"description": "是否展示为小红点",
|
919
|
-
"options": [],
|
920
|
-
"value": {
|
921
|
-
"type": "boolean",
|
922
|
-
"kind": "expression"
|
923
|
-
}
|
924
|
-
},
|
925
|
-
{
|
926
|
-
"name": "max",
|
927
|
-
"default": "-",
|
928
|
-
"description": "最大值,超过最大值会显示 `{max}+`,仅当 content 为数字时有效",
|
929
|
-
"options": [],
|
930
|
-
"value": {
|
931
|
-
"type": "number | string",
|
932
|
-
"kind": "expression"
|
933
|
-
}
|
934
|
-
},
|
935
|
-
{
|
936
|
-
"name": "offset",
|
937
|
-
"default": "string]_",
|
938
|
-
"description": "设置徽标的偏移量,数组的两项分别对应水平和垂直方向的偏移量,默认单位为 `px`",
|
939
|
-
"options": [
|
940
|
-
"-"
|
941
|
-
],
|
942
|
-
"value": {
|
943
|
-
"type": "[number | string, number \\",
|
944
|
-
"kind": "expression"
|
945
|
-
}
|
946
|
-
},
|
947
|
-
{
|
948
|
-
"name": "show-zero",
|
949
|
-
"default": "`true`",
|
950
|
-
"description": "当 content 为数字 0 时,是否展示徽标",
|
951
|
-
"options": [],
|
952
|
-
"value": {
|
953
|
-
"type": "boolean",
|
954
|
-
"kind": "expression"
|
955
|
-
}
|
956
|
-
}
|
957
|
-
]
|
958
|
-
},
|
959
|
-
{
|
960
|
-
"name": "van-area",
|
961
|
-
"slots": [
|
962
|
-
{
|
963
|
-
"name": "toolbar",
|
964
|
-
"description": "自定义整个顶部栏的内容"
|
965
|
-
},
|
966
|
-
{
|
967
|
-
"name": "title",
|
968
|
-
"description": "自定义标题内容"
|
969
|
-
},
|
970
|
-
{
|
971
|
-
"name": "confirm",
|
972
|
-
"description": "自定义确认按钮内容"
|
973
|
-
},
|
974
|
-
{
|
975
|
-
"name": "cancel",
|
976
|
-
"description": "自定义取消按钮内容"
|
897
|
+
"name": "cancel",
|
898
|
+
"description": "自定义取消按钮内容"
|
977
899
|
},
|
978
900
|
{
|
979
901
|
"name": "columns-top",
|
@@ -1131,6 +1053,84 @@
|
|
1131
1053
|
}
|
1132
1054
|
]
|
1133
1055
|
},
|
1056
|
+
{
|
1057
|
+
"name": "van-badge",
|
1058
|
+
"slots": [
|
1059
|
+
{
|
1060
|
+
"name": "default",
|
1061
|
+
"description": "徽标包裹的子元素"
|
1062
|
+
},
|
1063
|
+
{
|
1064
|
+
"name": "content",
|
1065
|
+
"description": "自定义徽标内容"
|
1066
|
+
}
|
1067
|
+
],
|
1068
|
+
"events": [],
|
1069
|
+
"attributes": [
|
1070
|
+
{
|
1071
|
+
"name": "content",
|
1072
|
+
"default": "-",
|
1073
|
+
"description": "徽标内容",
|
1074
|
+
"options": [],
|
1075
|
+
"value": {
|
1076
|
+
"type": "number | string",
|
1077
|
+
"kind": "expression"
|
1078
|
+
}
|
1079
|
+
},
|
1080
|
+
{
|
1081
|
+
"name": "color",
|
1082
|
+
"default": "`#ee0a24`",
|
1083
|
+
"description": "徽标背景颜色",
|
1084
|
+
"options": [],
|
1085
|
+
"value": {
|
1086
|
+
"type": "string",
|
1087
|
+
"kind": "expression"
|
1088
|
+
}
|
1089
|
+
},
|
1090
|
+
{
|
1091
|
+
"name": "dot",
|
1092
|
+
"default": "`false`",
|
1093
|
+
"description": "是否展示为小红点",
|
1094
|
+
"options": [],
|
1095
|
+
"value": {
|
1096
|
+
"type": "boolean",
|
1097
|
+
"kind": "expression"
|
1098
|
+
}
|
1099
|
+
},
|
1100
|
+
{
|
1101
|
+
"name": "max",
|
1102
|
+
"default": "-",
|
1103
|
+
"description": "最大值,超过最大值会显示 `{max}+`,仅当 content 为数字时有效",
|
1104
|
+
"options": [],
|
1105
|
+
"value": {
|
1106
|
+
"type": "number | string",
|
1107
|
+
"kind": "expression"
|
1108
|
+
}
|
1109
|
+
},
|
1110
|
+
{
|
1111
|
+
"name": "offset",
|
1112
|
+
"default": "string]_",
|
1113
|
+
"description": "设置徽标的偏移量,数组的两项分别对应水平和垂直方向的偏移量,默认单位为 `px`",
|
1114
|
+
"options": [
|
1115
|
+
"-"
|
1116
|
+
],
|
1117
|
+
"value": {
|
1118
|
+
"type": "[number | string, number \\",
|
1119
|
+
"kind": "expression"
|
1120
|
+
}
|
1121
|
+
},
|
1122
|
+
{
|
1123
|
+
"name": "show-zero",
|
1124
|
+
"default": "`true`",
|
1125
|
+
"description": "当 content 为数字 0 时,是否展示徽标",
|
1126
|
+
"options": [],
|
1127
|
+
"value": {
|
1128
|
+
"type": "boolean",
|
1129
|
+
"kind": "expression"
|
1130
|
+
}
|
1131
|
+
}
|
1132
|
+
]
|
1133
|
+
},
|
1134
1134
|
{
|
1135
1135
|
"name": "van-button",
|
1136
1136
|
"slots": [
|
@@ -1381,80 +1381,68 @@
|
|
1381
1381
|
]
|
1382
1382
|
},
|
1383
1383
|
{
|
1384
|
-
"name": "van-
|
1384
|
+
"name": "van-card",
|
1385
1385
|
"slots": [
|
1386
1386
|
{
|
1387
1387
|
"name": "title",
|
1388
1388
|
"description": "自定义标题"
|
1389
1389
|
},
|
1390
1390
|
{
|
1391
|
-
"name": "
|
1392
|
-
"description": "
|
1393
|
-
},
|
1394
|
-
{
|
1395
|
-
"name": "footer",
|
1396
|
-
"description": "自定义底部区域内容"
|
1397
|
-
},
|
1398
|
-
{
|
1399
|
-
"name": "confirm-text",
|
1400
|
-
"description": "自定义确认按钮的内容"
|
1391
|
+
"name": "desc",
|
1392
|
+
"description": "自定义描述"
|
1401
1393
|
},
|
1402
1394
|
{
|
1403
|
-
"name": "
|
1404
|
-
"description": "
|
1395
|
+
"name": "num",
|
1396
|
+
"description": "自定义数量"
|
1405
1397
|
},
|
1406
1398
|
{
|
1407
|
-
"name": "
|
1408
|
-
"description": "
|
1409
|
-
}
|
1410
|
-
],
|
1411
|
-
"events": [
|
1412
|
-
{
|
1413
|
-
"name": "select",
|
1414
|
-
"description": "点击并选中任意日期时触发"
|
1399
|
+
"name": "price",
|
1400
|
+
"description": "自定义价格"
|
1415
1401
|
},
|
1416
1402
|
{
|
1417
|
-
"name": "
|
1418
|
-
"description": "
|
1403
|
+
"name": "origin-price",
|
1404
|
+
"description": "自定义商品原价"
|
1419
1405
|
},
|
1420
1406
|
{
|
1421
|
-
"name": "
|
1422
|
-
"description": "
|
1407
|
+
"name": "price-top",
|
1408
|
+
"description": "自定义价格上方区域"
|
1423
1409
|
},
|
1424
1410
|
{
|
1425
|
-
"name": "
|
1426
|
-
"description": "
|
1411
|
+
"name": "bottom",
|
1412
|
+
"description": "自定义价格下方区域"
|
1427
1413
|
},
|
1428
1414
|
{
|
1429
|
-
"name": "
|
1430
|
-
"description": "
|
1415
|
+
"name": "thumb",
|
1416
|
+
"description": "自定义图片"
|
1431
1417
|
},
|
1432
1418
|
{
|
1433
|
-
"name": "
|
1434
|
-
"description": "
|
1419
|
+
"name": "tag",
|
1420
|
+
"description": "自定义图片角标"
|
1435
1421
|
},
|
1436
1422
|
{
|
1437
|
-
"name": "
|
1438
|
-
"description": "
|
1423
|
+
"name": "tags",
|
1424
|
+
"description": "自定义描述下方标签区域"
|
1439
1425
|
},
|
1440
1426
|
{
|
1441
|
-
"name": "
|
1442
|
-
"description": "
|
1443
|
-
}
|
1427
|
+
"name": "footer",
|
1428
|
+
"description": "自定义右下角内容"
|
1429
|
+
}
|
1430
|
+
],
|
1431
|
+
"events": [
|
1444
1432
|
{
|
1445
|
-
"name": "
|
1446
|
-
"description": "
|
1433
|
+
"name": "click",
|
1434
|
+
"description": "点击时触发"
|
1447
1435
|
},
|
1448
1436
|
{
|
1449
|
-
"name": "click-
|
1450
|
-
"description": "
|
1437
|
+
"name": "click-thumb",
|
1438
|
+
"description": "点击自定义图片时触发"
|
1451
1439
|
}
|
1452
1440
|
],
|
1453
1441
|
"attributes": [
|
1454
1442
|
{
|
1455
|
-
"name": "
|
1456
|
-
"default": "
|
1457
|
-
"description": "
|
1443
|
+
"name": "thumb",
|
1444
|
+
"default": "-",
|
1445
|
+
"description": "左侧图片 URL",
|
1458
1446
|
"options": [],
|
1459
1447
|
"value": {
|
1460
1448
|
"type": "string",
|
@@ -1463,8 +1451,8 @@
|
|
1463
1451
|
},
|
1464
1452
|
{
|
1465
1453
|
"name": "title",
|
1466
|
-
"default": "
|
1467
|
-
"description": "
|
1454
|
+
"default": "-",
|
1455
|
+
"description": "标题",
|
1468
1456
|
"options": [],
|
1469
1457
|
"value": {
|
1470
1458
|
"type": "string",
|
@@ -1472,9 +1460,9 @@
|
|
1472
1460
|
}
|
1473
1461
|
},
|
1474
1462
|
{
|
1475
|
-
"name": "
|
1476
|
-
"default": "
|
1477
|
-
"description": "
|
1463
|
+
"name": "desc",
|
1464
|
+
"default": "-",
|
1465
|
+
"description": "描述",
|
1478
1466
|
"options": [],
|
1479
1467
|
"value": {
|
1480
1468
|
"type": "string",
|
@@ -1482,42 +1470,225 @@
|
|
1482
1470
|
}
|
1483
1471
|
},
|
1484
1472
|
{
|
1485
|
-
"name": "
|
1486
|
-
"default": "
|
1487
|
-
"description": "
|
1473
|
+
"name": "tag",
|
1474
|
+
"default": "-",
|
1475
|
+
"description": "图片角标",
|
1488
1476
|
"options": [],
|
1489
1477
|
"value": {
|
1490
|
-
"type": "
|
1478
|
+
"type": "string",
|
1491
1479
|
"kind": "expression"
|
1492
1480
|
}
|
1493
1481
|
},
|
1494
1482
|
{
|
1495
|
-
"name": "
|
1496
|
-
"default": "
|
1497
|
-
"description": "
|
1483
|
+
"name": "num",
|
1484
|
+
"default": "-",
|
1485
|
+
"description": "商品数量",
|
1498
1486
|
"options": [],
|
1499
1487
|
"value": {
|
1500
|
-
"type": "
|
1488
|
+
"type": "number | string",
|
1501
1489
|
"kind": "expression"
|
1502
1490
|
}
|
1503
1491
|
},
|
1504
1492
|
{
|
1505
|
-
"name": "
|
1506
|
-
"default": "
|
1507
|
-
"description": "
|
1508
|
-
"options": [
|
1509
|
-
"今天"
|
1510
|
-
],
|
1493
|
+
"name": "price",
|
1494
|
+
"default": "-",
|
1495
|
+
"description": "商品价格",
|
1496
|
+
"options": [],
|
1511
1497
|
"value": {
|
1512
|
-
"type": "
|
1498
|
+
"type": "number | string",
|
1513
1499
|
"kind": "expression"
|
1514
1500
|
}
|
1515
1501
|
},
|
1516
1502
|
{
|
1517
|
-
"name": "
|
1518
|
-
"default": "
|
1519
|
-
"description": "
|
1520
|
-
"options": [],
|
1503
|
+
"name": "origin-price",
|
1504
|
+
"default": "-",
|
1505
|
+
"description": "商品划线原价",
|
1506
|
+
"options": [],
|
1507
|
+
"value": {
|
1508
|
+
"type": "number | string",
|
1509
|
+
"kind": "expression"
|
1510
|
+
}
|
1511
|
+
},
|
1512
|
+
{
|
1513
|
+
"name": "centered",
|
1514
|
+
"default": "`false`",
|
1515
|
+
"description": "内容是否垂直居中",
|
1516
|
+
"options": [],
|
1517
|
+
"value": {
|
1518
|
+
"type": "boolean",
|
1519
|
+
"kind": "expression"
|
1520
|
+
}
|
1521
|
+
},
|
1522
|
+
{
|
1523
|
+
"name": "currency",
|
1524
|
+
"default": "`¥`",
|
1525
|
+
"description": "货币符号",
|
1526
|
+
"options": [],
|
1527
|
+
"value": {
|
1528
|
+
"type": "string",
|
1529
|
+
"kind": "expression"
|
1530
|
+
}
|
1531
|
+
},
|
1532
|
+
{
|
1533
|
+
"name": "thumb-link",
|
1534
|
+
"default": "-",
|
1535
|
+
"description": "点击左侧图片后跳转的链接地址",
|
1536
|
+
"options": [],
|
1537
|
+
"value": {
|
1538
|
+
"type": "string",
|
1539
|
+
"kind": "expression"
|
1540
|
+
}
|
1541
|
+
},
|
1542
|
+
{
|
1543
|
+
"name": "lazy-load",
|
1544
|
+
"default": "`false`",
|
1545
|
+
"description": "是否开启图片懒加载,须配合 [Lazyload](#/zh-CN/lazyload) 组件使用",
|
1546
|
+
"options": [],
|
1547
|
+
"value": {
|
1548
|
+
"type": "boolean",
|
1549
|
+
"kind": "expression"
|
1550
|
+
}
|
1551
|
+
}
|
1552
|
+
]
|
1553
|
+
},
|
1554
|
+
{
|
1555
|
+
"name": "van-calendar",
|
1556
|
+
"slots": [
|
1557
|
+
{
|
1558
|
+
"name": "title",
|
1559
|
+
"description": "自定义标题"
|
1560
|
+
},
|
1561
|
+
{
|
1562
|
+
"name": "subtitle",
|
1563
|
+
"description": "自定义日历副标题"
|
1564
|
+
},
|
1565
|
+
{
|
1566
|
+
"name": "footer",
|
1567
|
+
"description": "自定义底部区域内容"
|
1568
|
+
},
|
1569
|
+
{
|
1570
|
+
"name": "confirm-text",
|
1571
|
+
"description": "自定义确认按钮的内容"
|
1572
|
+
},
|
1573
|
+
{
|
1574
|
+
"name": "top-info",
|
1575
|
+
"description": "自定义日期上方的提示信息"
|
1576
|
+
},
|
1577
|
+
{
|
1578
|
+
"name": "bottom-info",
|
1579
|
+
"description": "自定义日期下方的提示信息"
|
1580
|
+
}
|
1581
|
+
],
|
1582
|
+
"events": [
|
1583
|
+
{
|
1584
|
+
"name": "select",
|
1585
|
+
"description": "点击并选中任意日期时触发"
|
1586
|
+
},
|
1587
|
+
{
|
1588
|
+
"name": "confirm",
|
1589
|
+
"description": "日期选择完成后触发,若 `show-confirm` 为 `true`,则点击确认按钮后触发"
|
1590
|
+
},
|
1591
|
+
{
|
1592
|
+
"name": "open",
|
1593
|
+
"description": "打开弹出层时触发"
|
1594
|
+
},
|
1595
|
+
{
|
1596
|
+
"name": "close",
|
1597
|
+
"description": "关闭弹出层时触发"
|
1598
|
+
},
|
1599
|
+
{
|
1600
|
+
"name": "opened",
|
1601
|
+
"description": "打开弹出层且动画结束后触发"
|
1602
|
+
},
|
1603
|
+
{
|
1604
|
+
"name": "closed",
|
1605
|
+
"description": "关闭弹出层且动画结束后触发"
|
1606
|
+
},
|
1607
|
+
{
|
1608
|
+
"name": "unselect",
|
1609
|
+
"description": "当日历组件的 `type` 为 `multiple` 时,取消选中日期时触发"
|
1610
|
+
},
|
1611
|
+
{
|
1612
|
+
"name": "month-show",
|
1613
|
+
"description": "当某个月份进入可视区域时触发"
|
1614
|
+
},
|
1615
|
+
{
|
1616
|
+
"name": "over-range",
|
1617
|
+
"description": "范围选择超过最多可选天数时触发"
|
1618
|
+
},
|
1619
|
+
{
|
1620
|
+
"name": "click-subtitle",
|
1621
|
+
"description": "点击日历副标题时触发"
|
1622
|
+
}
|
1623
|
+
],
|
1624
|
+
"attributes": [
|
1625
|
+
{
|
1626
|
+
"name": "type",
|
1627
|
+
"default": "`single`",
|
1628
|
+
"description": "选择类型:<br>`single` 表示选择单个日期,<br>`multiple` 表示选择多个日期,<br>`range` 表示选择日期区间",
|
1629
|
+
"options": [],
|
1630
|
+
"value": {
|
1631
|
+
"type": "string",
|
1632
|
+
"kind": "expression"
|
1633
|
+
}
|
1634
|
+
},
|
1635
|
+
{
|
1636
|
+
"name": "title",
|
1637
|
+
"default": "`日期选择`",
|
1638
|
+
"description": "日历标题",
|
1639
|
+
"options": [],
|
1640
|
+
"value": {
|
1641
|
+
"type": "string",
|
1642
|
+
"kind": "expression"
|
1643
|
+
}
|
1644
|
+
},
|
1645
|
+
{
|
1646
|
+
"name": "color",
|
1647
|
+
"default": "`#ee0a24`",
|
1648
|
+
"description": "主题色,对底部按钮和选中日期生效",
|
1649
|
+
"options": [],
|
1650
|
+
"value": {
|
1651
|
+
"type": "string",
|
1652
|
+
"kind": "expression"
|
1653
|
+
}
|
1654
|
+
},
|
1655
|
+
{
|
1656
|
+
"name": "min-date",
|
1657
|
+
"default": "当前日期",
|
1658
|
+
"description": "可选择的最小日期",
|
1659
|
+
"options": [],
|
1660
|
+
"value": {
|
1661
|
+
"type": "Date",
|
1662
|
+
"kind": "expression"
|
1663
|
+
}
|
1664
|
+
},
|
1665
|
+
{
|
1666
|
+
"name": "max-date",
|
1667
|
+
"default": "当前日期的六个月后",
|
1668
|
+
"description": "可选择的最大日期",
|
1669
|
+
"options": [],
|
1670
|
+
"value": {
|
1671
|
+
"type": "Date",
|
1672
|
+
"kind": "expression"
|
1673
|
+
}
|
1674
|
+
},
|
1675
|
+
{
|
1676
|
+
"name": "default-date",
|
1677
|
+
"default": "null_",
|
1678
|
+
"description": "默认选中的日期,`type` 为 `multiple` 或 `range` 时为数组,传入 `null` 表示默认不选择",
|
1679
|
+
"options": [
|
1680
|
+
"今天"
|
1681
|
+
],
|
1682
|
+
"value": {
|
1683
|
+
"type": "Date | Date[] \\",
|
1684
|
+
"kind": "expression"
|
1685
|
+
}
|
1686
|
+
},
|
1687
|
+
{
|
1688
|
+
"name": "row-height",
|
1689
|
+
"default": "`64`",
|
1690
|
+
"description": "日期行高",
|
1691
|
+
"options": [],
|
1521
1692
|
"value": {
|
1522
1693
|
"type": "number | string",
|
1523
1694
|
"kind": "expression"
|
@@ -1766,68 +1937,48 @@
|
|
1766
1937
|
]
|
1767
1938
|
},
|
1768
1939
|
{
|
1769
|
-
"name": "van-
|
1940
|
+
"name": "van-cascader",
|
1770
1941
|
"slots": [
|
1771
1942
|
{
|
1772
1943
|
"name": "title",
|
1773
|
-
"description": "
|
1774
|
-
},
|
1775
|
-
{
|
1776
|
-
"name": "desc",
|
1777
|
-
"description": "自定义描述"
|
1778
|
-
},
|
1779
|
-
{
|
1780
|
-
"name": "num",
|
1781
|
-
"description": "自定义数量"
|
1782
|
-
},
|
1783
|
-
{
|
1784
|
-
"name": "price",
|
1785
|
-
"description": "自定义价格"
|
1786
|
-
},
|
1787
|
-
{
|
1788
|
-
"name": "origin-price",
|
1789
|
-
"description": "自定义商品原价"
|
1944
|
+
"description": "自定义顶部标题"
|
1790
1945
|
},
|
1791
1946
|
{
|
1792
|
-
"name": "
|
1793
|
-
"description": "
|
1947
|
+
"name": "option",
|
1948
|
+
"description": "自定义选项文字"
|
1794
1949
|
},
|
1795
1950
|
{
|
1796
|
-
"name": "
|
1797
|
-
"description": "
|
1951
|
+
"name": "options-top",
|
1952
|
+
"description": "自定义选项上方的内容"
|
1798
1953
|
},
|
1799
1954
|
{
|
1800
|
-
"name": "
|
1801
|
-
"description": "
|
1802
|
-
}
|
1955
|
+
"name": "options-bottom",
|
1956
|
+
"description": "自定义选项下方的内容"
|
1957
|
+
}
|
1958
|
+
],
|
1959
|
+
"events": [
|
1803
1960
|
{
|
1804
|
-
"name": "
|
1805
|
-
"description": "
|
1961
|
+
"name": "change",
|
1962
|
+
"description": "选中项变化时触发"
|
1806
1963
|
},
|
1807
1964
|
{
|
1808
|
-
"name": "
|
1809
|
-
"description": "
|
1965
|
+
"name": "finish",
|
1966
|
+
"description": "全部选项选择完成后触发"
|
1810
1967
|
},
|
1811
1968
|
{
|
1812
|
-
"name": "
|
1813
|
-
"description": "
|
1814
|
-
}
|
1815
|
-
],
|
1816
|
-
"events": [
|
1817
|
-
{
|
1818
|
-
"name": "click",
|
1819
|
-
"description": "点击时触发"
|
1969
|
+
"name": "close",
|
1970
|
+
"description": "点击关闭图标时触发"
|
1820
1971
|
},
|
1821
1972
|
{
|
1822
|
-
"name": "click-
|
1823
|
-
"description": "
|
1973
|
+
"name": "click-tab",
|
1974
|
+
"description": "点击标签时触发"
|
1824
1975
|
}
|
1825
1976
|
],
|
1826
1977
|
"attributes": [
|
1827
1978
|
{
|
1828
|
-
"name": "
|
1979
|
+
"name": "title",
|
1829
1980
|
"default": "-",
|
1830
|
-
"description": "
|
1981
|
+
"description": "顶部标题",
|
1831
1982
|
"options": [],
|
1832
1983
|
"value": {
|
1833
1984
|
"type": "string",
|
@@ -1835,160 +1986,9 @@
|
|
1835
1986
|
}
|
1836
1987
|
},
|
1837
1988
|
{
|
1838
|
-
"name": "
|
1989
|
+
"name": "value",
|
1839
1990
|
"default": "-",
|
1840
|
-
"description": "
|
1841
|
-
"options": [],
|
1842
|
-
"value": {
|
1843
|
-
"type": "string",
|
1844
|
-
"kind": "expression"
|
1845
|
-
}
|
1846
|
-
},
|
1847
|
-
{
|
1848
|
-
"name": "desc",
|
1849
|
-
"default": "-",
|
1850
|
-
"description": "描述",
|
1851
|
-
"options": [],
|
1852
|
-
"value": {
|
1853
|
-
"type": "string",
|
1854
|
-
"kind": "expression"
|
1855
|
-
}
|
1856
|
-
},
|
1857
|
-
{
|
1858
|
-
"name": "tag",
|
1859
|
-
"default": "-",
|
1860
|
-
"description": "图片角标",
|
1861
|
-
"options": [],
|
1862
|
-
"value": {
|
1863
|
-
"type": "string",
|
1864
|
-
"kind": "expression"
|
1865
|
-
}
|
1866
|
-
},
|
1867
|
-
{
|
1868
|
-
"name": "num",
|
1869
|
-
"default": "-",
|
1870
|
-
"description": "商品数量",
|
1871
|
-
"options": [],
|
1872
|
-
"value": {
|
1873
|
-
"type": "number | string",
|
1874
|
-
"kind": "expression"
|
1875
|
-
}
|
1876
|
-
},
|
1877
|
-
{
|
1878
|
-
"name": "price",
|
1879
|
-
"default": "-",
|
1880
|
-
"description": "商品价格",
|
1881
|
-
"options": [],
|
1882
|
-
"value": {
|
1883
|
-
"type": "number | string",
|
1884
|
-
"kind": "expression"
|
1885
|
-
}
|
1886
|
-
},
|
1887
|
-
{
|
1888
|
-
"name": "origin-price",
|
1889
|
-
"default": "-",
|
1890
|
-
"description": "商品划线原价",
|
1891
|
-
"options": [],
|
1892
|
-
"value": {
|
1893
|
-
"type": "number | string",
|
1894
|
-
"kind": "expression"
|
1895
|
-
}
|
1896
|
-
},
|
1897
|
-
{
|
1898
|
-
"name": "centered",
|
1899
|
-
"default": "`false`",
|
1900
|
-
"description": "内容是否垂直居中",
|
1901
|
-
"options": [],
|
1902
|
-
"value": {
|
1903
|
-
"type": "boolean",
|
1904
|
-
"kind": "expression"
|
1905
|
-
}
|
1906
|
-
},
|
1907
|
-
{
|
1908
|
-
"name": "currency",
|
1909
|
-
"default": "`¥`",
|
1910
|
-
"description": "货币符号",
|
1911
|
-
"options": [],
|
1912
|
-
"value": {
|
1913
|
-
"type": "string",
|
1914
|
-
"kind": "expression"
|
1915
|
-
}
|
1916
|
-
},
|
1917
|
-
{
|
1918
|
-
"name": "thumb-link",
|
1919
|
-
"default": "-",
|
1920
|
-
"description": "点击左侧图片后跳转的链接地址",
|
1921
|
-
"options": [],
|
1922
|
-
"value": {
|
1923
|
-
"type": "string",
|
1924
|
-
"kind": "expression"
|
1925
|
-
}
|
1926
|
-
},
|
1927
|
-
{
|
1928
|
-
"name": "lazy-load",
|
1929
|
-
"default": "`false`",
|
1930
|
-
"description": "是否开启图片懒加载,须配合 [Lazyload](#/zh-CN/lazyload) 组件使用",
|
1931
|
-
"options": [],
|
1932
|
-
"value": {
|
1933
|
-
"type": "boolean",
|
1934
|
-
"kind": "expression"
|
1935
|
-
}
|
1936
|
-
}
|
1937
|
-
]
|
1938
|
-
},
|
1939
|
-
{
|
1940
|
-
"name": "van-cascader",
|
1941
|
-
"slots": [
|
1942
|
-
{
|
1943
|
-
"name": "title",
|
1944
|
-
"description": "自定义顶部标题"
|
1945
|
-
},
|
1946
|
-
{
|
1947
|
-
"name": "option",
|
1948
|
-
"description": "自定义选项文字"
|
1949
|
-
},
|
1950
|
-
{
|
1951
|
-
"name": "options-top",
|
1952
|
-
"description": "自定义选项上方的内容"
|
1953
|
-
},
|
1954
|
-
{
|
1955
|
-
"name": "options-bottom",
|
1956
|
-
"description": "自定义选项下方的内容"
|
1957
|
-
}
|
1958
|
-
],
|
1959
|
-
"events": [
|
1960
|
-
{
|
1961
|
-
"name": "change",
|
1962
|
-
"description": "选中项变化时触发"
|
1963
|
-
},
|
1964
|
-
{
|
1965
|
-
"name": "finish",
|
1966
|
-
"description": "全部选项选择完成后触发"
|
1967
|
-
},
|
1968
|
-
{
|
1969
|
-
"name": "close",
|
1970
|
-
"description": "点击关闭图标时触发"
|
1971
|
-
},
|
1972
|
-
{
|
1973
|
-
"name": "click-tab",
|
1974
|
-
"description": "点击标签时触发"
|
1975
|
-
}
|
1976
|
-
],
|
1977
|
-
"attributes": [
|
1978
|
-
{
|
1979
|
-
"name": "title",
|
1980
|
-
"default": "-",
|
1981
|
-
"description": "顶部标题",
|
1982
|
-
"options": [],
|
1983
|
-
"value": {
|
1984
|
-
"type": "string",
|
1985
|
-
"kind": "expression"
|
1986
|
-
}
|
1987
|
-
},
|
1988
|
-
{
|
1989
|
-
"name": "value",
|
1990
|
-
"default": "-",
|
1991
|
-
"description": "选中项的值",
|
1991
|
+
"description": "选中项的值",
|
1992
1992
|
"options": [],
|
1993
1993
|
"value": {
|
1994
1994
|
"type": "string | number",
|
@@ -2349,52 +2349,59 @@
|
|
2349
2349
|
]
|
2350
2350
|
},
|
2351
2351
|
{
|
2352
|
-
"name": "van-
|
2352
|
+
"name": "van-circle",
|
2353
2353
|
"slots": [
|
2354
2354
|
{
|
2355
2355
|
"name": "default",
|
2356
|
-
"description": "
|
2357
|
-
},
|
2358
|
-
{
|
2359
|
-
"name": "icon",
|
2360
|
-
"description": "自定义图标"
|
2356
|
+
"description": "自定义文字内容"
|
2361
2357
|
}
|
2362
2358
|
],
|
2363
|
-
"events": [
|
2359
|
+
"events": [],
|
2360
|
+
"attributes": [
|
2364
2361
|
{
|
2365
|
-
"name": "
|
2366
|
-
"
|
2362
|
+
"name": "v-model:current-rate",
|
2363
|
+
"default": "-",
|
2364
|
+
"description": "当前进度",
|
2365
|
+
"options": [],
|
2366
|
+
"value": {
|
2367
|
+
"type": "number",
|
2368
|
+
"kind": "expression"
|
2369
|
+
}
|
2367
2370
|
},
|
2368
2371
|
{
|
2369
|
-
"name": "
|
2370
|
-
"
|
2371
|
-
|
2372
|
-
|
2373
|
-
|
2372
|
+
"name": "rate",
|
2373
|
+
"default": "`100`",
|
2374
|
+
"description": "目标进度",
|
2375
|
+
"options": [],
|
2376
|
+
"value": {
|
2377
|
+
"type": "number | string",
|
2378
|
+
"kind": "expression"
|
2379
|
+
}
|
2380
|
+
},
|
2374
2381
|
{
|
2375
|
-
"name": "
|
2376
|
-
"default": "`
|
2377
|
-
"description": "
|
2382
|
+
"name": "size",
|
2383
|
+
"default": "`100px`",
|
2384
|
+
"description": "圆环直径,默认单位为 `px`",
|
2378
2385
|
"options": [],
|
2379
2386
|
"value": {
|
2380
|
-
"type": "
|
2387
|
+
"type": "number | string",
|
2381
2388
|
"kind": "expression"
|
2382
2389
|
}
|
2383
2390
|
},
|
2384
2391
|
{
|
2385
|
-
"name": "
|
2386
|
-
"default": "
|
2387
|
-
"description": "
|
2392
|
+
"name": "color",
|
2393
|
+
"default": "`#1989fa`",
|
2394
|
+
"description": "进度条颜色,传入对象格式可以定义渐变色",
|
2388
2395
|
"options": [],
|
2389
2396
|
"value": {
|
2390
|
-
"type": "
|
2397
|
+
"type": "string | object",
|
2391
2398
|
"kind": "expression"
|
2392
2399
|
}
|
2393
2400
|
},
|
2394
2401
|
{
|
2395
|
-
"name": "
|
2396
|
-
"default": "`
|
2397
|
-
"description": "
|
2402
|
+
"name": "layer-color",
|
2403
|
+
"default": "`white`",
|
2404
|
+
"description": "轨道颜色",
|
2398
2405
|
"options": [],
|
2399
2406
|
"value": {
|
2400
2407
|
"type": "string",
|
@@ -2402,29 +2409,29 @@
|
|
2402
2409
|
}
|
2403
2410
|
},
|
2404
2411
|
{
|
2405
|
-
"name": "
|
2406
|
-
"default": "`
|
2407
|
-
"description": "
|
2412
|
+
"name": "fill",
|
2413
|
+
"default": "`none`",
|
2414
|
+
"description": "填充颜色",
|
2408
2415
|
"options": [],
|
2409
2416
|
"value": {
|
2410
|
-
"type": "
|
2417
|
+
"type": "string",
|
2411
2418
|
"kind": "expression"
|
2412
2419
|
}
|
2413
2420
|
},
|
2414
2421
|
{
|
2415
|
-
"name": "
|
2416
|
-
"default": "`
|
2417
|
-
"description": "
|
2422
|
+
"name": "speed",
|
2423
|
+
"default": "`0`",
|
2424
|
+
"description": "动画速度(单位为 rate/s)",
|
2418
2425
|
"options": [],
|
2419
2426
|
"value": {
|
2420
|
-
"type": "
|
2427
|
+
"type": "number | string",
|
2421
2428
|
"kind": "expression"
|
2422
2429
|
}
|
2423
2430
|
},
|
2424
2431
|
{
|
2425
|
-
"name": "
|
2426
|
-
"default": "
|
2427
|
-
"description": "
|
2432
|
+
"name": "text",
|
2433
|
+
"default": "-",
|
2434
|
+
"description": "文字",
|
2428
2435
|
"options": [],
|
2429
2436
|
"value": {
|
2430
2437
|
"type": "string",
|
@@ -2432,9 +2439,9 @@
|
|
2432
2439
|
}
|
2433
2440
|
},
|
2434
2441
|
{
|
2435
|
-
"name": "
|
2436
|
-
"default": "`
|
2437
|
-
"description": "
|
2442
|
+
"name": "stroke-width",
|
2443
|
+
"default": "`40`",
|
2444
|
+
"description": "进度条宽度",
|
2438
2445
|
"options": [],
|
2439
2446
|
"value": {
|
2440
2447
|
"type": "number | string",
|
@@ -2442,9 +2449,9 @@
|
|
2442
2449
|
}
|
2443
2450
|
},
|
2444
2451
|
{
|
2445
|
-
"name": "
|
2446
|
-
"default": "
|
2447
|
-
"description": "
|
2452
|
+
"name": "stroke-linecap",
|
2453
|
+
"default": "`round`",
|
2454
|
+
"description": "进度条端点的形状,可选值为 `square` `butt`",
|
2448
2455
|
"options": [],
|
2449
2456
|
"value": {
|
2450
2457
|
"type": "string",
|
@@ -2452,61 +2459,61 @@
|
|
2452
2459
|
}
|
2453
2460
|
},
|
2454
2461
|
{
|
2455
|
-
"name": "
|
2462
|
+
"name": "clockwise",
|
2456
2463
|
"default": "`true`",
|
2457
|
-
"description": "
|
2464
|
+
"description": "是否顺时针增加",
|
2458
2465
|
"options": [],
|
2459
2466
|
"value": {
|
2460
2467
|
"type": "boolean",
|
2461
2468
|
"kind": "expression"
|
2462
2469
|
}
|
2470
|
+
},
|
2471
|
+
{
|
2472
|
+
"name": "start-position",
|
2473
|
+
"default": "`top`",
|
2474
|
+
"description": "进度起始位置,可选值为 `left`、`right`、`bottom`",
|
2475
|
+
"options": [],
|
2476
|
+
"value": {
|
2477
|
+
"type": "CircleStartPosition",
|
2478
|
+
"kind": "expression"
|
2479
|
+
}
|
2463
2480
|
}
|
2464
2481
|
]
|
2465
2482
|
},
|
2466
2483
|
{
|
2467
|
-
"name": "van-
|
2484
|
+
"name": "van-row",
|
2468
2485
|
"slots": [],
|
2469
2486
|
"events": [
|
2470
2487
|
{
|
2471
|
-
"name": "
|
2472
|
-
"description": "
|
2488
|
+
"name": "click",
|
2489
|
+
"description": "点击时触发"
|
2473
2490
|
}
|
2474
2491
|
],
|
2475
2492
|
"attributes": [
|
2476
2493
|
{
|
2477
|
-
"name": "
|
2494
|
+
"name": "gutter",
|
2478
2495
|
"default": "-",
|
2479
|
-
"description": "
|
2480
|
-
"options": [],
|
2481
|
-
"value": {
|
2482
|
-
"type": "any[]",
|
2483
|
-
"kind": "expression"
|
2484
|
-
}
|
2485
|
-
},
|
2486
|
-
{
|
2487
|
-
"name": "disabled",
|
2488
|
-
"default": "`false`",
|
2489
|
-
"description": "是否禁用所有复选框",
|
2496
|
+
"description": "列元素之间的间距(单位为 px)",
|
2490
2497
|
"options": [],
|
2491
2498
|
"value": {
|
2492
|
-
"type": "
|
2499
|
+
"type": "number | string",
|
2493
2500
|
"kind": "expression"
|
2494
2501
|
}
|
2495
2502
|
},
|
2496
2503
|
{
|
2497
|
-
"name": "
|
2498
|
-
"default": "`
|
2499
|
-
"description": "
|
2504
|
+
"name": "tag",
|
2505
|
+
"default": "`div`",
|
2506
|
+
"description": "自定义元素标签",
|
2500
2507
|
"options": [],
|
2501
2508
|
"value": {
|
2502
|
-
"type": "
|
2509
|
+
"type": "string",
|
2503
2510
|
"kind": "expression"
|
2504
2511
|
}
|
2505
2512
|
},
|
2506
2513
|
{
|
2507
|
-
"name": "
|
2508
|
-
"default": "`
|
2509
|
-
"description": "
|
2514
|
+
"name": "justify",
|
2515
|
+
"default": "`start`",
|
2516
|
+
"description": "主轴对齐方式,可选值为 `end` `center` <br> `space-around` `space-between`",
|
2510
2517
|
"options": [],
|
2511
2518
|
"value": {
|
2512
2519
|
"type": "string",
|
@@ -2514,51 +2521,51 @@
|
|
2514
2521
|
}
|
2515
2522
|
},
|
2516
2523
|
{
|
2517
|
-
"name": "
|
2518
|
-
"default": "`
|
2519
|
-
"description": "
|
2524
|
+
"name": "align",
|
2525
|
+
"default": "`top`",
|
2526
|
+
"description": "交叉轴对齐方式,可选值为 `center` `bottom`",
|
2520
2527
|
"options": [],
|
2521
2528
|
"value": {
|
2522
|
-
"type": "
|
2529
|
+
"type": "string",
|
2523
2530
|
"kind": "expression"
|
2524
2531
|
}
|
2525
2532
|
},
|
2526
2533
|
{
|
2527
|
-
"name": "
|
2528
|
-
"default": "
|
2529
|
-
"description": "
|
2534
|
+
"name": "wrap",
|
2535
|
+
"default": "`true`",
|
2536
|
+
"description": "是否自动换行",
|
2530
2537
|
"options": [],
|
2531
2538
|
"value": {
|
2532
|
-
"type": "
|
2539
|
+
"type": "boolean",
|
2533
2540
|
"kind": "expression"
|
2534
2541
|
}
|
2535
2542
|
}
|
2536
2543
|
]
|
2537
2544
|
},
|
2538
2545
|
{
|
2539
|
-
"name": "van-
|
2540
|
-
"slots": [
|
2546
|
+
"name": "van-col",
|
2547
|
+
"slots": [],
|
2548
|
+
"events": [
|
2541
2549
|
{
|
2542
|
-
"name": "
|
2543
|
-
"description": "
|
2550
|
+
"name": "click",
|
2551
|
+
"description": "点击时触发"
|
2544
2552
|
}
|
2545
2553
|
],
|
2546
|
-
"events": [],
|
2547
2554
|
"attributes": [
|
2548
2555
|
{
|
2549
|
-
"name": "
|
2556
|
+
"name": "span",
|
2550
2557
|
"default": "-",
|
2551
|
-
"description": "
|
2558
|
+
"description": "列元素宽度",
|
2552
2559
|
"options": [],
|
2553
2560
|
"value": {
|
2554
|
-
"type": "number",
|
2561
|
+
"type": "number | string",
|
2555
2562
|
"kind": "expression"
|
2556
2563
|
}
|
2557
2564
|
},
|
2558
2565
|
{
|
2559
|
-
"name": "
|
2560
|
-
"default": "
|
2561
|
-
"description": "
|
2566
|
+
"name": "offset",
|
2567
|
+
"default": "-",
|
2568
|
+
"description": "列元素偏移距离",
|
2562
2569
|
"options": [],
|
2563
2570
|
"value": {
|
2564
2571
|
"type": "number | string",
|
@@ -2566,39 +2573,64 @@
|
|
2566
2573
|
}
|
2567
2574
|
},
|
2568
2575
|
{
|
2569
|
-
"name": "
|
2570
|
-
"default": "`
|
2571
|
-
"description": "
|
2576
|
+
"name": "tag",
|
2577
|
+
"default": "`div`",
|
2578
|
+
"description": "自定义元素标签",
|
2572
2579
|
"options": [],
|
2573
2580
|
"value": {
|
2574
|
-
"type": "
|
2581
|
+
"type": "string",
|
2575
2582
|
"kind": "expression"
|
2576
2583
|
}
|
2584
|
+
}
|
2585
|
+
]
|
2586
|
+
},
|
2587
|
+
{
|
2588
|
+
"name": "van-checkbox",
|
2589
|
+
"slots": [
|
2590
|
+
{
|
2591
|
+
"name": "default",
|
2592
|
+
"description": "自定义文本"
|
2577
2593
|
},
|
2578
2594
|
{
|
2579
|
-
"name": "
|
2580
|
-
"
|
2581
|
-
|
2595
|
+
"name": "icon",
|
2596
|
+
"description": "自定义图标"
|
2597
|
+
}
|
2598
|
+
],
|
2599
|
+
"events": [
|
2600
|
+
{
|
2601
|
+
"name": "change",
|
2602
|
+
"description": "当绑定值变化时触发的事件"
|
2603
|
+
},
|
2604
|
+
{
|
2605
|
+
"name": "click",
|
2606
|
+
"description": "点击复选框时触发"
|
2607
|
+
}
|
2608
|
+
],
|
2609
|
+
"attributes": [
|
2610
|
+
{
|
2611
|
+
"name": "v-model",
|
2612
|
+
"default": "`false`",
|
2613
|
+
"description": "是否为选中状态",
|
2582
2614
|
"options": [],
|
2583
2615
|
"value": {
|
2584
|
-
"type": "
|
2616
|
+
"type": "boolean",
|
2585
2617
|
"kind": "expression"
|
2586
2618
|
}
|
2587
2619
|
},
|
2588
2620
|
{
|
2589
|
-
"name": "
|
2590
|
-
"default": "
|
2591
|
-
"description": "
|
2621
|
+
"name": "name",
|
2622
|
+
"default": "-",
|
2623
|
+
"description": "标识符",
|
2592
2624
|
"options": [],
|
2593
2625
|
"value": {
|
2594
|
-
"type": "
|
2626
|
+
"type": "any",
|
2595
2627
|
"kind": "expression"
|
2596
2628
|
}
|
2597
2629
|
},
|
2598
2630
|
{
|
2599
|
-
"name": "
|
2600
|
-
"default": "`
|
2601
|
-
"description": "
|
2631
|
+
"name": "shape",
|
2632
|
+
"default": "`round`",
|
2633
|
+
"description": "形状,可选值为 `square`",
|
2602
2634
|
"options": [],
|
2603
2635
|
"value": {
|
2604
2636
|
"type": "string",
|
@@ -2606,111 +2638,111 @@
|
|
2606
2638
|
}
|
2607
2639
|
},
|
2608
2640
|
{
|
2609
|
-
"name": "
|
2610
|
-
"default": "`
|
2611
|
-
"description": "
|
2641
|
+
"name": "disabled",
|
2642
|
+
"default": "`false`",
|
2643
|
+
"description": "是否禁用复选框",
|
2612
2644
|
"options": [],
|
2613
2645
|
"value": {
|
2614
|
-
"type": "
|
2646
|
+
"type": "boolean",
|
2615
2647
|
"kind": "expression"
|
2616
2648
|
}
|
2617
2649
|
},
|
2618
2650
|
{
|
2619
|
-
"name": "
|
2620
|
-
"default": "
|
2621
|
-
"description": "
|
2651
|
+
"name": "label-disabled",
|
2652
|
+
"default": "`false`",
|
2653
|
+
"description": "是否禁用复选框文本点击",
|
2622
2654
|
"options": [],
|
2623
2655
|
"value": {
|
2624
|
-
"type": "
|
2656
|
+
"type": "boolean",
|
2625
2657
|
"kind": "expression"
|
2626
2658
|
}
|
2627
2659
|
},
|
2628
2660
|
{
|
2629
|
-
"name": "
|
2630
|
-
"default": "`
|
2631
|
-
"description": "
|
2661
|
+
"name": "label-position",
|
2662
|
+
"default": "`right`",
|
2663
|
+
"description": "文本位置,可选值为 `left`",
|
2632
2664
|
"options": [],
|
2633
2665
|
"value": {
|
2634
|
-
"type": "
|
2666
|
+
"type": "string",
|
2635
2667
|
"kind": "expression"
|
2636
2668
|
}
|
2637
2669
|
},
|
2638
2670
|
{
|
2639
|
-
"name": "
|
2640
|
-
"default": "`
|
2641
|
-
"description": "
|
2671
|
+
"name": "icon-size",
|
2672
|
+
"default": "`20px`",
|
2673
|
+
"description": "图标大小,默认单位为 `px`",
|
2642
2674
|
"options": [],
|
2643
2675
|
"value": {
|
2644
|
-
"type": "string",
|
2676
|
+
"type": "number | string",
|
2645
2677
|
"kind": "expression"
|
2646
2678
|
}
|
2647
2679
|
},
|
2648
2680
|
{
|
2649
|
-
"name": "
|
2650
|
-
"default": "`
|
2651
|
-
"description": "
|
2681
|
+
"name": "checked-color",
|
2682
|
+
"default": "`#1989fa`",
|
2683
|
+
"description": "选中状态颜色",
|
2652
2684
|
"options": [],
|
2653
2685
|
"value": {
|
2654
|
-
"type": "
|
2686
|
+
"type": "string",
|
2655
2687
|
"kind": "expression"
|
2656
2688
|
}
|
2657
2689
|
},
|
2658
2690
|
{
|
2659
|
-
"name": "
|
2660
|
-
"default": "`
|
2661
|
-
"description": "
|
2691
|
+
"name": "bind-group",
|
2692
|
+
"default": "`true`",
|
2693
|
+
"description": "是否与复选框组绑定",
|
2662
2694
|
"options": [],
|
2663
2695
|
"value": {
|
2664
|
-
"type": "
|
2696
|
+
"type": "boolean",
|
2665
2697
|
"kind": "expression"
|
2666
2698
|
}
|
2667
2699
|
}
|
2668
2700
|
]
|
2669
2701
|
},
|
2670
2702
|
{
|
2671
|
-
"name": "van-
|
2703
|
+
"name": "van-checkbox-group",
|
2672
2704
|
"slots": [],
|
2673
2705
|
"events": [
|
2674
2706
|
{
|
2675
|
-
"name": "
|
2676
|
-
"description": "
|
2707
|
+
"name": "change",
|
2708
|
+
"description": "当绑定值变化时触发的事件"
|
2677
2709
|
}
|
2678
2710
|
],
|
2679
2711
|
"attributes": [
|
2680
2712
|
{
|
2681
|
-
"name": "
|
2713
|
+
"name": "v-model",
|
2682
2714
|
"default": "-",
|
2683
|
-
"description": "
|
2715
|
+
"description": "所有选中项的标识符",
|
2684
2716
|
"options": [],
|
2685
2717
|
"value": {
|
2686
|
-
"type": "
|
2718
|
+
"type": "any[]",
|
2687
2719
|
"kind": "expression"
|
2688
2720
|
}
|
2689
2721
|
},
|
2690
2722
|
{
|
2691
|
-
"name": "
|
2692
|
-
"default": "`
|
2693
|
-
"description": "
|
2723
|
+
"name": "disabled",
|
2724
|
+
"default": "`false`",
|
2725
|
+
"description": "是否禁用所有复选框",
|
2694
2726
|
"options": [],
|
2695
2727
|
"value": {
|
2696
|
-
"type": "
|
2728
|
+
"type": "boolean",
|
2697
2729
|
"kind": "expression"
|
2698
2730
|
}
|
2699
2731
|
},
|
2700
2732
|
{
|
2701
|
-
"name": "
|
2702
|
-
"default": "`
|
2703
|
-
"description": "
|
2733
|
+
"name": "max",
|
2734
|
+
"default": "`0`",
|
2735
|
+
"description": "最大可选数,`0` 为无限制",
|
2704
2736
|
"options": [],
|
2705
2737
|
"value": {
|
2706
|
-
"type": "string",
|
2738
|
+
"type": "number | string",
|
2707
2739
|
"kind": "expression"
|
2708
2740
|
}
|
2709
2741
|
},
|
2710
2742
|
{
|
2711
|
-
"name": "
|
2712
|
-
"default": "`
|
2713
|
-
"description": "
|
2743
|
+
"name": "direction",
|
2744
|
+
"default": "`vertical`",
|
2745
|
+
"description": "排列方向,可选值为 `horizontal`",
|
2714
2746
|
"options": [],
|
2715
2747
|
"value": {
|
2716
2748
|
"type": "string",
|
@@ -2718,41 +2750,9 @@
|
|
2718
2750
|
}
|
2719
2751
|
},
|
2720
2752
|
{
|
2721
|
-
"name": "
|
2722
|
-
"default": "`
|
2723
|
-
"description": "
|
2724
|
-
"options": [],
|
2725
|
-
"value": {
|
2726
|
-
"type": "boolean",
|
2727
|
-
"kind": "expression"
|
2728
|
-
}
|
2729
|
-
}
|
2730
|
-
]
|
2731
|
-
},
|
2732
|
-
{
|
2733
|
-
"name": "van-col",
|
2734
|
-
"slots": [],
|
2735
|
-
"events": [
|
2736
|
-
{
|
2737
|
-
"name": "click",
|
2738
|
-
"description": "点击时触发"
|
2739
|
-
}
|
2740
|
-
],
|
2741
|
-
"attributes": [
|
2742
|
-
{
|
2743
|
-
"name": "span",
|
2744
|
-
"default": "-",
|
2745
|
-
"description": "列元素宽度",
|
2746
|
-
"options": [],
|
2747
|
-
"value": {
|
2748
|
-
"type": "number | string",
|
2749
|
-
"kind": "expression"
|
2750
|
-
}
|
2751
|
-
},
|
2752
|
-
{
|
2753
|
-
"name": "offset",
|
2754
|
-
"default": "-",
|
2755
|
-
"description": "列元素偏移距离",
|
2753
|
+
"name": "icon-size",
|
2754
|
+
"default": "`20px`",
|
2755
|
+
"description": "所有复选框的图标大小,默认单位为 `px`",
|
2756
2756
|
"options": [],
|
2757
2757
|
"value": {
|
2758
2758
|
"type": "number | string",
|
@@ -2760,9 +2760,9 @@
|
|
2760
2760
|
}
|
2761
2761
|
},
|
2762
2762
|
{
|
2763
|
-
"name": "
|
2764
|
-
"default": "`
|
2765
|
-
"description": "
|
2763
|
+
"name": "checked-color",
|
2764
|
+
"default": "`#1989fa`",
|
2765
|
+
"description": "所有复选框的选中状态颜色",
|
2766
2766
|
"options": [],
|
2767
2767
|
"value": {
|
2768
2768
|
"type": "string",
|
@@ -3015,39 +3015,47 @@
|
|
3015
3015
|
]
|
3016
3016
|
},
|
3017
3017
|
{
|
3018
|
-
"name": "van-contact-
|
3018
|
+
"name": "van-contact-list",
|
3019
3019
|
"slots": [],
|
3020
3020
|
"events": [
|
3021
3021
|
{
|
3022
|
-
"name": "
|
3023
|
-
"description": "
|
3022
|
+
"name": "add",
|
3023
|
+
"description": "点击新增按钮时触发"
|
3024
|
+
},
|
3025
|
+
{
|
3026
|
+
"name": "edit",
|
3027
|
+
"description": "点击编辑按钮时触发"
|
3028
|
+
},
|
3029
|
+
{
|
3030
|
+
"name": "select",
|
3031
|
+
"description": "切换选中的联系人时触发"
|
3024
3032
|
}
|
3025
3033
|
],
|
3026
3034
|
"attributes": [
|
3027
3035
|
{
|
3028
|
-
"name": "
|
3029
|
-
"default": "
|
3030
|
-
"description": "
|
3036
|
+
"name": "v-model",
|
3037
|
+
"default": "-",
|
3038
|
+
"description": "当前选中联系人的 id",
|
3031
3039
|
"options": [],
|
3032
3040
|
"value": {
|
3033
|
-
"type": "string",
|
3041
|
+
"type": "number | string",
|
3034
3042
|
"kind": "expression"
|
3035
3043
|
}
|
3036
3044
|
},
|
3037
3045
|
{
|
3038
|
-
"name": "
|
3039
|
-
"default": "
|
3040
|
-
"description": "
|
3046
|
+
"name": "list",
|
3047
|
+
"default": "`[]`",
|
3048
|
+
"description": "联系人列表",
|
3041
3049
|
"options": [],
|
3042
3050
|
"value": {
|
3043
|
-
"type": "
|
3051
|
+
"type": "Contact[]",
|
3044
3052
|
"kind": "expression"
|
3045
3053
|
}
|
3046
3054
|
},
|
3047
3055
|
{
|
3048
|
-
"name": "
|
3049
|
-
"default": "
|
3050
|
-
"description": "
|
3056
|
+
"name": "add-text",
|
3057
|
+
"default": "`新建联系人`",
|
3058
|
+
"description": "新建按钮文案",
|
3051
3059
|
"options": [],
|
3052
3060
|
"value": {
|
3053
3061
|
"type": "string",
|
@@ -3055,9 +3063,9 @@
|
|
3055
3063
|
}
|
3056
3064
|
},
|
3057
3065
|
{
|
3058
|
-
"name": "
|
3059
|
-
"default": "
|
3060
|
-
"description": "
|
3066
|
+
"name": "default-tag-text",
|
3067
|
+
"default": "-",
|
3068
|
+
"description": "默认联系人标签文案",
|
3061
3069
|
"options": [],
|
3062
3070
|
"value": {
|
3063
3071
|
"type": "string",
|
@@ -3153,47 +3161,39 @@
|
|
3153
3161
|
]
|
3154
3162
|
},
|
3155
3163
|
{
|
3156
|
-
"name": "van-contact-
|
3164
|
+
"name": "van-contact-card",
|
3157
3165
|
"slots": [],
|
3158
3166
|
"events": [
|
3159
3167
|
{
|
3160
|
-
"name": "
|
3161
|
-
"description": "
|
3162
|
-
},
|
3163
|
-
{
|
3164
|
-
"name": "edit",
|
3165
|
-
"description": "点击编辑按钮时触发"
|
3166
|
-
},
|
3167
|
-
{
|
3168
|
-
"name": "select",
|
3169
|
-
"description": "切换选中的联系人时触发"
|
3168
|
+
"name": "click",
|
3169
|
+
"description": "点击时触发"
|
3170
3170
|
}
|
3171
3171
|
],
|
3172
3172
|
"attributes": [
|
3173
3173
|
{
|
3174
|
-
"name": "
|
3175
|
-
"default": "
|
3176
|
-
"description": "
|
3174
|
+
"name": "type",
|
3175
|
+
"default": "`add`",
|
3176
|
+
"description": "卡片类型,可选值为 `edit`",
|
3177
3177
|
"options": [],
|
3178
3178
|
"value": {
|
3179
|
-
"type": "
|
3179
|
+
"type": "string",
|
3180
3180
|
"kind": "expression"
|
3181
3181
|
}
|
3182
3182
|
},
|
3183
3183
|
{
|
3184
|
-
"name": "
|
3185
|
-
"default": "
|
3186
|
-
"description": "
|
3184
|
+
"name": "name",
|
3185
|
+
"default": "-",
|
3186
|
+
"description": "联系人姓名",
|
3187
3187
|
"options": [],
|
3188
3188
|
"value": {
|
3189
|
-
"type": "
|
3189
|
+
"type": "string",
|
3190
3190
|
"kind": "expression"
|
3191
3191
|
}
|
3192
3192
|
},
|
3193
3193
|
{
|
3194
|
-
"name": "
|
3195
|
-
"default": "
|
3196
|
-
"description": "
|
3194
|
+
"name": "tel",
|
3195
|
+
"default": "-",
|
3196
|
+
"description": "联系人手机号",
|
3197
3197
|
"options": [],
|
3198
3198
|
"value": {
|
3199
3199
|
"type": "string",
|
@@ -3201,9 +3201,9 @@
|
|
3201
3201
|
}
|
3202
3202
|
},
|
3203
3203
|
{
|
3204
|
-
"name": "
|
3205
|
-
"default": "
|
3206
|
-
"description": "
|
3204
|
+
"name": "add-text",
|
3205
|
+
"default": "`添加联系人`",
|
3206
|
+
"description": "添加时的文案提示",
|
3207
3207
|
"options": [],
|
3208
3208
|
"value": {
|
3209
3209
|
"type": "string",
|
@@ -4943,88 +4943,6 @@
|
|
4943
4943
|
}
|
4944
4944
|
]
|
4945
4945
|
},
|
4946
|
-
{
|
4947
|
-
"name": "van-icon",
|
4948
|
-
"slots": [],
|
4949
|
-
"events": [
|
4950
|
-
{
|
4951
|
-
"name": "click",
|
4952
|
-
"description": "点击图标时触发"
|
4953
|
-
}
|
4954
|
-
],
|
4955
|
-
"attributes": [
|
4956
|
-
{
|
4957
|
-
"name": "name",
|
4958
|
-
"default": "-",
|
4959
|
-
"description": "图标名称或图片链接",
|
4960
|
-
"options": [],
|
4961
|
-
"value": {
|
4962
|
-
"type": "string",
|
4963
|
-
"kind": "expression"
|
4964
|
-
}
|
4965
|
-
},
|
4966
|
-
{
|
4967
|
-
"name": "dot",
|
4968
|
-
"default": "`false`",
|
4969
|
-
"description": "是否显示图标右上角小红点",
|
4970
|
-
"options": [],
|
4971
|
-
"value": {
|
4972
|
-
"type": "boolean",
|
4973
|
-
"kind": "expression"
|
4974
|
-
}
|
4975
|
-
},
|
4976
|
-
{
|
4977
|
-
"name": "badge",
|
4978
|
-
"default": "-",
|
4979
|
-
"description": "图标右上角徽标的内容",
|
4980
|
-
"options": [],
|
4981
|
-
"value": {
|
4982
|
-
"type": "number | string",
|
4983
|
-
"kind": "expression"
|
4984
|
-
}
|
4985
|
-
},
|
4986
|
-
{
|
4987
|
-
"name": "color",
|
4988
|
-
"default": "`inherit`",
|
4989
|
-
"description": "图标颜色",
|
4990
|
-
"options": [],
|
4991
|
-
"value": {
|
4992
|
-
"type": "string",
|
4993
|
-
"kind": "expression"
|
4994
|
-
}
|
4995
|
-
},
|
4996
|
-
{
|
4997
|
-
"name": "size",
|
4998
|
-
"default": "`inherit`",
|
4999
|
-
"description": "图标大小,如 `20px` `2em`,默认单位为 `px`",
|
5000
|
-
"options": [],
|
5001
|
-
"value": {
|
5002
|
-
"type": "number | string",
|
5003
|
-
"kind": "expression"
|
5004
|
-
}
|
5005
|
-
},
|
5006
|
-
{
|
5007
|
-
"name": "class-prefix",
|
5008
|
-
"default": "`van-icon`",
|
5009
|
-
"description": "类名前缀,用于使用自定义图标",
|
5010
|
-
"options": [],
|
5011
|
-
"value": {
|
5012
|
-
"type": "string",
|
5013
|
-
"kind": "expression"
|
5014
|
-
}
|
5015
|
-
},
|
5016
|
-
{
|
5017
|
-
"name": "tag",
|
5018
|
-
"default": "`i`",
|
5019
|
-
"description": "根节点对应的 HTML 标签名",
|
5020
|
-
"options": [],
|
5021
|
-
"value": {
|
5022
|
-
"type": "string",
|
5023
|
-
"kind": "expression"
|
5024
|
-
}
|
5025
|
-
}
|
5026
|
-
]
|
5027
|
-
},
|
5028
4946
|
{
|
5029
4947
|
"name": "van-grid",
|
5030
4948
|
"slots": [],
|
@@ -5237,6 +5155,88 @@
|
|
5237
5155
|
}
|
5238
5156
|
]
|
5239
5157
|
},
|
5158
|
+
{
|
5159
|
+
"name": "van-icon",
|
5160
|
+
"slots": [],
|
5161
|
+
"events": [
|
5162
|
+
{
|
5163
|
+
"name": "click",
|
5164
|
+
"description": "点击图标时触发"
|
5165
|
+
}
|
5166
|
+
],
|
5167
|
+
"attributes": [
|
5168
|
+
{
|
5169
|
+
"name": "name",
|
5170
|
+
"default": "-",
|
5171
|
+
"description": "图标名称或图片链接",
|
5172
|
+
"options": [],
|
5173
|
+
"value": {
|
5174
|
+
"type": "string",
|
5175
|
+
"kind": "expression"
|
5176
|
+
}
|
5177
|
+
},
|
5178
|
+
{
|
5179
|
+
"name": "dot",
|
5180
|
+
"default": "`false`",
|
5181
|
+
"description": "是否显示图标右上角小红点",
|
5182
|
+
"options": [],
|
5183
|
+
"value": {
|
5184
|
+
"type": "boolean",
|
5185
|
+
"kind": "expression"
|
5186
|
+
}
|
5187
|
+
},
|
5188
|
+
{
|
5189
|
+
"name": "badge",
|
5190
|
+
"default": "-",
|
5191
|
+
"description": "图标右上角徽标的内容",
|
5192
|
+
"options": [],
|
5193
|
+
"value": {
|
5194
|
+
"type": "number | string",
|
5195
|
+
"kind": "expression"
|
5196
|
+
}
|
5197
|
+
},
|
5198
|
+
{
|
5199
|
+
"name": "color",
|
5200
|
+
"default": "`inherit`",
|
5201
|
+
"description": "图标颜色",
|
5202
|
+
"options": [],
|
5203
|
+
"value": {
|
5204
|
+
"type": "string",
|
5205
|
+
"kind": "expression"
|
5206
|
+
}
|
5207
|
+
},
|
5208
|
+
{
|
5209
|
+
"name": "size",
|
5210
|
+
"default": "`inherit`",
|
5211
|
+
"description": "图标大小,如 `20px` `2em`,默认单位为 `px`",
|
5212
|
+
"options": [],
|
5213
|
+
"value": {
|
5214
|
+
"type": "number | string",
|
5215
|
+
"kind": "expression"
|
5216
|
+
}
|
5217
|
+
},
|
5218
|
+
{
|
5219
|
+
"name": "class-prefix",
|
5220
|
+
"default": "`van-icon`",
|
5221
|
+
"description": "类名前缀,用于使用自定义图标",
|
5222
|
+
"options": [],
|
5223
|
+
"value": {
|
5224
|
+
"type": "string",
|
5225
|
+
"kind": "expression"
|
5226
|
+
}
|
5227
|
+
},
|
5228
|
+
{
|
5229
|
+
"name": "tag",
|
5230
|
+
"default": "`i`",
|
5231
|
+
"description": "根节点对应的 HTML 标签名",
|
5232
|
+
"options": [],
|
5233
|
+
"value": {
|
5234
|
+
"type": "string",
|
5235
|
+
"kind": "expression"
|
5236
|
+
}
|
5237
|
+
}
|
5238
|
+
]
|
5239
|
+
},
|
5240
5240
|
{
|
5241
5241
|
"name": "van-index-bar",
|
5242
5242
|
"slots": [],
|
@@ -7028,12 +7028,109 @@
|
|
7028
7028
|
]
|
7029
7029
|
},
|
7030
7030
|
{
|
7031
|
-
"name": "van-
|
7032
|
-
"slots": [
|
7033
|
-
|
7034
|
-
|
7035
|
-
|
7036
|
-
|
7031
|
+
"name": "van-progress",
|
7032
|
+
"slots": [],
|
7033
|
+
"events": [],
|
7034
|
+
"attributes": [
|
7035
|
+
{
|
7036
|
+
"name": "percentage",
|
7037
|
+
"default": "`0`",
|
7038
|
+
"description": "进度百分比",
|
7039
|
+
"options": [],
|
7040
|
+
"value": {
|
7041
|
+
"type": "number | string",
|
7042
|
+
"kind": "expression"
|
7043
|
+
}
|
7044
|
+
},
|
7045
|
+
{
|
7046
|
+
"name": "stroke-width",
|
7047
|
+
"default": "`4px`",
|
7048
|
+
"description": "进度条粗细,默认单位为`px`",
|
7049
|
+
"options": [],
|
7050
|
+
"value": {
|
7051
|
+
"type": "number | string",
|
7052
|
+
"kind": "expression"
|
7053
|
+
}
|
7054
|
+
},
|
7055
|
+
{
|
7056
|
+
"name": "color",
|
7057
|
+
"default": "`#1989fa`",
|
7058
|
+
"description": "进度条颜色",
|
7059
|
+
"options": [],
|
7060
|
+
"value": {
|
7061
|
+
"type": "string",
|
7062
|
+
"kind": "expression"
|
7063
|
+
}
|
7064
|
+
},
|
7065
|
+
{
|
7066
|
+
"name": "track-color",
|
7067
|
+
"default": "`#e5e5e5`",
|
7068
|
+
"description": "轨道颜色",
|
7069
|
+
"options": [],
|
7070
|
+
"value": {
|
7071
|
+
"type": "string",
|
7072
|
+
"kind": "expression"
|
7073
|
+
}
|
7074
|
+
},
|
7075
|
+
{
|
7076
|
+
"name": "pivot-text",
|
7077
|
+
"default": "百分比",
|
7078
|
+
"description": "进度文字内容",
|
7079
|
+
"options": [],
|
7080
|
+
"value": {
|
7081
|
+
"type": "string",
|
7082
|
+
"kind": "expression"
|
7083
|
+
}
|
7084
|
+
},
|
7085
|
+
{
|
7086
|
+
"name": "pivot-color",
|
7087
|
+
"default": "同进度条颜色",
|
7088
|
+
"description": "进度文字背景色",
|
7089
|
+
"options": [],
|
7090
|
+
"value": {
|
7091
|
+
"type": "string",
|
7092
|
+
"kind": "expression"
|
7093
|
+
}
|
7094
|
+
},
|
7095
|
+
{
|
7096
|
+
"name": "text-color",
|
7097
|
+
"default": "`white`",
|
7098
|
+
"description": "进度文字颜色",
|
7099
|
+
"options": [],
|
7100
|
+
"value": {
|
7101
|
+
"type": "string",
|
7102
|
+
"kind": "expression"
|
7103
|
+
}
|
7104
|
+
},
|
7105
|
+
{
|
7106
|
+
"name": "inactive",
|
7107
|
+
"default": "`false`",
|
7108
|
+
"description": "是否置灰",
|
7109
|
+
"options": [],
|
7110
|
+
"value": {
|
7111
|
+
"type": "boolean",
|
7112
|
+
"kind": "expression"
|
7113
|
+
}
|
7114
|
+
},
|
7115
|
+
{
|
7116
|
+
"name": "show-pivot",
|
7117
|
+
"default": "`true`",
|
7118
|
+
"description": "是否显示进度文字",
|
7119
|
+
"options": [],
|
7120
|
+
"value": {
|
7121
|
+
"type": "boolean",
|
7122
|
+
"kind": "expression"
|
7123
|
+
}
|
7124
|
+
}
|
7125
|
+
]
|
7126
|
+
},
|
7127
|
+
{
|
7128
|
+
"name": "van-popup",
|
7129
|
+
"slots": [
|
7130
|
+
{
|
7131
|
+
"name": "default",
|
7132
|
+
"description": "弹窗内容"
|
7133
|
+
},
|
7037
7134
|
{
|
7038
7135
|
"name": "overlay-content",
|
7039
7136
|
"description": "遮罩层的内容"
|
@@ -7274,103 +7371,6 @@
|
|
7274
7371
|
}
|
7275
7372
|
]
|
7276
7373
|
},
|
7277
|
-
{
|
7278
|
-
"name": "van-progress",
|
7279
|
-
"slots": [],
|
7280
|
-
"events": [],
|
7281
|
-
"attributes": [
|
7282
|
-
{
|
7283
|
-
"name": "percentage",
|
7284
|
-
"default": "`0`",
|
7285
|
-
"description": "进度百分比",
|
7286
|
-
"options": [],
|
7287
|
-
"value": {
|
7288
|
-
"type": "number | string",
|
7289
|
-
"kind": "expression"
|
7290
|
-
}
|
7291
|
-
},
|
7292
|
-
{
|
7293
|
-
"name": "stroke-width",
|
7294
|
-
"default": "`4px`",
|
7295
|
-
"description": "进度条粗细,默认单位为`px`",
|
7296
|
-
"options": [],
|
7297
|
-
"value": {
|
7298
|
-
"type": "number | string",
|
7299
|
-
"kind": "expression"
|
7300
|
-
}
|
7301
|
-
},
|
7302
|
-
{
|
7303
|
-
"name": "color",
|
7304
|
-
"default": "`#1989fa`",
|
7305
|
-
"description": "进度条颜色",
|
7306
|
-
"options": [],
|
7307
|
-
"value": {
|
7308
|
-
"type": "string",
|
7309
|
-
"kind": "expression"
|
7310
|
-
}
|
7311
|
-
},
|
7312
|
-
{
|
7313
|
-
"name": "track-color",
|
7314
|
-
"default": "`#e5e5e5`",
|
7315
|
-
"description": "轨道颜色",
|
7316
|
-
"options": [],
|
7317
|
-
"value": {
|
7318
|
-
"type": "string",
|
7319
|
-
"kind": "expression"
|
7320
|
-
}
|
7321
|
-
},
|
7322
|
-
{
|
7323
|
-
"name": "pivot-text",
|
7324
|
-
"default": "百分比",
|
7325
|
-
"description": "进度文字内容",
|
7326
|
-
"options": [],
|
7327
|
-
"value": {
|
7328
|
-
"type": "string",
|
7329
|
-
"kind": "expression"
|
7330
|
-
}
|
7331
|
-
},
|
7332
|
-
{
|
7333
|
-
"name": "pivot-color",
|
7334
|
-
"default": "同进度条颜色",
|
7335
|
-
"description": "进度文字背景色",
|
7336
|
-
"options": [],
|
7337
|
-
"value": {
|
7338
|
-
"type": "string",
|
7339
|
-
"kind": "expression"
|
7340
|
-
}
|
7341
|
-
},
|
7342
|
-
{
|
7343
|
-
"name": "text-color",
|
7344
|
-
"default": "`white`",
|
7345
|
-
"description": "进度文字颜色",
|
7346
|
-
"options": [],
|
7347
|
-
"value": {
|
7348
|
-
"type": "string",
|
7349
|
-
"kind": "expression"
|
7350
|
-
}
|
7351
|
-
},
|
7352
|
-
{
|
7353
|
-
"name": "inactive",
|
7354
|
-
"default": "`false`",
|
7355
|
-
"description": "是否置灰",
|
7356
|
-
"options": [],
|
7357
|
-
"value": {
|
7358
|
-
"type": "boolean",
|
7359
|
-
"kind": "expression"
|
7360
|
-
}
|
7361
|
-
},
|
7362
|
-
{
|
7363
|
-
"name": "show-pivot",
|
7364
|
-
"default": "`true`",
|
7365
|
-
"description": "是否显示进度文字",
|
7366
|
-
"options": [],
|
7367
|
-
"value": {
|
7368
|
-
"type": "boolean",
|
7369
|
-
"kind": "expression"
|
7370
|
-
}
|
7371
|
-
}
|
7372
|
-
]
|
7373
|
-
},
|
7374
7374
|
{
|
7375
7375
|
"name": "van-pull-refresh",
|
7376
7376
|
"slots": [
|
@@ -7662,59 +7662,96 @@
|
|
7662
7662
|
]
|
7663
7663
|
},
|
7664
7664
|
{
|
7665
|
-
"name": "van-
|
7666
|
-
"slots": [
|
7665
|
+
"name": "van-share-sheet",
|
7666
|
+
"slots": [
|
7667
|
+
{
|
7668
|
+
"name": "title",
|
7669
|
+
"description": "自定义顶部标题"
|
7670
|
+
},
|
7671
|
+
{
|
7672
|
+
"name": "description",
|
7673
|
+
"description": "自定义描述文字"
|
7674
|
+
},
|
7675
|
+
{
|
7676
|
+
"name": "cancel",
|
7677
|
+
"description": "自定义取消按钮内容"
|
7678
|
+
}
|
7679
|
+
],
|
7667
7680
|
"events": [
|
7668
7681
|
{
|
7669
|
-
"name": "
|
7670
|
-
"description": "
|
7682
|
+
"name": "select",
|
7683
|
+
"description": "点击分享选项时触发"
|
7684
|
+
},
|
7685
|
+
{
|
7686
|
+
"name": "cancel",
|
7687
|
+
"description": "点击取消按钮时触发"
|
7688
|
+
},
|
7689
|
+
{
|
7690
|
+
"name": "open",
|
7691
|
+
"description": "打开面板时触发"
|
7692
|
+
},
|
7693
|
+
{
|
7694
|
+
"name": "close",
|
7695
|
+
"description": "关闭面板时触发"
|
7696
|
+
},
|
7697
|
+
{
|
7698
|
+
"name": "opened",
|
7699
|
+
"description": "打开面板且动画结束后触发"
|
7700
|
+
},
|
7701
|
+
{
|
7702
|
+
"name": "closed",
|
7703
|
+
"description": "关闭面板且动画结束后触发"
|
7704
|
+
},
|
7705
|
+
{
|
7706
|
+
"name": "click-overlay",
|
7707
|
+
"description": "点击遮罩层时触发"
|
7671
7708
|
}
|
7672
7709
|
],
|
7673
7710
|
"attributes": [
|
7674
7711
|
{
|
7675
|
-
"name": "v-model",
|
7676
|
-
"default": "
|
7677
|
-
"description": "
|
7712
|
+
"name": "v-model:show",
|
7713
|
+
"default": "`false`",
|
7714
|
+
"description": "是否显示分享面板",
|
7678
7715
|
"options": [],
|
7679
7716
|
"value": {
|
7680
|
-
"type": "
|
7717
|
+
"type": "boolean",
|
7681
7718
|
"kind": "expression"
|
7682
7719
|
}
|
7683
7720
|
},
|
7684
7721
|
{
|
7685
|
-
"name": "
|
7686
|
-
"default": "`
|
7687
|
-
"description": "
|
7722
|
+
"name": "options",
|
7723
|
+
"default": "`[]`",
|
7724
|
+
"description": "分享选项",
|
7688
7725
|
"options": [],
|
7689
7726
|
"value": {
|
7690
|
-
"type": "
|
7727
|
+
"type": "Option[]",
|
7691
7728
|
"kind": "expression"
|
7692
7729
|
}
|
7693
7730
|
},
|
7694
7731
|
{
|
7695
|
-
"name": "
|
7696
|
-
"default": "
|
7697
|
-
"description": "
|
7732
|
+
"name": "title",
|
7733
|
+
"default": "-",
|
7734
|
+
"description": "顶部标题",
|
7698
7735
|
"options": [],
|
7699
7736
|
"value": {
|
7700
|
-
"type": "
|
7737
|
+
"type": "string",
|
7701
7738
|
"kind": "expression"
|
7702
7739
|
}
|
7703
7740
|
},
|
7704
7741
|
{
|
7705
|
-
"name": "
|
7706
|
-
"default": "`
|
7707
|
-
"description": "
|
7742
|
+
"name": "cancel-text",
|
7743
|
+
"default": "`'取消'`",
|
7744
|
+
"description": "取消按钮文字,传入空字符串可以隐藏按钮",
|
7708
7745
|
"options": [],
|
7709
7746
|
"value": {
|
7710
|
-
"type": "
|
7747
|
+
"type": "string",
|
7711
7748
|
"kind": "expression"
|
7712
7749
|
}
|
7713
7750
|
},
|
7714
7751
|
{
|
7715
|
-
"name": "
|
7716
|
-
"default": "
|
7717
|
-
"description": "
|
7752
|
+
"name": "description",
|
7753
|
+
"default": "-",
|
7754
|
+
"description": "标题下方的辅助描述文字",
|
7718
7755
|
"options": [],
|
7719
7756
|
"value": {
|
7720
7757
|
"type": "string",
|
@@ -7722,59 +7759,71 @@
|
|
7722
7759
|
}
|
7723
7760
|
},
|
7724
7761
|
{
|
7725
|
-
"name": "
|
7726
|
-
"default": "
|
7727
|
-
"description": "
|
7762
|
+
"name": "duration",
|
7763
|
+
"default": "`0.3`",
|
7764
|
+
"description": "动画时长,单位秒,设置为 0 可以禁用动画",
|
7728
7765
|
"options": [],
|
7729
7766
|
"value": {
|
7730
|
-
"type": "string",
|
7767
|
+
"type": "number | string",
|
7731
7768
|
"kind": "expression"
|
7732
7769
|
}
|
7733
7770
|
},
|
7734
7771
|
{
|
7735
|
-
"name": "
|
7736
|
-
"default": "
|
7737
|
-
"description": "
|
7772
|
+
"name": "round",
|
7773
|
+
"default": "`true`",
|
7774
|
+
"description": "是否显示圆角",
|
7738
7775
|
"options": [],
|
7739
7776
|
"value": {
|
7740
|
-
"type": "
|
7777
|
+
"type": "boolean",
|
7741
7778
|
"kind": "expression"
|
7742
7779
|
}
|
7743
7780
|
},
|
7744
7781
|
{
|
7745
|
-
"name": "
|
7746
|
-
"default": "`
|
7747
|
-
"description": "
|
7782
|
+
"name": "overlay",
|
7783
|
+
"default": "`true`",
|
7784
|
+
"description": "是否显示遮罩层",
|
7748
7785
|
"options": [],
|
7749
7786
|
"value": {
|
7750
|
-
"type": "
|
7787
|
+
"type": "boolean",
|
7751
7788
|
"kind": "expression"
|
7752
7789
|
}
|
7753
7790
|
},
|
7754
7791
|
{
|
7755
|
-
"name": "
|
7756
|
-
"default": "
|
7757
|
-
"description": "
|
7792
|
+
"name": "overlay-class",
|
7793
|
+
"default": "object_",
|
7794
|
+
"description": "自定义遮罩层类名",
|
7795
|
+
"options": [
|
7796
|
+
"-"
|
7797
|
+
],
|
7798
|
+
"value": {
|
7799
|
+
"type": "string | Array \\",
|
7800
|
+
"kind": "expression"
|
7801
|
+
}
|
7802
|
+
},
|
7803
|
+
{
|
7804
|
+
"name": "overlay-style",
|
7805
|
+
"default": "-",
|
7806
|
+
"description": "自定义遮罩层样式",
|
7758
7807
|
"options": [],
|
7759
7808
|
"value": {
|
7760
|
-
"type": "
|
7809
|
+
"type": "object",
|
7761
7810
|
"kind": "expression"
|
7762
7811
|
}
|
7763
7812
|
},
|
7764
7813
|
{
|
7765
|
-
"name": "
|
7766
|
-
"default": "`
|
7767
|
-
"description": "
|
7814
|
+
"name": "lock-scroll",
|
7815
|
+
"default": "`true`",
|
7816
|
+
"description": "是否锁定背景滚动",
|
7768
7817
|
"options": [],
|
7769
7818
|
"value": {
|
7770
|
-
"type": "
|
7819
|
+
"type": "boolean",
|
7771
7820
|
"kind": "expression"
|
7772
7821
|
}
|
7773
7822
|
},
|
7774
7823
|
{
|
7775
|
-
"name": "
|
7776
|
-
"default": "`
|
7777
|
-
"description": "
|
7824
|
+
"name": "lazy-render",
|
7825
|
+
"default": "`true`",
|
7826
|
+
"description": "是否在显示弹层时才渲染内容",
|
7778
7827
|
"options": [],
|
7779
7828
|
"value": {
|
7780
7829
|
"type": "boolean",
|
@@ -7782,9 +7831,9 @@
|
|
7782
7831
|
}
|
7783
7832
|
},
|
7784
7833
|
{
|
7785
|
-
"name": "
|
7786
|
-
"default": "`
|
7787
|
-
"description": "
|
7834
|
+
"name": "close-on-popstate",
|
7835
|
+
"default": "`true`",
|
7836
|
+
"description": "是否在页面回退时自动关闭",
|
7788
7837
|
"options": [],
|
7789
7838
|
"value": {
|
7790
7839
|
"type": "boolean",
|
@@ -7792,9 +7841,9 @@
|
|
7792
7841
|
}
|
7793
7842
|
},
|
7794
7843
|
{
|
7795
|
-
"name": "
|
7796
|
-
"default": "`
|
7797
|
-
"description": "
|
7844
|
+
"name": "close-on-click-overlay",
|
7845
|
+
"default": "`true`",
|
7846
|
+
"description": "是否在点击遮罩层后关闭",
|
7798
7847
|
"options": [],
|
7799
7848
|
"value": {
|
7800
7849
|
"type": "boolean",
|
@@ -7802,14 +7851,34 @@
|
|
7802
7851
|
}
|
7803
7852
|
},
|
7804
7853
|
{
|
7805
|
-
"name": "
|
7854
|
+
"name": "safe-area-inset-bottom",
|
7806
7855
|
"default": "`true`",
|
7807
|
-
"description": "
|
7856
|
+
"description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei)",
|
7808
7857
|
"options": [],
|
7809
7858
|
"value": {
|
7810
7859
|
"type": "boolean",
|
7811
7860
|
"kind": "expression"
|
7812
7861
|
}
|
7862
|
+
},
|
7863
|
+
{
|
7864
|
+
"name": "teleport",
|
7865
|
+
"default": "-",
|
7866
|
+
"description": "指定挂载的节点,等同于 Teleport 组件的 [to 属性](https://v3.cn.vuejs.org/api/built-in-components.html#teleport)",
|
7867
|
+
"options": [],
|
7868
|
+
"value": {
|
7869
|
+
"type": "string | Element",
|
7870
|
+
"kind": "expression"
|
7871
|
+
}
|
7872
|
+
},
|
7873
|
+
{
|
7874
|
+
"name": "before-close",
|
7875
|
+
"default": "-",
|
7876
|
+
"description": "关闭前的回调函数,返回 `false` 可阻止关闭,支持返回 Promise",
|
7877
|
+
"options": [],
|
7878
|
+
"value": {
|
7879
|
+
"type": "(action: string) => boolean | Promise\\<boolean\\>",
|
7880
|
+
"kind": "expression"
|
7881
|
+
}
|
7813
7882
|
}
|
7814
7883
|
]
|
7815
7884
|
},
|
@@ -8111,96 +8180,59 @@
|
|
8111
8180
|
]
|
8112
8181
|
},
|
8113
8182
|
{
|
8114
|
-
"name": "van-
|
8115
|
-
"slots": [
|
8116
|
-
{
|
8117
|
-
"name": "title",
|
8118
|
-
"description": "自定义顶部标题"
|
8119
|
-
},
|
8120
|
-
{
|
8121
|
-
"name": "description",
|
8122
|
-
"description": "自定义描述文字"
|
8123
|
-
},
|
8124
|
-
{
|
8125
|
-
"name": "cancel",
|
8126
|
-
"description": "自定义取消按钮内容"
|
8127
|
-
}
|
8128
|
-
],
|
8183
|
+
"name": "van-rate",
|
8184
|
+
"slots": [],
|
8129
8185
|
"events": [
|
8130
8186
|
{
|
8131
|
-
"name": "
|
8132
|
-
"description": "
|
8133
|
-
},
|
8134
|
-
{
|
8135
|
-
"name": "cancel",
|
8136
|
-
"description": "点击取消按钮时触发"
|
8137
|
-
},
|
8138
|
-
{
|
8139
|
-
"name": "open",
|
8140
|
-
"description": "打开面板时触发"
|
8141
|
-
},
|
8142
|
-
{
|
8143
|
-
"name": "close",
|
8144
|
-
"description": "关闭面板时触发"
|
8145
|
-
},
|
8146
|
-
{
|
8147
|
-
"name": "opened",
|
8148
|
-
"description": "打开面板且动画结束后触发"
|
8149
|
-
},
|
8150
|
-
{
|
8151
|
-
"name": "closed",
|
8152
|
-
"description": "关闭面板且动画结束后触发"
|
8153
|
-
},
|
8154
|
-
{
|
8155
|
-
"name": "click-overlay",
|
8156
|
-
"description": "点击遮罩层时触发"
|
8187
|
+
"name": "change",
|
8188
|
+
"description": "当前分值变化时触发的事件"
|
8157
8189
|
}
|
8158
8190
|
],
|
8159
8191
|
"attributes": [
|
8160
8192
|
{
|
8161
|
-
"name": "v-model
|
8162
|
-
"default": "
|
8163
|
-
"description": "
|
8193
|
+
"name": "v-model",
|
8194
|
+
"default": "-",
|
8195
|
+
"description": "当前分值",
|
8164
8196
|
"options": [],
|
8165
8197
|
"value": {
|
8166
|
-
"type": "
|
8198
|
+
"type": "number",
|
8167
8199
|
"kind": "expression"
|
8168
8200
|
}
|
8169
8201
|
},
|
8170
8202
|
{
|
8171
|
-
"name": "
|
8172
|
-
"default": "`
|
8173
|
-
"description": "
|
8203
|
+
"name": "count",
|
8204
|
+
"default": "`5`",
|
8205
|
+
"description": "图标总数",
|
8174
8206
|
"options": [],
|
8175
8207
|
"value": {
|
8176
|
-
"type": "
|
8208
|
+
"type": "number | string",
|
8177
8209
|
"kind": "expression"
|
8178
8210
|
}
|
8179
8211
|
},
|
8180
8212
|
{
|
8181
|
-
"name": "
|
8182
|
-
"default": "
|
8183
|
-
"description": "
|
8213
|
+
"name": "size",
|
8214
|
+
"default": "`20px`",
|
8215
|
+
"description": "图标大小,默认单位为`px`",
|
8184
8216
|
"options": [],
|
8185
8217
|
"value": {
|
8186
|
-
"type": "string",
|
8218
|
+
"type": "number | string",
|
8187
8219
|
"kind": "expression"
|
8188
8220
|
}
|
8189
8221
|
},
|
8190
8222
|
{
|
8191
|
-
"name": "
|
8192
|
-
"default": "`
|
8193
|
-
"description": "
|
8223
|
+
"name": "gutter",
|
8224
|
+
"default": "`4px`",
|
8225
|
+
"description": "图标间距,默认单位为`px`",
|
8194
8226
|
"options": [],
|
8195
8227
|
"value": {
|
8196
|
-
"type": "string",
|
8228
|
+
"type": "number | string",
|
8197
8229
|
"kind": "expression"
|
8198
8230
|
}
|
8199
8231
|
},
|
8200
8232
|
{
|
8201
|
-
"name": "
|
8202
|
-
"default": "
|
8203
|
-
"description": "
|
8233
|
+
"name": "color",
|
8234
|
+
"default": "`#ee0a24`",
|
8235
|
+
"description": "选中时的颜色",
|
8204
8236
|
"options": [],
|
8205
8237
|
"value": {
|
8206
8238
|
"type": "string",
|
@@ -8208,61 +8240,59 @@
|
|
8208
8240
|
}
|
8209
8241
|
},
|
8210
8242
|
{
|
8211
|
-
"name": "
|
8212
|
-
"default": "`
|
8213
|
-
"description": "
|
8243
|
+
"name": "void-color",
|
8244
|
+
"default": "`#c8c9cc`",
|
8245
|
+
"description": "未选中时的颜色",
|
8214
8246
|
"options": [],
|
8215
8247
|
"value": {
|
8216
|
-
"type": "
|
8248
|
+
"type": "string",
|
8217
8249
|
"kind": "expression"
|
8218
8250
|
}
|
8219
8251
|
},
|
8220
8252
|
{
|
8221
|
-
"name": "
|
8222
|
-
"default": "`
|
8223
|
-
"description": "
|
8253
|
+
"name": "disabled-color",
|
8254
|
+
"default": "`#c8c9cc`",
|
8255
|
+
"description": "禁用时的颜色",
|
8224
8256
|
"options": [],
|
8225
8257
|
"value": {
|
8226
|
-
"type": "
|
8258
|
+
"type": "string",
|
8227
8259
|
"kind": "expression"
|
8228
8260
|
}
|
8229
8261
|
},
|
8230
8262
|
{
|
8231
|
-
"name": "
|
8232
|
-
"default": "`
|
8233
|
-
"description": "
|
8263
|
+
"name": "icon",
|
8264
|
+
"default": "`star`",
|
8265
|
+
"description": "选中时的[图标名称](#/zh-CN/icon)或图片链接",
|
8234
8266
|
"options": [],
|
8235
8267
|
"value": {
|
8236
|
-
"type": "
|
8268
|
+
"type": "string",
|
8237
8269
|
"kind": "expression"
|
8238
8270
|
}
|
8239
8271
|
},
|
8240
8272
|
{
|
8241
|
-
"name": "
|
8242
|
-
"default": "
|
8243
|
-
"description": "
|
8244
|
-
"options": [
|
8245
|
-
"-"
|
8246
|
-
],
|
8273
|
+
"name": "void-icon",
|
8274
|
+
"default": "`star-o`",
|
8275
|
+
"description": "未选中时的[图标名称](#/zh-CN/icon)或图片链接",
|
8276
|
+
"options": [],
|
8247
8277
|
"value": {
|
8248
|
-
"type": "string
|
8278
|
+
"type": "string",
|
8249
8279
|
"kind": "expression"
|
8250
8280
|
}
|
8251
8281
|
},
|
8252
8282
|
{
|
8253
|
-
"name": "
|
8254
|
-
"default": "-",
|
8255
|
-
"description": "
|
8283
|
+
"name": "icon-prefix",
|
8284
|
+
"default": "`van-icon`",
|
8285
|
+
"description": "图标类名前缀,等同于 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props)",
|
8256
8286
|
"options": [],
|
8257
8287
|
"value": {
|
8258
|
-
"type": "
|
8288
|
+
"type": "string",
|
8259
8289
|
"kind": "expression"
|
8260
8290
|
}
|
8261
8291
|
},
|
8262
8292
|
{
|
8263
|
-
"name": "
|
8264
|
-
"default": "`
|
8265
|
-
"description": "
|
8293
|
+
"name": "allow-half",
|
8294
|
+
"default": "`false`",
|
8295
|
+
"description": "是否允许半选",
|
8266
8296
|
"options": [],
|
8267
8297
|
"value": {
|
8268
8298
|
"type": "boolean",
|
@@ -8270,9 +8300,9 @@
|
|
8270
8300
|
}
|
8271
8301
|
},
|
8272
8302
|
{
|
8273
|
-
"name": "
|
8274
|
-
"default": "`
|
8275
|
-
"description": "
|
8303
|
+
"name": "readonly",
|
8304
|
+
"default": "`false`",
|
8305
|
+
"description": "是否为只读状态,只读状态下无法修改评分",
|
8276
8306
|
"options": [],
|
8277
8307
|
"value": {
|
8278
8308
|
"type": "boolean",
|
@@ -8280,19 +8310,9 @@
|
|
8280
8310
|
}
|
8281
8311
|
},
|
8282
8312
|
{
|
8283
|
-
"name": "
|
8284
|
-
"default": "`
|
8285
|
-
"description": "
|
8286
|
-
"options": [],
|
8287
|
-
"value": {
|
8288
|
-
"type": "boolean",
|
8289
|
-
"kind": "expression"
|
8290
|
-
}
|
8291
|
-
},
|
8292
|
-
{
|
8293
|
-
"name": "close-on-click-overlay",
|
8294
|
-
"default": "`true`",
|
8295
|
-
"description": "是否在点击遮罩层后关闭",
|
8313
|
+
"name": "disabled",
|
8314
|
+
"default": "`false`",
|
8315
|
+
"description": "是否禁用评分",
|
8296
8316
|
"options": [],
|
8297
8317
|
"value": {
|
8298
8318
|
"type": "boolean",
|
@@ -8300,98 +8320,76 @@
|
|
8300
8320
|
}
|
8301
8321
|
},
|
8302
8322
|
{
|
8303
|
-
"name": "
|
8323
|
+
"name": "touchable",
|
8304
8324
|
"default": "`true`",
|
8305
|
-
"description": "
|
8325
|
+
"description": "是否可以通过滑动手势选择评分",
|
8306
8326
|
"options": [],
|
8307
8327
|
"value": {
|
8308
8328
|
"type": "boolean",
|
8309
8329
|
"kind": "expression"
|
8310
8330
|
}
|
8311
|
-
},
|
8312
|
-
{
|
8313
|
-
"name": "teleport",
|
8314
|
-
"default": "-",
|
8315
|
-
"description": "指定挂载的节点,等同于 Teleport 组件的 [to 属性](https://v3.cn.vuejs.org/api/built-in-components.html#teleport)",
|
8316
|
-
"options": [],
|
8317
|
-
"value": {
|
8318
|
-
"type": "string | Element",
|
8319
|
-
"kind": "expression"
|
8320
|
-
}
|
8321
|
-
},
|
8322
|
-
{
|
8323
|
-
"name": "before-close",
|
8324
|
-
"default": "-",
|
8325
|
-
"description": "关闭前的回调函数,返回 `false` 可阻止关闭,支持返回 Promise",
|
8326
|
-
"options": [],
|
8327
|
-
"value": {
|
8328
|
-
"type": "(action: string) => boolean | Promise\\<boolean\\>",
|
8329
|
-
"kind": "expression"
|
8330
|
-
}
|
8331
8331
|
}
|
8332
8332
|
]
|
8333
8333
|
},
|
8334
8334
|
{
|
8335
|
-
"name": "van-
|
8336
|
-
"slots": [
|
8337
|
-
"events": [
|
8335
|
+
"name": "van-slider",
|
8336
|
+
"slots": [
|
8338
8337
|
{
|
8339
|
-
"name": "
|
8340
|
-
"description": "
|
8341
|
-
}
|
8342
|
-
],
|
8343
|
-
"attributes": [
|
8338
|
+
"name": "button",
|
8339
|
+
"description": "自定义滑块按钮"
|
8340
|
+
},
|
8344
8341
|
{
|
8345
|
-
"name": "
|
8346
|
-
"
|
8347
|
-
|
8348
|
-
"options": [],
|
8349
|
-
"value": {
|
8350
|
-
"type": "number | string",
|
8351
|
-
"kind": "expression"
|
8352
|
-
}
|
8353
|
-
}
|
8354
|
-
]
|
8355
|
-
},
|
8356
|
-
{
|
8357
|
-
"name": "van-sidebar-item",
|
8358
|
-
"slots": [
|
8342
|
+
"name": "left-button",
|
8343
|
+
"description": "自定义左侧滑块按钮(双滑块模式下)"
|
8344
|
+
},
|
8359
8345
|
{
|
8360
|
-
"name": "
|
8361
|
-
"description": "
|
8346
|
+
"name": "right-button",
|
8347
|
+
"description": "自定义右侧滑块按钮(双滑块模式下)"
|
8362
8348
|
}
|
8363
8349
|
],
|
8364
8350
|
"events": [
|
8365
8351
|
{
|
8366
|
-
"name": "
|
8367
|
-
"description": "
|
8352
|
+
"name": "update:model-value",
|
8353
|
+
"description": "进度变化时实时触发"
|
8354
|
+
},
|
8355
|
+
{
|
8356
|
+
"name": "change",
|
8357
|
+
"description": "进度变化且结束拖动后触发"
|
8358
|
+
},
|
8359
|
+
{
|
8360
|
+
"name": "drag-start",
|
8361
|
+
"description": "开始拖动时触发"
|
8362
|
+
},
|
8363
|
+
{
|
8364
|
+
"name": "drag-end",
|
8365
|
+
"description": "结束拖动时触发"
|
8368
8366
|
}
|
8369
8367
|
],
|
8370
8368
|
"attributes": [
|
8371
8369
|
{
|
8372
|
-
"name": "
|
8373
|
-
"default": "`
|
8374
|
-
"description": "
|
8370
|
+
"name": "v-model",
|
8371
|
+
"default": "`0`",
|
8372
|
+
"description": "当前进度百分比,在双滑块模式下为数组格式",
|
8375
8373
|
"options": [],
|
8376
8374
|
"value": {
|
8377
|
-
"type": "
|
8375
|
+
"type": "number | [number, number]",
|
8378
8376
|
"kind": "expression"
|
8379
8377
|
}
|
8380
8378
|
},
|
8381
8379
|
{
|
8382
|
-
"name": "
|
8383
|
-
"default": "`
|
8384
|
-
"description": "
|
8380
|
+
"name": "max",
|
8381
|
+
"default": "`100`",
|
8382
|
+
"description": "最大值",
|
8385
8383
|
"options": [],
|
8386
8384
|
"value": {
|
8387
|
-
"type": "
|
8385
|
+
"type": "number | string",
|
8388
8386
|
"kind": "expression"
|
8389
8387
|
}
|
8390
8388
|
},
|
8391
8389
|
{
|
8392
|
-
"name": "
|
8393
|
-
"default": "
|
8394
|
-
"description": "
|
8390
|
+
"name": "min",
|
8391
|
+
"default": "`0`",
|
8392
|
+
"description": "最小值",
|
8395
8393
|
"options": [],
|
8396
8394
|
"value": {
|
8397
8395
|
"type": "number | string",
|
@@ -8399,78 +8397,59 @@
|
|
8399
8397
|
}
|
8400
8398
|
},
|
8401
8399
|
{
|
8402
|
-
"name": "
|
8403
|
-
"default": "`
|
8404
|
-
"description": "
|
8400
|
+
"name": "step",
|
8401
|
+
"default": "`1`",
|
8402
|
+
"description": "步长",
|
8405
8403
|
"options": [],
|
8406
8404
|
"value": {
|
8407
|
-
"type": "
|
8405
|
+
"type": "number | string",
|
8408
8406
|
"kind": "expression"
|
8409
8407
|
}
|
8410
8408
|
},
|
8411
8409
|
{
|
8412
|
-
"name": "
|
8413
|
-
"default": "
|
8414
|
-
"description": "
|
8410
|
+
"name": "bar-height",
|
8411
|
+
"default": "`2px`",
|
8412
|
+
"description": "进度条高度,默认单位为 `px`",
|
8415
8413
|
"options": [],
|
8416
8414
|
"value": {
|
8417
|
-
"type": "string",
|
8415
|
+
"type": "number | string",
|
8418
8416
|
"kind": "expression"
|
8419
8417
|
}
|
8420
8418
|
},
|
8421
8419
|
{
|
8422
|
-
"name": "
|
8423
|
-
"default": "
|
8424
|
-
"description": "
|
8420
|
+
"name": "button-size",
|
8421
|
+
"default": "`24px`",
|
8422
|
+
"description": "滑块按钮大小,默认单位为 `px`",
|
8425
8423
|
"options": [],
|
8426
8424
|
"value": {
|
8427
|
-
"type": "
|
8425
|
+
"type": "number | string",
|
8428
8426
|
"kind": "expression"
|
8429
8427
|
}
|
8430
8428
|
},
|
8431
8429
|
{
|
8432
|
-
"name": "
|
8433
|
-
"default": "`
|
8434
|
-
"description": "
|
8435
|
-
"options": [],
|
8436
|
-
"value": {
|
8437
|
-
"type": "boolean",
|
8438
|
-
"kind": "expression"
|
8439
|
-
}
|
8440
|
-
}
|
8441
|
-
]
|
8442
|
-
},
|
8443
|
-
{
|
8444
|
-
"name": "van-skeleton",
|
8445
|
-
"slots": [],
|
8446
|
-
"events": [],
|
8447
|
-
"attributes": [
|
8448
|
-
{
|
8449
|
-
"name": "row",
|
8450
|
-
"default": "`0`",
|
8451
|
-
"description": "段落占位图行数",
|
8430
|
+
"name": "active-color",
|
8431
|
+
"default": "`#1989fa`",
|
8432
|
+
"description": "进度条激活态颜色",
|
8452
8433
|
"options": [],
|
8453
8434
|
"value": {
|
8454
|
-
"type": "
|
8435
|
+
"type": "string",
|
8455
8436
|
"kind": "expression"
|
8456
8437
|
}
|
8457
8438
|
},
|
8458
8439
|
{
|
8459
|
-
"name": "
|
8460
|
-
"default": "
|
8461
|
-
"description": "
|
8462
|
-
"options": [
|
8463
|
-
"string)[]_"
|
8464
|
-
],
|
8440
|
+
"name": "inactive-color",
|
8441
|
+
"default": "`#e5e5e5`",
|
8442
|
+
"description": "进度条非激活态颜色",
|
8443
|
+
"options": [],
|
8465
8444
|
"value": {
|
8466
|
-
"type": "
|
8445
|
+
"type": "string",
|
8467
8446
|
"kind": "expression"
|
8468
8447
|
}
|
8469
8448
|
},
|
8470
8449
|
{
|
8471
|
-
"name": "
|
8450
|
+
"name": "range",
|
8472
8451
|
"default": "`false`",
|
8473
|
-
"description": "
|
8452
|
+
"description": "是否开启双滑块模式",
|
8474
8453
|
"options": [],
|
8475
8454
|
"value": {
|
8476
8455
|
"type": "boolean",
|
@@ -8478,19 +8457,18 @@
|
|
8478
8457
|
}
|
8479
8458
|
},
|
8480
8459
|
{
|
8481
|
-
"name": "
|
8482
|
-
"
|
8483
|
-
"description": "是否显示头像占位图",
|
8460
|
+
"name": "reverse",
|
8461
|
+
"description": "是否将进度条反转",
|
8484
8462
|
"options": [],
|
8485
8463
|
"value": {
|
8486
|
-
"type": "
|
8464
|
+
"type": "`false`",
|
8487
8465
|
"kind": "expression"
|
8488
8466
|
}
|
8489
8467
|
},
|
8490
8468
|
{
|
8491
|
-
"name": "
|
8492
|
-
"default": "`
|
8493
|
-
"description": "
|
8469
|
+
"name": "disabled",
|
8470
|
+
"default": "`false`",
|
8471
|
+
"description": "是否禁用滑块",
|
8494
8472
|
"options": [],
|
8495
8473
|
"value": {
|
8496
8474
|
"type": "boolean",
|
@@ -8498,9 +8476,9 @@
|
|
8498
8476
|
}
|
8499
8477
|
},
|
8500
8478
|
{
|
8501
|
-
"name": "
|
8502
|
-
"default": "`
|
8503
|
-
"description": "
|
8479
|
+
"name": "readonly",
|
8480
|
+
"default": "`false`",
|
8481
|
+
"description": "是否为只读状态,只读状态下无法修改滑块的值",
|
8504
8482
|
"options": [],
|
8505
8483
|
"value": {
|
8506
8484
|
"type": "boolean",
|
@@ -8508,96 +8486,78 @@
|
|
8508
8486
|
}
|
8509
8487
|
},
|
8510
8488
|
{
|
8511
|
-
"name": "
|
8489
|
+
"name": "vertical",
|
8512
8490
|
"default": "`false`",
|
8513
|
-
"description": "
|
8491
|
+
"description": "是否垂直展示",
|
8514
8492
|
"options": [],
|
8515
8493
|
"value": {
|
8516
8494
|
"type": "boolean",
|
8517
8495
|
"kind": "expression"
|
8518
8496
|
}
|
8519
|
-
}
|
8497
|
+
}
|
8498
|
+
]
|
8499
|
+
},
|
8500
|
+
{
|
8501
|
+
"name": "van-sidebar",
|
8502
|
+
"slots": [],
|
8503
|
+
"events": [
|
8520
8504
|
{
|
8521
|
-
"name": "
|
8522
|
-
"
|
8523
|
-
|
8524
|
-
|
8525
|
-
|
8526
|
-
"type": "number | string",
|
8527
|
-
"kind": "expression"
|
8528
|
-
}
|
8529
|
-
},
|
8505
|
+
"name": "change",
|
8506
|
+
"description": "切换导航项时触发"
|
8507
|
+
}
|
8508
|
+
],
|
8509
|
+
"attributes": [
|
8530
8510
|
{
|
8531
|
-
"name": "
|
8532
|
-
"default": "`
|
8533
|
-
"description": "
|
8511
|
+
"name": "v-model",
|
8512
|
+
"default": "`0`",
|
8513
|
+
"description": "当前导航项的索引",
|
8534
8514
|
"options": [],
|
8535
8515
|
"value": {
|
8536
8516
|
"type": "number | string",
|
8537
8517
|
"kind": "expression"
|
8538
8518
|
}
|
8539
|
-
},
|
8540
|
-
{
|
8541
|
-
"name": "avatar-shape",
|
8542
|
-
"default": "`round`",
|
8543
|
-
"description": "头像占位图形状,可选值为 `square`",
|
8544
|
-
"options": [],
|
8545
|
-
"value": {
|
8546
|
-
"type": "string",
|
8547
|
-
"kind": "expression"
|
8548
|
-
}
|
8549
8519
|
}
|
8550
8520
|
]
|
8551
8521
|
},
|
8552
8522
|
{
|
8553
|
-
"name": "van-
|
8523
|
+
"name": "van-sidebar-item",
|
8554
8524
|
"slots": [
|
8555
8525
|
{
|
8556
|
-
"name": "
|
8557
|
-
"description": "
|
8558
|
-
},
|
8559
|
-
{
|
8560
|
-
"name": "left-button",
|
8561
|
-
"description": "自定义左侧滑块按钮(双滑块模式下)"
|
8562
|
-
},
|
8563
|
-
{
|
8564
|
-
"name": "right-button",
|
8565
|
-
"description": "自定义右侧滑块按钮(双滑块模式下)"
|
8526
|
+
"name": "title",
|
8527
|
+
"description": "自定义标题"
|
8566
8528
|
}
|
8567
8529
|
],
|
8568
8530
|
"events": [
|
8569
8531
|
{
|
8570
|
-
"name": "
|
8571
|
-
"description": "
|
8572
|
-
},
|
8573
|
-
{
|
8574
|
-
"name": "change",
|
8575
|
-
"description": "进度变化且结束拖动后触发"
|
8576
|
-
},
|
8577
|
-
{
|
8578
|
-
"name": "drag-start",
|
8579
|
-
"description": "开始拖动时触发"
|
8580
|
-
},
|
8581
|
-
{
|
8582
|
-
"name": "drag-end",
|
8583
|
-
"description": "结束拖动时触发"
|
8532
|
+
"name": "click",
|
8533
|
+
"description": "点击时触发"
|
8584
8534
|
}
|
8585
8535
|
],
|
8586
8536
|
"attributes": [
|
8587
8537
|
{
|
8588
|
-
"name": "
|
8589
|
-
"default": "`
|
8590
|
-
"description": "
|
8538
|
+
"name": "title",
|
8539
|
+
"default": "`''`",
|
8540
|
+
"description": "内容",
|
8541
|
+
"options": [],
|
8542
|
+
"value": {
|
8543
|
+
"type": "string",
|
8544
|
+
"kind": "expression"
|
8545
|
+
}
|
8546
|
+
},
|
8547
|
+
{
|
8548
|
+
"name": "dot",
|
8549
|
+
"default": "`false`",
|
8550
|
+
"description": "是否显示右上角小红点",
|
8591
8551
|
"options": [],
|
8592
8552
|
"value": {
|
8593
|
-
"type": "
|
8553
|
+
"type": "boolean",
|
8594
8554
|
"kind": "expression"
|
8595
8555
|
}
|
8596
8556
|
},
|
8597
8557
|
{
|
8598
|
-
"name": "
|
8599
|
-
"default": "
|
8600
|
-
"description": "
|
8558
|
+
"name": "badge",
|
8559
|
+
"default": "-",
|
8560
|
+
"description": "图标右上角徽标的内容",
|
8601
8561
|
"options": [],
|
8602
8562
|
"value": {
|
8603
8563
|
"type": "number | string",
|
@@ -8605,39 +8565,56 @@
|
|
8605
8565
|
}
|
8606
8566
|
},
|
8607
8567
|
{
|
8608
|
-
"name": "
|
8609
|
-
"default": "`
|
8610
|
-
"description": "
|
8568
|
+
"name": "disabled",
|
8569
|
+
"default": "`false`",
|
8570
|
+
"description": "是否禁用该项",
|
8611
8571
|
"options": [],
|
8612
8572
|
"value": {
|
8613
|
-
"type": "
|
8573
|
+
"type": "boolean",
|
8614
8574
|
"kind": "expression"
|
8615
8575
|
}
|
8616
8576
|
},
|
8617
8577
|
{
|
8618
|
-
"name": "
|
8619
|
-
"default": "
|
8620
|
-
"description": "
|
8578
|
+
"name": "url",
|
8579
|
+
"default": "-",
|
8580
|
+
"description": "点击后跳转的链接地址",
|
8621
8581
|
"options": [],
|
8622
8582
|
"value": {
|
8623
|
-
"type": "
|
8583
|
+
"type": "string",
|
8624
8584
|
"kind": "expression"
|
8625
8585
|
}
|
8626
8586
|
},
|
8627
8587
|
{
|
8628
|
-
"name": "
|
8629
|
-
"default": "
|
8630
|
-
"description": "
|
8588
|
+
"name": "to",
|
8589
|
+
"default": "-",
|
8590
|
+
"description": "点击后跳转的目标路由对象,等同于 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to)",
|
8631
8591
|
"options": [],
|
8632
8592
|
"value": {
|
8633
|
-
"type": "
|
8593
|
+
"type": "string | object",
|
8634
8594
|
"kind": "expression"
|
8635
8595
|
}
|
8636
8596
|
},
|
8637
8597
|
{
|
8638
|
-
"name": "
|
8639
|
-
"default": "`
|
8640
|
-
"description": "
|
8598
|
+
"name": "replace",
|
8599
|
+
"default": "`false`",
|
8600
|
+
"description": "是否在跳转时替换当前页面历史",
|
8601
|
+
"options": [],
|
8602
|
+
"value": {
|
8603
|
+
"type": "boolean",
|
8604
|
+
"kind": "expression"
|
8605
|
+
}
|
8606
|
+
}
|
8607
|
+
]
|
8608
|
+
},
|
8609
|
+
{
|
8610
|
+
"name": "van-skeleton",
|
8611
|
+
"slots": [],
|
8612
|
+
"events": [],
|
8613
|
+
"attributes": [
|
8614
|
+
{
|
8615
|
+
"name": "row",
|
8616
|
+
"default": "`0`",
|
8617
|
+
"description": "段落占位图行数",
|
8641
8618
|
"options": [],
|
8642
8619
|
"value": {
|
8643
8620
|
"type": "number | string",
|
@@ -8645,29 +8622,31 @@
|
|
8645
8622
|
}
|
8646
8623
|
},
|
8647
8624
|
{
|
8648
|
-
"name": "
|
8649
|
-
"default": "
|
8650
|
-
"description": "
|
8651
|
-
"options": [
|
8625
|
+
"name": "row-width",
|
8626
|
+
"default": "<br>(number \\",
|
8627
|
+
"description": "段落占位图宽度,可传数组来设置每一行的宽度",
|
8628
|
+
"options": [
|
8629
|
+
"string)[]_"
|
8630
|
+
],
|
8652
8631
|
"value": {
|
8653
|
-
"type": "string",
|
8632
|
+
"type": "number | string \\",
|
8654
8633
|
"kind": "expression"
|
8655
8634
|
}
|
8656
8635
|
},
|
8657
8636
|
{
|
8658
|
-
"name": "
|
8659
|
-
"default": "
|
8660
|
-
"description": "
|
8637
|
+
"name": "title",
|
8638
|
+
"default": "`false`",
|
8639
|
+
"description": "是否显示标题占位图",
|
8661
8640
|
"options": [],
|
8662
8641
|
"value": {
|
8663
|
-
"type": "
|
8642
|
+
"type": "boolean",
|
8664
8643
|
"kind": "expression"
|
8665
8644
|
}
|
8666
8645
|
},
|
8667
8646
|
{
|
8668
|
-
"name": "
|
8647
|
+
"name": "avatar",
|
8669
8648
|
"default": "`false`",
|
8670
|
-
"description": "
|
8649
|
+
"description": "是否显示头像占位图",
|
8671
8650
|
"options": [],
|
8672
8651
|
"value": {
|
8673
8652
|
"type": "boolean",
|
@@ -8675,18 +8654,19 @@
|
|
8675
8654
|
}
|
8676
8655
|
},
|
8677
8656
|
{
|
8678
|
-
"name": "
|
8679
|
-
"
|
8657
|
+
"name": "loading",
|
8658
|
+
"default": "`true`",
|
8659
|
+
"description": "是否显示骨架屏,传 `false` 时会展示子组件内容",
|
8680
8660
|
"options": [],
|
8681
8661
|
"value": {
|
8682
|
-
"type": "
|
8662
|
+
"type": "boolean",
|
8683
8663
|
"kind": "expression"
|
8684
8664
|
}
|
8685
8665
|
},
|
8686
8666
|
{
|
8687
|
-
"name": "
|
8688
|
-
"default": "`
|
8689
|
-
"description": "
|
8667
|
+
"name": "animate",
|
8668
|
+
"default": "`true`",
|
8669
|
+
"description": "是否开启动画",
|
8690
8670
|
"options": [],
|
8691
8671
|
"value": {
|
8692
8672
|
"type": "boolean",
|
@@ -8694,9 +8674,9 @@
|
|
8694
8674
|
}
|
8695
8675
|
},
|
8696
8676
|
{
|
8697
|
-
"name": "
|
8677
|
+
"name": "round",
|
8698
8678
|
"default": "`false`",
|
8699
|
-
"description": "
|
8679
|
+
"description": "是否将标题和段落显示为圆角风格",
|
8700
8680
|
"options": [],
|
8701
8681
|
"value": {
|
8702
8682
|
"type": "boolean",
|
@@ -8704,12 +8684,32 @@
|
|
8704
8684
|
}
|
8705
8685
|
},
|
8706
8686
|
{
|
8707
|
-
"name": "
|
8708
|
-
"default": "`
|
8709
|
-
"description": "
|
8687
|
+
"name": "title-width",
|
8688
|
+
"default": "`40%`",
|
8689
|
+
"description": "标题占位图宽度",
|
8710
8690
|
"options": [],
|
8711
8691
|
"value": {
|
8712
|
-
"type": "
|
8692
|
+
"type": "number | string",
|
8693
|
+
"kind": "expression"
|
8694
|
+
}
|
8695
|
+
},
|
8696
|
+
{
|
8697
|
+
"name": "avatar-size",
|
8698
|
+
"default": "`32px`",
|
8699
|
+
"description": "头像占位图大小",
|
8700
|
+
"options": [],
|
8701
|
+
"value": {
|
8702
|
+
"type": "number | string",
|
8703
|
+
"kind": "expression"
|
8704
|
+
}
|
8705
|
+
},
|
8706
|
+
{
|
8707
|
+
"name": "avatar-shape",
|
8708
|
+
"default": "`round`",
|
8709
|
+
"description": "头像占位图形状,可选值为 `square`",
|
8710
|
+
"options": [],
|
8711
|
+
"value": {
|
8712
|
+
"type": "string",
|
8713
8713
|
"kind": "expression"
|
8714
8714
|
}
|
8715
8715
|
}
|
@@ -8969,6 +8969,72 @@
|
|
8969
8969
|
}
|
8970
8970
|
]
|
8971
8971
|
},
|
8972
|
+
{
|
8973
|
+
"name": "van-sticky",
|
8974
|
+
"slots": [],
|
8975
|
+
"events": [
|
8976
|
+
{
|
8977
|
+
"name": "change",
|
8978
|
+
"description": "当吸顶状态改变时触发"
|
8979
|
+
},
|
8980
|
+
{
|
8981
|
+
"name": "scroll",
|
8982
|
+
"description": "滚动时触发"
|
8983
|
+
}
|
8984
|
+
],
|
8985
|
+
"attributes": [
|
8986
|
+
{
|
8987
|
+
"name": "position",
|
8988
|
+
"default": "`top`",
|
8989
|
+
"description": "吸附位置,可选值为 `bottom`",
|
8990
|
+
"options": [],
|
8991
|
+
"value": {
|
8992
|
+
"type": "string",
|
8993
|
+
"kind": "expression"
|
8994
|
+
}
|
8995
|
+
},
|
8996
|
+
{
|
8997
|
+
"name": "offset-top",
|
8998
|
+
"default": "`0`",
|
8999
|
+
"description": "吸顶时与顶部的距离,支持 `px` `vw` `vh` `rem` 单位,默认 `px`",
|
9000
|
+
"options": [],
|
9001
|
+
"value": {
|
9002
|
+
"type": "number | string",
|
9003
|
+
"kind": "expression"
|
9004
|
+
}
|
9005
|
+
},
|
9006
|
+
{
|
9007
|
+
"name": "offset-bottom",
|
9008
|
+
"default": "`0`",
|
9009
|
+
"description": "吸底时与底部的距离,支持 `px` `vw` `vh` `rem` 单位,默认 `px`",
|
9010
|
+
"options": [],
|
9011
|
+
"value": {
|
9012
|
+
"type": "number | string",
|
9013
|
+
"kind": "expression"
|
9014
|
+
}
|
9015
|
+
},
|
9016
|
+
{
|
9017
|
+
"name": "z-index",
|
9018
|
+
"default": "`99`",
|
9019
|
+
"description": "吸顶时的 z-index",
|
9020
|
+
"options": [],
|
9021
|
+
"value": {
|
9022
|
+
"type": "number | string",
|
9023
|
+
"kind": "expression"
|
9024
|
+
}
|
9025
|
+
},
|
9026
|
+
{
|
9027
|
+
"name": "container",
|
9028
|
+
"default": "-",
|
9029
|
+
"description": "容器对应的 HTML 节点",
|
9030
|
+
"options": [],
|
9031
|
+
"value": {
|
9032
|
+
"type": "Element",
|
9033
|
+
"kind": "expression"
|
9034
|
+
}
|
9035
|
+
}
|
9036
|
+
]
|
9037
|
+
},
|
8972
9038
|
{
|
8973
9039
|
"name": "van-steps",
|
8974
9040
|
"slots": [],
|
@@ -9084,72 +9150,6 @@
|
|
9084
9150
|
"events": [],
|
9085
9151
|
"attributes": []
|
9086
9152
|
},
|
9087
|
-
{
|
9088
|
-
"name": "van-sticky",
|
9089
|
-
"slots": [],
|
9090
|
-
"events": [
|
9091
|
-
{
|
9092
|
-
"name": "change",
|
9093
|
-
"description": "当吸顶状态改变时触发"
|
9094
|
-
},
|
9095
|
-
{
|
9096
|
-
"name": "scroll",
|
9097
|
-
"description": "滚动时触发"
|
9098
|
-
}
|
9099
|
-
],
|
9100
|
-
"attributes": [
|
9101
|
-
{
|
9102
|
-
"name": "position",
|
9103
|
-
"default": "`top`",
|
9104
|
-
"description": "吸附位置,可选值为 `bottom`",
|
9105
|
-
"options": [],
|
9106
|
-
"value": {
|
9107
|
-
"type": "string",
|
9108
|
-
"kind": "expression"
|
9109
|
-
}
|
9110
|
-
},
|
9111
|
-
{
|
9112
|
-
"name": "offset-top",
|
9113
|
-
"default": "`0`",
|
9114
|
-
"description": "吸顶时与顶部的距离,支持 `px` `vw` `vh` `rem` 单位,默认 `px`",
|
9115
|
-
"options": [],
|
9116
|
-
"value": {
|
9117
|
-
"type": "number | string",
|
9118
|
-
"kind": "expression"
|
9119
|
-
}
|
9120
|
-
},
|
9121
|
-
{
|
9122
|
-
"name": "offset-bottom",
|
9123
|
-
"default": "`0`",
|
9124
|
-
"description": "吸底时与底部的距离,支持 `px` `vw` `vh` `rem` 单位,默认 `px`",
|
9125
|
-
"options": [],
|
9126
|
-
"value": {
|
9127
|
-
"type": "number | string",
|
9128
|
-
"kind": "expression"
|
9129
|
-
}
|
9130
|
-
},
|
9131
|
-
{
|
9132
|
-
"name": "z-index",
|
9133
|
-
"default": "`99`",
|
9134
|
-
"description": "吸顶时的 z-index",
|
9135
|
-
"options": [],
|
9136
|
-
"value": {
|
9137
|
-
"type": "number | string",
|
9138
|
-
"kind": "expression"
|
9139
|
-
}
|
9140
|
-
},
|
9141
|
-
{
|
9142
|
-
"name": "container",
|
9143
|
-
"default": "-",
|
9144
|
-
"description": "容器对应的 HTML 节点",
|
9145
|
-
"options": [],
|
9146
|
-
"value": {
|
9147
|
-
"type": "Element",
|
9148
|
-
"kind": "expression"
|
9149
|
-
}
|
9150
|
-
}
|
9151
|
-
]
|
9152
|
-
},
|
9153
9153
|
{
|
9154
9154
|
"name": "van-submit-bar",
|
9155
9155
|
"slots": [
|