From c1c456128bec733c46ad03a09a5bae4c79e02367 Mon Sep 17 00:00:00 2001
From: hongjli <3117313295@qq.com>
Date: 星期四, 10 四月 2025 10:18:54 +0800
Subject: [PATCH] 新建聊天页面

---
 src/app/ai-scene/page.tsx |   16 ----------------
 1 files changed, 0 insertions(+), 16 deletions(-)

diff --git a/src/app/ai-scene/page.tsx b/src/app/ai-scene/page.tsx
index c39a22c..7828665 100644
--- a/src/app/ai-scene/page.tsx
+++ b/src/app/ai-scene/page.tsx
@@ -2,7 +2,6 @@
 
 import { useState } from 'react';
 import Card from '@/components/Card';
-import ChatDialog from '@/components/ChatDialog';
 import SceneIntroDialog from '@/components/SceneIntroDialog';
 import { motion } from 'framer-motion';
 
@@ -83,20 +82,12 @@
 ];
 
 export default function AIScenePage() {
-  const [isChatOpen, setIsChatOpen] = useState(false);
   const [isIntroOpen, setIsIntroOpen] = useState(false);
-  const [currentChatbot, setCurrentChatbot] = useState('');
   const [selectedScene, setSelectedScene] = useState(services[0]);
 
   const handleCardClick = (service: typeof services[0]) => {
     setSelectedScene(service);
     setIsIntroOpen(true);
-  };
-
-  const handleStartChat = () => {
-    setIsIntroOpen(false);
-    setCurrentChatbot(selectedScene.chatbotId);
-    setIsChatOpen(true);
   };
 
   return (
@@ -150,14 +141,7 @@
         <SceneIntroDialog
           isOpen={isIntroOpen}
           onClose={() => setIsIntroOpen(false)}
-          onStartChat={handleStartChat}
           scene={selectedScene}
-        />
-        
-        <ChatDialog 
-          isOpen={isChatOpen} 
-          onClose={() => setIsChatOpen(false)}
-          chatbotId={currentChatbot}
         />
       </div>
     </>

--
Gitblit v1.9.3