vant 2.13.8 → 2.13.9-beta.0

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.13.8",
5
+ "version": "2.13.9-beta.0",
6
6
  "contributions": {
7
7
  "html": {
8
8
  "tags": [
@@ -451,118 +451,6 @@
451
451
  }
452
452
  ]
453
453
  },
454
- {
455
- "name": "van-address-list",
456
- "slots": [
457
- {
458
- "name": "default",
459
- "description": "在列表下方插入内容"
460
- },
461
- {
462
- "name": "top",
463
- "description": "在顶部插入内容"
464
- },
465
- {
466
- "name": "item-bottom",
467
- "description": "在列表项底部插入内容"
468
- },
469
- {
470
- "name": "tag",
471
- "description": "列表项标签内容自定义"
472
- }
473
- ],
474
- "events": [
475
- {
476
- "name": "add",
477
- "description": "点击新增按钮时触发"
478
- },
479
- {
480
- "name": "edit",
481
- "description": "点击编辑按钮时触发"
482
- },
483
- {
484
- "name": "select",
485
- "description": "切换选中的地址时触发"
486
- },
487
- {
488
- "name": "edit-disabled",
489
- "description": "编辑不可配送的地址时触发"
490
- },
491
- {
492
- "name": "select-disabled",
493
- "description": "选中不可配送的地址时触发"
494
- },
495
- {
496
- "name": "click-item",
497
- "description": "点击任意地址时触发"
498
- }
499
- ],
500
- "attributes": [
501
- {
502
- "name": "v-model",
503
- "default": "-",
504
- "description": "当前选中地址的 id",
505
- "value": {
506
- "type": "string",
507
- "kind": "expression"
508
- }
509
- },
510
- {
511
- "name": "list",
512
- "default": "`[]`",
513
- "description": "地址列表",
514
- "value": {
515
- "type": "Address[]",
516
- "kind": "expression"
517
- }
518
- },
519
- {
520
- "name": "disabled-list",
521
- "default": "`[]`",
522
- "description": "不可配送地址列表",
523
- "value": {
524
- "type": "Address[]",
525
- "kind": "expression"
526
- }
527
- },
528
- {
529
- "name": "disabled-text",
530
- "default": "-",
531
- "description": "不可配送提示文案",
532
- "value": {
533
- "type": "string",
534
- "kind": "expression"
535
- }
536
- },
537
- {
538
- "name": "switchable",
539
- "default": "`true`",
540
- "description": "是否允许切换地址",
541
- "value": {
542
- "type": "boolean",
543
- "kind": "expression"
544
- }
545
- },
546
- {
547
- "name": "add-button-text",
548
- "default": "`新增地址`",
549
- "description": "底部按钮文字",
550
- "value": {
551
- "type": "string",
552
- "kind": "expression"
553
- }
554
- },
555
- {
556
- "name": "default-tag-text",
557
- "default": "-",
558
- "description": "默认地址标签文字",
559
- "value": {
560
- "type": "string",
561
- "kind": "expression"
562
- }
563
- }
564
- ]
565
- },
566
454
  {
567
455
  "name": "van-area",
568
456
  "slots": [
@@ -713,6 +601,118 @@
713
601
  }
714
602
  ]
715
603
  },
604
+ {
605
+ "name": "van-address-list",
606
+ "slots": [
607
+ {
608
+ "name": "default",
609
+ "description": "在列表下方插入内容"
610
+ },
611
+ {
612
+ "name": "top",
613
+ "description": "在顶部插入内容"
614
+ },
615
+ {
616
+ "name": "item-bottom",
617
+ "description": "在列表项底部插入内容"
618
+ },
619
+ {
620
+ "name": "tag",
621
+ "description": "列表项标签内容自定义"
622
+ }
623
+ ],
624
+ "events": [
625
+ {
626
+ "name": "add",
627
+ "description": "点击新增按钮时触发"
628
+ },
629
+ {
630
+ "name": "edit",
631
+ "description": "点击编辑按钮时触发"
632
+ },
633
+ {
634
+ "name": "select",
635
+ "description": "切换选中的地址时触发"
636
+ },
637
+ {
638
+ "name": "edit-disabled",
639
+ "description": "编辑不可配送的地址时触发"
640
+ },
641
+ {
642
+ "name": "select-disabled",
643
+ "description": "选中不可配送的地址时触发"
644
+ },
645
+ {
646
+ "name": "click-item",
647
+ "description": "点击任意地址时触发"
648
+ }
649
+ ],
650
+ "attributes": [
651
+ {
652
+ "name": "v-model",
653
+ "default": "-",
654
+ "description": "当前选中地址的 id",
655
+ "value": {
656
+ "type": "string",
657
+ "kind": "expression"
658
+ }
659
+ },
660
+ {
661
+ "name": "list",
662
+ "default": "`[]`",
663
+ "description": "地址列表",
664
+ "value": {
665
+ "type": "Address[]",
666
+ "kind": "expression"
667
+ }
668
+ },
669
+ {
670
+ "name": "disabled-list",
671
+ "default": "`[]`",
672
+ "description": "不可配送地址列表",
673
+ "value": {
674
+ "type": "Address[]",
675
+ "kind": "expression"
676
+ }
677
+ },
678
+ {
679
+ "name": "disabled-text",
680
+ "default": "-",
681
+ "description": "不可配送提示文案",
682
+ "value": {
683
+ "type": "string",
684
+ "kind": "expression"
685
+ }
686
+ },
687
+ {
688
+ "name": "switchable",
689
+ "default": "`true`",
690
+ "description": "是否允许切换地址",
691
+ "value": {
692
+ "type": "boolean",
693
+ "kind": "expression"
694
+ }
695
+ },
696
+ {
697
+ "name": "add-button-text",
698
+ "default": "`新增地址`",
699
+ "description": "底部按钮文字",
700
+ "value": {
701
+ "type": "string",
702
+ "kind": "expression"
703
+ }
704
+ },
705
+ {
706
+ "name": "default-tag-text",
707
+ "default": "-",
708
+ "description": "默认地址标签文字",
709
+ "value": {
710
+ "type": "string",
711
+ "kind": "expression"
712
+ }
713
+ }
714
+ ]
715
+ },
716
716
  {
717
717
  "name": "van-badge",
718
718
  "slots": [
@@ -1341,242 +1341,160 @@
1341
1341
  ]
1342
1342
  },
1343
1343
  {
1344
- "name": "van-cell-group",
1344
+ "name": "van-card",
1345
1345
  "slots": [
1346
1346
  {
1347
- "name": "default",
1348
- "description": "默认插槽"
1347
+ "name": "title",
1348
+ "description": "自定义标题"
1349
1349
  },
1350
1350
  {
1351
- "name": "title",
1352
- "description": "自定义分组标题"
1353
- }
1354
- ],
1355
- "events": [],
1356
- "attributes": [
1351
+ "name": "desc",
1352
+ "description": "自定义描述"
1353
+ },
1357
1354
  {
1358
- "name": "title",
1359
- "default": "`-`",
1360
- "description": "分组标题",
1361
- "value": {
1362
- "type": "string",
1363
- "kind": "expression"
1364
- }
1355
+ "name": "num",
1356
+ "description": "自定义数量"
1365
1357
  },
1366
1358
  {
1367
- "name": "border",
1368
- "default": "`true`",
1369
- "description": "是否显示外边框",
1370
- "value": {
1371
- "type": "boolean",
1372
- "kind": "expression"
1373
- }
1374
- }
1375
- ]
1376
- },
1377
- {
1378
- "name": "van-cell",
1379
- "slots": [
1359
+ "name": "price",
1360
+ "description": "自定义价格"
1361
+ },
1380
1362
  {
1381
- "name": "default",
1382
- "description": "自定义右侧 value 的内容"
1363
+ "name": "origin-price",
1364
+ "description": "自定义商品原价"
1383
1365
  },
1384
1366
  {
1385
- "name": "title",
1386
- "description": "自定义左侧 title 的内容"
1367
+ "name": "price-top",
1368
+ "description": "自定义价格上方区域"
1387
1369
  },
1388
1370
  {
1389
- "name": "label",
1390
- "description": "自定义标题下方 label 的内容"
1371
+ "name": "bottom",
1372
+ "description": "自定义价格下方区域"
1391
1373
  },
1392
1374
  {
1393
- "name": "icon",
1394
- "description": "自定义左侧图标"
1375
+ "name": "thumb",
1376
+ "description": "自定义图片"
1395
1377
  },
1396
1378
  {
1397
- "name": "right-icon",
1398
- "description": "自定义右侧按钮,默认为`arrow`"
1379
+ "name": "tag",
1380
+ "description": "自定义图片角标"
1399
1381
  },
1400
1382
  {
1401
- "name": "extra",
1402
- "description": "自定义单元格最右侧的额外内容"
1383
+ "name": "tags",
1384
+ "description": "自定义描述下方标签区域"
1385
+ },
1386
+ {
1387
+ "name": "footer",
1388
+ "description": "自定义右下角内容"
1403
1389
  }
1404
1390
  ],
1405
1391
  "events": [
1406
1392
  {
1407
1393
  "name": "click",
1408
- "description": "点击单元格时触发"
1394
+ "description": "点击时触发"
1395
+ },
1396
+ {
1397
+ "name": "click-thumb",
1398
+ "description": "点击自定义图片时触发"
1409
1399
  }
1410
1400
  ],
1411
1401
  "attributes": [
1412
1402
  {
1413
- "name": "title",
1414
- "default": "-",
1415
- "description": "左侧标题",
1416
- "value": {
1417
- "type": "number | string",
1418
- "kind": "expression"
1419
- }
1420
- },
1421
- {
1422
- "name": "value",
1423
- "default": "-",
1424
- "description": "右侧内容",
1425
- "value": {
1426
- "type": "number | string",
1427
- "kind": "expression"
1428
- }
1429
- },
1430
- {
1431
- "name": "label",
1403
+ "name": "thumb",
1432
1404
  "default": "-",
1433
- "description": "标题下方的描述信息",
1405
+ "description": "左侧图片 URL",
1434
1406
  "value": {
1435
1407
  "type": "string",
1436
1408
  "kind": "expression"
1437
1409
  }
1438
1410
  },
1439
1411
  {
1440
- "name": "size",
1412
+ "name": "title",
1441
1413
  "default": "-",
1442
- "description": "单元格大小,可选值为 `large`",
1414
+ "description": "标题",
1443
1415
  "value": {
1444
1416
  "type": "string",
1445
1417
  "kind": "expression"
1446
1418
  }
1447
1419
  },
1448
1420
  {
1449
- "name": "icon",
1421
+ "name": "desc",
1450
1422
  "default": "-",
1451
- "description": "左侧[图标名称](#/zh-CN/icon)或图片链接",
1452
- "value": {
1453
- "type": "string",
1454
- "kind": "expression"
1455
- }
1456
- },
1457
- {
1458
- "name": "icon-prefix",
1459
- "default": "`van-icon`",
1460
- "description": "图标类名前缀,同 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props)",
1423
+ "description": "描述",
1461
1424
  "value": {
1462
1425
  "type": "string",
1463
1426
  "kind": "expression"
1464
1427
  }
1465
1428
  },
1466
1429
  {
1467
- "name": "url",
1430
+ "name": "tag",
1468
1431
  "default": "-",
1469
- "description": "点击后跳转的链接地址",
1432
+ "description": "图片角标",
1470
1433
  "value": {
1471
1434
  "type": "string",
1472
1435
  "kind": "expression"
1473
1436
  }
1474
1437
  },
1475
1438
  {
1476
- "name": "to",
1439
+ "name": "num",
1477
1440
  "default": "-",
1478
- "description": "点击后跳转的目标路由对象,同 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to)",
1479
- "value": {
1480
- "type": "string | object",
1481
- "kind": "expression"
1482
- }
1483
- },
1484
- {
1485
- "name": "border",
1486
- "default": "`true`",
1487
- "description": "是否显示内边框",
1488
- "value": {
1489
- "type": "boolean",
1490
- "kind": "expression"
1491
- }
1492
- },
1493
- {
1494
- "name": "replace",
1495
- "default": "`false`",
1496
- "description": "是否在跳转时替换当前页面历史",
1497
- "value": {
1498
- "type": "boolean",
1499
- "kind": "expression"
1500
- }
1501
- },
1502
- {
1503
- "name": "clickable",
1504
- "default": "`null`",
1505
- "description": "是否开启点击反馈",
1441
+ "description": "商品数量",
1506
1442
  "value": {
1507
- "type": "boolean",
1443
+ "type": "number | string",
1508
1444
  "kind": "expression"
1509
1445
  }
1510
1446
  },
1511
1447
  {
1512
- "name": "is-link",
1513
- "default": "`false`",
1514
- "description": "是否展示右侧箭头并开启点击反馈",
1448
+ "name": "price",
1449
+ "default": "-",
1450
+ "description": "商品价格",
1515
1451
  "value": {
1516
- "type": "boolean",
1452
+ "type": "number | string",
1517
1453
  "kind": "expression"
1518
1454
  }
1519
1455
  },
1520
1456
  {
1521
- "name": "required",
1522
- "default": "`false`",
1523
- "description": "是否显示表单必填星号",
1457
+ "name": "origin-price",
1458
+ "default": "-",
1459
+ "description": "商品划线原价",
1524
1460
  "value": {
1525
- "type": "boolean",
1461
+ "type": "number | string",
1526
1462
  "kind": "expression"
1527
1463
  }
1528
1464
  },
1529
1465
  {
1530
- "name": "center",
1466
+ "name": "centered",
1531
1467
  "default": "`false`",
1532
- "description": "是否使内容垂直居中",
1468
+ "description": "内容是否垂直居中",
1533
1469
  "value": {
1534
1470
  "type": "boolean",
1535
1471
  "kind": "expression"
1536
1472
  }
1537
1473
  },
1538
1474
  {
1539
- "name": "arrow-direction",
1540
- "default": "`right`",
1541
- "description": "箭头方向,可选值为 `left` `up` `down`",
1475
+ "name": "currency",
1476
+ "default": "`¥`",
1477
+ "description": "货币符号",
1542
1478
  "value": {
1543
1479
  "type": "string",
1544
1480
  "kind": "expression"
1545
1481
  }
1546
1482
  },
1547
1483
  {
1548
- "name": "title-style",
1549
- "default": "-",
1550
- "description": "左侧标题额外样式",
1551
- "value": {
1552
- "type": "any",
1553
- "kind": "expression"
1554
- }
1555
- },
1556
- {
1557
- "name": "title-class",
1558
- "default": "-",
1559
- "description": "左侧标题额外类名",
1560
- "value": {
1561
- "type": "any",
1562
- "kind": "expression"
1563
- }
1564
- },
1565
- {
1566
- "name": "value-class",
1484
+ "name": "thumb-link",
1567
1485
  "default": "-",
1568
- "description": "右侧内容额外类名",
1486
+ "description": "点击左侧图片后跳转的链接地址",
1569
1487
  "value": {
1570
- "type": "any",
1488
+ "type": "string",
1571
1489
  "kind": "expression"
1572
1490
  }
1573
1491
  },
1574
1492
  {
1575
- "name": "label-class",
1576
- "default": "-",
1577
- "description": "描述信息额外类名",
1493
+ "name": "lazy-load",
1494
+ "default": "`false`",
1495
+ "description": "是否开启图片懒加载,须配合 [Lazyload](#/zh-CN/lazyload) 组件使用",
1578
1496
  "value": {
1579
- "type": "any",
1497
+ "type": "boolean",
1580
1498
  "kind": "expression"
1581
1499
  }
1582
1500
  }
@@ -1684,162 +1602,244 @@
1684
1602
  ]
