@deppon/deppon-template 2.4.2 → 2.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/pro-layout/ProLayout.vue.css +139 -54
- package/package.json +6 -6
|
@@ -1166,9 +1166,9 @@ body .el-overlay-dialog,
|
|
|
1166
1166
|
width: 100%;
|
|
1167
1167
|
height: 100%;
|
|
1168
1168
|
overflow: hidden;
|
|
1169
|
+
background: radial-gradient(circle at 8% 10%, rgba(64, 158, 255, 0.08), transparent 44%), radial-gradient(circle at 88% 0%, rgba(99, 102, 241, 0.08), transparent 38%), linear-gradient(180deg, #f6f9ff 0%, #f4f7fd 100%);
|
|
1169
1170
|
/* 覆盖 Element Plus 按钮样式,确保优先级 */
|
|
1170
1171
|
/* 防止 header-right 插槽内容挤压操作按钮 */
|
|
1171
|
-
/* 限制 header-right 插槽内容,防止挤压按钮 */
|
|
1172
1172
|
}
|
|
1173
1173
|
.pro-layout__sider {
|
|
1174
1174
|
display: flex;
|
|
@@ -1509,11 +1509,13 @@ body .el-overlay-dialog,
|
|
|
1509
1509
|
}
|
|
1510
1510
|
.pro-layout__header {
|
|
1511
1511
|
padding: 0 !important;
|
|
1512
|
-
background
|
|
1512
|
+
background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(247, 251, 255, 0.92)) !important;
|
|
1513
|
+
backdrop-filter: blur(10px);
|
|
1513
1514
|
position: relative;
|
|
1514
1515
|
z-index: 100;
|
|
1515
1516
|
width: 100vw;
|
|
1516
|
-
border-bottom: 1px solid
|
|
1517
|
+
border-bottom: 1px solid rgba(39, 82, 173, 0.08) !important;
|
|
1518
|
+
box-shadow: 0 8px 24px rgba(31, 56, 104, 0.06);
|
|
1517
1519
|
/* 覆盖 Element Plus 默认的按钮间距 */
|
|
1518
1520
|
}
|
|
1519
1521
|
.pro-layout__header--fixed {
|
|
@@ -1522,12 +1524,14 @@ body .el-overlay-dialog,
|
|
|
1522
1524
|
left: 0;
|
|
1523
1525
|
right: 0;
|
|
1524
1526
|
z-index: 1000;
|
|
1525
|
-
border-bottom: 1px solid
|
|
1527
|
+
border-bottom: 1px solid rgba(39, 82, 173, 0.08) !important;
|
|
1528
|
+
box-shadow: 0 8px 24px rgba(31, 56, 104, 0.06);
|
|
1526
1529
|
}
|
|
1527
1530
|
.pro-layout__header-content {
|
|
1528
1531
|
display: flex;
|
|
1529
1532
|
align-items: center;
|
|
1530
|
-
justify-content:
|
|
1533
|
+
justify-content: flex-start;
|
|
1534
|
+
gap: 8px;
|
|
1531
1535
|
height: 100%;
|
|
1532
1536
|
width: 100%;
|
|
1533
1537
|
}
|
|
@@ -1567,6 +1571,7 @@ body .el-overlay-dialog,
|
|
|
1567
1571
|
gap: 12px;
|
|
1568
1572
|
padding: 0 16px;
|
|
1569
1573
|
flex-shrink: 0;
|
|
1574
|
+
margin-left: auto;
|
|
1570
1575
|
}
|
|
1571
1576
|
.pro-layout__header-search {
|
|
1572
1577
|
width: 180px;
|
|
@@ -1634,26 +1639,49 @@ body .el-overlay-dialog,
|
|
|
1634
1639
|
font-size: 14px;
|
|
1635
1640
|
color: var(--el-text-color-secondary, #909399) !important;
|
|
1636
1641
|
}
|
|
1637
|
-
.pro-layout .pro-layout__header-right {
|
|
1638
|
-
/* 确保操作按钮不会被压缩 */
|
|
1639
|
-
}
|
|
1640
1642
|
.pro-layout .pro-layout__header-right .pro-layout__header-action-btn {
|
|
1641
1643
|
flex-shrink: 0 !important;
|
|
1642
1644
|
min-width: 32px !important;
|
|
1643
1645
|
width: 32px !important;
|
|
1644
1646
|
height: 32px !important;
|
|
1645
1647
|
}
|
|
1646
|
-
.pro-layout .pro-layout__header .pro-layout__header-
|
|
1647
|
-
/* 确保 header-right 插槽内容不会占用过多空间 */
|
|
1648
|
-
}
|
|
1649
|
-
.pro-layout .pro-layout__header .pro-layout__header-right > div:first-child {
|
|
1648
|
+
.pro-layout .pro-layout__header-right .pro-layout__header-search {
|
|
1650
1649
|
flex-shrink: 1;
|
|
1651
1650
|
min-width: 0;
|
|
1652
|
-
max-width:
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1651
|
+
max-width: 220px;
|
|
1652
|
+
}
|
|
1653
|
+
.pro-layout .pro-layout__header-right .pro-layout__header-user-name {
|
|
1654
|
+
flex-shrink: 0;
|
|
1655
|
+
max-width: none;
|
|
1656
|
+
}
|
|
1657
|
+
.pro-layout__top-menu {
|
|
1658
|
+
flex: 1;
|
|
1659
|
+
min-width: 0;
|
|
1660
|
+
padding: 0 6px;
|
|
1661
|
+
}
|
|
1662
|
+
.pro-layout__top-menu .pro-layout__top-menu-el {
|
|
1663
|
+
background: transparent !important;
|
|
1664
|
+
border-bottom: none !important;
|
|
1665
|
+
}
|
|
1666
|
+
.pro-layout__top-menu .el-menu-item {
|
|
1667
|
+
height: 38px !important;
|
|
1668
|
+
margin: 8px 6px !important;
|
|
1669
|
+
border-radius: 10px !important;
|
|
1670
|
+
border-bottom: none !important;
|
|
1671
|
+
color: #4a5b76 !important;
|
|
1672
|
+
transition: all 0.2s ease !important;
|
|
1673
|
+
}
|
|
1674
|
+
.pro-layout__top-menu .el-menu-item:hover {
|
|
1675
|
+
color: #1f6bff !important;
|
|
1676
|
+
background: rgba(64, 158, 255, 0.09) !important;
|
|
1677
|
+
}
|
|
1678
|
+
.pro-layout__top-menu .el-menu-item.is-active {
|
|
1679
|
+
background: linear-gradient(135deg, rgba(57, 124, 255, 0.18), rgba(108, 74, 255, 0.15)) !important;
|
|
1680
|
+
box-shadow: 0 8px 20px rgba(56, 108, 255, 0.16);
|
|
1681
|
+
}
|
|
1682
|
+
.pro-layout__top-menu .el-menu-item.is-active .pro-layout__top-menu-item-label {
|
|
1683
|
+
color: #1651d7 !important;
|
|
1684
|
+
font-weight: 700;
|
|
1657
1685
|
}
|
|
1658
1686
|
.pro-layout__breadcrumb {
|
|
1659
1687
|
display: flex;
|
|
@@ -1713,64 +1741,121 @@ body .el-overlay-dialog,
|
|
|
1713
1741
|
.pro-layout__tags-view {
|
|
1714
1742
|
flex-shrink: 0;
|
|
1715
1743
|
height: auto !important;
|
|
1716
|
-
min-height:
|
|
1717
|
-
background
|
|
1718
|
-
border-bottom:
|
|
1744
|
+
min-height: 48px !important;
|
|
1745
|
+
background: transparent !important;
|
|
1746
|
+
border-bottom: none !important;
|
|
1719
1747
|
overflow: visible;
|
|
1720
1748
|
}
|
|
1721
1749
|
.pro-layout__tags-menu {
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1750
|
+
display: flex !important;
|
|
1751
|
+
align-items: center;
|
|
1752
|
+
flex-wrap: nowrap !important;
|
|
1753
|
+
overflow-x: auto !important;
|
|
1754
|
+
overflow-y: hidden !important;
|
|
1755
|
+
min-height: 48px;
|
|
1756
|
+
padding: 6px 12px !important;
|
|
1757
|
+
margin: 8px 14px 6px;
|
|
1758
|
+
border-radius: 12px;
|
|
1759
|
+
border: none !important;
|
|
1760
|
+
outline: none;
|
|
1761
|
+
background: transparent !important;
|
|
1762
|
+
box-shadow: none;
|
|
1763
|
+
height: auto !important;
|
|
1726
1764
|
}
|
|
1727
1765
|
.pro-layout__tags-menu.el-menu.el-menu--horizontal {
|
|
1728
|
-
height:
|
|
1729
|
-
line-height:
|
|
1766
|
+
height: auto !important;
|
|
1767
|
+
line-height: normal !important;
|
|
1768
|
+
border-bottom: none !important;
|
|
1730
1769
|
}
|
|
1731
1770
|
.pro-layout__tags-menu .el-menu-item {
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
margin:
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1771
|
+
flex: 0 0 auto;
|
|
1772
|
+
height: 34px !important;
|
|
1773
|
+
line-height: 34px !important;
|
|
1774
|
+
margin-right: 8px !important;
|
|
1775
|
+
margin-top: 0;
|
|
1776
|
+
margin-bottom: 0;
|
|
1777
|
+
padding: 0 12px !important;
|
|
1778
|
+
border-radius: 8px !important;
|
|
1779
|
+
border: none !important;
|
|
1780
|
+
border-bottom: none !important;
|
|
1781
|
+
background: transparent !important;
|
|
1782
|
+
transition: all 0.2s ease;
|
|
1739
1783
|
position: relative;
|
|
1740
|
-
flex-shrink: 0;
|
|
1741
|
-
transition: all 0.3s;
|
|
1742
1784
|
cursor: pointer;
|
|
1743
1785
|
display: flex;
|
|
1744
1786
|
align-items: center;
|
|
1745
1787
|
}
|
|
1746
1788
|
.pro-layout__tags-menu .el-menu-item:not(:last-child):not(.is-active)::after {
|
|
1747
|
-
|
|
1748
|
-
position: absolute;
|
|
1749
|
-
right: -4px;
|
|
1750
|
-
top: 50%;
|
|
1751
|
-
transform: translateY(-50%);
|
|
1752
|
-
width: 1px;
|
|
1753
|
-
height: 16px;
|
|
1754
|
-
background-color: var(--el-border-color-lighter, #f0f0f0) !important;
|
|
1789
|
+
display: none;
|
|
1755
1790
|
}
|
|
1756
1791
|
.pro-layout__tags-menu .el-menu-item:hover {
|
|
1757
|
-
background
|
|
1792
|
+
background: rgba(78, 138, 255, 0.1) !important;
|
|
1758
1793
|
}
|
|
1759
1794
|
.pro-layout__tags-menu .el-menu-item.is-active {
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
border-top-right-radius: 15px;
|
|
1795
|
+
border: none !important;
|
|
1796
|
+
background: linear-gradient(135deg, #ffffff, #f3f8ff) !important;
|
|
1797
|
+
box-shadow: 0 4px 12px rgba(59, 98, 186, 0.16);
|
|
1764
1798
|
border-bottom: none !important;
|
|
1765
|
-
position: relative;
|
|
1766
1799
|
overflow: visible;
|
|
1767
1800
|
}
|
|
1768
|
-
.pro-layout__tags-menu .
|
|
1801
|
+
.pro-layout__tags-menu .pro-layout__tag-label {
|
|
1802
|
+
color: #46556f;
|
|
1803
|
+
font-size: 12px;
|
|
1804
|
+
font-weight: 500;
|
|
1805
|
+
text-decoration: none !important;
|
|
1806
|
+
}
|
|
1769
1807
|
.pro-layout__tags-menu .el-menu-item.is-active .pro-layout__tag-label {
|
|
1770
|
-
color:
|
|
1808
|
+
color: #2259d2 !important;
|
|
1809
|
+
font-weight: 600;
|
|
1771
1810
|
}
|
|
1772
|
-
.pro-layout__tags-menu .
|
|
1773
|
-
|
|
1811
|
+
.pro-layout__tags-menu .pro-layout__tag-actions .pro-layout__tag-icon {
|
|
1812
|
+
color: #8a98b2;
|
|
1813
|
+
font-size: 12px;
|
|
1814
|
+
}
|
|
1815
|
+
.pro-layout__tags-menu .pro-layout__tag-item .pro-layout__tag-actions {
|
|
1816
|
+
display: inline-flex;
|
|
1817
|
+
align-items: center;
|
|
1818
|
+
gap: 2px;
|
|
1819
|
+
margin-left: 2px;
|
|
1820
|
+
}
|
|
1821
|
+
.pro-layout__tags-menu .pro-layout__tag-item .pro-layout__tag-icon {
|
|
1822
|
+
margin-left: 0 !important;
|
|
1823
|
+
padding: 0;
|
|
1824
|
+
}
|
|
1825
|
+
.pro-layout__tags-menu .pro-layout__tag-item:hover .pro-layout__tag-actions .pro-layout__tag-icon,
|
|
1826
|
+
.pro-layout__tags-menu .pro-layout__tag-actions .pro-layout__tag-icon:hover {
|
|
1827
|
+
color: #2b65f5 !important;
|
|
1828
|
+
}
|
|
1829
|
+
.pro-layout__tags-menu .fixed-home-tag-item {
|
|
1830
|
+
cursor: pointer;
|
|
1831
|
+
user-select: none;
|
|
1832
|
+
padding: 0 12px !important;
|
|
1833
|
+
background: linear-gradient(135deg, #eff5ff, #e8f1ff) !important;
|
|
1834
|
+
box-shadow: none !important;
|
|
1835
|
+
}
|
|
1836
|
+
.pro-layout__tags-menu .fixed-home-tag-item .fixed-home-tag-label {
|
|
1837
|
+
display: inline-flex;
|
|
1838
|
+
align-items: center;
|
|
1839
|
+
gap: 6px;
|
|
1840
|
+
color: #2e5ccf;
|
|
1841
|
+
font-weight: 600;
|
|
1842
|
+
}
|
|
1843
|
+
.pro-layout__tags-menu .fixed-home-tag-item .fixed-home-tag-icon {
|
|
1844
|
+
font-style: normal;
|
|
1845
|
+
font-size: 14px;
|
|
1846
|
+
line-height: 1;
|
|
1847
|
+
}
|
|
1848
|
+
.pro-layout__tags-menu .fixed-home-tag-item .pro-layout__tag-actions {
|
|
1849
|
+
display: none !important;
|
|
1850
|
+
}
|
|
1851
|
+
.pro-layout__tags-menu > .el-sub-menu {
|
|
1852
|
+
margin-left: auto !important;
|
|
1853
|
+
position: sticky;
|
|
1854
|
+
right: 0;
|
|
1855
|
+
z-index: 2;
|
|
1856
|
+
border-radius: 10px;
|
|
1857
|
+
background: linear-gradient(90deg, rgba(249, 252, 255, 0.92), rgba(245, 249, 255, 0.96));
|
|
1858
|
+
box-shadow: -10px 0 14px -12px rgba(27, 56, 106, 0.32);
|
|
1774
1859
|
}
|
|
1775
1860
|
.pro-layout__tag-item {
|
|
1776
1861
|
display: flex;
|
|
@@ -1851,7 +1936,7 @@ body .el-overlay-dialog,
|
|
|
1851
1936
|
width: 100%;
|
|
1852
1937
|
padding: 0 !important;
|
|
1853
1938
|
margin: 0 !important;
|
|
1854
|
-
background
|
|
1939
|
+
background: radial-gradient(circle at top left, #eef4ff 0%, #f7f9ff 45%, #fbfcff 100%) !important;
|
|
1855
1940
|
box-sizing: border-box;
|
|
1856
1941
|
display: flex;
|
|
1857
1942
|
flex-direction: column;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deppon/deppon-template",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.3",
|
|
4
4
|
"main": "es/index.js",
|
|
5
5
|
"module": "es/index.js",
|
|
6
6
|
"typings": "es/index.d.ts",
|
|
@@ -43,11 +43,11 @@
|
|
|
43
43
|
"less": "^4.2.0"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@deppon/deppon-assets": "2.4.
|
|
47
|
-
"@deppon/deppon-request": "2.4.
|
|
48
|
-
"@deppon/deppon-router": "2.4.
|
|
49
|
-
"@deppon/deppon-ui": "2.4.
|
|
50
|
-
"@deppon/deppon-utils": "2.4.
|
|
46
|
+
"@deppon/deppon-assets": "2.4.3",
|
|
47
|
+
"@deppon/deppon-request": "2.4.3",
|
|
48
|
+
"@deppon/deppon-router": "2.4.3",
|
|
49
|
+
"@deppon/deppon-ui": "2.4.3",
|
|
50
|
+
"@deppon/deppon-utils": "2.4.3",
|
|
51
51
|
"dayjs": "^1.11.10",
|
|
52
52
|
"lodash-es": "^4.17.21",
|
|
53
53
|
"mitt": "^3.0.1"
|