From c63485d53f433a0955522703f8f4ce31797ef5c0 Mon Sep 17 00:00:00 2001 From: tanlianwang Date: Mon, 9 Mar 2026 10:14:13 +0800 Subject: [PATCH] =?UTF-8?q?refactor(chat):=20=E9=87=8D=E6=9E=84PC=E7=AB=AF?= =?UTF-8?q?=E8=81=8A=E5=A4=A9=E7=95=8C=E9=9D=A2=E5=B8=83=E5=B1=80=E7=BB=93?= =?UTF-8?q?=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 替换原有的flex布局为新的LayoutContainer和ContentContainer组件 - 添加顶部应用标题栏,包含ChinaMobileIcon和AI-RAG标题 - 移除原有的左侧折叠按钮,整合到新的布局容器中 - 调整右侧聊天区域样式,优化背景图片显示方式 - 更新CSS样式以适配新布局结构和高度计算 - 导入新的布局组件并调整现有组件的嵌套关系 --- ui/src/views/chat/pc/index.vue | 199 +++++++++++++++------------------ 1 file changed, 90 insertions(+), 109 deletions(-) diff --git a/ui/src/views/chat/pc/index.vue b/ui/src/views/chat/pc/index.vue index ed81b7ec8..e4a8ac9eb 100644 --- a/ui/src/views/chat/pc/index.vue +++ b/ui/src/views/chat/pc/index.vue @@ -19,8 +19,17 @@ ), }" > -
-
+
+
+
+ +

AI-RAG

+
+
+
+ + + + +
+
+
+ +
-
- - - +
+
+

{{ rightPanelTitle }}

+ +
+ + + + + + + + + + + + +
+
+
+ + + +
-
-
+ + >() @@ -534,30 +538,12 @@ function closeExecutionDetail() { overflow: hidden; background: #eef1f4; - &__left { - position: relative; - z-index: 1; - - .pc-collapse { - position: absolute; - top: 20px; - right: -13px; - box-shadow: 0px 5px 10px 0px var(--app-text-color-light-1); - z-index: 1; - width: 24px; - height: 24px; - } - } - - &__right { - flex: 1; - overflow: hidden; + .chat-background { position: relative; box-sizing: border-box; - display: flex; .right-height { - height: calc(100vh - 60px); + height: calc(100vh - var(--app-header-height) - 120px); } :deep(.execution-detail-panel) { @@ -584,13 +570,8 @@ function closeExecutionDetail() { margin: 0 auto; } -.chat-pc__right { - width: calc(100vw - 280px); - --execution-detail-panel-width: 400px; - - .execution-detail-panel { - width: var(--execution-detail-panel-width, 400px); - } +.execution-detail-panel { + width: var(--execution-detail-panel-width, 400px); } @media only screen and (max-width: 1000px) {