From 6d58f765faacfa26f0f1cfdcf2444eef2773d212 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E5=AE=B6=E8=AE=AD?= Date: Tue, 20 Oct 2026 18:02:26 +0800 Subject: [PATCH] =?UTF-8?q?style(main):=20=E4=BE=A7=E8=BE=B9=E6=A0=8F?= =?UTF-8?q?=E6=94=B9=E6=B5=85=E8=89=B2=EF=BC=8C=E4=B8=8E=E5=86=85=E5=AE=B9?= =?UTF-8?q?=E5=8C=BA/=E7=99=BB=E5=BD=95=E9=A1=B5=E8=A7=86=E8=A7=89?= =?UTF-8?q?=E7=BB=9F=E4=B8=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Sider 传 theme=light(side-menu 默认值同步改 light),白底 + 右侧细分隔线 - 折叠态图标/tooltip 文字色随 light 主题自动变深灰 - tag-nav 顶条 #F0F0F0 → #f5f7fa 微调至同色系 --- src/components/main/components/side-menu/side-menu.vue | 2 +- src/components/main/main.less | 5 ++++- src/components/main/main.vue | 6 +++--- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/src/components/main/components/side-menu/side-menu.vue b/src/components/main/components/side-menu/side-menu.vue index 6cb611e..0b5dd88 100644 --- a/src/components/main/components/side-menu/side-menu.vue +++ b/src/components/main/components/side-menu/side-menu.vue @@ -48,7 +48,7 @@ export default { }, theme: { type: String, - default: 'dark' + default: 'light' }, rootIconSize: { type: Number, diff --git a/src/components/main/main.less b/src/components/main/main.less index 712f049..c1477d1 100644 --- a/src/components/main/main.less +++ b/src/components/main/main.less @@ -26,7 +26,7 @@ .tag-nav-wrapper{ padding: 0; height:40px; - background:#F0F0F0; + background:#f5f7fa; } .content-wrapper{ padding: 18px; @@ -36,6 +36,9 @@ background: #fff; } .left-sider{ + // 浅色侧边栏:与内容区统一,仅以右边框区分 + background: #fff; + box-shadow: 1px 0 0 #e8ecf4; .ivu-layout-sider-children{ overflow-y: scroll; margin-right: -18px; diff --git a/src/components/main/main.vue b/src/components/main/main.vue index 5ea902a..338541d 100644 --- a/src/components/main/main.vue +++ b/src/components/main/main.vue @@ -1,7 +1,7 @@