vant 2.12.32 → 2.12.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,7 +2,7 @@
2
2
  "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
3
  "framework": "vue",
4
4
  "name": "vant",
5
- "version": "2.12.32",
5
+ "version": "2.12.33",
6
6
  "contributions": {
7
7
  "html": {
8
8
  "tags": [
@@ -204,6 +204,253 @@
204
204
  }
205
205
  ]
206
206
  },
207
+ {
208
+ "name": "van-address-edit",
209
+ "slots": [
210
+ {
211
+ "name": "default",
212
+ "description": "在邮政编码下方插入内容"
213
+ }
214
+ ],
215
+ "events": [
216
+ {
217
+ "name": "save",
218
+ "description": "点击保存按钮时触发"
219
+ },
220
+ {
221
+ "name": "focus",
222
+ "description": "输入框聚焦时触发"
223
+ },
224
+ {
225
+ "name": "delete",
226
+ "description": "确认删除地址时触发"
227
+ },
228
+ {
229
+ "name": "cancel-delete",
230
+ "description": "取消删除地址时触发"
231
+ },
232
+ {
233
+ "name": "select-search",
234
+ "description": "选中搜索结果时触发"
235
+ },
236
+ {
237
+ "name": "click-area",
238
+ "description": "点击收件地区时触发"
239
+ },
240
+ {
241
+ "name": "change-area",
242
+ "description": "修改收件地区时触发"
243
+ },
244
+ {
245
+ "name": "change-detail",
246
+ "description": "修改详细地址时触发"
247
+ },
248
+ {
249
+ "name": "change-default",
250
+ "description": "切换是否使用默认地址时触发"
251
+ }
252
+ ],
253
+ "attributes": [
254
+ {
255
+ "name": "area-list",
256
+ "default": "-",
257
+ "description": "地区列表",
258
+ "value": {
259
+ "type": "object",
260
+ "kind": "expression"
261
+ }
262
+ },
263
+ {
264
+ "name": "area-columns-placeholder",
265
+ "default": "`[]`",
266
+ "description": "地区选择列占位提示文字",
267
+ "value": {
268
+ "type": "string[]",
269
+ "kind": "expression"
270
+ }
271
+ },
272
+ {
273
+ "name": "area-placeholder",
274
+ "default": "`选择省 / 市 / 区`",
275
+ "description": "地区输入框占位提示文字",
276
+ "value": {
277
+ "type": "string",
278
+ "kind": "expression"
279
+ }
280
+ },
281
+ {
282
+ "name": "address-info",
283
+ "default": "`{}`",
284
+ "description": "收货人信息初始值",
285
+ "value": {
286
+ "type": "AddressInfo",
287
+ "kind": "expression"
288
+ }
289
+ },
290
+ {
291
+ "name": "search-result",
292
+ "default": "`[]`",
293
+ "description": "详细地址搜索结果",
294
+ "value": {
295
+ "type": "SearchResult[]",
296
+ "kind": "expression"
297
+ }
298
+ },
299
+ {
300
+ "name": "show-postal",
301
+ "default": "`false`",
302
+ "description": "是否显示邮政编码",
303
+ "value": {
304
+ "type": "boolean",
305
+ "kind": "expression"
306
+ }
307
+ },
308
+ {
309
+ "name": "show-delete",
310
+ "default": "`false`",
311
+ "description": "是否显示删除按钮",
312
+ "value": {
313
+ "type": "boolean",
314
+ "kind": "expression"
315
+ }
316
+ },
317
+ {
318
+ "name": "show-set-default",
319
+ "default": "`false`",
320
+ "description": "是否显示默认地址栏",
321
+ "value": {
322
+ "type": "boolean",
323
+ "kind": "expression"
324
+ }
325
+ },
326
+ {
327
+ "name": "show-search-result",
328
+ "default": "`false`",
329
+ "description": "是否显示搜索结果",
330
+ "value": {
331
+ "type": "boolean",
332
+ "kind": "expression"
333
+ }
334
+ },
335
+ {
336
+ "name": "show-area",
337
+ "default": "`true`",
338
+ "description": "是否显示地区",
339
+ "value": {
340
+ "type": "boolean",
341
+ "kind": "expression"
342
+ }
343
+ },
344
+ {
345
+ "name": "show-detail",
346
+ "default": "`true`",
347
+ "description": "是否显示详细地址",
348
+ "value": {
349
+ "type": "boolean",
350
+ "kind": "expression"
351
+ }
352
+ },
353
+ {
354
+ "name": "disable-area",
355
+ "default": "`false`",
356
+ "description": "是否禁用地区选择",
357
+ "value": {
358
+ "type": "boolean",
359
+ "kind": "expression"
360
+ }
361
+ },
362
+ {
363
+ "name": "save-button-text",
364
+ "default": "`保存`",
365
+ "description": "保存按钮文字",
366
+ "value": {
367
+ "type": "string",
368
+ "kind": "expression"
369
+ }
370
+ },
371
+ {
372
+ "name": "delete-button-text",
373
+ "default": "`删除`",
374
+ "description": "删除按钮文字",
375
+ "value": {
376
+ "type": "string",
377
+ "kind": "expression"
378
+ }
379
+ },
380
+ {
381
+ "name": "detail-rows",
382
+ "default": "`1`",
383
+ "description": "详细地址输入框行数",
384
+ "value": {
385
+ "type": "number | string",
386
+ "kind": "expression"
387
+ }
388
+ },
389
+ {
390
+ "name": "detail-maxlength",
391
+ "default": "`200`",
392
+ "description": "详细地址最大长度",
393
+ "value": {
394
+ "type": "number | string",
395
+ "kind": "expression"
396
+ }
397
+ },
398
+ {
399
+ "name": "is-saving",
400
+ "default": "`false`",
401
+ "description": "是否显示保存按钮加载动画",
402
+ "value": {
403
+ "type": "boolean",
404
+ "kind": "expression"
405
+ }
406
+ },
407
+ {
408
+ "name": "is-deleting",
409
+ "default": "`false`",
410
+ "description": "是否显示删除按钮加载动画",
411
+ "value": {
412
+ "type": "boolean",
413
+ "kind": "expression"
414
+ }
415
+ },
416
+ {
417
+ "name": "tel-validator",
418
+ "default": "-",
419
+ "description": "手机号格式校验函数",
420
+ "value": {
421
+ "type": "string => boolean",
422
+ "kind": "expression"
423
+ }
424
+ },
425
+ {
426
+ "name": "tel-maxlength",
427
+ "default": "-",
428
+ "description": "手机号最大长度",
429
+ "value": {
430
+ "type": "number | string",
431
+ "kind": "expression"
432
+ }
433
+ },
434
+ {
435
+ "name": "postal-validator",
436
+ "default": "-",
437
+ "description": "邮政编码格式校验函数",
438
+ "value": {
439
+ "type": "string => boolean",
440
+ "kind": "expression"
441
+ }
442
+ },
443
+ {
444
+ "name": "validator",
445
+ "default": "-",
446
+ "description": "自定义校验函数",
447
+ "value": {
448
+ "type": "(key, val) => string",
449
+ "kind": "expression"
450
+ }
451
+ }
452
+ ]
453
+ },
207
454
  {
208
455
  "name": "van-area",
209
456
  "slots": [
@@ -694,16 +941,68 @@
694
941
  ]
695
942
  },