1685
1603
  },
1686
1604
  {
1687
- "name": "van-card",
1605
+ "name": "van-cell-group",
1688
1606
  "slots": [
1689
1607
  {
1690
- "name": "title",
1691
- "description": "自定义标题"
1692
- },
1693
- {
1694
- "name": "desc",
1695
- "description": "自定义描述"
1608
+ "name": "default",
1609
+ "description": "默认插槽"
1696
1610
  },
1697
1611
  {
1698
- "name": "num",
1699
- "description": "自定义数量"
1700
- },
1612
+ "name": "title",
1613
+ "description": "自定义分组标题"
1614
+ }
1615
+ ],
1616
+ "events": [],
1617
+ "attributes": [
1701
1618
  {
1702
- "name": "price",
1703
- "description": "自定义价格"
1619
+ "name": "title",
1620
+ "default": "`-`",
1621
+ "description": "分组标题",
1622
+ "value": {
1623
+ "type": "string",
1624
+ "kind": "expression"
1625
+ }
1704
1626
  },
1705
1627
  {
1706
- "name": "origin-price",
1707
- "description": "自定义商品原价"
1708
- },
1628
+ "name": "border",
1629
+ "default": "`true`",
1630
+ "description": "是否显示外边框",
1631
+ "value": {
1632
+ "type": "boolean",
1633
+ "kind": "expression"
1634
+ }
1635
+ }
1636
+ ]
1637
+ },
1638
+ {
1639
+ "name": "van-cell",
1640
+ "slots": [
1709
1641
  {
1710
- "name": "price-top",
1711
- "description": "自定义价格上方区域"
1642
+ "name": "default",
1643
+ "description": "自定义右侧 value 的内容"
1712
1644
  },
1713
1645
  {
1714
- "name": "bottom",
1715
- "description": "自定义价格下方区域"
1646
+ "name": "title",
1647
+ "description": "自定义左侧 title 的内容"
1716
1648
  },
1717
1649
  {
1718
- "name": "thumb",
1719
- "description": "自定义图片"
1650
+ "name": "label",
1651
+ "description": "自定义标题下方 label 的内容"
1720
1652
  },
1721
1653
  {
1722
- "name": "tag",
1723
- "description": "自定义图片角标"
1654
+ "name": "icon",
1655
+ "description": "自定义左侧图标"
1724
1656
  },
1725
1657
  {
1726
- "name": "tags",
1727
- "description": "自定义描述下方标签区域"
1658
+ "name": "right-icon",
1659
+ "description": "自定义右侧按钮,默认为`arrow`"
1728
1660
  },
1729
1661
  {
1730
- "name": "footer",
1731
- "description": "自定义右下角内容"
1662
+ "name": "extra",
1663
+ "description": "自定义单元格最右侧的额外内容"
1732
1664
  }
1733
1665
  ],
1734
1666
  "events": [
1735
1667
  {
1736
1668
  "name": "click",
1737
- "description": "点击时触发"
1738
- },
1739
- {
1740
- "name": "click-thumb",
1741
- "description": "点击自定义图片时触发"
1669
+ "description": "点击单元格时触发"
1742
1670
  }
1743
1671
  ],
1744
1672
  "attributes": [
1745
1673
  {
1746
- "name": "thumb",
1674
+ "name": "title",
1747
1675
  "default": "-",
1748
- "description": "左侧图片 URL",
1676
+ "description": "左侧标题",
1749
1677
  "value": {
1750
- "type": "string",
1678
+ "type": "number | string",
1751
1679
  "kind": "expression"
1752
1680
  }
1753
1681
  },
1754
1682
  {
1755
- "name": "title",
1683
+ "name": "value",
1756
1684
  "default": "-",
1757
- "description": "标题",
1685
+ "description": "右侧内容",
1758
1686
  "value": {
1759
- "type": "string",
1687
+ "type": "number | string",
1760
1688
  "kind": "expression"
1761
1689
  }
1762
1690
  },
1763
1691
  {
1764
- "name": "desc",
1692
+ "name": "label",
1765
1693
  "default": "-",
1766
- "description": "描述",
1694
+ "description": "标题下方的描述信息",
1767
1695
  "value": {
1768
1696
  "type": "string",
1769
1697
  "kind": "expression"
1770
1698
  }
1771
1699
  },
1772
1700
  {
1773
- "name": "tag",
1701
+ "name": "size",
1774
1702
  "default": "-",
1775
- "description": "图片角标",
1703
+ "description": "单元格大小,可选值为 `large`",
1776
1704
  "value": {
1777
1705
  "type": "string",
1778
1706
  "kind": "expression"
1779
1707
  }
1780
1708
  },
1781
1709
  {
1782
- "name": "num",
1710
+ "name": "icon",
1783
1711
  "default": "-",
1784
- "description": "商品数量",
1712
+ "description": "左侧[图标名称](#/zh-CN/icon)或图片链接",
1785
1713
  "value": {
1786
- "type": "number | string",
1714
+ "type": "string",
1787
1715
  "kind": "expression"
1788
1716
  }
1789
1717
  },
1790
1718
  {
1791
- "name": "price",
1719
+ "name": "icon-prefix",
1720
+ "default": "`van-icon`",
1721
+ "description": "图标类名前缀,同 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props)",
1722
+ "value": {
1723
+ "type": "string",
1724
+ "kind": "expression"
1725
+ }
1726
+ },
1727
+ {
1728
+ "name": "url",
1792
1729
  "default": "-",
1793
- "description": "商品价格",
1730
+ "description": "点击后跳转的链接地址",
1794
1731
  "value": {
1795
- "type": "number | string",
1732
+ "type": "string",
1796
1733
  "kind": "expression"
1797
1734
  }
1798
1735
  },
1799
1736
  {
1800
- "name": "origin-price",
1737
+ "name": "to",
1801
1738
  "default": "-",
1802
- "description": "商品划线原价",
1739
+ "description": "点击后跳转的目标路由对象,同 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to)",
1803
1740
  "value": {
1804
- "type": "number | string",
1741
+ "type": "string | object",
1805
1742
  "kind": "expression"
1806
1743
  }
1807
1744
  },
1808
1745
  {
1809
- "name": "centered",
1746
+ "name": "border",
1747
+ "default": "`true`",
1748
+ "description": "是否显示内边框",
1749
+ "value": {
1750
+ "type": "boolean",
1751
+ "kind": "expression"
1752
+ }
1753
+ },
1754
+ {
1755
+ "name": "replace",
1810
1756
  "default": "`false`",
1811
- "description": "内容是否垂直居中",
1757
+ "description": "是否在跳转时替换当前页面历史",
1812
1758
  "value": {
1813
1759
  "type": "boolean",
1814
1760
  "kind": "expression"
1815
1761
  }
1816
1762
  },
1817
1763
  {
1818
- "name": "currency",
1819
- "default": "`¥`",
1820
- "description": "货币符号",
1764
+ "name": "clickable",
1765
+ "default": "`null`",
1766
+ "description": "是否开启点击反馈",
1821
1767
  "value": {
1822
- "type": "string",
1768
+ "type": "boolean",
1823
1769
  "kind": "expression"
1824
1770
  }
1825
1771
  },
1826
1772
  {
1827
- "name": "thumb-link",
1828
- "default": "-",
1829
- "description": "点击左侧图片后跳转的链接地址",
1773
+ "name": "is-link",
1774
+ "default": "`false`",
1775
+ "description": "是否展示右侧箭头并开启点击反馈",
1830
1776
  "value": {
1831
- "type": "string",
1777
+ "type": "boolean",
1832
1778
  "kind": "expression"
1833
1779
  }
1834
1780
  },
1835
1781
  {
1836
- "name": "lazy-load",
1782
+ "name": "required",
1837
1783
  "default": "`false`",
1838
- "description": "是否开启图片懒加载,须配合 [Lazyload](#/zh-CN/lazyload) 组件使用",
1784
+ "description": "是否显示表单必填星号",
1785
+ "value": {
1786
+ "type": "boolean",
1787
+ "kind": "expression"
1788
+ }
1789
+ },
1790
+ {
1791
+ "name": "center",
1792
+ "default": "`false`",
1793
+ "description": "是否使内容垂直居中",
1839
1794
  "value": {
1840
1795
  "type": "boolean",
1841
1796
  "kind": "expression"
1842
1797
  }
1798
+ },
1799
+ {
1800
+ "name": "arrow-direction",
1801
+ "default": "`right`",
1802
+ "description": "箭头方向,可选值为 `left` `up` `down`",
1803
+ "value": {
1804
+ "type": "string",
1805
+ "kind": "expression"
1806
+ }
1807
+ },
1808
+ {
1809
+ "name": "title-style",
1810
+ "default": "-",
1811
+ "description": "左侧标题额外样式",
1812
+ "value": {
1813
+ "type": "any",
1814
+ "kind": "expression"
1815
+ }
1816
+ },
1817
+ {
1818
+ "name": "title-class",
1819
+ "default": "-",
1820
+ "description": "左侧标题额外类名",
1821
+ "value": {
1822
+ "type": "any",
1823
+ "kind": "expression"
1824
+ }
1825
+ },
1826
+ {
1827
+ "name": "value-class",
1828
+ "default": "-",
1829
+ "description": "右侧内容额外类名",
1830
+ "value": {
1831
+ "type": "any",
1832
+ "kind": "expression"
1833
+ }
1834
+ },
1835
+ {
1836
+ "name": "label-class",
1837
+ "default": "-",
1838
+ "description": "描述信息额外类名",
1839
+ "value": {
1840
+ "type": "any",
1841
+ "kind": "expression"
1842
+ }
1843
1843
  }
1844
1844
  ]
1845
1845
  },
@@ -2407,54 +2407,46 @@
2407
2407
  ]
2408
2408
  },
