From d5d1e71bbbc4048934ca3feb6ae0923bae4df2f9 Mon Sep 17 00:00:00 2001 From: tanlianwang Date: Mon, 9 Mar 2026 09:56:38 +0800 Subject: [PATCH] =?UTF-8?q?feat(ui):=20=E6=B7=BB=E5=8A=A0=E5=BA=94?= =?UTF-8?q?=E7=94=A8=E5=9B=BE=E6=A0=87=E5=92=8C=E7=B3=BB=E7=BB=9F=E5=B8=83?= =?UTF-8?q?=E5=B1=80=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 新增 app-application 图标组件 - 更新应用页面下拉菜单使用新图标 - 重构思维导图页面布局结构 - 在系统头部添加过期提醒警告 - 添加中国移动图标组件到头部 - 优化布局模板的主题样式处理 --- .../components/app-icon/icons/application.ts | 24 +++++++++++++++ ui/src/layout/layout-header/SystemHeader.vue | 2 ++ ui/src/layout/layout-header/UserHeader.vue | 2 ++ ui/src/layout/layout-template/MainLayout.vue | 18 ++++++++++-- .../layout/layout-template/SimpleLayout.vue | 18 ++++++++++-- ui/src/views/application/index.vue | 8 +++-- ui/src/views/mindmap/index.vue | 29 ++++++++++++------- 7 files changed, 83 insertions(+), 18 deletions(-) diff --git a/ui/src/components/app-icon/icons/application.ts b/ui/src/components/app-icon/icons/application.ts index 9ec9ecd5d..8c1b7ff60 100644 --- a/ui/src/components/app-icon/icons/application.ts +++ b/ui/src/components/app-icon/icons/application.ts @@ -761,4 +761,28 @@ export default { ]) }, }, + 'app-application': { + iconReader: () => { + return h('i', [ + h( + 'svg', + { + viewBox: '0 0 16 16', + version: '1.1', + xmlns: 'http://www.w3.org/2000/svg', + }, + [ + h('path', { + d: 'M8 1.33333C5.57037 1.33333 3.66667 3.23704 3.66667 5.66667V7.66667C3.66667 10.0963 5.57037 12 8 12C10.4296 12 12.3333 10.0963 12.3333 7.66667V5.66667C12.3333 3.23704 10.4296 1.33333 8 1.33333ZM8 10.6667C6.01172 10.6667 4.33333 8.98828 4.33333 7V5.66667C4.33333 3.67839 6.01172 2 8 2C9.98828 2 11.6667 3.67839 11.6667 5.66667V7C11.6667 8.98828 9.98828 10.6667 8 10.6667Z', + fill: 'currentColor', + }), + h('path', { + d: 'M8 4.33333C7.55817 4.33333 7.16667 4.72483 7.16667 5.16667V6.33333C7.16667 6.77517 7.55817 7.16667 8 7.16667C8.44183 7.16667 8.83333 6.77517 8.83333 6.33333V5.16667C8.83333 4.72483 8.44183 4.33333 8 4.33333Z', + fill: 'currentColor', + }), + ], + ), + ]) + }, + }, } diff --git a/ui/src/layout/layout-header/SystemHeader.vue b/ui/src/layout/layout-header/SystemHeader.vue index a298e4f21..93512b1f3 100644 --- a/ui/src/layout/layout-header/SystemHeader.vue +++ b/ui/src/layout/layout-header/SystemHeader.vue @@ -2,6 +2,7 @@
+

{{ isSystemManagement ? 'AI-RAG | 系统管理' : 'AI-RAG' }}

@@ -16,6 +17,7 @@