From d59756c16707965125d98b8bfe6dc07ff7654a5d Mon Sep 17 00:00:00 2001 From: Wenjie Zhang Date: Thu, 11 Jun 2026 21:47:15 +0800 Subject: [PATCH] =?UTF-8?q?feat(ui):=20=E4=BC=98=E5=8C=96=E5=B1=95?= =?UTF-8?q?=E7=8E=B0=E7=BB=86=E8=8A=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/components/AgentChatComponent.vue | 8 +- web/src/components/AgentPanel.vue | 2 +- .../dashboard/KnowledgeStatsComponent.vue | 141 +----------------- web/src/layouts/AppLayout.vue | 11 +- 4 files changed, 19 insertions(+), 143 deletions(-) diff --git a/web/src/components/AgentChatComponent.vue b/web/src/components/AgentChatComponent.vue index 2d5a58bd..ac5771a3 100644 --- a/web/src/components/AgentChatComponent.vue +++ b/web/src/components/AgentChatComponent.vue @@ -8,7 +8,7 @@ }" :style="{ '--file-panel-width': filePanelWidthStyle }" > -
+
{ flex-shrink: 0; /* Prevent header from shrinking */ transition: padding-right 0.3s cubic-bezier(0.4, 0, 0.2, 1); + &.has-active-thread { + border-bottom: 1px solid var(--gray-150); + } + .header__left, .header__right { display: flex; @@ -3194,7 +3198,7 @@ watch(currentChatId, (threadId, oldThreadId) => { align-items: center; justify-content: space-between; gap: 8px; - min-height: 44px; + min-height: var(--header-height); padding: 4px 12px; background: var(--gray-25); border-bottom: 1px solid var(--gray-100); diff --git a/web/src/components/AgentPanel.vue b/web/src/components/AgentPanel.vue index 8366affe..5478c450 100644 --- a/web/src/components/AgentPanel.vue +++ b/web/src/components/AgentPanel.vue @@ -709,7 +709,7 @@ watch( justify-content: space-between; gap: 8px; padding: 4px 12px; - min-height: 44px; + min-height: var(--header-height); background: var(--gray-25); border-bottom: 1px solid var(--gray-100); flex-shrink: 0; diff --git a/web/src/components/dashboard/KnowledgeStatsComponent.vue b/web/src/components/dashboard/KnowledgeStatsComponent.vue index e53e292c..b758fb37 100644 --- a/web/src/components/dashboard/KnowledgeStatsComponent.vue +++ b/web/src/components/dashboard/KnowledgeStatsComponent.vue @@ -31,28 +31,7 @@ - - - - -
-
-

类型分布

-
-
- - {{ item.name }} -
-
-
-
-
-
-
- + @@ -112,7 +91,7 @@