首页美化一下

This commit is contained in:
liuwei
2026-02-27 12:22:07 +08:00
parent 44297e0448
commit 10a3f18540
8 changed files with 179 additions and 133 deletions
+20 -19
View File
@@ -708,9 +708,9 @@
height: 100px;
position: relative;
overflow: hidden;
background: #f9fbff;
border: 1px solid #d6e6ff;
box-shadow: 0 6px 16px rgba(11, 29, 51, 0.06);
background: var(--tech-panel);
border: 1px solid var(--tech-border);
box-shadow: var(--tech-shadow);
}
.stats-card::before {
content: "";
@@ -719,24 +719,24 @@
right: 0;
top: 0;
height: 2px;
background: #5bd3ff;
box-shadow: 0 0 10px rgba(91, 211, 255, 0.5);
background: var(--tech-accent-2);
box-shadow: 0 0 12px rgba(167, 139, 250, 0.6);
}
.chart-container {
margin-bottom: 12px;
padding: 8px;
background-color: #f7faff;
background-color: var(--tech-panel-2);
border-radius: 4px;
border: 1px solid #d6e6ff;
box-shadow: 0 6px 16px rgba(11, 29, 51, 0.06);
border: 1px solid var(--tech-border);
box-shadow: var(--tech-shadow);
}
.chart-container h3 {
margin-top: 0;
margin-bottom: 6px;
font-size: 14px;
color: #2a3b55;
color: var(--tech-text);
}
/* 用户信息卡片样式 */
@@ -756,7 +756,8 @@
height: 100% !important;
border-radius: 50%;
overflow: hidden;
box-shadow: 0 4px 12px rgba(0, 163, 255, 0.15);
box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
background: var(--tech-panel-2);
display: flex;
align-items: center;
justify-content: center;
@@ -781,14 +782,14 @@
}
.user-info-label {
color: #6b86a8;
color: var(--tech-text-muted);
width: 45px;
flex-shrink: 0;
font-weight: bold;
}
.user-info-value {
color: #24344c;
color: var(--tech-text-strong);
flex: 1;
overflow: hidden;
text-overflow: ellipsis;
@@ -798,20 +799,20 @@
.user-info-empty {
text-align: center;
color: #7a94b8;
color: var(--tech-text-muted);
padding: 6px 0;
}
/* 首页卡片统一冷色面板感 */
.content .el-card {
background: #f9fbff;
border: 1px solid #d6e6ff;
box-shadow: 0 6px 16px rgba(11, 29, 51, 0.06);
background: var(--tech-panel);
border: 1px solid var(--tech-border);
box-shadow: var(--tech-shadow);
}
.content .el-card__header {
background: #f2f7ff;
border-bottom: 1px solid #d6e6ff;
color: #2a3b55;
background: var(--tech-panel-2);
border-bottom: 1px solid var(--tech-border);
color: var(--tech-text);
}
.content .el-card__body {
padding: 10px !important;