优化桌面端标签导航与后台交互
Client Quality Gates / Shared client and Web (push) Has been cancelled
Client Quality Gates / macOS Desktop (push) Has been cancelled

This commit is contained in:
Cheng Zhou
2026-07-09 08:56:13 +08:00
parent 76f2d9f22a
commit 0aff10fe0d
17 changed files with 1232 additions and 207 deletions
+35 -35
View File
@@ -279,9 +279,9 @@ onMounted(() => {
flex-direction: column;
justify-content: space-between;
padding: 40px 28px;
background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
border-right: 1px solid rgba(255, 255, 255, 0.05);
box-shadow: 10px 0 40px rgba(15, 23, 42, 0.15);
background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
border-right: 1px solid #e2e8f0;
box-shadow: 6px 0 30px rgba(15, 23, 42, 0.02);
}
/* 顶部品牌与Logo */
@@ -298,19 +298,19 @@ onMounted(() => {
justify-content: center;
width: 44px;
height: 44px;
border: 1px solid rgba(255, 255, 255, 0.15);
border: 1px solid rgba(59, 130, 246, 0.1);
border-radius: 10px;
background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
color: #ffffff;
font-size: 13.5px;
font-weight: 900;
letter-spacing: 0.05em;
box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
box-shadow: 0 8px 20px rgba(37, 99, 235, 0.18);
}
.brand-text h1 {
margin: 1px 0 0;
color: #ffffff;
color: #0f172a;
font-size: 17.5px;
font-weight: 800;
letter-spacing: -0.02em;
@@ -318,14 +318,14 @@ onMounted(() => {
.brand-kicker {
display: block;
color: rgba(147, 197, 253, 0.65);
color: #2563eb;
font-size: 9.5px;
font-weight: 800;
letter-spacing: 0.1em;
text-transform: uppercase;
}
/* 个人信息卡片(色拟物化) */
/* 个人信息卡片(色拟物化) */
.sidebar-account {
display: flex;
flex-direction: column;
@@ -333,9 +333,9 @@ onMounted(() => {
text-align: center;
padding: 24px 20px;
border-radius: 16px;
background: rgba(255, 255, 255, 0.03);
border: 1px solid rgba(255, 255, 255, 0.05);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
background: #ffffff;
border: 1px solid rgba(226, 232, 240, 0.9);
box-shadow: 0 4px 16px rgba(15, 23, 42, 0.02);
}
.avatar-wrapper {
@@ -354,7 +354,7 @@ onMounted(() => {
color: #ffffff;
font-size: 21px;
font-weight: 800;
box-shadow: 0 8px 24px rgba(29, 78, 216, 0.3);
box-shadow: 0 8px 24px rgba(29, 78, 216, 0.15);
}
.status-dot-active {
@@ -363,7 +363,7 @@ onMounted(() => {
right: -2px;
width: 12px;
height: 12px;
border: 2.5px solid #1e293b;
border: 2.5px solid #ffffff;
border-radius: 50%;
background: #10b981;
}
@@ -377,7 +377,7 @@ onMounted(() => {
}
.account-details small {
color: rgba(255, 255, 255, 0.4);
color: #64748b;
font-size: 9.5px;
font-weight: 800;
letter-spacing: 0.05em;
@@ -385,16 +385,15 @@ onMounted(() => {
}
.account-details strong {
color: #ffffff;
color: #0f172a;
font-size: 15px;
font-weight: 700;
}
.account-email {
color: #94a3b8;
color: #475569;
font-size: 11.5px;
word-break: break-all;
opacity: 0.8;
}
.logout-btn {
@@ -405,10 +404,10 @@ onMounted(() => {
gap: 6px;
width: 100%;
height: 36px;
border: 1px solid rgba(255, 255, 255, 0.1);
border: 1px solid #cbd5e1;
border-radius: 10px;
background: transparent;
color: rgba(255, 255, 255, 0.7);
color: #475569;
font-size: 12.5px;
font-weight: 700;
cursor: pointer;
@@ -416,12 +415,12 @@ onMounted(() => {
}
.logout-btn:hover {
background: rgba(239, 68, 68, 0.1);
border-color: rgba(239, 68, 68, 0.2);
color: #f87171;
background: rgba(239, 68, 68, 0.05);
border-color: rgba(239, 68, 68, 0.15);
color: #ef4444;
}
/* 常驻管理后台卡片(精致深黑流光) */
/* 常驻管理后台卡片(精致浅色流光) */
.sidebar-admin {
width: 100%;
}
@@ -433,13 +432,13 @@ onMounted(() => {
width: 100%;
overflow: hidden;
padding: 18px;
border: 1px solid rgba(255, 255, 255, 0.08);
border: 1px solid rgba(59, 130, 246, 0.12);
border-radius: 12px;
background: linear-gradient(135deg, #090d16 0%, #111827 100%);
color: #ffffff;
background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
color: #0f172a;
cursor: pointer;
text-align: left;
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
box-shadow: 0 8px 20px rgba(37, 99, 235, 0.04);
transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
@@ -450,15 +449,15 @@ onMounted(() => {
width: 120px;
height: 120px;
border-radius: 50%;
background: rgba(59, 130, 246, 0.15);
background: rgba(59, 130, 246, 0.06);
filter: blur(15px);
pointer-events: none;
}
.admin-action-card:hover {
transform: translateY(-2px);
border-color: rgba(59, 130, 246, 0.3);
box-shadow: 0 16px 30px rgba(59, 130, 246, 0.12);
border-color: rgba(59, 130, 246, 0.28);
box-shadow: 0 12px 28px rgba(37, 99, 235, 0.08);
}
.admin-card-head {
@@ -475,8 +474,8 @@ onMounted(() => {
width: 32px;
height: 32px;
border-radius: 8px;
background: rgba(59, 130, 246, 0.15);
color: #3b82f6;
background: rgba(59, 130, 246, 0.08);
color: #2563eb;
font-size: 16px;
}
@@ -486,7 +485,7 @@ onMounted(() => {
}
.admin-kicker {
color: rgba(59, 130, 246, 0.7);
color: #2563eb;
font-size: 8.5px;
font-weight: 800;
letter-spacing: 0.05em;
@@ -494,13 +493,14 @@ onMounted(() => {
}
.admin-text-box strong {
color: #0f172a;
font-size: 13.5px;
font-weight: 700;
}
.admin-desc {
margin: 0 0 12px;
color: #64748b;
color: #475569;
font-size: 11px;
line-height: 1.4;
}
@@ -509,7 +509,7 @@ onMounted(() => {
display: flex;
align-items: center;
justify-content: space-between;
color: #3b82f6;
color: #2563eb;
font-size: 11.5px;
font-weight: 700;
}