From 6379adfd761b0a6cddd03d42dd96f1a619cda2c0 Mon Sep 17 00:00:00 2001 From: hongjli <3117313295@qq.com> Date: 星期四, 24 四月 2025 16:48:42 +0800 Subject: [PATCH] 聊天页面 --- src/components/layout/ClientLayoutContent.tsx | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/components/layout/ClientLayoutContent.tsx b/src/components/layout/ClientLayoutContent.tsx index bf997c2..64b02f9 100644 --- a/src/components/layout/ClientLayoutContent.tsx +++ b/src/components/layout/ClientLayoutContent.tsx @@ -22,6 +22,7 @@ const isHomePage = pathname === '/'; const isAIScenePage = pathname === '/ai-scene'; const isAISceneChatPage = pathname.startsWith('/ai-scene/chat'); + const isChatPage = pathname === '/chat'; // 娣诲姞鑱婂ぉ椤甸潰鍒ゆ柇 // 璁剧疆瀹㈡埛绔姸鎬� useEffect(() => { @@ -98,7 +99,7 @@ <main className={`flex-1 ${isHomePage || isAIScenePage ? '' : 'bg-gradient-to-b from-[var(--ai-surface)] to-white'} pt-0 mt-0`}> {children} </main> - {!isLoginPage && !isRegisterPage && !isAISceneChatPage && ( + {!isLoginPage && !isRegisterPage && !isAISceneChatPage && !isChatPage && ( <footer className="relative z-20 bg-gradient-to-br from-[#0A1033] via-[#1E2B63] to-[#131C41] text-white py-10 overflow-hidden"> {/* 绉戞妧鎰熷姩鎬佽儗鏅厓绱� */} <div className="absolute inset-0 overflow-hidden pointer-events-none"> -- Gitblit v1.9.3