696
943
  {
697
- "name": "van-calendar",
944
+ "name": "van-badge",
698
945
  "slots": [
699
946
  {
700
- "name": "title",
701
- "description": "自定义标题"
947
+ "name": "default",
948
+ "description": "徽标包裹的子元素"
702
949
  },
703
950
  {
704
- "name": "footer",
705
- "description": "自定义底部区域内容"
706
- },
951
+ "name": "content",
952
+ "description": "自定义徽标内容"
953
+ }
954
+ ],
955
+ "events": [],
956
+ "attributes": [
957
+ {
958
+ "name": "content",
959
+ "default": "-",
960
+ "description": "徽标内容",
961
+ "value": {
962
+ "type": "number | string",
963
+ "kind": "expression"
964
+ }
965
+ },
966
+ {
967
+ "name": "color",
968
+ "default": "`#ee0a24`",
969
+ "description": "徽标背景颜色",
970
+ "value": {
971
+ "type": "string",
972
+ "kind": "expression"
973
+ }
974
+ },
975
+ {
976
+ "name": "dot",
977
+ "default": "`false`",
978
+ "description": "是否展示为小红点",
979
+ "value": {
980
+ "type": "boolean",
981
+ "kind": "expression"
982
+ }
983
+ },
984
+ {
985
+ "name": "max",
986
+ "default": "-",
987
+ "description": "最大值,超过最大值会显示 `{max}+`,仅当 content 为数字时有效",
988
+ "value": {
989
+ "type": "number | string",
990
+ "kind": "expression"
991
+ }
992
+ }
993
+ ]
994
+ },
995
+ {
996
+ "name": "van-calendar",
997
+ "slots": [
998
+ {
999
+ "name": "title",
1000
+ "description": "自定义标题"
1001
+ },
1002
+ {
1003
+ "name": "footer",
1004
+ "description": "自定义底部区域内容"
1005
+ },
707
1006
  {
708
1007
  "name": "top-info",
709
1008
  "description": "自定义日期上方的提示信息"
@@ -1041,58 +1340,6 @@
1041
1340
  }
1042
1341
  ]
1043
1342
  },
