From 4f4508083ce885c750dfea7c381313278c936092 Mon Sep 17 00:00:00 2001 From: TermiNexus Date: Tue, 11 Aug 2026 01:03:18 +0800 Subject: [PATCH] =?UTF-8?q?style(gerp):=20=E6=95=B4=E4=BD=93=E4=BC=81?= =?UTF-8?q?=E4=B8=9A=E5=8C=96=E6=94=B9=E9=80=A0=EF=BC=88=E9=98=BF=E9=87=8C?= =?UTF-8?q?=E4=BA=91=E5=BC=8F=E5=85=8B=E5=88=B6=E9=A3=8E=E6=A0=BC=E3=80=81?= =?UTF-8?q?=E9=85=8D=E8=89=B2=E5=8F=AF=E9=85=8D=E7=BD=AE=E3=80=81Win11=20?= =?UTF-8?q?=E4=BE=A7=E8=BE=B9=E6=A0=8F=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - global.scss 重构为设计令牌体系:细边框/克制圆角/浅阴影/紧凑字号 - 统一覆盖 Element Plus 与 vxe-table 企业化样式(表头底色、行间细横线、紧凑行高) - app store 支持自定义主色:自动派生 light-N/dark-2 色阶,配色与明暗主题解耦 - Settings 新增"主题与配色"区:预设色板 + 自定义取色器 - 布局头部改面包屑式页名;侧边栏改 Win11 胶囊菜单(无指示条,hover/选中整行高亮,折叠图标居中,菜单项补 title 提示) - TabBar 还原圆角选中卡片式样式 - Dashboard 重做:关键指标 KPI 区 + 快捷入口 + 系统信息(去除装饰性渐变) - Login 配色改为跟随主题主色(去掉硬编码渐变) - 内容区内边距收敛到各视图容器,避免双层 padding --- src/components/CrudTable.vue | 6 +- src/components/InfoGrid.vue | 20 +-- src/components/TabBar.vue | 5 +- src/layouts/DefaultLayout.vue | 130 ++++++-------- src/stores/app.ts | 97 ++++++++--- src/styles/global.scss | 318 +++++++++++++++++++++++++++++----- src/views/Dashboard.vue | 231 ++++++++++++++---------- src/views/Login.vue | 59 ++----- src/views/Profile.vue | 10 +- src/views/system/Settings.vue | 136 ++++++++++++++- 10 files changed, 714 insertions(+), 298 deletions(-) diff --git a/src/components/CrudTable.vue b/src/components/CrudTable.vue index 9b276c9..35463fa 100644 --- a/src/components/CrudTable.vue +++ b/src/components/CrudTable.vue @@ -552,11 +552,9 @@ function isCardSelected(row: Record): boolean { ): boolean { } .table-title { - font-size: 16px; + font-size: 15px; font-weight: 600; } diff --git a/src/components/InfoGrid.vue b/src/components/InfoGrid.vue index 3942f5a..dfde08d 100644 --- a/src/components/InfoGrid.vue +++ b/src/components/InfoGrid.vue @@ -40,24 +40,24 @@ defineProps<{ diff --git a/src/views/Login.vue b/src/views/Login.vue index 13bf3b8..acc24f3 100644 --- a/src/views/Login.vue +++ b/src/views/Login.vue @@ -41,10 +41,8 @@ async function handleLogin(): Promise {