From c68bdd1e1d75e99109fb562b9ab6dbcc4906c766 Mon Sep 17 00:00:00 2001 From: Hermes CI Fix Date: Fri, 17 Jul 2026 16:55:09 +0800 Subject: [PATCH] =?UTF-8?q?feat(ui):=20=E7=AC=AC=E4=BA=8C=E8=BD=AEP1=20?= =?UTF-8?q?=E2=80=94=20scoped=E6=A0=B7=E5=BC=8F/mc-dialog=E6=9A=97?= =?UTF-8?q?=E9=BB=91=E9=80=82=E9=85=8D/=E7=A9=BA=E7=8A=B6=E6=80=81/?= =?UTF-8?q?=E5=AD=97=E5=8F=B7=E5=8F=98=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/style.css | 28 +++++++++++++++++++ frontend/src/views/BIReportCenter.vue | 28 +++++++++++++------ frontend/src/views/ChartTest.vue | 25 +++++++++++------ frontend/src/views/CustomerDashboard.vue | 2 ++ frontend/src/views/DataManage.vue | 27 +++++++++++++------ frontend/src/views/DataQuality.vue | 33 ++++++++++++++--------- frontend/src/views/KPIDetail.vue | 29 +++++++++++++------- frontend/src/views/KPIList.vue | 2 ++ frontend/src/views/LearningDashboard.vue | 5 ++++ frontend/src/views/MapReview.vue | 2 ++ frontend/src/views/NotificationManage.vue | 20 +++++++++----- frontend/src/views/UserManage.vue | 12 ++++++--- 12 files changed, 159 insertions(+), 54 deletions(-) diff --git a/frontend/src/style.css b/frontend/src/style.css index 21ad2e4f..1fa8f574 100644 --- a/frontend/src/style.css +++ b/frontend/src/style.css @@ -83,6 +83,13 @@ html, body, #app { --bsc-customer: #409EFF; --bsc-process: #67C23A; --bsc-learning: #E6A23C; + + /* 统一字号 */ + --text-sm: 12px; + --text-base: 14px; + --text-lg: 16px; + --text-xl: 18px; + --text-2xl: 24px; } /* 暗黑模式覆盖 — 只影响内容区,侧边栏保持不变 */ @@ -259,6 +266,27 @@ html.dark .el-dialog__body { color: var(--bh-text-regular); } +/* 自定义弹窗暗黑适配 */ +html.dark .mc-dialog-overlay, +html.dark .mc-dialog-overlay-fix { + background: rgba(0,0,0,0.7); +} +html.dark .mc-dialog-box { + background: #1e1e1e; + color: #e0e0e0; +} +html.dark .mc-dialog-header { + border-bottom-color: #333; +} +html.dark .mc-dialog-footer { + border-top-color: #333; +} +html.dark .mc-input { + background: #252525; + border-color: #333; + color: #e0e0e0; +} + /* 自定义弹窗内下拉选择框层级修复 */ .dialog-select-popper { z-index: 10001 !important; diff --git a/frontend/src/views/BIReportCenter.vue b/frontend/src/views/BIReportCenter.vue index 61fe3ff0..67f1eb86 100644 --- a/frontend/src/views/BIReportCenter.vue +++ b/frontend/src/views/BIReportCenter.vue @@ -14,16 +14,16 @@ -
-
+
+
📊 📈 📋 🔝 🔗
-
{{ tpl.name }}
-
{{ tpl.config?.description || '' }}
+
{{ tpl.name }}
+
{{ tpl.config?.description || '' }}
@@ -33,7 +33,7 @@ - + - + @@ -77,6 +77,7 @@ + @@ -110,7 +111,7 @@ - + @@ -312,3 +313,14 @@ function exportData() { onMounted(() => { loadData() }) + + diff --git a/frontend/src/views/ChartTest.vue b/frontend/src/views/ChartTest.vue index eb28ec45..4ffdc2e5 100644 --- a/frontend/src/views/ChartTest.vue +++ b/frontend/src/views/ChartTest.vue @@ -1,12 +1,12 @@ diff --git a/frontend/src/views/DataManage.vue b/frontend/src/views/DataManage.vue index ce5693b3..b8182a8b 100644 --- a/frontend/src/views/DataManage.vue +++ b/frontend/src/views/DataManage.vue @@ -2,32 +2,32 @@

数据管理

- +
拖拽或点击上传Excel文件
-
支持 .xlsx .xls,自动识别利润表/现金流量表/资产负债表/KPI数据表
+
支持 .xlsx .xls,自动识别利润表/现金流量表/资产负债表/KPI数据表
-
- {{ f.name }} +
+ {{ f.name }}
- 🤖 智能导入 {{ files.length }} 个文件 -
+ 🤖 智能导入 {{ files.length }} 个文件 +
- + + @@ -189,3 +190,13 @@ async function doDeleteSource(row: any) { onMounted(loadSources) + + diff --git a/frontend/src/views/DataQuality.vue b/frontend/src/views/DataQuality.vue index 20aa15f0..a113be7d 100644 --- a/frontend/src/views/DataQuality.vue +++ b/frontend/src/views/DataQuality.vue @@ -12,33 +12,33 @@ -
-
{{ stats.total_kpis }}
-
KPI总数
+
+
{{ stats.total_kpis }}
+
KPI总数
-
-
{{ stats.open_logs }}
-
未解决异常
+
+
{{ stats.open_logs }}
+
未解决异常
-
-
{{ stats.severity_counts?.critical ?? 0 }}
-
严重异常
+
+
{{ stats.severity_counts?.critical ?? 0 }}
+
严重异常
-
-
{{ stats.type_counts?.missing_data ?? 0 }}
-
数据缺失
+
+
{{ stats.type_counts?.missing_data ?? 0 }}
+
数据缺失
@@ -113,6 +113,7 @@ +
@@ -189,3 +190,11 @@ onMounted(() => { loadLogs() }) + + diff --git a/frontend/src/views/KPIDetail.vue b/frontend/src/views/KPIDetail.vue index ef6c4f20..1ed9b759 100644 --- a/frontend/src/views/KPIDetail.vue +++ b/frontend/src/views/KPIDetail.vue @@ -6,10 +6,10 @@
@@ -82,8 +82,8 @@ - - + + @@ -99,7 +99,7 @@ -
无上游驱动
+
无上游驱动
-
无下游影响
+
无下游影响
-
加载中...
+
加载中...
+ +
diff --git a/frontend/src/views/NotificationManage.vue b/frontend/src/views/NotificationManage.vue index 641be38d..cd89c987 100644 --- a/frontend/src/views/NotificationManage.vue +++ b/frontend/src/views/NotificationManage.vue @@ -1,6 +1,6 @@