2409
2409
  {
2410
- "name": "van-contact-list",
2410
+ "name": "van-contact-card",
2411
2411
  "slots": [],
2412
2412
  "events": [
2413
2413
  {
2414
- "name": "add",
2415
- "description": "点击新增按钮时触发"
2416
- },
2417
- {
2418
- "name": "edit",
2419
- "description": "点击编辑按钮时触发"
2420
- },
2421
- {
2422
- "name": "select",
2423
- "description": "切换选中的联系人时触发"
2414
+ "name": "click",
2415
+ "description": "点击时触发"
2424
2416
  }
2425
2417
  ],
2426
2418
  "attributes": [
2427
2419
  {
2428
- "name": "v-model",
2429
- "default": "-",
2430
- "description": "当前选中联系人的 id",
2420
+ "name": "type",
2421
+ "default": "`add`",
2422
+ "description": "卡片类型,可选值为 `edit`",
2431
2423
  "value": {
2432
- "type": "number | string",
2424
+ "type": "string",
2433
2425
  "kind": "expression"
2434
2426
  }
2435
2427
  },
2436
2428
  {
2437
- "name": "list",
2438
- "default": "`[]`",
2439
- "description": "联系人列表",
2429
+ "name": "name",
2430
+ "default": "-",
2431
+ "description": "联系人姓名",
2440
2432
  "value": {
2441
- "type": "Contact[]",
2433
+ "type": "string",
2442
2434
  "kind": "expression"
2443
2435
  }
2444
2436
  },
2445
2437
  {
2446
- "name": "add-text",
2447
- "default": "`新建联系人`",
2448
- "description": "新建按钮文案",
2438
+ "name": "tel",
2439
+ "default": "-",
2440
+ "description": "联系人手机号",
2449
2441
  "value": {
2450
2442
  "type": "string",
2451
2443
  "kind": "expression"
2452
2444
  }
2453
2445
  },
2454
2446
  {
2455
- "name": "default-tag-text",
2456
- "default": "-",
2457
- "description": "默认联系人标签文案",
2447
+ "name": "add-text",
2448
+ "default": "`添加联系人`",
2449
+ "description": "添加时的文案提示",
2458
2450
  "value": {
2459
2451
  "type": "string",
2460
2452
  "kind": "expression"
@@ -2542,46 +2534,54 @@
2542
2534
  ]
2543
2535
  },
2544
2536
  {
2545
- "name": "van-contact-card",
2537
+ "name": "van-contact-list",
2546
2538
  "slots": [],
2547
2539
  "events": [
2548
2540
  {
2549
- "name": "click",
2550
- "description": "点击时触发"
2541
+ "name": "add",
2542
+ "description": "点击新增按钮时触发"
2543
+ },
2544
+ {
2545
+ "name": "edit",
2546
+ "description": "点击编辑按钮时触发"
2547
+ },
2548
+ {
2549
+ "name": "select",
2550
+ "description": "切换选中的联系人时触发"
2551
2551
  }
2552
2552
  ],
2553
2553
  "attributes": [
2554
2554
  {
2555
- "name": "type",
2556
- "default": "`add`",
2557
- "description": "卡片类型,可选值为 `edit`",
2555
+ "name": "v-model",
2556
+ "default": "-",
2557
+ "description": "当前选中联系人的 id",
2558
2558
  "value": {
2559
- "type": "string",
2559
+ "type": "number | string",
2560
2560
  "kind": "expression"
2561
2561
  }
2562
2562
  },
2563
2563
  {
2564
- "name": "name",
2565
- "default": "-",
2566
- "description": "联系人姓名",
2564
+ "name": "list",
2565
+ "default": "`[]`",
2566
+ "description": "联系人列表",
2567
2567
  "value": {
2568
- "type": "string",
2568
+ "type": "Contact[]",
2569
2569
  "kind": "expression"
2570
2570
  }
2571
2571
  },
2572
2572
  {
2573
- "name": "tel",
2574
- "default": "-",
2575
- "description": "联系人手机号",
2573
+ "name": "add-text",
2574
+ "default": "`新建联系人`",
2575
+ "description": "新建按钮文案",
2576
2576
  "value": {
2577
2577
  "type": "string",
2578
2578
  "kind": "expression"
2579
2579
  }
2580
2580
  },
2581
2581
  {
2582
- "name": "add-text",
2583
- "default": "`添加联系人`",
2584
- "description": "添加时的文案提示",
2582
+ "name": "default-tag-text",
2583
+ "default": "-",
2584
+ "description": "默认联系人标签文案",
2585
2585
  "value": {
2586
2586
  "type": "string",
2587
2587
  "kind": "expression"
@@ -3128,45 +3128,6 @@
3128
3128
  }
3129
3129
  ]
3130
3130
  },
3131
- {
3132
- "name": "van-divider",
3133
- "slots": [
3134
- {
3135
- "name": "default",
3136
- "description": "内容"
3137
- }
3138
- ],
3139
- "events": [],
3140
- "attributes": [
3141
- {
3142
- "name": "dashed",
3143
- "default": "`false`",
3144
- "description": "是否使用虚线",
3145
- "value": {
3146
- "type": "boolean",
3147
- "kind": "expression"
3148
- }
3149
- },
3150
- {
3151
- "name": "hairline",
3152
- "default": "`true`",
3153
- "description": "是否使用 0.5px 线",
3154
- "value": {
3155
- "type": "boolean",
3156
- "kind": "expression"
3157
- }
3158
- },
3159
- {
3160
- "name": "content-position",
3161
- "default": "`center`",
3162
- "description": "内容位置,可选值为`left` `right`",
3163
- "value": {
3164
- "type": "string",
3165
- "kind": "expression"
3166
- }
3167
- }
3168
- ]
3169
- },
3170
3131
  {
3171
3132
  "name": "van-dialog",
3172
3133
  "slots": [
@@ -3416,11 +3377,50 @@
3416
3377
  ]
3417
3378
  },
3418
3379
  {
3419
- "name": "van-dropdown-menu",
3420
- "slots": [],
3421
- "events": [],
3422
- "attributes": [
3423
- {
3380
+ "name": "van-divider",
3381
+ "slots": [
3382
+ {
3383
+ "name": "default",
3384
+ "description": "内容"
3385
+ }
3386
+ ],
3387
+ "events": [],
3388
+ "attributes": [
3389
+ {
3390
+ "name": "dashed",
3391
+ "default": "`false`",
3392
+ "description": "是否使用虚线",
3393
+ "value": {
3394
+ "type": "boolean",
3395
+ "kind": "expression"
3396
+ }
3397
+ },
3398
+ {
3399
+ "name": "hairline",
3400
+ "default": "`true`",
3401
+ "description": "是否使用 0.5px 线",
3402
+ "value": {
3403
+ "type": "boolean",
3404
+ "kind": "expression"
3405
+ }
3406
+ },
3407
+ {
3408
+ "name": "content-position",
3409
+ "default": "`center`",
3410
+ "description": "内容位置,可选值为`left` `right`",
3411
+ "value": {
3412
+ "type": "string",
3413
+ "kind": "expression"
3414
+ }
3415
+ }
3416
+ ]
3417
+ },
3418
+ {
3419
+ "name": "van-dropdown-menu",
3420
+ "slots": [],
3421
+ "events": [],
3422
+ "attributes": [
3423
+ {
3424
3424
  "name": "active-color",
3425
3425
  "default": "`#ee0a24`",
3426
3426
  "description": "菜单标题和选项的选中态颜色",
@@ -4013,213 +4013,152 @@
4013
4013
  ]
4014
4014
  },
4015
4015
  {
4016
- "name": "van-goods-action",
4017
- "slots": [],
4018
- "events": [],
4019
- "attributes": [
4020
- {
4021
- "name": "safe-area-inset-bottom",
4022
- "default": "`true`",
4023
- "description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei)",
4024
- "value": {
4025
- "type": "boolean",
4026
- "kind": "expression"
4027
- }
4028
- }
4029
- ]
4030
- },
4031
- {
4032
- "name": "van-goods-action-icon",
4016
+ "name": "van-form",
4033
4017
  "slots": [
4034
4018
  {
4035
4019
  "name": "default",
4036
- "description": "文本内容"
4020
+ "description": "表单内容"
4021
+ }
4022
+ ],
4023
+ "events": [
4024
+ {
4025
+ "name": "submit",
4026
+ "description": "提交表单且验证通过后触发"
4037
4027
  },
4038
4028
  {
4039
- "name": "icon",
4040
- "description": "自定义图标"
4029
+ "name": "failed",
4030
+ "description": "提交表单且验证不通过后触发"
4041
4031
  }
4042
4032
  ],
4043
- "events": [],
4044
4033
  "attributes": [
4045
4034
  {
4046
- "name": "text",
4047
- "default": "-",
4048
- "description": "按钮文字",
4035
+ "name": "label-width",
4036
+ "default": "`6.2em`",
4037
+ "description": "表单项 label 宽度,默认单位为`px`",
4049
4038
  "value": {
4050
- "type": "string",
4039
+ "type": "number | string",
4051
4040
  "kind": "expression"
4052
4041
  }
4053
4042
  },
4054
4043
  {
4055
- "name": "icon",
4056
- "default": "-",
4057
- "description": "图标",
4044
+ "name": "label-align",
4045
+ "default": "`left`",
4046
+ "description": "表单项 label 对齐方式,可选值为 `center` `right`",
4058
4047
  "value": {
4059
4048
  "type": "string",
4060
4049
  "kind": "expression"
4061
4050
  }
4062
4051
  },
4063
4052
  {
4064
- "name": "color",
4065
- "default": "`#323233`",
4066
- "description": "图标颜色",
4053
+ "name": "input-align",
4054
+ "default": "`left`",
4055
+ "description": "输入框对齐方式,可选值为 `center` `right`",
4067
4056
  "value": {
4068
4057
  "type": "string",
4069
4058
  "kind": "expression"
4070
4059
  }
4071
4060
  },
4072
4061
  {
4073
- "name": "icon-class",
4074
- "default": "-",
4075
- "description": "图标额外类名",
4076
- "value": {
4077
- "type": "any",
4078
- "kind": "expression"
4079
- }
4080
- },
4081
- {
4082
- "name": "dot",
4083
- "default": "`false`",
4084
- "description": "是否显示图标右上角小红点",
4085
- "value": {
4086
- "type": "boolean",
4087
- "kind": "expression"
4088
- }
4089
- },
4090
- {
4091
- "name": "badge",
4092
- "default": "-",
4093
- "description": "图标右上角徽标的内容",
4094
- "value": {
4095
- "type": "number | string",
4096
- "kind": "expression"
4097
- }
4098
- },
4099
- {
4100
- "name": "info",
4101
- "default": "-",
4102
- "description": "图标右上角徽标的内容(已废弃,请使用 badge 属性)",
4103
- "value": {
4104
- "type": "number | string",
4105
- "kind": "expression"
4106
- }
4107
- },
4108
- {
4109
- "name": "url",
4110
- "default": "-",
4111
- "description": "点击后跳转的链接地址",
4062
+ "name": "error-message-align",
4063
+ "default": "`left`",
4064
+ "description": "错误提示文案对齐方式,可选值为 `center` `right`",
4112
4065
  "value": {
4113
4066
  "type": "string",
4114
4067
  "kind": "expression"
4115
4068
  }
4116
4069
  },
4117
4070
  {
4118
- "name": "to",
4119
- "default": "-",
4120
- "description": "点击后跳转的目标路由对象,同 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to)",
4071
+ "name": "validate-trigger",
4072
+ "default": "`onBlur`",
4073
+ "description": "表单校验触发时机,可选值为 `onChange`、`onSubmit`,详见下表",
4121
4074
  "value": {
4122
- "type": "string | object",
4075
+ "type": "string",
4123
4076
  "kind": "expression"
4124
4077
  }
4125
4078
  },
4126
4079
  {
4127
- "name": "replace",
4080
+ "name": "colon",
4128
4081
  "default": "`false`",
4129
- "description": "是否在跳转时替换当前页面历史",
4082
+ "description": "是否在 label 后面添加冒号",
4130
4083
  "value": {
4131
4084
  "type": "boolean",
4132
4085
  "kind": "expression"
4133
4086
  }
4134
- }
4135
- ]
4136
- },
4137
- {
4138
- "name": "van-goods-action-button",
4139
- "slots": [
4140
- {
4141
- "name": "default",
4142
- "description": "按钮显示内容"
4143
- }
4144
- ],
4145
- "events": [],
4146
- "attributes": [
4147
- {
4148
- "name": "text",
4149
- "default": "-",
4150
- "description": "按钮文字",
4151
- "value": {
4152
- "type": "string",
4153
- "kind": "expression"
4154
- }
4155
4087
  },
4156
4088
  {
4157
- "name": "type",
4158
- "default": "`default`",
4159
- "description": "按钮类型,可选值为 `primary` `info` `warning` `danger`",
4089
+ "name": "disabled",
4090
+ "default": "`false`",
4091
+ "description": "是否禁用表单中的所有输入框",
4160
4092
  "value": {
4161
- "type": "string",
4093
+ "type": "boolean",
4162
4094
  "kind": "expression"
4163
4095
  }
4164
4096
  },
4165
4097
  {
4166
- "name": "color",
4167
- "default": "-",
4168
- "description": "按钮颜色,支持传入`linear-gradient`渐变色",
4098
+ "name": "readonly",
4099
+ "default": "`false`",
4100
+ "description": "是否将表单中的所有输入框设置为只读",
4169
4101
  "value": {
4170
- "type": "string",
4102
+ "type": "boolean",
4171
4103
  "kind": "expression"
4172
4104
  }
4173
4105
  },
4174
4106
  {
4175
- "name": "icon",
4176
- "default": "-",
4177
- "description": "左侧[图标名称](#/zh-CN/icon)或图片链接",
4107
+ "name": "validate-first",
4108
+ "default": "`false`",
4109
+ "description": "是否在某一项校验不通过时停止校验",
4178
4110
  "value": {
4179
- "type": "string",
4111
+ "type": "boolean",
4180
4112
  "kind": "expression"
4181
4113
  }
4182
4114
  },
4183
4115
  {
4184
- "name": "disabled",
4116
+ "name": "scroll-to-error",
4185
4117
  "default": "`false`",
4186
- "description": "是否禁用按钮",
4118
+ "description": "是否在提交表单且校验不通过时滚动至错误的表单项",
4187
4119
  "value": {
4188
4120
  "type": "boolean",
4189
4121
  "kind": "expression"
4190
4122
  }
4191
4123
  },
4192
4124
  {
4193
- "name": "loading",
4194
- "default": "`false`",
4195
- "description": "是否显示为加载状态",
4125
+ "name": "show-error",
4126
+ "default": "`true`",
4127
+ "description": "是否在校验不通过时标红输入框",
4196
4128
  "value": {
4197
4129
  "type": "boolean",
4198
4130
  "kind": "expression"
4199
4131
  }
4200
4132
  },
4201
4133
  {
4202
- "name": "url",
4203
- "default": "-",
4204
- "description": "点击后跳转的链接地址",
4134
+ "name": "show-error-message",
4135
+ "default": "`true`",
4136
+ "description": "是否在校验不通过时在输入框下方展示错误提示",
4205
4137
  "value": {
4206
- "type": "string",
4138
+ "type": "boolean",
4207
4139
  "kind": "expression"
4208
4140
  }
4209
4141
  },
4210
4142
  {
4211
- "name": "to",
4212
- "default": "-",
4213
- "description": "点击后跳转的目标路由对象,同 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to)",
4143
+ "name": "submit-on-enter",
4144
+ "default": "`true`",
4145
+ "description": "是否在按下回车键时提交表单",
4214
4146
  "value": {
4215
- "type": "string | object",
4147
+ "type": "boolean",
4216
4148
  "kind": "expression"
4217
4149
  }
4218
- },
4150
+ }
4151
+ ]
4152
+ },
4153
+ {
4154
+ "name": "van-goods-action",
4155
+ "slots": [],
4156
+ "events": [],
4157
+ "attributes": [
4219
4158
  {
4220
- "name": "replace",
4221
- "default": "`false`",
4222
- "description": "是否在跳转时替换当前页面历史",
4159
+ "name": "safe-area-inset-bottom",
4160
+ "default": "`true`",
4161
+ "description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei)",
4223
4162
  "value": {
4224
4163
  "type": "boolean",
4225
4164
  "kind": "expression"
@@ -4228,136 +4167,104 @@
4228
4167
  ]
4229
4168
  },
4230
4169
  {
4231
- "name": "van-form",
4170
+ "name": "van-goods-action-icon",
4232
4171
  "slots": [
4233
4172
  {
4234
4173
  "name": "default",
4235
- "description": "表单内容"
4236
- }
4237
- ],
4238
- "events": [
4239
- {
4240
- "name": "submit",
4241
- "description": "提交表单且验证通过后触发"
4174
+ "description": "文本内容"
4242
4175
  },
4243
4176
  {
4244
- "name": "failed",
4245
- "description": "提交表单且验证不通过后触发"
4177
+ "name": "icon",
4178
+ "description": "自定义图标"
4246
4179
  }
4247
4180
  ],
4181
+ "events": [],
4248
4182
  "attributes": [
4249
4183
  {
4250
- "name": "label-width",
4251
- "default": "`6.2em`",
4252
- "description": "表单项 label 宽度,默认单位为`px`",
4253
- "value": {
4254
- "type": "number | string",
4255
- "kind": "expression"
4256
- }
4257
- },
4258
- {
4259
- "name": "label-align",
4260
- "default": "`left`",
4261
- "description": "表单项 label 对齐方式,可选值为 `center` `right`",
4262
- "value": {
4263
- "type": "string",
4264
- "kind": "expression"
4265
- }
4266
- },
4267
- {
4268
- "name": "input-align",
4269
- "default": "`left`",
4270
- "description": "输入框对齐方式,可选值为 `center` `right`",
4184
+ "name": "text",
4185
+ "default": "-",
4186
+ "description": "按钮文字",
4271
4187
  "value": {
4272
4188
  "type": "string",
4273
4189
  "kind": "expression"
4274
4190
  }
4275
4191
  },
4276
4192
  {
4277
- "name": "error-message-align",
4278
- "default": "`left`",
4279
- "description": "错误提示文案对齐方式,可选值为 `center` `right`",
4193
+ "name": "icon",
4194
+ "default": "-",
4195
+ "description": "图标",
4280
4196
  "value": {
4281
4197
  "type": "string",
4282
4198
  "kind": "expression"
4283
4199
  }
4284
4200
  },
4285
4201
  {
4286
- "name": "validate-trigger",
4287
- "default": "`onBlur`",
4288
- "description": "表单校验触发时机,可选值为 `onChange`、`onSubmit`,详见下表",
4202
+ "name": "color",
4203
+ "default": "`#323233`",
4204
+ "description": "图标颜色",
4289
4205
  "value": {
4290
4206
  "type": "string",
4291
4207
  "kind": "expression"
4292
4208
  }
4293
4209
  },
4294
4210
  {
4295
- "name": "colon",
4296
- "default": "`false`",
4297
- "description": "是否在 label 后面添加冒号",
4298
- "value": {
4299
- "type": "boolean",
4300
- "kind": "expression"
4301
- }
4302
- },
4303
- {
4304
- "name": "disabled",
4305
- "default": "`false`",
4306
- "description": "是否禁用表单中的所有输入框",
4211
+ "name": "icon-class",
4212
+ "default": "-",
4213
+ "description": "图标额外类名",
4307
4214
  "value": {
4308
- "type": "boolean",
4215
+ "type": "any",
4309
4216
  "kind": "expression"
4310
4217
  }
4311
4218
  },
4312
4219
  {
4313
- "name": "readonly",
4220
+ "name": "dot",
4314
4221
  "default": "`false`",
4315
- "description": "是否将表单中的所有输入框设置为只读",
4222
+ "description": "是否显示图标右上角小红点",
4316
4223
  "value": {
4317
4224
  "type": "boolean",
4318
4225
  "kind": "expression"
4319
4226
  }
4320
4227
  },
4321
4228
  {
4322
- "name": "validate-first",
4323
- "default": "`false`",
4324
- "description": "是否在某一项校验不通过时停止校验",
4229
+ "name": "badge",
4230
+ "default": "-",
4231
+ "description": "图标右上角徽标的内容",
4325
4232
  "value": {
4326
- "type": "boolean",
4233
+ "type": "number | string",
4327
4234
  "kind": "expression"
4328
4235
  }
4329
4236
  },
4330
4237
  {
4331
- "name": "scroll-to-error",
4332
- "default": "`false`",
4333
- "description": "是否在提交表单且校验不通过时滚动至错误的表单项",
4238
+ "name": "info",
4239
+ "default": "-",
4240
+ "description": "图标右上角徽标的内容(已废弃,请使用 badge 属性)",
4334
4241
  "value": {
4335
- "type": "boolean",
4242
+ "type": "number | string",
4336
4243
  "kind": "expression"
4337
4244
  }
4338
4245
  },
4339
4246
  {
4340
- "name": "show-error",
4341
- "default": "`true`",
4342
- "description": "是否在校验不通过时标红输入框",
4247
+ "name": "url",
4248
+ "default": "-",
4249
+ "description": "点击后跳转的链接地址",
4343
4250
  "value": {
4344
- "type": "boolean",
4251
+ "type": "string",
4345
4252
  "kind": "expression"
4346
4253
  }
4347
4254
  },
4348
4255
  {
4349
- "name": "show-error-message",
4350
- "default": "`true`",
4351
- "description": "是否在校验不通过时在输入框下方展示错误提示",
4256
+ "name": "to",
4257
+ "default": "-",
4258
+ "description": "点击后跳转的目标路由对象,同 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to)",
4352
4259
  "value": {
4353
- "type": "boolean",
4260
+ "type": "string | object",
4354
4261
  "kind": "expression"
4355
4262
  }
4356
4263
  },
4357
4264
  {
4358
- "name": "submit-on-enter",
4359
- "default": "`true`",
4360
- "description": "是否在按下回车键时提交表单",
4265
+ "name": "replace",
4266
+ "default": "`false`",
4267
+ "description": "是否在跳转时替换当前页面历史",
4361
4268
  "value": {
4362
4269
  "type": "boolean",
4363
4270
  "kind": "expression"
@@ -4366,84 +4273,93 @@
4366
4273
  ]
4367
4274
  },
4368
4275
  {
4369
- "name": "van-icon",
4370
- "slots": [],
4371
- "events": [
4276
+ "name": "van-goods-action-button",
4277
+ "slots": [
4372
4278
  {
4373
- "name": "click",
4374
- "description": "点击图标时触发"
4279
+ "name": "default",
4280
+ "description": "按钮显示内容"
4375
4281
  }
4376
4282
  ],
4283
+ "events": [],
4377
4284
  "attributes": [
4378
4285
  {
4379
- "name": "name",
4286
+ "name": "text",
4380
4287
  "default": "-",
4381
- "description": "图标名称或图片链接",
4288
+ "description": "按钮文字",
4382
4289
  "value": {
4383
4290
  "type": "string",
4384
4291
  "kind": "expression"
4385
4292
  }
4386
4293
  },
4387
4294
  {
4388
- "name": "dot",
4389
- "default": "`false`",
4390
- "description": "是否显示图标右上角小红点",
4295
+ "name": "type",
4296
+ "default": "`default`",
4297
+ "description": "按钮类型,可选值为 `primary` `info` `warning` `danger`",
4391
4298
  "value": {
4392
- "type": "boolean",
4299
+ "type": "string",
4393
4300
  "kind": "expression"
4394
4301
  }
4395
4302
  },
4396
4303
  {
4397
- "name": "badge",
4304
+ "name": "color",
4398
4305
  "default": "-",
4399
- "description": "图标右上角徽标的内容",
4306
+ "description": "按钮颜色,支持传入`linear-gradient`渐变色",
4400
4307
  "value": {
4401
- "type": "number | string",
4308
+ "type": "string",
4402
4309
  "kind": "expression"
4403
4310
  }
4404
4311
  },
4405
4312
  {
4406
- "name": "info",
4313
+ "name": "icon",
4407
4314
  "default": "-",
4408
- "description": "图标右上角徽标的内容(已废弃,请使用 badge 属性)",
4315
+ "description": "左侧[图标名称](#/zh-CN/icon)或图片链接",
4409
4316
  "value": {
4410
- "type": "number | string",
4317
+ "type": "string",
4411
4318
  "kind": "expression"
4412
4319
  }
4413
4320
  },
4414
4321
  {
4415
- "name": "color",
4416
- "default": "`inherit`",
4417
- "description": "图标颜色",
4322
+ "name": "disabled",
4323
+ "default": "`false`",
4324
+ "description": "是否禁用按钮",
4418
4325
  "value": {
4419
- "type": "string",
4326
+ "type": "boolean",
4420
4327
  "kind": "expression"
4421
4328
  }
4422
4329
  },
4423
4330
  {
4424
- "name": "size",
4425
- "default": "`inherit`",
4426
- "description": "图标大小,如 `20px` `2em`,默认单位为`px`",
4331
+ "name": "loading",
4332
+ "default": "`false`",
4333
+ "description": "是否显示为加载状态",
4427
4334
  "value": {
4428
- "type": "number | string",
4335
+ "type": "boolean",
4429
4336
  "kind": "expression"
4430
4337
  }
4431
4338
  },
4432
4339
  {
4433
- "name": "class-prefix",
4434
- "default": "`van-icon`",
4435
- "description": "类名前缀,用于使用自定义图标",
4340
+ "name": "url",
4341
+ "default": "-",
4342
+ "description": "点击后跳转的链接地址",
4436
4343
  "value": {
4437
4344
  "type": "string",
4438
4345
  "kind": "expression"
4439
4346
  }
4440
4347
  },
4441
4348
  {
4442
- "name": "tag",
4443
- "default": "`i`",
4444
- "description": "HTML 标签",
4349
+ "name": "to",
4350
+ "default": "-",
4351
+ "description": "点击后跳转的目标路由对象,同 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to)",
4445
4352
  "value": {
4446
- "type": "string",
4353
+ "type": "string | object",
4354
+ "kind": "expression"
4355
+ }
4356
+ },
4357
+ {
4358
+ "name": "replace",
4359
+ "default": "`false`",
4360
+ "description": "是否在跳转时替换当前页面历史",
4361
+ "value": {
4362
+ "type": "boolean",
4447
4363
  "kind": "expression"
4448
4364
  }
4449
4365
  }
@@ -4634,6 +4550,90 @@
4634
4550
  }
4635
4551
  ]
4636
4552
  },
4553
+ {
4554
+ "name": "van-icon",
4555
+ "slots": [],
4556
+ "events": [
4557
+ {
4558
+ "name": "click",
4559
+ "description": "点击图标时触发"
4560
+ }
4561
+ ],
4562
+ "attributes": [
4563
+ {
4564
+ "name": "name",
4565
+ "default": "-",
4566
+ "description": "图标名称或图片链接",
4567
+ "value": {
4568
+ "type": "string",
4569
+ "kind": "expression"
4570
+ }
4571
+ },
4572
+ {
4573
+ "name": "dot",
4574
+ "default": "`false`",
4575
+ "description": "是否显示图标右上角小红点",
4576
+ "value": {
4577
+ "type": "boolean",
4578
+ "kind": "expression"
4579
+ }
4580
+ },
4581
+ {
4582
+ "name": "badge",
4583
+ "default": "-",
4584
+ "description": "图标右上角徽标的内容",
4585
+ "value": {
4586
+ "type": "number | string",
4587
+ "kind": "expression"
4588
+ }
4589
+ },
4590
+ {
4591
+ "name": "info",
4592
+ "default": "-",
4593
+ "description": "图标右上角徽标的内容(已废弃,请使用 badge 属性)",
4594
+ "value": {
4595
+ "type": "number | string",
4596
+ "kind": "expression"
4597
+ }
4598
+ },
4599
+ {
4600
+ "name": "color",
4601
+ "default": "`inherit`",
4602
+ "description": "图标颜色",
4603
+ "value": {
4604
+ "type": "string",
4605
+ "kind": "expression"
4606
+ }
4607
+ },
4608
+ {
4609
+ "name": "size",
4610
+ "default": "`inherit`",
4611
+ "description": "图标大小,如 `20px` `2em`,默认单位为`px`",
4612
+ "value": {
4613
+ "type": "number | string",
4614
+ "kind": "expression"
4615
+ }
4616
+ },
4617
+ {
4618
+ "name": "class-prefix",
4619
+ "default": "`van-icon`",
4620
+ "description": "类名前缀,用于使用自定义图标",
4621
+ "value": {
4622
+ "type": "string",
4623
+ "kind": "expression"
4624
+ }
4625
+ },
4626
+ {
4627
+ "name": "tag",
4628
+ "default": "`i`",
4629
+ "description": "HTML 标签",
4630
+ "value": {
4631
+ "type": "string",
4632
+ "kind": "expression"
4633
+ }
4634
+ }
4635
+ ]
4636
+ },
4637
4637
  {
4638
4638
  "name": "van-image",
4639
4639
  "slots": [
@@ -4737,130 +4737,48 @@
4737
4737
  "kind": "expression"
4738
4738
  }
4739
4739
  },
4740
- {
4741
- "name": "show-error",
4742
- "default": "`true`",
4743
- "description": "是否展示图片加载失败提示",
4744
- "value": {
4745
- "type": "boolean",
4746
- "kind": "expression"
4747
- }
4748
- },
4749
- {
4750
- "name": "show-loading",
4751
- "default": "`true`",
4752
- "description": "是否展示图片加载中提示",
4753
- "value": {
4754
- "type": "boolean",
4755
- "kind": "expression"
4756
- }
4757
- },
4758
- {
4759
- "name": "error-icon",
4760
- "default": "`photo-fail`",
4761
- "description": "失败时提示的[图标名称](#/zh-CN/icon)或图片链接",
4762
- "value": {
4763
- "type": "string",
4764
- "kind": "expression"
4765
- }
4766
- },
4767
- {
4768
- "name": "loading-icon",
4769
- "default": "`photo`",
4770
- "description": "加载时提示的[图标名称](#/zh-CN/icon)或图片链接",
4771
- "value": {
4772
- "type": "string",
4773
- "kind": "expression"
4774
- }
4775
- },
4776
- {
4777
- "name": "icon-prefix",
4778
- "default": "`van-icon`",
4779
- "description": "图标类名前缀,同 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props)",
4780
- "value": {
4781
- "type": "string",
4782
- "kind": "expression"
4783
- }
4784
- }
4785
- ]
4786
- },
4787
- {
4788
- "name": "van-index-bar",
4789
- "slots": [],
4790
- "events": [
4791
- {
4792
- "name": "select",
4793
- "description": "点击索引栏的字符时触发"
4794
- },
4795
- {
4796
- "name": "change",
4797
- "description": "当前高亮的索引字符变化时触发"
4798
- }
4799
- ],
4800
- "attributes": [
4801
- {
4802
- "name": "index-list",
4803
- "default": "`A-Z`",
4804
- "description": "索引字符列表",
4805
- "value": {
4806
- "type": "string[] | number[]",
4807
- "kind": "expression"
4808
- }
4809
- },
4810
- {
4811
- "name": "z-index",
4812
- "default": "`1`",
4813
- "description": "z-index 层级",
4740
+ {
4741
+ "name": "show-error",
4742
+ "default": "`true`",
4743
+ "description": "是否展示图片加载失败提示",
4814
4744
  "value": {
4815
- "type": "number | string",
4745
+ "type": "boolean",
4816
4746
  "kind": "expression"
4817
4747
  }
4818
4748
  },
4819
4749
  {
4820
- "name": "sticky",
4750
+ "name": "show-loading",
4821
4751
  "default": "`true`",
4822
- "description": "是否开启锚点自动吸顶",
4752
+ "description": "是否展示图片加载中提示",
4823
4753
  "value": {
4824
4754
  "type": "boolean",
4825
4755
  "kind": "expression"
4826
4756
  }
4827
4757
  },
4828
4758
  {
4829
- "name": "sticky-offset-top",
4830
- "default": "`0`",
4831
- "description": "锚点自动吸顶时与顶部的距离",
4759
+ "name": "error-icon",
4760
+ "default": "`photo-fail`",
4761
+ "description": "失败时提示的[图标名称](#/zh-CN/icon)或图片链接",
4832
4762
  "value": {
4833
- "type": "number",
4763
+ "type": "string",
4834
4764
  "kind": "expression"
4835
4765
  }
4836
4766
  },
4837
4767
  {
4838
- "name": "highlight-color",
4839
- "default": "`#ee0a24`",
4840
- "description": "索引字符高亮颜色",
4768
+ "name": "loading-icon",
4769
+ "default": "`photo`",
4770
+ "description": "加载时提示的[图标名称](#/zh-CN/icon)或图片链接",
4841
4771
  "value": {
4842
4772
  "type": "string",
4843
4773
  "kind": "expression"
4844
4774
  }
4845
- }
4846
- ]
4847
- },
4848
- {
4849
- "name": "van-index-anchor",
4850
- "slots": [
4851
- {
4852
- "name": "default",
4853
- "description": "锚点位置显示内容,默认为索引字符"
4854
- }
4855
- ],
4856
- "events": [],
4857
- "attributes": [
4775
+ },
4858
4776
  {
4859
- "name": "index",
4860
- "default": "-",
4861
- "description": "索引字符",
4777
+ "name": "icon-prefix",
4778
+ "default": "`van-icon`",
4779
+ "description": "图标类名前缀,同 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props)",
4862
4780
  "value": {
4863
- "type": "number | string",
4781
+ "type": "string",
4864
4782
  "kind": "expression"
4865
4783
  }
4866
4784
  }
@@ -5052,6 +4970,88 @@
5052
4970
  }
5053
4971
  ]
5054
4972
  },
4973
+ {
4974
+ "name": "van-index-bar",
4975
+ "slots": [],
4976
+ "events": [
4977
+ {
4978
+ "name": "select",
4979
+ "description": "点击索引栏的字符时触发"
4980
+ },
4981
+ {
4982
+ "name": "change",
4983
+ "description": "当前高亮的索引字符变化时触发"
4984
+ }
4985
+ ],
4986
+ "attributes": [
4987
+ {
4988
+ "name": "index-list",
4989
+ "default": "`A-Z`",
4990
+ "description": "索引字符列表",
4991
+ "value": {
4992
+ "type": "string[] | number[]",
4993
+ "kind": "expression"
4994
+ }
4995
+ },
4996
+ {
4997
+ "name": "z-index",
4998
+ "default": "`1`",
4999
+ "description": "z-index 层级",
5000
+ "value": {
5001
+ "type": "number | string",
5002
+ "kind": "expression"
5003
+ }
5004
+ },
5005
+ {
5006
+ "name": "sticky",
5007
+ "default": "`true`",
5008
+ "description": "是否开启锚点自动吸顶",
5009
+ "value": {
5010
+ "type": "boolean",
5011
+ "kind": "expression"
5012
+ }
5013
+ },
5014
+ {
5015
+ "name": "sticky-offset-top",
5016
+ "default": "`0`",
5017
+ "description": "锚点自动吸顶时与顶部的距离",
5018
+ "value": {
5019
+ "type": "number",
5020
+ "kind": "expression"
5021
+ }
5022
+ },
5023
+ {
5024
+ "name": "highlight-color",
5025
+ "default": "`#ee0a24`",
5026
+ "description": "索引字符高亮颜色",
5027
+ "value": {
5028
+ "type": "string",
5029
+ "kind": "expression"
5030
+ }
5031
+ }
5032
+ ]
5033
+ },
5034
+ {
5035
+ "name": "van-index-anchor",
5036
+ "slots": [
5037
+ {
5038
+ "name": "default",
5039
+ "description": "锚点位置显示内容,默认为索引字符"
5040
+ }
5041
+ ],
5042
+ "events": [],
5043
+ "attributes": [
5044
+ {
5045
+ "name": "index",
5046
+ "default": "-",
5047
+ "description": "索引字符",
5048
+ "value": {
5049
+ "type": "number | string",
5050
+ "kind": "expression"
5051
+ }
5052
+ }
5053
+ ]
5054
+ },
5055
5055
  {
5056
5056
  "name": "van-list",
5057
5057
  "slots": [
@@ -5641,112 +5641,6 @@
5641
5641
  }
5642
5642
  ]
5643
5643
  },
5644
- {
5645
- "name": "van-pagination",
5646
- "slots": [
5647
- {
5648
- "name": "page",
5649
- "description": "自定义页码"
5650
- },
5651
- {
5652
- "name": "prev-text",
5653
- "description": "自定义上一页按钮文字"
5654
- },
5655
- {
5656
- "name": "next-text",
5657
- "description": "自定义下一页按钮文字"
5658
- }
5659
- ],
5660
- "events": [
5661
- {
5662
- "name": "change",
5663
- "description": "页码改变时触发"
5664
- }
5665
- ],
5666
- "attributes": [
5667
- {
5668
- "name": "v-model",
5669
- "default": "-",
5670
- "description": "当前页码",
5671
- "value": {
5672
- "type": "number",
5673
- "kind": "expression"
5674
- }
5675
- },
5676
- {
5677
- "name": "mode",
5678
- "default": "`multi`",
5679
- "description": "显示模式,可选值为 `simple`",
5680
- "value": {
5681
- "type": "string",
5682
- "kind": "expression"
5683
- }
5684
- },
5685
- {
5686
- "name": "prev-text",
5687
- "default": "`上一页`",
5688
- "description": "上一页按钮文字",
5689
- "value": {
5690
- "type": "string",
5691
- "kind": "expression"
5692
- }
5693
- },
5694
- {
5695
- "name": "next-text",
5696
- "default": "`下一页`",
5697
- "description": "下一页按钮文字",
5698
- "value": {
5699
- "type": "string",
5700
- "kind": "expression"
5701
- }
5702
- },
5703
- {
5704
- "name": "page-count",
5705
- "default": "根据页数计算",
5706
- "description": "总页数",
5707
- "value": {
5708
- "type": "number | string",
5709
- "kind": "expression"
5710
- }
5711
- },
5712
- {
5713
- "name": "total-items",
5714
- "default": "`0`",
5715
- "description": "总记录数",
5716
- "value": {
5717
- "type": "number | string",
5718
- "kind": "expression"
5719
- }
5720
- },
5721
- {
5722
- "name": "items-per-page",
5723
- "default": "`10`",
5724
- "description": "每页记录数",
5725
- "value": {
5726
- "type": "number | string",
5727
- "kind": "expression"
5728
- }
5729
- },
5730
- {
5731
- "name": "show-page-size",
5732
- "default": "`5`",
5733
- "description": "显示的页码个数",
5734
- "value": {
5735
- "type": "number | string",
5736
- "kind": "expression"
5737
- }
5738
- },
5739
- {
5740
- "name": "force-ellipses",
5741
- "default": "`false`",
5742
- "description": "是否显示省略号",
5743
- "value": {
5744
- "type": "boolean",
5745
- "kind": "expression"
5746
- }
5747
- }
5748
- ]
5749
- },
5750
5644
  {
5751
5645
  "name": "van-overlay",
5752
5646
  "slots": [
@@ -5819,73 +5713,104 @@
5819
5713
  ]
5820
5714
  },
5821
5715
  {
5822
- "name": "van-password-input",
5823
- "slots": [],
5716
+ "name": "van-pagination",
5717
+ "slots": [
5718
+ {
5719
+ "name": "page",
5720
+ "description": "自定义页码"
5721
+ },
5722
+ {
5723
+ "name": "prev-text",
5724
+ "description": "自定义上一页按钮文字"
5725
+ },
5726
+ {
5727
+ "name": "next-text",
5728
+ "description": "自定义下一页按钮文字"
5729
+ }
5730
+ ],
5824
5731
  "events": [
5825
5732
  {
5826
- "name": "focus",
5827
- "description": "输入框聚焦时触发"
5733
+ "name": "change",
5734
+ "description": "页码改变时触发"
5828
5735
  }
5829
5736
  ],
5830
5737
  "attributes": [
5831
5738
  {
5832
- "name": "value",
5833
- "default": "`''`",
5834
- "description": "密码值",
5739
+ "name": "v-model",
5740
+ "default": "-",
5741
+ "description": "当前页码",
5742
+ "value": {
5743
+ "type": "number",
5744
+ "kind": "expression"
5745
+ }
5746
+ },
5747
+ {
5748
+ "name": "mode",
5749
+ "default": "`multi`",
5750
+ "description": "显示模式,可选值为 `simple`",
5835
5751
  "value": {
5836
5752
  "type": "string",
5837
5753
  "kind": "expression"
5838
5754
  }
5839
5755
  },
5840
5756
  {
5841
- "name": "info",
5842
- "default": "-",
5843
- "description": "输入框下方文字提示",
5757
+ "name": "prev-text",
5758
+ "default": "`上一页`",
5759
+ "description": "上一页按钮文字",
5844
5760
  "value": {
5845
5761
  "type": "string",
5846
5762
  "kind": "expression"
5847
5763
  }
5848
5764
  },
5849
5765
  {
5850
- "name": "error-info",
5851
- "default": "-",
5852
- "description": "输入框下方错误提示",
5766
+ "name": "next-text",
5767
+ "default": "`下一页`",
5768
+ "description": "下一页按钮文字",
5853
5769
  "value": {
5854
5770
  "type": "string",
5855
5771
  "kind": "expression"
5856
5772
  }
5857
5773
  },
5858
5774
  {
5859
- "name": "length",
5860
- "default": "`6`",
5861
- "description": "密码最大长度",
5775
+ "name": "page-count",
5776
+ "default": "根据页数计算",
5777
+ "description": "总页数",
5862
5778
  "value": {
5863
5779
  "type": "number | string",
5864
5780
  "kind": "expression"
5865
5781
  }
5866
5782
  },
5867
5783
  {
5868
- "name": "gutter",
5784
+ "name": "total-items",
5869
5785
  "default": "`0`",
5870
- "description": "输入框格子之间的间距,如 `20px` `2em`,默认单位为`px`",
5786
+ "description": "总记录数",
5871
5787
  "value": {
5872
5788
  "type": "number | string",
5873
5789
  "kind": "expression"
5874
5790
  }
5875
5791
  },
5876
5792
  {
5877
- "name": "mask",
5878
- "default": "`true`",
5879
- "description": "是否隐藏密码内容",
5793
+ "name": "items-per-page",
5794
+ "default": "`10`",
5795
+ "description": "每页记录数",
5880
5796
  "value": {
5881
- "type": "boolean",
5797
+ "type": "number | string",
5882
5798
  "kind": "expression"
5883
5799
  }
5884
5800
  },
5885
5801
  {
5886
- "name": "focused",
5802
+ "name": "show-page-size",
5803
+ "default": "`5`",
5804
+ "description": "显示的页码个数",
5805
+ "value": {
5806
+ "type": "number | string",
5807
+ "kind": "expression"
5808
+ }
5809
+ },
5810
+ {
5811
+ "name": "force-ellipses",
5887
5812
  "default": "`false`",
5888
- "description": "是否已聚焦,聚焦时会显示光标",
5813
+ "description": "是否显示省略号",
5889
5814
  "value": {
5890
5815
  "type": "boolean",
5891
5816
  "kind": "expression"
@@ -5950,86 +5875,73 @@
5950
5875
  ]
5951
5876
  },
5952
5877
  {
5953
- "name": "van-progress",
5878
+ "name": "van-password-input",
5954
5879
  "slots": [],
5955
- "events": [],
5956
- "attributes": [
5957
- {
5958
- "name": "percentage",
5959
- "default": "`0`",
5960
- "description": "进度百分比",
5961
- "value": {
5962
- "type": "number | string",
5963
- "kind": "expression"
5964
- }
5965
- },
5880
+ "events": [
5966
5881
  {
5967
- "name": "stroke-width",
5968
- "default": "`4px`",
5969
- "description": "进度条粗细,默认单位为`px`",
5970
- "value": {
5971
- "type": "number | string",
5972
- "kind": "expression"
5973
- }
5974
- },
5882
+ "name": "focus",
5883
+ "description": "输入框聚焦时触发"
5884
+ }
5885
+ ],
5886
+ "attributes": [
5975
5887
  {
5976
- "name": "color",
5977
- "default": "`#1989fa`",
5978
- "description": "进度条颜色",
5888
+ "name": "value",
5889
+ "default": "`''`",
5890
+ "description": "密码值",
5979
5891
  "value": {
5980
5892
  "type": "string",
5981
5893
  "kind": "expression"
5982
5894
  }
5983
5895
  },
5984
5896
  {
5985
- "name": "track-color",
5986
- "default": "`#e5e5e5`",
5987
- "description": "轨道颜色",
5897
+ "name": "info",
5898
+ "default": "-",
5899
+ "description": "输入框下方文字提示",
5988
5900
  "value": {
5989
5901
  "type": "string",
5990
5902
  "kind": "expression"
5991
5903
  }
5992
5904
  },
5993
5905
  {
5994
- "name": "pivot-text",
5995
- "default": "百分比",
5996
- "description": "进度文字内容",
5906
+ "name": "error-info",
5907
+ "default": "-",
5908
+ "description": "输入框下方错误提示",
5997
5909
  "value": {
5998
5910
  "type": "string",
5999
5911
  "kind": "expression"
6000
5912
  }
6001
5913
  },
6002
5914
  {
6003
- "name": "pivot-color",
6004
- "default": "同进度条颜色",
6005
- "description": "进度文字背景色",
5915
+ "name": "length",
5916
+ "default": "`6`",
5917
+ "description": "密码最大长度",
6006
5918
  "value": {
6007
- "type": "string",
5919
+ "type": "number | string",
6008
5920
  "kind": "expression"
6009
5921
  }
6010
5922
  },
6011
5923
  {
6012
- "name": "text-color",
6013
- "default": "`white`",
6014
- "description": "进度文字颜色",
5924
+ "name": "gutter",
5925
+ "default": "`0`",
5926
+ "description": "输入框格子之间的间距,如 `20px` `2em`,默认单位为`px`",
6015
5927
  "value": {
6016
- "type": "string",
5928
+ "type": "number | string",
6017
5929
  "kind": "expression"
6018
5930
  }
6019
5931
  },
6020
5932
  {
6021
- "name": "inactive",
6022
- "default": "`false`",
6023
- "description": "是否置灰",
5933
+ "name": "mask",
5934
+ "default": "`true`",
5935
+ "description": "是否隐藏密码内容",
6024
5936
  "value": {
6025
5937
  "type": "boolean",
6026
5938
  "kind": "expression"
6027
5939
  }
6028
5940
  },
6029
5941
  {
6030
- "name": "show-pivot",
6031
- "default": "`true`",
6032
- "description": "是否显示进度文字",
5942
+ "name": "focused",
5943
+ "default": "`false`",
5944
+ "description": "是否已聚焦,聚焦时会显示光标",
6033
5945
  "value": {
6034
5946
  "type": "boolean",
6035
5947
  "kind": "expression"
@@ -6202,11 +6114,137 @@
6202
6114
  }
6203
6115
  },
6204
6116
  {
6205
- "name": "swipe-duration",
6206
- "default": "`1000`",
6207
- "description": "快速滑动时惯性滚动的时长,单位 `ms`",
6117
+ "name": "swipe-duration",
6118
+ "default": "`1000`",
6119
+ "description": "快速滑动时惯性滚动的时长,单位 `ms`",
6120
+ "value": {
6121
+ "type": "number | string",
6122
+ "kind": "expression"
6123
+ }
6124
+ }
6125
+ ]
6126
+ },
6127
+ {
6128
+ "name": "van-popover",
6129
+ "slots": [
6130
+ {
6131
+ "name": "default",
6132
+ "description": "自定义菜单内容"
6133
+ },
6134
+ {
6135
+ "name": "reference",
6136
+ "description": "触发 Popover 显示的元素内容"
6137
+ }
6138
+ ],
6139
+ "events": [
6140
+ {
6141
+ "name": "select",
6142
+ "description": "点击选项时触发"
6143
+ },
6144
+ {
6145
+ "name": "open",
6146
+ "description": "打开菜单时触发"
6147
+ },
6148
+ {
6149
+ "name": "close",
6150
+ "description": "关闭菜单时触发"
6151
+ },
6152
+ {
6153
+ "name": "opened",
6154
+ "description": "打开菜单且动画结束后触发"
6155
+ },
6156
+ {
6157
+ "name": "closed",
6158
+ "description": "关闭菜单且动画结束后触发"
6159
+ }
6160
+ ],
6161
+ "attributes": [
6162
+ {
6163
+ "name": "v-model",
6164
+ "default": "`false`",
6165
+ "description": "是否展示气泡弹出层",
6166
+ "value": {
6167
+ "type": "boolean",
6168
+ "kind": "expression"
6169
+ }
6170
+ },
6171
+ {
6172
+ "name": "actions",
6173
+ "default": "`[]`",
6174
+ "description": "选项列表",
6175
+ "value": {
6176
+ "type": "Action[]",
6177
+ "kind": "expression"
6178
+ }
6179
+ },
6180
+ {
6181
+ "name": "placement",
6182
+ "default": "`bottom`",
6183
+ "description": "弹出位置",
6184
+ "value": {
6185
+ "type": "string",
6186
+ "kind": "expression"
6187
+ }
6188
+ },
6189
+ {
6190
+ "name": "theme",
6191
+ "default": "`light`",
6192
+ "description": "主题风格,可选值为 `dark`",
6193
+ "value": {
6194
+ "type": "string",
6195
+ "kind": "expression"
6196
+ }
6197
+ },
6198
+ {
6199
+ "name": "trigger",
6200
+ "description": "触发方式,可选值为 `click`",
6201
+ "value": {
6202
+ "type": "-",
6203
+ "kind": "expression"
6204
+ }
6205
+ },
6206
+ {
6207
+ "name": "offset",
6208
+ "default": "`[0, 8]`",
6209
+ "description": "出现位置的偏移量",
6210
+ "value": {
6211
+ "type": "[number, number]",
6212
+ "kind": "expression"
6213
+ }
6214
+ },
6215
+ {
6216
+ "name": "overlay",
6217
+ "default": "`false`",
6218
+ "description": "是否显示遮罩层",
6219
+ "value": {
6220
+ "type": "boolean",
6221
+ "kind": "expression"
6222
+ }
6223
+ },
6224
+ {
6225
+ "name": "close-on-click-action",
6226
+ "default": "`true`",
6227
+ "description": "是否在点击选项后关闭",
6228
+ "value": {
6229
+ "type": "boolean",
6230
+ "kind": "expression"
6231
+ }
6232
+ },
6233
+ {
6234
+ "name": "close-on-click-outside",
6235
+ "default": "`true`",
6236
+ "description": "是否在点击外部元素后关闭菜单",
6237
+ "value": {
6238
+ "type": "boolean",
6239
+ "kind": "expression"
6240
+ }
6241
+ },
6242
+ {
6243
+ "name": "get-container",
6244
+ "default": "`body`",
6245
+ "description": "指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi)",
6208
6246
  "value": {
6209
- "type": "number | string",
6247
+ "type": "string | () => Element",
6210
6248
  "kind": "expression"
6211
6249
  }
6212
6250
  }
@@ -6411,247 +6449,279 @@
6411
6449
  ]
6412
6450
  },
6413
6451
  {
6414
- "name": "van-popover",
6415
- "slots": [
6416
- {
6417
- "name": "default",
6418
- "description": "自定义菜单内容"
6419
- },
6420
- {
6421
- "name": "reference",
6422
- "description": "触发 Popover 显示的元素内容"
6423
- }
6424
- ],
6425
- "events": [
6426
- {
6427
- "name": "select",
6428
- "description": "点击选项时触发"
6429
- },
6430
- {
6431
- "name": "open",
6432
- "description": "打开菜单时触发"
6433
- },
6434
- {
6435
- "name": "close",
6436
- "description": "关闭菜单时触发"
6437
- },
6438
- {
6439
- "name": "opened",
6440
- "description": "打开菜单且动画结束后触发"
6441
- },
6442
- {
6443
- "name": "closed",
6444
- "description": "关闭菜单且动画结束后触发"
6445
- }
6446
- ],
6452
+ "name": "van-progress",
6453
+ "slots": [],
6454
+ "events": [],
6447
6455
  "attributes": [
6448
6456
  {
6449
- "name": "v-model",
6450
- "default": "`false`",
6451
- "description": "是否展示气泡弹出层",
6457
+ "name": "percentage",
6458
+ "default": "`0`",
6459
+ "description": "进度百分比",
6452
6460
  "value": {
6453
- "type": "boolean",
6461
+ "type": "number | string",
6454
6462
  "kind": "expression"
6455
6463
  }
6456
6464
  },
6457
6465
  {
6458
- "name": "actions",
6459
- "default": "`[]`",
6460
- "description": "选项列表",
6466
+ "name": "stroke-width",
6467
+ "default": "`4px`",
6468
+ "description": "进度条粗细,默认单位为`px`",
6461
6469
  "value": {
6462
- "type": "Action[]",
6470
+ "type": "number | string",
6463
6471
  "kind": "expression"
6464
6472
  }
6465
6473
  },
6466
6474
  {
6467
- "name": "placement",
6468
- "default": "`bottom`",
6469
- "description": "弹出位置",
6475
+ "name": "color",
6476
+ "default": "`#1989fa`",
6477
+ "description": "进度条颜色",
6470
6478
  "value": {
6471
6479
  "type": "string",
6472
6480
  "kind": "expression"
6473
6481
  }
6474
6482
  },
6475
6483
  {
6476
- "name": "theme",
6477
- "default": "`light`",
6478
- "description": "主题风格,可选值为 `dark`",
6484
+ "name": "track-color",
6485
+ "default": "`#e5e5e5`",
6486
+ "description": "轨道颜色",
6479
6487
  "value": {
6480
6488
  "type": "string",
6481
6489
  "kind": "expression"
6482
6490
  }
6483
6491
  },
6484
6492
  {
6485
- "name": "trigger",
6486
- "description": "触发方式,可选值为 `click`",
6493
+ "name": "pivot-text",
6494
+ "default": "百分比",
6495
+ "description": "进度文字内容",
6487
6496
  "value": {
6488
- "type": "-",
6497
+ "type": "string",
6489
6498
  "kind": "expression"
6490
6499
  }
6491
6500
  },
6492
6501
  {
6493
- "name": "offset",
6494
- "default": "`[0, 8]`",
6495
- "description": "出现位置的偏移量",
6502
+ "name": "pivot-color",
6503
+ "default": "同进度条颜色",
6504
+ "description": "进度文字背景色",
6496
6505
  "value": {
6497
- "type": "[number, number]",
6506
+ "type": "string",
6498
6507
  "kind": "expression"
6499
6508
  }
6500
6509
  },
6501
6510
  {
6502
- "name": "overlay",
6503
- "default": "`false`",
6504
- "description": "是否显示遮罩层",
6511
+ "name": "text-color",
6512
+ "default": "`white`",
6513
+ "description": "进度文字颜色",
6505
6514
  "value": {
6506
- "type": "boolean",
6515
+ "type": "string",
6507
6516
  "kind": "expression"
6508
6517
  }
6509
6518
  },
6510
6519
  {
6511
- "name": "close-on-click-action",
6512
- "default": "`true`",
6513
- "description": "是否在点击选项后关闭",
6520
+ "name": "inactive",
6521
+ "default": "`false`",
6522
+ "description": "是否置灰",
6514
6523
  "value": {
6515
6524
  "type": "boolean",
6516
6525
  "kind": "expression"
6517
6526
  }
6518
6527
  },
6519
6528
  {
6520
- "name": "close-on-click-outside",
6529
+ "name": "show-pivot",
6521
6530
  "default": "`true`",
6522
- "description": "是否在点击外部元素后关闭菜单",
6531
+ "description": "是否显示进度文字",
6523
6532
  "value": {
6524
6533
  "type": "boolean",
6525
6534
  "kind": "expression"
6526
6535
  }
6527
- },
6528
- {
6529
- "name": "get-container",
6530
- "default": "`body`",
6531
- "description": "指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi)",
6532
- "value": {
6533
- "type": "string | () => Element",
6534
- "kind": "expression"
6535
- }
6536
6536
  }
6537
6537
  ]
6538
6538
  },
6539
6539
  {
6540
- "name": "van-radio",
6540
+ "name": "van-pull-refresh",
6541
6541
  "slots": [
6542
6542
  {
6543
6543
  "name": "default",
6544
- "description": "自定义文本"
6544
+ "description": "自定义内容"
6545
6545
  },
6546
6546
  {
6547
- "name": "icon",
6548
- "description": "自定义图标"
6547
+ "name": "normal",
6548
+ "description": "非下拉状态时顶部内容"
6549
+ },
6550
+ {
6551
+ "name": "pulling",
6552
+ "description": "下拉过程中顶部内容"
6553
+ },
6554
+ {
6555
+ "name": "loosing",
6556
+ "description": "释放过程中顶部内容"
6557
+ },
6558
+ {
6559
+ "name": "loading",
6560
+ "description": "加载过程中顶部内容"
6561
+ },
6562
+ {
6563
+ "name": "success",
6564
+ "description": "刷新成功提示内容"
6549
6565
  }
6550
6566
  ],
6551
6567
  "events": [
6552
6568
  {
6553
- "name": "click",
6554
- "description": "点击单选框时触发"
6569
+ "name": "refresh",
6570
+ "description": "下拉刷新时触发"
6555
6571
  }
6556
6572
  ],
6557
6573
  "attributes": [
6558
6574
  {
6559
- "name": "name",
6575
+ "name": "v-model",
6560
6576
  "default": "-",
6561
- "description": "标识符",
6577
+ "description": "是否处于加载中状态",
6562
6578
  "value": {
6563
- "type": "any",
6579
+ "type": "boolean",
6564
6580
  "kind": "expression"
6565
6581
  }
6566
6582
  },
6567
6583
  {
6568
- "name": "shape",
6569
- "default": "`round`",
6570
- "description": "形状,可选值为 `square`",
6584
+ "name": "pulling-text",
6585
+ "default": "`下拉即可刷新...`",
6586
+ "description": "下拉过程提示文案",
6571
6587
  "value": {
6572
6588
  "type": "string",
6573
6589
  "kind": "expression"
6574
6590
  }
6575
6591
  },
6576
6592
  {
6577
- "name": "disabled",
6578
- "default": "`false`",
6579
- "description": "是否为禁用状态",
6593
+ "name": "loosing-text",
6594
+ "default": "`释放即可刷新...`",
6595
+ "description": "释放过程提示文案",
6580
6596
  "value": {
6581
- "type": "boolean",
6597
+ "type": "string",
6582
6598
  "kind": "expression"
6583
6599
  }
6584
6600
  },
6585
6601
  {
6586
- "name": "label-disabled",
6587
- "default": "`false`",
6588
- "description": "是否禁用文本内容点击",
6602
+ "name": "loading-text",
6603
+ "default": "`加载中...`",
6604
+ "description": "加载过程提示文案",
6589
6605
  "value": {
6590
- "type": "boolean",
6606
+ "type": "string",
6591
6607
  "kind": "expression"
6592
6608
  }
6593
6609
  },
6594
6610
  {
6595
- "name": "label-position",
6596
- "default": "`right`",
6597
- "description": "文本位置,可选值为 `left`",
6611
+ "name": "success-text",
6612
+ "default": "-",
6613
+ "description": "刷新成功提示文案",
6598
6614
  "value": {
6599
6615
  "type": "string",
6600
6616
  "kind": "expression"
6601
6617
  }
6602
6618
  },
6603
6619
  {
6604
- "name": "icon-size",
6605
- "default": "`20px`",
6606
- "description": "图标大小,默认单位为`px`",
6620
+ "name": "success-duration",
6621
+ "default": "`500`",
6622
+ "description": "刷新成功提示展示时长(ms)",
6607
6623
  "value": {
6608
6624
  "type": "number | string",
6609
6625
  "kind": "expression"
6610
6626
  }
6611
6627
  },
6612
6628
  {
6613
- "name": "checked-color",
6614
- "default": "`#1989fa`",
6615
- "description": "选中状态颜色",
6629
+ "name": "animation-duration",
6630
+ "default": "`300`",
6631
+ "description": "动画时长",
6616
6632
  "value": {
6617
- "type": "string",
6633
+ "type": "number | string",
6634
+ "kind": "expression"
6635
+ }
6636
+ },
6637
+ {
6638
+ "name": "head-height",
6639
+ "default": "`50`",
6640
+ "description": "顶部内容高度",
6641
+ "value": {
6642
+ "type": "number | string",
6643
+ "kind": "expression"
6644
+ }
6645
+ },
6646
+ {
6647
+ "name": "pull-distance",
6648
+ "default": "与 `head-height` 一致",
6649
+ "description": "触发下拉刷新的距离",
6650
+ "value": {
6651
+ "type": "number | string",
6652
+ "kind": "expression"
6653
+ }
6654
+ },
6655
+ {
6656
+ "name": "disabled",
6657
+ "default": "`false`",
6658
+ "description": "是否禁用下拉刷新",
6659
+ "value": {
6660
+ "type": "boolean",
6618
6661
  "kind": "expression"
6619
6662
  }
6620
6663
  }
6621
6664
  ]
6622
6665
  },
6623
6666
  {
6624
- "name": "van-radio-group",
6625
- "slots": [],
6667
+ "name": "van-radio",
6668
+ "slots": [
6669
+ {
6670
+ "name": "default",
6671
+ "description": "自定义文本"
6672
+ },
6673
+ {
6674
+ "name": "icon",
6675
+ "description": "自定义图标"
6676
+ }
6677
+ ],
6626
6678
  "events": [
6627
6679
  {
6628
- "name": "change",
6629
- "description": "当绑定值变化时触发的事件"
6680
+ "name": "click",
6681
+ "description": "点击单选框时触发"
6630
6682
  }
6631
6683
  ],
6632
6684
  "attributes": [
6633
6685
  {
6634
- "name": "v-model (value)",
6686
+ "name": "name",
6635
6687
  "default": "-",
6636
- "description": "当前选中项的标识符",
6688
+ "description": "标识符",
6637
6689
  "value": {
6638
6690
  "type": "any",
6639
6691
  "kind": "expression"
6640
6692
  }
6641
6693
  },
6642
6694
  {
6643
- "name": "disabled",
6695
+ "name": "shape",
6696
+ "default": "`round`",
6697
+ "description": "形状,可选值为 `square`",
6698
+ "value": {
6699
+ "type": "string",
6700
+ "kind": "expression"
6701
+ }
6702
+ },
6703
+ {
6704
+ "name": "disabled",
6705
+ "default": "`false`",
6706
+ "description": "是否为禁用状态",
6707
+ "value": {
6708
+ "type": "boolean",
6709
+ "kind": "expression"
6710
+ }
6711
+ },
6712
+ {
6713
+ "name": "label-disabled",
6644
6714
  "default": "`false`",
6645
- "description": "是否禁用所有单选框",
6715
+ "description": "是否禁用文本内容点击",
6646
6716
  "value": {
6647
6717
  "type": "boolean",
6648
6718
  "kind": "expression"
6649
6719
  }
6650
6720
  },
6651
6721
  {
6652
- "name": "direction",
6653
- "default": "`vertical`",
6654
- "description": "排列方向,可选值为`horizontal`",
6722
+ "name": "label-position",
6723
+ "default": "`right`",
6724
+ "description": "文本位置,可选值为 `left`",
6655
6725
  "value": {
6656
6726
  "type": "string",
6657
6727
  "kind": "expression"
@@ -6660,7 +6730,7 @@
6660
6730
  {
6661
6731
  "name": "icon-size",
6662
6732
  "default": "`20px`",
6663
- "description": "所有单选框的图标大小,默认单位为`px`",
6733
+ "description": "图标大小,默认单位为`px`",
6664
6734
  "value": {
6665
6735
  "type": "number | string",
6666
6736
  "kind": "expression"
@@ -6669,7 +6739,7 @@
6669
6739
  {
6670
6740
  "name": "checked-color",
6671
6741
  "default": "`#1989fa`",
6672
- "description": "所有单选框的选中状态颜色",
6742
+ "description": "选中状态颜色",
6673
6743
  "value": {
6674
6744
  "type": "string",
6675
6745
  "kind": "expression"
@@ -6678,127 +6748,57 @@
6678
6748
  ]
6679
6749
  },
6680
6750
  {
6681
- "name": "van-pull-refresh",
6682
- "slots": [
6683
- {
6684
- "name": "default",
6685
- "description": "自定义内容"
6686
- },
6687
- {
6688
- "name": "normal",
6689
- "description": "非下拉状态时顶部内容"
6690
- },
6691
- {
6692
- "name": "pulling",
6693
- "description": "下拉过程中顶部内容"
6694
- },
6695
- {
6696
- "name": "loosing",
6697
- "description": "释放过程中顶部内容"
6698
- },
6699
- {
6700
- "name": "loading",
6701
- "description": "加载过程中顶部内容"
6702
- },
6703
- {
6704
- "name": "success",
6705
- "description": "刷新成功提示内容"
6706
- }
6707
- ],
6751
+ "name": "van-radio-group",
6752
+ "slots": [],
6708
6753
  "events": [
6709
6754
  {
6710
- "name": "refresh",
6711
- "description": "下拉刷新时触发"
6755
+ "name": "change",
6756
+ "description": "当绑定值变化时触发的事件"
6712
6757
  }
6713
6758
  ],
6714
6759
  "attributes": [
6715
6760
  {
6716
- "name": "v-model",
6761
+ "name": "v-model (value)",
6717
6762
  "default": "-",
6718
- "description": "是否处于加载中状态",
6719
- "value": {
6720
- "type": "boolean",
6721
- "kind": "expression"
6722
- }
6723
- },
6724
- {
6725
- "name": "pulling-text",
6726
- "default": "`下拉即可刷新...`",
6727
- "description": "下拉过程提示文案",
6728
- "value": {
6729
- "type": "string",
6730
- "kind": "expression"
6731
- }
6732
- },
6733
- {
6734
- "name": "loosing-text",
6735
- "default": "`释放即可刷新...`",
6736
- "description": "释放过程提示文案",
6763
+ "description": "当前选中项的标识符",
6737
6764
  "value": {
6738
- "type": "string",
6765
+ "type": "any",
6739
6766
  "kind": "expression"
6740
6767
  }
6741
6768
  },
6742
6769
  {
6743
- "name": "loading-text",
6744
- "default": "`加载中...`",
6745
- "description": "加载过程提示文案",
6770
+ "name": "disabled",
6771
+ "default": "`false`",
6772
+ "description": "是否禁用所有单选框",
6746
6773
  "value": {
6747
- "type": "string",
6774
+ "type": "boolean",
6748
6775
  "kind": "expression"
6749
6776
  }
6750
6777
  },
6751
6778
  {
6752
- "name": "success-text",
6753
- "default": "-",
6754
- "description": "刷新成功提示文案",
6779
+ "name": "direction",
6780
+ "default": "`vertical`",
6781
+ "description": "排列方向,可选值为`horizontal`",
6755
6782
  "value": {
6756
6783
  "type": "string",
6757
6784
  "kind": "expression"
6758
6785
  }
6759
6786
  },
6760
6787
  {
6761
- "name": "success-duration",
6762
- "default": "`500`",
6763
- "description": "刷新成功提示展示时长(ms)",
6764
- "value": {
6765
- "type": "number | string",
6766
- "kind": "expression"
6767
- }
6768
- },
6769
- {
6770
- "name": "animation-duration",
6771
- "default": "`300`",
6772
- "description": "动画时长",
6773
- "value": {
6774
- "type": "number | string",
6775
- "kind": "expression"
6776
- }
6777
- },
6778
- {
6779
- "name": "head-height",
6780
- "default": "`50`",
6781
- "description": "顶部内容高度",
6782
- "value": {
6783
- "type": "number | string",
6784
- "kind": "expression"
6785
- }
6786
- },
6787
- {
6788
- "name": "pull-distance",
6789
- "default": "与 `head-height` 一致",
6790
- "description": "触发下拉刷新的距离",
6788
+ "name": "icon-size",
6789
+ "default": "`20px`",
6790
+ "description": "所有单选框的图标大小,默认单位为`px`",
6791
6791
  "value": {
6792
6792
  "type": "number | string",
6793
6793
  "kind": "expression"
6794
6794
  }
6795
6795
  },
6796
6796
  {
6797
- "name": "disabled",
6798
- "default": "`false`",
6799
- "description": "是否禁用下拉刷新",
6797
+ "name": "checked-color",
6798
+ "default": "`#1989fa`",
6799
+ "description": "所有单选框的选中状态颜色",
6800
6800
  "value": {
6801
- "type": "boolean",
6801
+ "type": "string",
6802
6802
  "kind": "expression"
6803
6803
  }
6804
6804
  }
@@ -7277,207 +7277,207 @@
7277
7277
  ]
7278
7278
  },
7279
7279
  {
7280
- "name": "van-skeleton",
7280
+ "name": "van-sidebar",
7281
7281
  "slots": [],
7282
- "events": [],
7282
+ "events": [
7283
+ {
7284
+ "name": "change",
7285
+ "description": "切换导航项时触发"
7286
+ }
7287
+ ],
7283
7288
  "attributes": [
7284
7289
  {
7285
- "name": "row",
7290
+ "name": "v-model",
7286
7291
  "default": "`0`",
7287
- "description": "段落占位图行数",
7292
+ "description": "当前导航项的索引",
7288
7293
  "value": {
7289
7294
  "type": "number | string",
7290
7295
  "kind": "expression"
7291
7296
  }
7292
- },
7297
+ }
7298
+ ]
7299
+ },
7300
+ {
7301
+ "name": "van-sidebar-item",
7302
+ "slots": [
7293
7303
  {
7294
- "name": "row-width",
7295
- "default": "<br>(number \\",
7296
- "description": "段落占位图宽度,可传数组来设置每一行的宽度",
7297
- "value": {
7298
- "type": "number | string \\",
7299
- "kind": "expression"
7300
- }
7301
- },
7304
+ "name": "title",
7305
+ "description": "自定义标题"
7306
+ }
7307
+ ],
7308
+ "events": [
7309
+ {
7310
+ "name": "click",
7311
+ "description": "点击时触发"
7312
+ }
7313
+ ],
7314
+ "attributes": [
7302
7315
  {
7303
7316
  "name": "title",
7304
- "default": "`false`",
7305
- "description": "是否显示标题占位图",
7317
+ "default": "`''`",
7318
+ "description": "内容",
7306
7319
  "value": {
7307
- "type": "boolean",
7320
+ "type": "string",
7308
7321
  "kind": "expression"
7309
7322
  }
7310
7323
  },
7311
7324
  {
7312
- "name": "avatar",
7325
+ "name": "dot",
7313
7326
  "default": "`false`",
7314
- "description": "是否显示头像占位图",
7327
+ "description": "是否显示右上角小红点",
7315
7328
  "value": {
7316
7329
  "type": "boolean",
7317
7330
  "kind": "expression"
7318
7331
  }
7319
7332
  },
7320
7333
  {
7321
- "name": "loading",
7322
- "default": "`true`",
7323
- "description": "是否显示骨架屏,传 `false` 时会展示子组件内容",
7334
+ "name": "badge",
7335
+ "default": "-",
7336
+ "description": "图标右上角徽标的内容",
7324
7337
  "value": {
7325
- "type": "boolean",
7338
+ "type": "number | string",
7326
7339
  "kind": "expression"
7327
7340
  }
7328
7341
  },
7329
7342
  {
7330
- "name": "animate",
7331
- "default": "`true`",
7332
- "description": "是否开启动画",
7343
+ "name": "info",
7344
+ "default": "-",
7345
+ "description": "图标右上角徽标的内容(已废弃,请使用 badge 属性)",
7333
7346
  "value": {
7334
- "type": "boolean",
7347
+ "type": "number | string",
7335
7348
  "kind": "expression"
7336
7349
  }
7337
7350
  },
7338
7351
  {
7339
- "name": "round",
7352
+ "name": "disabled",
7340
7353
  "default": "`false`",
7341
- "description": "是否将标题和段落显示为圆角风格",
7354
+ "description": "是否禁用该项",
7342
7355
  "value": {
7343
7356
  "type": "boolean",
7344
7357
  "kind": "expression"
7345
7358
  }
7346
7359
  },
7347
7360
  {
7348
- "name": "title-width",
7349
- "default": "`40%`",
7350
- "description": "标题占位图宽度",
7361
+ "name": "url",
7362
+ "default": "-",
7363
+ "description": "点击后跳转的链接地址",
7351
7364
  "value": {
7352
- "type": "number | string",
7365
+ "type": "string",
7353
7366
  "kind": "expression"
7354
7367
  }
7355
7368
  },
7356
7369
  {
7357
- "name": "avatar-size",
7358
- "default": "`32px`",
7359
- "description": "头像占位图大小",
7370
+ "name": "to",
7371
+ "default": "-",
7372
+ "description": "点击后跳转的目标路由对象,同 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to)",
7360
7373
  "value": {
7361
- "type": "number | string",
7374
+ "type": "string | object",
7362
7375
  "kind": "expression"
7363
7376
  }
7364
7377
  },
7365
7378
  {
7366
- "name": "avatar-shape",
7367
- "default": "`round`",
7368
- "description": "头像占位图形状,可选值为`square`",
7379
+ "name": "replace",
7380
+ "default": "`false`",
7381
+ "description": "是否在跳转时替换当前页面历史",
7369
7382
  "value": {
7370
- "type": "string",
7383
+ "type": "boolean",
7371
7384
  "kind": "expression"
7372
7385
  }
7373
7386
  }
7374
7387
  ]
7375
7388
  },
7376
7389
  {
7377
- "name": "van-sidebar",
7390
+ "name": "van-skeleton",
7378
7391
  "slots": [],
7379
- "events": [
7380
- {
7381
- "name": "change",
7382
- "description": "切换导航项时触发"
7383
- }
7384
- ],
7392
+ "events": [],
7385
7393
  "attributes": [
7386
7394
  {
7387
- "name": "v-model",
7395
+ "name": "row",
7388
7396
  "default": "`0`",
7389
- "description": "当前导航项的索引",
7397
+ "description": "段落占位图行数",
7390
7398
  "value": {
7391
7399
  "type": "number | string",
7392
7400
  "kind": "expression"
7393
7401
  }
7394
- }
7395
- ]
7396
- },
7397
- {
7398
- "name": "van-sidebar-item",
7399
- "slots": [
7400
- {
7401
- "name": "title",
7402
- "description": "自定义标题"
7403
- }
7404
- ],
7405
- "events": [
7402
+ },
7406
7403
  {
7407
- "name": "click",
7408
- "description": "点击时触发"
7409
- }
7410
- ],
7411
- "attributes": [
7404
+ "name": "row-width",
7405
+ "default": "<br>(number \\",
7406
+ "description": "段落占位图宽度,可传数组来设置每一行的宽度",
7407
+ "value": {
7408
+ "type": "number | string \\",
7409
+ "kind": "expression"
7410
+ }
7411
+ },
7412
7412
  {
7413
7413
  "name": "title",
7414
- "default": "`''`",
7415
- "description": "内容",
7414
+ "default": "`false`",
7415
+ "description": "是否显示标题占位图",
7416
7416
  "value": {
7417
- "type": "string",
7417
+ "type": "boolean",
7418
7418
  "kind": "expression"
7419
7419
  }
7420
7420
  },
7421
7421
  {
7422
- "name": "dot",
7422
+ "name": "avatar",
7423
7423
  "default": "`false`",
7424
- "description": "是否显示右上角小红点",
7424
+ "description": "是否显示头像占位图",
7425
7425
  "value": {
7426
7426
  "type": "boolean",
7427
7427
  "kind": "expression"
7428
7428
  }
7429
7429
  },
7430
7430
  {
7431
- "name": "badge",
7432
- "default": "-",
7433
- "description": "图标右上角徽标的内容",
7431
+ "name": "loading",
7432
+ "default": "`true`",
7433
+ "description": "是否显示骨架屏,传 `false` 时会展示子组件内容",
7434
7434
  "value": {
7435
- "type": "number | string",
7435
+ "type": "boolean",
7436
7436
  "kind": "expression"
7437
7437
  }
7438
7438
  },
7439
7439
  {
7440
- "name": "info",
7441
- "default": "-",
7442
- "description": "图标右上角徽标的内容(已废弃,请使用 badge 属性)",
7440
+ "name": "animate",
7441
+ "default": "`true`",
7442
+ "description": "是否开启动画",
7443
7443
  "value": {
7444
- "type": "number | string",
7444
+ "type": "boolean",
7445
7445
  "kind": "expression"
7446
7446
  }
7447
7447
  },
7448
7448
  {
7449
- "name": "disabled",
7449
+ "name": "round",
7450
7450
  "default": "`false`",
7451
- "description": "是否禁用该项",
7451
+ "description": "是否将标题和段落显示为圆角风格",
7452
7452
  "value": {
7453
7453
  "type": "boolean",
7454
7454
  "kind": "expression"
7455
7455
  }
7456
7456
  },
7457
7457
  {
7458
- "name": "url",
7459
- "default": "-",
7460
- "description": "点击后跳转的链接地址",
7458
+ "name": "title-width",
7459
+ "default": "`40%`",
7460
+ "description": "标题占位图宽度",
7461
7461
  "value": {
7462
- "type": "string",
7462
+ "type": "number | string",
7463
7463
  "kind": "expression"
7464
7464
  }
7465
7465
  },
7466
7466
  {
7467
- "name": "to",
7468
- "default": "-",
7469
- "description": "点击后跳转的目标路由对象,同 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to)",
7467
+ "name": "avatar-size",
7468
+ "default": "`32px`",
7469
+ "description": "头像占位图大小",
7470
7470
  "value": {
7471
- "type": "string | object",
7471
+ "type": "number | string",
7472
7472
  "kind": "expression"
7473
7473
  }
7474
7474
  },
7475
7475
  {
7476
- "name": "replace",
7477
- "default": "`false`",
7478
- "description": "是否在跳转时替换当前页面历史",
7476
+ "name": "avatar-shape",
7477
+ "default": "`round`",
7478
+ "description": "头像占位图形状,可选值为`square`",
7479
7479
  "value": {
7480
- "type": "boolean",
7480
+ "type": "string",
7481
7481
  "kind": "expression"
7482
7482
  }
7483
7483
  }
@@ -8390,300 +8390,300 @@
8390
8390
  ]
8391
8391
  },
8392
8392
  {
8393
- "name": "van-submit-bar",
8393
+ "name": "van-swipe",
8394
8394
  "slots": [
8395
8395
  {
8396
8396
  "name": "default",
8397
- "description": "自定义订单栏左侧内容"
8398
- },
8399
- {
8400
- "name": "button",
8401
- "description": "自定义按钮"
8402
- },
8403
- {
8404
- "name": "top",
8405
- "description": "自定义订单栏上方内容"
8397
+ "description": "轮播内容"
8406
8398
  },
8407
8399
  {
8408
- "name": "tip",
8409
- "description": "提示文案中的额外内容"
8400
+ "name": "indicator",
8401
+ "description": "自定义指示器"
8410
8402
  }
8411
8403
  ],
8412
8404
  "events": [
8413
8405
  {
8414
- "name": "submit",
8415
- "description": "按钮点击事件回调"
8406
+ "name": "change",
8407
+ "description": "每一页轮播结束后触发"
8416
8408
  }
8417
8409
  ],
8418
8410
  "attributes": [
8419
8411
  {
8420
- "name": "price",
8412
+ "name": "autoplay",
8421
8413
  "default": "-",
8422
- "description": "价格(单位分)",
8423
- "value": {
8424
- "type": "number",
8425
- "kind": "expression"
8426
- }
8427
- },
8428
- {
8429
- "name": "decimal-length",
8430
- "default": "`2`",
8431
- "description": "价格小数点位数",
8414
+ "description": "自动轮播间隔,单位为 ms",
8432
8415
  "value": {
8433
8416
  "type": "number | string",
8434
8417
  "kind": "expression"
8435
8418
  }
8436
8419
  },
8437
8420
  {
8438
- "name": "label",
8439
- "default": "`合计:`",
8440
- "description": "价格左侧文案",
8441
- "value": {
8442
- "type": "string",
8443
- "kind": "expression"
8444
- }
8445
- },
8446
- {
8447
- "name": "suffix-label",
8448
- "default": "-",
8449
- "description": "价格右侧文案",
8421
+ "name": "duration",
8422
+ "default": "`500`",
8423
+ "description": "动画时长,单位为 ms",
8450
8424
  "value": {
8451
- "type": "string",
8425
+ "type": "number | string",
8452
8426
  "kind": "expression"
8453
8427
  }
8454
8428
  },
8455
8429
  {
8456
- "name": "text-align",
8457
- "default": "`right`",
8458
- "description": "价格文案对齐方向,可选值为 `left`",
8430
+ "name": "initial-swipe",
8431
+ "default": "`0`",
8432
+ "description": "初始位置索引值",
8459
8433
  "value": {
8460
- "type": "string",
8434
+ "type": "number | string",
8461
8435
  "kind": "expression"
8462
8436
  }
8463
8437
  },
8464
8438
  {
8465
- "name": "button-text",
8466
- "default": "-",
8467
- "description": "按钮文字",
8439
+ "name": "width",
8440
+ "default": "`auto`",
8441
+ "description": "滑块宽度,单位为`px`",
8468
8442
  "value": {
8469
- "type": "string",
8443
+ "type": "number | string",
8470
8444
  "kind": "expression"
8471
8445
  }
8472
8446
  },
8473
8447
  {
8474
- "name": "button-type",
8475
- "default": "`danger`",
8476
- "description": "按钮类型",
8448
+ "name": "height",
8449
+ "default": "`auto`",
8450
+ "description": "滑块高度,单位为`px`",
8477
8451
  "value": {
8478
- "type": "string",
8452
+ "type": "number | string",
8479
8453
  "kind": "expression"
8480
8454
  }
8481
8455
  },
8482
8456
  {
8483
- "name": "button-color",
8484
- "default": "-",
8485
- "description": "自定义按钮颜色",
8457
+ "name": "loop",
8458
+ "default": "`true`",
8459
+ "description": "是否开启循环播放",
8486
8460
  "value": {
8487
- "type": "string",
8461
+ "type": "boolean",
8488
8462
  "kind": "expression"
8489
8463
  }
8490
8464
  },
8491
8465
  {
8492
- "name": "tip",
8493
- "default": "-",
8494
- "description": "在订单栏上方的提示文案",
8466
+ "name": "show-indicators",
8467
+ "default": "`true`",
8468
+ "description": "是否显示指示器",
8495
8469
  "value": {
8496
- "type": "string",
8470
+ "type": "boolean",
8497
8471
  "kind": "expression"
8498
8472
  }
8499
8473
  },
8500
8474
  {
8501
- "name": "tip-icon",
8502
- "default": "-",
8503
- "description": "提示文案左侧的[图标名称](#/zh-CN/icon)或图片链接",
8475
+ "name": "vertical",
8476
+ "default": "`false`",
8477
+ "description": "是否为纵向滚动",
8504
8478
  "value": {
8505
- "type": "string",
8479
+ "type": "boolean",
8506
8480
  "kind": "expression"
8507
8481
  }
8508
8482
  },
8509
8483
  {
8510
- "name": "currency",
8511
- "default": "`¥`",
8512
- "description": "货币符号",
8484
+ "name": "touchable",
8485
+ "default": "`true`",
8486
+ "description": "是否可以通过手势滑动",
8513
8487
  "value": {
8514
- "type": "string",
8488
+ "type": "boolean",
8515
8489
  "kind": "expression"
8516
8490
  }
8517
8491
  },
8518
8492
  {
8519
- "name": "disabled",
8520
- "default": "`false`",
8521
- "description": "是否禁用按钮",
8493
+ "name": "stop-propagation",
8494
+ "default": "`true`",
8495
+ "description": "是否阻止滑动事件冒泡",
8522
8496
  "value": {
8523
8497
  "type": "boolean",
8524
8498
  "kind": "expression"
8525
8499
  }
8526
8500
  },
8527
8501
  {
8528
- "name": "loading",
8502
+ "name": "lazy-render",
8529
8503
  "default": "`false`",
8530
- "description": "是否显示将按钮显示为加载中状态",
8504
+ "description": "是否延迟渲染未展示的轮播",
8531
8505
  "value": {
8532
8506
  "type": "boolean",
8533
8507
  "kind": "expression"
8534
8508
  }
8535
8509
  },
8536
8510
  {
8537
- "name": "safe-area-inset-bottom",
8538
- "default": "`true`",
8539
- "description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei)",
8511
+ "name": "indicator-color",
8512
+ "default": "`#1989fa`",
8513
+ "description": "指示器颜色",
8540
8514
  "value": {
8541
- "type": "boolean",
8515
+ "type": "string",
8542
8516
  "kind": "expression"
8543
8517
  }
8544
8518
  }
8545
8519
  ]
8546
8520
  },
8547
8521
  {
8548
- "name": "van-swipe",
8522
+ "name": "van-swipe-item",
8523
+ "slots": [],
8524
+ "events": [
8525
+ {
8526
+ "name": "click",
8527
+ "description": "点击时触发"
8528
+ }
8529
+ ],
8530
+ "attributes": []
8531
+ },
8532
+ {
8533
+ "name": "van-submit-bar",
8549
8534
  "slots": [
8550
8535
  {
8551
8536
  "name": "default",
8552
- "description": "轮播内容"
8537
+ "description": "自定义订单栏左侧内容"
8553
8538
  },
8554
8539
  {
8555
- "name": "indicator",
8556
- "description": "自定义指示器"
8540
+ "name": "button",
8541
+ "description": "自定义按钮"
8542
+ },
8543
+ {
8544
+ "name": "top",
8545
+ "description": "自定义订单栏上方内容"
8546
+ },
8547
+ {
8548
+ "name": "tip",
8549
+ "description": "提示文案中的额外内容"
8557
8550
  }
8558
8551
  ],
8559
8552
  "events": [
8560
8553
  {
8561
- "name": "change",
8562
- "description": "每一页轮播结束后触发"
8554
+ "name": "submit",
8555
+ "description": "按钮点击事件回调"
8563
8556
  }
8564
8557
  ],
8565
8558
  "attributes": [
8566
8559
  {
8567
- "name": "autoplay",
8560
+ "name": "price",
8568
8561
  "default": "-",
8569
- "description": "自动轮播间隔,单位为 ms",
8562
+ "description": "价格(单位分)",
8570
8563
  "value": {
8571
- "type": "number | string",
8564
+ "type": "number",
8572
8565
  "kind": "expression"
8573
8566
  }
8574
8567
  },
8575
8568
  {
8576
- "name": "duration",
8577
- "default": "`500`",
8578
- "description": "动画时长,单位为 ms",
8569
+ "name": "decimal-length",
8570
+ "default": "`2`",
8571
+ "description": "价格小数点位数",
8579
8572
  "value": {
8580
8573
  "type": "number | string",
8581
8574
  "kind": "expression"
8582
8575
  }
8583
8576
  },
8584
8577
  {
8585
- "name": "initial-swipe",
8586
- "default": "`0`",
8587
- "description": "初始位置索引值",
8578
+ "name": "label",
8579
+ "default": "`合计:`",
8580
+ "description": "价格左侧文案",
8588
8581
  "value": {
8589
- "type": "number | string",
8582
+ "type": "string",
8590
8583
  "kind": "expression"
8591
8584
  }
8592
8585
  },
8593
8586
  {
8594
- "name": "width",
8595
- "default": "`auto`",
8596
- "description": "滑块宽度,单位为`px`",
8587
+ "name": "suffix-label",
8588
+ "default": "-",
8589
+ "description": "价格右侧文案",
8597
8590
  "value": {
8598
- "type": "number | string",
8591
+ "type": "string",
8592
+ "kind": "expression"
8593
+ }
8594
+ },
8595
+ {
8596
+ "name": "text-align",
8597
+ "default": "`right`",
8598
+ "description": "价格文案对齐方向,可选值为 `left`",
8599
+ "value": {
8600
+ "type": "string",
8601
+ "kind": "expression"
8602
+ }
8603
+ },
8604
+ {
8605
+ "name": "button-text",
8606
+ "default": "-",
8607
+ "description": "按钮文字",
8608
+ "value": {
8609
+ "type": "string",
8599
8610
  "kind": "expression"
8600
8611
  }
8601
8612
  },
8602
8613
  {
8603
- "name": "height",
8604
- "default": "`auto`",
8605
- "description": "滑块高度,单位为`px`",
8614
+ "name": "button-type",
8615
+ "default": "`danger`",
8616
+ "description": "按钮类型",
8606
8617
  "value": {
8607
- "type": "number | string",
8618
+ "type": "string",
8608
8619
  "kind": "expression"
8609
8620
  }
8610
8621
  },
8611
8622
  {
8612
- "name": "loop",
8613
- "default": "`true`",
8614
- "description": "是否开启循环播放",
8623
+ "name": "button-color",
8624
+ "default": "-",
8625
+ "description": "自定义按钮颜色",
8615
8626
  "value": {
8616
- "type": "boolean",
8627
+ "type": "string",
8617
8628
  "kind": "expression"
8618
8629
  }
8619
8630
  },
8620
8631
  {
8621
- "name": "show-indicators",
8622
- "default": "`true`",
8623
- "description": "是否显示指示器",
8632
+ "name": "tip",
8633
+ "default": "-",
8634
+ "description": "在订单栏上方的提示文案",
8624
8635
  "value": {
8625
- "type": "boolean",
8636
+ "type": "string",
8626
8637
  "kind": "expression"
8627
8638
  }
8628
8639
  },
8629
8640
  {
8630
- "name": "vertical",
8631
- "default": "`false`",
8632
- "description": "是否为纵向滚动",
8641
+ "name": "tip-icon",
8642
+ "default": "-",
8643
+ "description": "提示文案左侧的[图标名称](#/zh-CN/icon)或图片链接",
8633
8644
  "value": {
8634
- "type": "boolean",
8645
+ "type": "string",
8635
8646
  "kind": "expression"
8636
8647
  }
8637
8648
  },
8638
8649
  {
8639
- "name": "touchable",
8640
- "default": "`true`",
8641
- "description": "是否可以通过手势滑动",
8650
+ "name": "currency",
8651
+ "default": "`¥`",
8652
+ "description": "货币符号",
8642
8653
  "value": {
8643
- "type": "boolean",
8654
+ "type": "string",
8644
8655
  "kind": "expression"
8645
8656
  }
8646
8657
  },
8647
8658
  {
8648
- "name": "stop-propagation",
8649
- "default": "`true`",
8650
- "description": "是否阻止滑动事件冒泡",
8659
+ "name": "disabled",
8660
+ "default": "`false`",
8661
+ "description": "是否禁用按钮",
8651
8662
  "value": {
8652
8663
  "type": "boolean",
8653
8664
  "kind": "expression"
8654
8665
  }
8655
8666
  },
8656
8667
  {
8657
- "name": "lazy-render",
8668
+ "name": "loading",
8658
8669
  "default": "`false`",
8659
- "description": "是否延迟渲染未展示的轮播",
8670
+ "description": "是否显示将按钮显示为加载中状态",
8660
8671
  "value": {
8661
8672
  "type": "boolean",
8662
8673
  "kind": "expression"
8663
8674
  }
8664
8675
  },
8665
8676
  {
8666
- "name": "indicator-color",
8667
- "default": "`#1989fa`",
8668
- "description": "指示器颜色",
8677
+ "name": "safe-area-inset-bottom",
8678
+ "default": "`true`",
8679
+ "description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei)",
8669
8680
  "value": {
8670
- "type": "string",
8681
+ "type": "boolean",
8671
8682
  "kind": "expression"
8672
8683
  }
8673
8684
  }
8674
8685
  ]
8675
8686
  },
8676
- {
8677
- "name": "van-swipe-item",
8678
- "slots": [],
8679
- "events": [
8680
- {
8681
- "name": "click",
8682
- "description": "点击时触发"
8683
- }
8684
- ],
8685
- "attributes": []
8686
- },
8687
8687
  {
8688
8688
  "name": "van-swipe-cell",
8689
8689
  "slots": [
@@ -9293,99 +9293,6 @@
9293
9293
  }
9294
9294
  ]
9295
9295
  },
9296
- {
9297
- "name": "van-tag",
9298
- "slots": [
9299
- {
9300
- "name": "default",
9301
- "description": "标签显示内容"
9302
- }
9303
- ],
9304
- "events": [
9305
- {
9306
- "name": "click",
9307
- "description": "点击时触发"
9308
- },
9309
- {
9310
- "name": "close",
9311
- "description": "关闭标签时触发"
9312
- }
9313
- ],
9314
- "attributes": [
9315
- {
9316
- "name": "type",
9317
- "default": "`default`",
9318
- "description": "类型,可选值为`primary` `success` `danger` `warning`",
9319
- "value": {
9320
- "type": "string",
9321
- "kind": "expression"
9322
- }
9323
- },
9324
- {
9325
- "name": "size",
9326
- "default": "-",
9327
- "description": "大小, 可选值为`large` `medium`",
9328
- "value": {
9329
- "type": "string",
9330
- "kind": "expression"
9331
- }
9332
- },
9333
- {
9334
- "name": "color",
9335
- "default": "-",
9336
- "description": "标签颜色",
9337
- "value": {
9338
- "type": "string",
9339
- "kind": "expression"
9340
- }
9341
- },
9342
- {
9343
- "name": "plain",
9344
- "default": "`false`",
9345
- "description": "是否为空心样式",
9346
- "value": {
9347
- "type": "boolean",
9348
- "kind": "expression"
9349
- }
9350
- },
9351
- {
9352
- "name": "round",
9353
- "default": "`false`",
9354
- "description": "是否为圆角样式",
9355
- "value": {
9356
- "type": "boolean",
9357
- "kind": "expression"
9358
- }
9359
- },
9360
- {
9361
- "name": "mark",
9362
- "default": "`false`",
9363
- "description": "是否为标记样式",
9364
- "value": {
9365
- "type": "boolean",
9366
- "kind": "expression"
9367
- }
9368
- },
9369
- {
9370
- "name": "text-color",
9371
- "default": "`white`",
9372
- "description": "文本颜色,优先级高于`color`属性",
9373
- "value": {
9374
- "type": "string",
9375
- "kind": "expression"
9376
- }
9377
- },
9378
- {
9379
- "name": "closeable",
9380
- "default": "`false`",
9381
- "description": "是否为可关闭标签",
9382
- "value": {
9383
- "type": "boolean",
9384
- "kind": "expression"
9385
- }
9386
- }
9387
- ]
9388
- },
9389
9296
  {
9390
9297
  "name": "van-tabbar",
9391
9298
  "slots": [],
@@ -9581,6 +9488,99 @@
9581
9488
  }
9582
9489
  ]
9583
9490
  },
9491
+ {
9492
+ "name": "van-tag",
9493
+ "slots": [
9494
+ {
9495
+ "name": "default",
9496
+ "description": "标签显示内容"
9497
+ }
9498
+ ],
9499
+ "events": [
9500
+ {
9501
+ "name": "click",
9502
+ "description": "点击时触发"
9503
+ },
9504
+ {
9505
+ "name": "close",
9506
+ "description": "关闭标签时触发"
9507
+ }
9508
+ ],
9509
+ "attributes": [
9510
+ {
9511
+ "name": "type",
9512
+ "default": "`default`",
9513
+ "description": "类型,可选值为`primary` `success` `danger` `warning`",
9514
+ "value": {
9515
+ "type": "string",
9516
+ "kind": "expression"
9517
+ }
9518
+ },
9519
+ {
9520
+ "name": "size",
9521
+ "default": "-",
9522
+ "description": "大小, 可选值为`large` `medium`",
9523
+ "value": {
9524
+ "type": "string",
9525
+ "kind": "expression"
9526
+ }
9527
+ },
9528
+ {
9529
+ "name": "color",
9530
+ "default": "-",
9531
+ "description": "标签颜色",
9532
+ "value": {
9533
+ "type": "string",
9534
+ "kind": "expression"
9535
+ }
9536
+ },
9537
+ {
9538
+ "name": "plain",
9539
+ "default": "`false`",
9540
+ "description": "是否为空心样式",
9541
+ "value": {
9542
+ "type": "boolean",
9543
+ "kind": "expression"
9544
+ }
9545
+ },
9546
+ {
9547
+ "name": "round",
9548
+ "default": "`false`",
9549
+ "description": "是否为圆角样式",
9550
+ "value": {
9551
+ "type": "boolean",
9552
+ "kind": "expression"
9553
+ }
9554
+ },
9555
+ {
9556
+ "name": "mark",
9557
+ "default": "`false`",
9558
+ "description": "是否为标记样式",
9559
+ "value": {
9560
+ "type": "boolean",
9561
+ "kind": "expression"
9562
+ }
9563
+ },
9564
+ {
9565
+ "name": "text-color",
9566
+ "default": "`white`",
9567
+ "description": "文本颜色,优先级高于`color`属性",
9568
+ "value": {
9569
+ "type": "string",
9570
+ "kind": "expression"
9571
+ }
9572
+ },
9573
+ {
9574
+ "name": "closeable",
9575
+ "default": "`false`",
9576
+ "description": "是否为可关闭标签",
9577
+ "value": {
9578
+ "type": "boolean",
9579
+ "kind": "expression"
9580
+ }
9581
+ }
9582
+ ]
9583
+ },
9584
9584
  {
9585
9585
  "name": "van-tree-select",
9586
9586
  "slots": [