1044
- {
1045
- "name": "van-badge",
1046
- "slots": [
1047
- {
1048
- "name": "default",
1049
- "description": "徽标包裹的子元素"
1050
- },
1051
- {
1052
- "name": "content",
1053
- "description": "自定义徽标内容"
1054
- }
1055
- ],
1056
- "events": [],
1057
- "attributes": [
1058
- {
1059
- "name": "content",
1060
- "default": "-",
1061
- "description": "徽标内容",
1062
- "value": {
1063
- "type": "number | string",
1064
- "kind": "expression"
1065
- }
1066
- },
1067
- {
1068
- "name": "color",
1069
- "default": "`#ee0a24`",
1070
- "description": "徽标背景颜色",
1071
- "value": {
1072
- "type": "string",
1073
- "kind": "expression"
1074
- }
1075
- },
1076
- {
1077
- "name": "dot",
1078
- "default": "`false`",
1079
- "description": "是否展示为小红点",
1080
- "value": {
1081
- "type": "boolean",
1082
- "kind": "expression"
1083
- }
1084
- },
1085
- {
1086
- "name": "max",
1087
- "default": "-",
1088
- "description": "最大值,超过最大值会显示 `{max}+`,仅当 content 为数字时有效",
1089
- "value": {
1090
- "type": "number | string",
1091
- "kind": "expression"
1092
- }
1093
- }
1094
- ]
1095
- },
1096
1343
  {
1097
1344
  "name": "van-card",
1098
1345
  "slots": [
@@ -1130,371 +1377,124 @@
1130
1377
  },
1131
1378
  {
1132
1379
  "name": "tag",
1133
- "description": "自定义图片角标"
1134
- },
1135
- {
1136
- "name": "tags",
1137
- "description": "自定义描述下方标签区域"
1138
- },
1139
- {
1140
- "name": "footer",
1141
- "description": "自定义右下角内容"
1142
- }
1143
- ],
1144
- "events": [
1145
- {
1146
- "name": "click",
1147
- "description": "点击时触发"
1148
- },
1149
- {
1150
- "name": "click-thumb",
1151
- "description": "点击自定义图片时触发"
1152
- }
1153
- ],
1154
- "attributes": [
1155
- {
1156
- "name": "thumb",
1157
- "default": "-",
1158
- "description": "左侧图片 URL",
1159
- "value": {
1160
- "type": "string",
1161
- "kind": "expression"
1162
- }
1163
- },
1164
- {
1165
- "name": "title",
1166
- "default": "-",
1167
- "description": "标题",
1168
- "value": {
1169
- "type": "string",
1170
- "kind": "expression"
1171
- }
1172
- },
1173
- {
1174
- "name": "desc",
1175
- "default": "-",
1176
- "description": "描述",
1177
- "value": {
1178
- "type": "string",
1179
- "kind": "expression"
1180
- }
1181
- },
1182
- {
1183
- "name": "tag",
1184
- "default": "-",
1185
- "description": "图片角标",
1186
- "value": {
1187
- "type": "string",
1188
- "kind": "expression"
1189
- }
1190
- },
1191
- {
1192
- "name": "num",
1193
- "default": "-",
1194
- "description": "商品数量",
1195
- "value": {
1196
- "type": "number | string",
1197
- "kind": "expression"
1198
- }
1199
- },
1200
- {
1201
- "name": "price",
1202
- "default": "-",
1203
- "description": "商品价格",
1204
- "value": {
1205
- "type": "number | string",
1206
- "kind": "expression"
1207
- }
1208
- },
1209
- {
1210
- "name": "origin-price",
1211
- "default": "-",
1212
- "description": "商品划线原价",
1213
- "value": {
1214
- "type": "number | string",
1215
- "kind": "expression"
1216
- }
1217
- },
1218
- {
1219
- "name": "centered",
1220
- "default": "`false`",
1221
- "description": "内容是否垂直居中",
1222
- "value": {
1223
- "type": "boolean",
1224
- "kind": "expression"
1225
- }
1226
- },
1227
- {
1228
- "name": "currency",
1229
- "default": "`¥`",
1230
- "description": "货币符号",
1231
- "value": {
1232
- "type": "string",
1233
- "kind": "expression"
1234
- }
1235
- },
1236
- {
1237
- "name": "thumb-link",
1238
- "default": "-",
1239
- "description": "点击左侧图片后跳转的链接地址",
1240
- "value": {
1241
- "type": "string",
1242
- "kind": "expression"
1243
- }
1244
- },
1245
- {
1246
- "name": "lazy-load",
1247
- "default": "`false`",
1248
- "description": "是否开启图片懒加载,须配合 [Lazyload](#/zh-CN/lazyload) 组件使用",
1249
- "value": {
1250
- "type": "boolean",
1251
- "kind": "expression"
1252
- }
1253
- }
1254
- ]
1255
- },
1256
- {
1257
- "name": "van-address-edit",
1258
- "slots": [
1259
- {
1260
- "name": "default",
1261
- "description": "在邮政编码下方插入内容"
1262
- }
1263
- ],
1264
- "events": [
1265
- {
1266
- "name": "save",
1267
- "description": "点击保存按钮时触发"
1268
- },
1269
- {
1270
- "name": "focus",
1271
- "description": "输入框聚焦时触发"
1272
- },
1273
- {
1274
- "name": "delete",
1275
- "description": "确认删除地址时触发"
1276
- },
1277
- {
1278
- "name": "cancel-delete",
1279
- "description": "取消删除地址时触发"
1280
- },
1281
- {
1282
- "name": "select-search",
1283
- "description": "选中搜索结果时触发"
1284
- },
1285
- {
1286
- "name": "click-area",
1287
- "description": "点击收件地区时触发"
1288
- },
1289
- {
1290
- "name": "change-area",
1291
- "description": "修改收件地区时触发"
1292
- },
1293
- {
1294
- "name": "change-detail",
1295
- "description": "修改详细地址时触发"
1296
- },
1297
- {
1298
- "name": "change-default",
1299
- "description": "切换是否使用默认地址时触发"
1300
- }
1301
- ],
1302
- "attributes": [
1303
- {
1304
- "name": "area-list",
1305
- "default": "-",
1306
- "description": "地区列表",
1307
- "value": {
1308
- "type": "object",
1309
- "kind": "expression"
1310
- }
1311
- },
1312
- {
1313
- "name": "area-columns-placeholder",
1314
- "default": "`[]`",
1315
- "description": "地区选择列占位提示文字",
1316
- "value": {
1317
- "type": "string[]",
1318
- "kind": "expression"
1319
- }
1320
- },
1321
- {
1322
- "name": "area-placeholder",
1323
- "default": "`选择省 / 市 / 区`",
1324
- "description": "地区输入框占位提示文字",
1325
- "value": {
1326
- "type": "string",
1327
- "kind": "expression"
1328
- }
1329
- },
1330
- {
1331
- "name": "address-info",
1332
- "default": "`{}`",
1333
- "description": "收货人信息初始值",
1334
- "value": {
1335
- "type": "AddressInfo",
1336
- "kind": "expression"
1337
- }
1338
- },
1339
- {
1340
- "name": "search-result",
1341
- "default": "`[]`",
1342
- "description": "详细地址搜索结果",
1343
- "value": {
1344
- "type": "SearchResult[]",
1345
- "kind": "expression"
1346
- }
1347
- },
1348
- {
1349
- "name": "show-postal",
1350
- "default": "`false`",
1351
- "description": "是否显示邮政编码",
1352
- "value": {
1353
- "type": "boolean",
1354
- "kind": "expression"
1355
- }
1356
- },
1357
- {
1358
- "name": "show-delete",
1359
- "default": "`false`",
1360
- "description": "是否显示删除按钮",
1361
- "value": {
1362
- "type": "boolean",
1363
- "kind": "expression"
1364
- }
1365
- },
1366
- {
1367
- "name": "show-set-default",
1368
- "default": "`false`",
1369
- "description": "是否显示默认地址栏",
1370
- "value": {
1371
- "type": "boolean",
1372
- "kind": "expression"
1373
- }
1380
+ "description": "自定义图片角标"
1374
1381
  },
1375
1382
  {
1376
- "name": "show-search-result",
1377
- "default": "`false`",
1378
- "description": "是否显示搜索结果",
1379
- "value": {
1380
- "type": "boolean",
1381
- "kind": "expression"
1382
- }
1383
+ "name": "tags",
1384
+ "description": "自定义描述下方标签区域"
1383
1385
  },
1384
1386
  {
1385
- "name": "show-area",
1386
- "default": "`true`",
1387
- "description": "是否显示地区",
1388
- "value": {
1389
- "type": "boolean",
1390
- "kind": "expression"
1391
- }
1387
+ "name": "footer",
1388
+ "description": "自定义右下角内容"
1389
+ }
1390
+ ],
1391
+ "events": [
1392
+ {
1393
+ "name": "click",
1394
+ "description": "点击时触发"
1392
1395
  },
1393
1396
  {
1394
- "name": "show-detail",
1395
- "default": "`true`",
1396
- "description": "是否显示详细地址",
1397
+ "name": "click-thumb",
1398
+ "description": "点击自定义图片时触发"
1399
+ }
1400
+ ],
1401
+ "attributes": [
1402
+ {
1403
+ "name": "thumb",
1404
+ "default": "-",
1405
+ "description": "左侧图片 URL",
1397
1406
  "value": {
1398
- "type": "boolean",
1407
+ "type": "string",
1399
1408
  "kind": "expression"
1400
1409
  }
1401
1410
  },
1402
1411
  {
1403
- "name": "disable-area",
1404
- "default": "`false`",
1405
- "description": "是否禁用地区选择",
1412
+ "name": "title",
1413
+ "default": "-",
1414
+ "description": "标题",
1406
1415
  "value": {
1407
- "type": "boolean",
1416
+ "type": "string",
1408
1417
  "kind": "expression"
1409
1418
  }
1410
1419
  },
1411
1420
  {
1412
- "name": "save-button-text",
1413
- "default": "`保存`",
1414
- "description": "保存按钮文字",
1421
+ "name": "desc",
1422
+ "default": "-",
1423
+ "description": "描述",
1415
1424
  "value": {
1416
1425
  "type": "string",
1417
1426
  "kind": "expression"
1418
1427
  }
1419
1428
  },
1420
1429
  {
1421
- "name": "delete-button-text",
1422
- "default": "`删除`",
1423
- "description": "删除按钮文字",
1430
+ "name": "tag",
1431
+ "default": "-",
1432
+ "description": "图片角标",
1424
1433
  "value": {
1425
1434
  "type": "string",
1426
1435
  "kind": "expression"
1427
1436
  }
1428
1437
  },
1429
1438
  {
1430
- "name": "detail-rows",
1431
- "default": "`1`",
1432
- "description": "详细地址输入框行数",
1439
+ "name": "num",
1440
+ "default": "-",
1441
+ "description": "商品数量",
1433
1442
  "value": {
1434
1443
  "type": "number | string",
1435
1444
  "kind": "expression"
1436
1445
  }
1437
1446
  },
1438
1447
  {
1439
- "name": "detail-maxlength",
1440
- "default": "`200`",
1441
- "description": "详细地址最大长度",
1448
+ "name": "price",
1449
+ "default": "-",
1450
+ "description": "商品价格",
1442
1451
  "value": {
1443
1452
  "type": "number | string",
1444
1453
  "kind": "expression"
1445
1454
  }
1446
1455
  },
1447
1456
  {
1448
- "name": "is-saving",
1449
- "default": "`false`",
1450
- "description": "是否显示保存按钮加载动画",
1457
+ "name": "origin-price",
1458
+ "default": "-",
1459
+ "description": "商品划线原价",
1451
1460
  "value": {
1452
- "type": "boolean",
1461
+ "type": "number | string",
1453
1462
  "kind": "expression"
1454
1463
  }
1455
1464
  },
1456
1465
  {
1457
- "name": "is-deleting",
1466
+ "name": "centered",
1458
1467
  "default": "`false`",
1459
- "description": "是否显示删除按钮加载动画",
1468
+ "description": "内容是否垂直居中",
1460
1469
  "value": {
1461
1470
  "type": "boolean",
1462
1471
  "kind": "expression"
1463
1472
  }
1464
1473
  },
1465
1474
  {
1466
- "name": "tel-validator",
1467
- "default": "-",
1468
- "description": "手机号格式校验函数",
1469
- "value": {
1470
- "type": "string => boolean",
1471
- "kind": "expression"
1472
- }
1473
- },
1474
- {
1475
- "name": "tel-maxlength",
1476
- "default": "-",
1477
- "description": "手机号最大长度",
1475
+ "name": "currency",
1476
+ "default": "`¥`",
1477
+ "description": "货币符号",
1478
1478
  "value": {
1479
- "type": "number | string",
1479
+ "type": "string",
1480
1480
  "kind": "expression"
1481
1481
  }
1482
1482
  },
1483
1483
  {
1484
- "name": "postal-validator",
1484
+ "name": "thumb-link",
1485
1485
  "default": "-",
1486
- "description": "邮政编码格式校验函数",
1486
+ "description": "点击左侧图片后跳转的链接地址",
1487
1487
  "value": {
1488
- "type": "string => boolean",
1488
+ "type": "string",
1489
1489
  "kind": "expression"
1490
1490
  }
1491
1491
  },
1492
1492
  {
1493
- "name": "validator",
1494
- "default": "-",
1495
- "description": "自定义校验函数",
1493
+ "name": "lazy-load",
1494
+ "default": "`false`",
1495
+ "description": "是否开启图片懒加载,须配合 [Lazyload](#/zh-CN/lazyload) 组件使用",
1496
1496
  "value": {
1497
- "type": "(key, val) => string",
1497
+ "type": "boolean",
1498
1498
  "kind": "expression"
1499
1499
  }
1500
1500
  }
@@ -5425,77 +5425,6 @@
5425
5425
  }
5426
5426
  ]
