From cddec984f95e15516e6e719cc4acefc9bff1cc05 Mon Sep 17 00:00:00 2001 From: zzlgreat Date: Thu, 5 Feb 2026 10:55:00 +0800 Subject: [PATCH] update pay promo --- src/views/AgentChat/components/ChatArea/index.js | 6 ------ src/views/AgentChat/components/LeftSidebar/index.js | 10 +++------- src/views/AgentChat/components/RightSidebar/index.js | 8 ++------ src/views/AgentChat/index.js | 5 +++-- 4 files changed, 8 insertions(+), 21 deletions(-) diff --git a/src/views/AgentChat/components/ChatArea/index.js b/src/views/AgentChat/components/ChatArea/index.js index 813e169d..1553de76 100644 --- a/src/views/AgentChat/components/ChatArea/index.js +++ b/src/views/AgentChat/components/ChatArea/index.js @@ -91,12 +91,9 @@ const ChatArea = ({ @@ -264,12 +261,9 @@ const ChatArea = ({ {/* 已上传文件预览 */} diff --git a/src/views/AgentChat/components/LeftSidebar/index.js b/src/views/AgentChat/components/LeftSidebar/index.js index 2a0aa7fd..2559e66e 100644 --- a/src/views/AgentChat/components/LeftSidebar/index.js +++ b/src/views/AgentChat/components/LeftSidebar/index.js @@ -93,14 +93,10 @@ const LeftSidebar = ({ h="100%" display="flex" flexDirection="column" - bg="rgba(17, 24, 39, 0.8)" - backdropFilter={`${GLASS_BLUR.lg} saturate(180%)`} - borderRight="1px solid" - borderColor="rgba(255, 255, 255, 0.1)" - boxShadow="4px 0 24px rgba(0, 0, 0, 0.3)" + bg="rgba(17, 24, 39, 0.95)" > {/* 标题栏 */} - + @@ -351,7 +347,7 @@ const LeftSidebar = ({ {/* 底部信息简化 */} - + {/* 标题栏 */} - + diff --git a/src/views/AgentChat/index.js b/src/views/AgentChat/index.js index 5fb4909f..74c4384d 100644 --- a/src/views/AgentChat/index.js +++ b/src/views/AgentChat/index.js @@ -62,8 +62,9 @@ const AgentChat = () => { // ==================== UI 状态(主组件管理)==================== const [selectedModel, setSelectedModel] = useState(DEFAULT_MODEL_ID); const [selectedTools, setSelectedTools] = useState(DEFAULT_SELECTED_TOOLS); - const [isLeftSidebarOpen, setIsLeftSidebarOpen] = useState(true); - const [isRightSidebarOpen, setIsRightSidebarOpen] = useState(true); + // 默认收起左右侧边栏(模仿 Claude 布局) + const [isLeftSidebarOpen, setIsLeftSidebarOpen] = useState(false); + const [isRightSidebarOpen, setIsRightSidebarOpen] = useState(false); // ==================== 自定义 Hooks ====================