From 4563fad2d93e502255706df5d7dd9aab51f56661 Mon Sep 17 00:00:00 2001 From: JOJO <1498581755@qq.com> Date: Thu, 27 Nov 2025 18:42:08 +0800 Subject: [PATCH] feat: enhance workspace toggle and mobile topbar --- static/icons/layers.svg | 1 + static/src/App.vue | 60 ++-- static/src/app.ts | 13 + static/src/components/chat/ChatArea.vue | 259 +++++++++--------- static/src/components/panels/LeftPanel.vue | 18 +- .../sidebar/ConversationSidebar.vue | 23 +- static/src/stores/ui.ts | 8 + .../styles/components/chat/_chat-area.scss | 19 ++ .../styles/components/overlays/_overlays.scss | 43 ++- .../styles/components/panels/_left-panel.scss | 32 +++ .../components/sidebar/_conversation.scss | 66 +++++ 11 files changed, 380 insertions(+), 162 deletions(-) create mode 100644 static/icons/layers.svg diff --git a/static/icons/layers.svg b/static/icons/layers.svg new file mode 100644 index 0000000..a36c416 --- /dev/null +++ b/static/icons/layers.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/src/App.vue b/static/src/App.vue index 383194c..5a30ab6 100644 --- a/static/src/App.vue +++ b/static/src/App.vue @@ -50,26 +50,41 @@ @personal="openPersonalPage" @delete="deleteConversation" @duplicate="duplicateConversation" + @toggle-workspace="handleWorkspaceToggle" /> - +
+ -
+
+
-
+
- +
+ +
+ {{ currentConversationTitle || '未命名对话' }} +
+