5427
5427
  },
5428
- {
5429
- "name": "van-overlay",
5430
- "slots": [
5431
- {
5432
- "name": "default",
5433
- "description": "默认插槽,用于在遮罩层上方嵌入内容"
5434
- }
5435
- ],
5436
- "events": [
5437
- {
5438
- "name": "click",
5439
- "description": "点击时触发"
5440
- }
5441
- ],
5442
- "attributes": [
5443
- {
5444
- "name": "show",
5445
- "default": "`false`",
5446
- "description": "是否展示遮罩层",
5447
- "value": {
5448
- "type": "boolean",
5449
- "kind": "expression"
5450
- }
5451
- },
5452
- {
5453
- "name": "z-index",
5454
- "default": "`1`",
5455
- "description": "z-index 层级",
5456
- "value": {
5457
- "type": "number | string",
5458
- "kind": "expression"
5459
- }
5460
- },
5461
- {
5462
- "name": "duration",
5463
- "default": "`0.3`",
5464
- "description": "动画时长,单位秒",
5465
- "value": {
5466
- "type": "number | string",
5467
- "kind": "expression"
5468
- }
5469
- },
5470
- {
5471
- "name": "class-name",
5472
- "default": "-",
5473
- "description": "自定义类名",
5474
- "value": {
5475
- "type": "string",
5476
- "kind": "expression"
5477
- }
5478
- },
5479
- {
5480
- "name": "custom-style",
5481
- "default": "-",
5482
- "description": "自定义样式",
5483
- "value": {
5484
- "type": "object",
5485
- "kind": "expression"
5486
- }
5487
- },
5488
- {
5489
- "name": "lock-scroll",
5490
- "default": "`true`",
5491
- "description": "是否锁定背景滚动,锁定时蒙层里的内容也将无法滚动",
5492
- "value": {
5493
- "type": "boolean",
5494
- "kind": "expression"
5495
- }
5496
- }
5497
- ]
5498
- },
5499
5428
  {
5500
5429
  "name": "van-number-keyboard",
5501
5430
  "slots": [
@@ -5685,6 +5614,77 @@
5685
5614
  }
5686
5615
  ]
