From c82bd5b40f230c576fda06e647d11de4749c4c1d Mon Sep 17 00:00:00 2001 From: Hermes CI Fix Date: Fri, 17 Jul 2026 16:35:54 +0800 Subject: [PATCH] =?UTF-8?q?feat(ui):=20CMA=E5=89=8D=E7=AB=AFUI=E4=BC=98?= =?UTF-8?q?=E5=8C=96P0=20-=20BSC=E5=8F=98=E9=87=8F+=E5=85=AC=E5=85=B1?= =?UTF-8?q?=E7=B1=BB+=E7=BB=9F=E4=B8=80=E6=A0=87=E9=A2=98+=E8=89=B2?= =?UTF-8?q?=E5=80=BC=E6=9B=BF=E6=8D=A2+=E5=86=85=E8=81=94style=E6=9B=BF?= =?UTF-8?q?=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/style.css | 22 +++++++++++++++ frontend/src/views/ActionPlanLibrary.vue | 29 +++++++++++--------- frontend/src/views/BIReportCenter.vue | 10 +++---- frontend/src/views/CustomerDashboard.vue | 3 +++ frontend/src/views/Dashboard.vue | 34 ++++++++++++------------ frontend/src/views/DataQuality.vue | 14 +++++----- frontend/src/views/DupontAnalysis.vue | 5 +++- frontend/src/views/KPIAlignment.vue | 2 +- frontend/src/views/KPIDetail.vue | 11 +++++--- frontend/src/views/LearningDashboard.vue | 7 ++++- frontend/src/views/ReportCenter.vue | 10 +++---- 11 files changed, 93 insertions(+), 54 deletions(-) diff --git a/frontend/src/style.css b/frontend/src/style.css index a0988412..21ad2e4f 100644 --- a/frontend/src/style.css +++ b/frontend/src/style.css @@ -77,6 +77,12 @@ html, body, #app { --bh-breakpoint-md: 992px; --bh-breakpoint-lg: 1200px; --bh-breakpoint-xl: 1920px; + + /* BSC四层泳道标准色 */ + --bsc-finance: #F56C6C; + --bsc-customer: #409EFF; + --bsc-process: #67C23A; + --bsc-learning: #E6A23C; } /* 暗黑模式覆盖 — 只影响内容区,侧边栏保持不变 */ @@ -343,6 +349,22 @@ html.dark .el-drawer__header { --el-dialog-margin-top: 1vh !important; } +/* === 页面标准间距与公共布局类 === */ +.page-view { padding: 16px; } +.page-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:16px; flex-wrap:wrap; gap:8px; } +.page-title { font-size:18px; font-weight:600; margin:0; } +.page-title h3 { margin:0; } + +/* 卡片统计数字 */ +.stat-number { font-size:24px; font-weight:600; } +.stat-label { font-size:12px; color:#909399; margin-top:4px; } + +/* 通用flex布局 */ +.flex-row { display:flex; align-items:center; gap:8px; } +.flex-wrap { flex-wrap:wrap; } +.flex-between { display:flex; justify-content:space-between; align-items:center; } +.section-gap { margin-bottom:16px; } + /* 过渡动画 — 明暗切换平滑过渡 */ html.dark, html, diff --git a/frontend/src/views/ActionPlanLibrary.vue b/frontend/src/views/ActionPlanLibrary.vue index 9148693d..ba0e0ac5 100644 --- a/frontend/src/views/ActionPlanLibrary.vue +++ b/frontend/src/views/ActionPlanLibrary.vue @@ -1,7 +1,10 @@