hongjli
2025-06-05 05e55761058e2089e81fb93dd4000dc3f42f40b3
src/components/layout/ClientLayoutContent.tsx
@@ -22,6 +22,8 @@
  const isHomePage = pathname === '/';
  const isAIScenePage = pathname === '/ai-scene';
  const isAISceneChatPage = pathname.startsWith('/ai-scene/chat');
  const isChatPage = pathname === '/chat'; // 添加聊天页面判断
  const isSupplyChainChatPage = pathname === '/supply-chain-chat'; // 添加供应链聊天页面判断
  // 设置客户端状态
  useEffect(() => {
@@ -98,7 +100,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 && !isSupplyChainChatPage && (
          <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">