From a1543bccf6b616d2db9d44b762826d58887172a6 Mon Sep 17 00:00:00 2001 From: baoshiwei <baoshiwei@shlanbao.cn> Date: 星期二, 10 六月 2025 18:57:57 +0800 Subject: [PATCH] refactor(zhitan-system):优化获取节点ID列表的逻辑- 移除了过滤条件中的 parentNode 节点 ID 比较逻辑 - 现在只根据父节点 ID 是否非空来筛选 modelNodeList --- zhitan-vue/src/assets/styles/sidebar.scss | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/zhitan-vue/src/assets/styles/sidebar.scss b/zhitan-vue/src/assets/styles/sidebar.scss index 297e8e4..d4393a1 100644 --- a/zhitan-vue/src/assets/styles/sidebar.scss +++ b/zhitan-vue/src/assets/styles/sidebar.scss @@ -13,6 +13,7 @@ .main-container { + background-color: #110f2e !important; height: 100%; transition: margin-left 0.28s; margin-left: $base-sidebar-width; @@ -28,7 +29,7 @@ transition: width 0.28s; width: $base-sidebar-width !important; background-color: $base-menu-background; - height: 100%; + height: calc(100% - 60px) !important; position: fixed; top: 60px; bottom: 0; @@ -51,7 +52,7 @@ .scrollbar-wrapper { overflow-x: hidden !important; - height: calc(100% - 290px) !important; + height: calc(100% - 194px) !important; } .el-scrollbar__bar.is-vertical { @@ -306,6 +307,7 @@ } .main-container { + background-color: #f7f8fa; height: 100%; transition: margin-left 0.28s; margin-left: $base-sidebar-width; @@ -321,7 +323,7 @@ transition: width 0.28s; width: $base-sidebar-width !important; background-color: $base-menu-background; - height: 100%; + height: calc(100% - 60px) !important; position: fixed; top: 60px; bottom: 0; @@ -389,7 +391,7 @@ .menu-title { overflow: hidden !important; font-weight: 400 !important; - font-size: 16px !important; + font-size: 14px !important; } // @media (min-width: 1440px) { -- Gitblit v1.9.3