From 59b127957562ce33f243ed3693e55dc7da90c2e9 Mon Sep 17 00:00:00 2001 From: tanlianwang Date: Thu, 5 Mar 2026 18:03:43 +0800 Subject: [PATCH] =?UTF-8?q?refactor(layout):=20=E7=BB=9F=E4=B8=80=E5=BA=94?= =?UTF-8?q?=E7=94=A8=E5=B8=83=E5=B1=80=E7=BB=93=E6=9E=84=E5=B9=B6=E4=BC=98?= =?UTF-8?q?=E5=8C=96=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将应用标题从侧边栏移至顶部导航栏显示 - 重构所有布局组件使用统一的 flex 布局结构 - 引入 SystemHeader 组件统一管理系统顶部导航 - 移除重复的页面标题逻辑,改为动态显示 - 优化滚动区域设置,提升页面渲染性能 - 统一高度设置为 100vh 适配不同屏幕尺寸 --- static/admin/index.html | 4 +- ui/src/layout/components/sidebar/index.vue | 3 +- ui/src/layout/layout-header/SystemHeader.vue | 19 +++-- ui/src/layout/layout-template/MainLayout.vue | 12 ++- .../layout/layout-template/SimpleLayout.vue | 73 +++++-------------- .../layout-template/SystemMainLayout.vue | 8 +- ui/src/views/application/index.vue | 2 +- 7 files changed, 46 insertions(+), 75 deletions(-) diff --git a/static/admin/index.html b/static/admin/index.html index b2636bc8f..349dcce87 100644 --- a/static/admin/index.html +++ b/static/admin/index.html @@ -1,6 +1,6 @@ -AI-RAG
\ No newline at end of file + })()
\ No newline at end of file diff --git a/ui/src/layout/components/sidebar/index.vue b/ui/src/layout/components/sidebar/index.vue index 616cdee7b..c34a3c604 100644 --- a/ui/src/layout/components/sidebar/index.vue +++ b/ui/src/layout/components/sidebar/index.vue @@ -1,8 +1,7 @@ + \ No newline at end of file diff --git a/ui/src/layout/layout-template/SystemMainLayout.vue b/ui/src/layout/layout-template/SystemMainLayout.vue index 50d47d268..7a1593bf1 100644 --- a/ui/src/layout/layout-template/SystemMainLayout.vue +++ b/ui/src/layout/layout-template/SystemMainLayout.vue @@ -1,6 +1,6 @@