5687
5616
  },
5617
+ {
5618
+ "name": "van-overlay",
5619
+ "slots": [
5620
+ {
5621
+ "name": "default",
5622
+ "description": "默认插槽,用于在遮罩层上方嵌入内容"
5623
+ }
5624
+ ],
5625
+ "events": [
5626
+ {
5627
+ "name": "click",
5628
+ "description": "点击时触发"
5629
+ }
5630
+ ],
5631
+ "attributes": [
5632
+ {
5633
+ "name": "show",
5634
+ "default": "`false`",
5635
+ "description": "是否展示遮罩层",
5636
+ "value": {
5637
+ "type": "boolean",
5638
+ "kind": "expression"
5639
+ }
5640
+ },
5641
+ {
5642
+ "name": "z-index",
5643
+ "default": "`1`",
5644
+ "description": "z-index 层级",
5645
+ "value": {
5646
+ "type": "number | string",
5647
+ "kind": "expression"
5648
+ }
5649
+ },
5650
+ {
5651
+ "name": "duration",
5652
+ "default": "`0.3`",
5653
+ "description": "动画时长,单位秒",
5654
+ "value": {
5655
+ "type": "number | string",
5656
+ "kind": "expression"
5657
+ }
5658
+ },
5659
+ {
5660
+ "name": "class-name",
5661
+ "default": "-",
5662
+ "description": "自定义类名",
5663
+ "value": {
5664
+ "type": "string",
5665
+ "kind": "expression"
5666
+ }
5667
+ },
5668
+ {
5669
+ "name": "custom-style",
5670
+ "default": "-",
5671
+ "description": "自定义样式",
5672
+ "value": {
5673
+ "type": "object",
5674
+ "kind": "expression"
5675
+ }
5676
+ },
5677
+ {
5678
+ "name": "lock-scroll",
5679
+ "default": "`true`",
5680
+ "description": "是否锁定背景滚动,锁定时蒙层里的内容也将无法滚动",
5681
+ "value": {
5682
+ "type": "boolean",
5683
+ "kind": "expression"
5684
+ }
5685
+ }
5686
+ ]
5687
+ },
5688
5688
  {
5689
5689
  "name": "van-pagination",
5690
5690
  "slots": [