From 2b55050e6b46d2e6f05838b325a11051acadc20e Mon Sep 17 00:00:00 2001
From: hongjli <3117313295@qq.com>
Date: 星期四, 10 四月 2025 17:38:02 +0800
Subject: [PATCH] 优化

---
 src/app/ai-scene/chat/page.tsx |  107 +++++++++++++++++++++++++++--------------------------
 1 files changed, 54 insertions(+), 53 deletions(-)

diff --git a/src/app/ai-scene/chat/page.tsx b/src/app/ai-scene/chat/page.tsx
index 26025c2..0508989 100644
--- a/src/app/ai-scene/chat/page.tsx
+++ b/src/app/ai-scene/chat/page.tsx
@@ -8,12 +8,16 @@
 // 瀵煎叆鍦烘櫙鏁版嵁
 const defaultServices = [
   {
-    title: '鎻掑崟2.0',
-    description: '鏅鸿兘璇勪及闇�姹傛彃鍗曞浜ц兘锛屽師鏉愭枡鍜屼氦浠樻湇鍔$殑褰卞搷锛屾彁鍗囧鎴锋弧鎰忓害',
-    imageUrl: '/images/xuqiu.jpg',
-    chatbotId: 'zO9YQDEHdIApG9zC',
-    background: '鍦ㄧ敓浜ц鍒掓墽琛岃繃绋嬩腑锛屽父甯镐細閬囧埌绱ф�ヨ鍗曢渶瑕佹彃鍗曠殑鎯呭喌銆侫I绯荤粺鍙互蹇�熻瘎浼版彃鍗曞鐜版湁鐢熶骇璁″垝鐨勫奖鍝嶏紝骞舵彁渚涙渶浼樼殑鎻掑崟鏂规銆�',
-    instructions: '璇锋彁渚涢渶瑕佹彃鍗曠殑璁㈠崟淇℃伅锛屽寘鎷骇鍝佺被鍨嬨�佹暟閲忓拰鏈熸湜浜や粯鏃堕棿锛孉I鍔╂墜灏嗕负鎮ㄥ垎鏋愬彲琛屾�у苟缁欏嚭鍏蜂綋鐨勬彃鍗曞缓璁��'
+    title: '搴撳瓨绠$悊鐭ヨ瘑搴撻棶绛�',
+    description: '搴撳瓨鐭ヨ瘑锛屾彁渚涗笓涓氱殑渚涘簲閾惧簱瀛樼煡璇嗛棶绛�',
+    imageUrl: '/images/know.jpg',
+    chatbotId: 'pDDfkU9HyBl2gzXx',
+  },
+  {
+    title: '鎵湴鏈哄櫒浜洪攢鍞帹鑽愬皬鍔╂墜',
+    description: '鏅鸿兘鍖栦骇鍝佹帹鑽愭彁鍗囧璐晥鐜�',
+    imageUrl: '/images/robot.jpg',
+    chatbotId: 'sUAviPXvcEIw3oQC',
   },
   {
     title: '琛ユ枡',
@@ -30,16 +34,12 @@
     instructions: '璇锋彁渚涢渶瑕佹彃鍗曠殑璁㈠崟淇℃伅锛屽寘鎷骇鍝佺被鍨嬨�佹暟閲忓拰鏈熸湜浜や粯鏃堕棿锛孉I鍔╂墜灏嗕负鎮ㄥ垎鏋愬彲琛屾�у苟缁欏嚭鍏蜂綋鐨勬彃鍗曞缓璁��'
   },
   {
-    title: '绉戞矁鏂攢鍞帹鑽愬皬鍔╂墜',
-    description: '鏅鸿兘鍖栦骇鍝佹帹鑽愭彁鍗囧璐晥鐜�',
-    imageUrl: '/images/robot.jpg',
-    chatbotId: 'sUAviPXvcEIw3oQC',
-  },
-  {
-    title: '搴撳瓨绠$悊鐭ヨ瘑搴撻棶绛�',
-    description: '搴撳瓨鐭ヨ瘑锛屾彁渚涗笓涓氱殑渚涘簲閾惧簱瀛樼煡璇嗛棶绛�',
-    imageUrl: '/images/know.jpg',
-    chatbotId: 'pDDfkU9HyBl2gzXx',
+    title: '鎻掑崟2.0',
+    description: '鏅鸿兘璇勪及闇�姹傛彃鍗曞浜ц兘锛屽師鏉愭枡鍜屼氦浠樻湇鍔$殑褰卞搷锛屾彁鍗囧鎴锋弧鎰忓害',
+    imageUrl: '/images/xuqiu.jpg',
+    chatbotId: 'zO9YQDEHdIApG9zC',
+    background: '鍦ㄧ敓浜ц鍒掓墽琛岃繃绋嬩腑锛屽父甯镐細閬囧埌绱ф�ヨ鍗曢渶瑕佹彃鍗曠殑鎯呭喌銆侫I绯荤粺鍙互蹇�熻瘎浼版彃鍗曞鐜版湁鐢熶骇璁″垝鐨勫奖鍝嶏紝骞舵彁渚涙渶浼樼殑鎻掑崟鏂规銆�',
+    instructions: '璇锋彁渚涢渶瑕佹彃鍗曠殑璁㈠崟淇℃伅锛屽寘鎷骇鍝佺被鍨嬨�佹暟閲忓拰鏈熸湜浜や粯鏃堕棿锛孉I鍔╂墜灏嗕负鎮ㄥ垎鏋愬彲琛屾�у苟缁欏嚭鍏蜂綋鐨勬彃鍗曞缓璁��'
   },
 ];
 
@@ -65,45 +65,46 @@
       {/* 宸︿晶鍦烘櫙閫夐」鍗� */}
       <div className="w-64 bg-white border-r flex flex-col">
         {/* 鍥哄畾澶撮儴 */}
-        <div className="p-4 pt-20 bg-white">
-          <div className="flex flex-col space-y-4">
-            <button
-              onClick={() => router.push('/ai-scene')}
-              className="group flex items-center text-sm text-gray-500 hover:text-red-500 transition-all duration-300"
-            >
-              <svg 
-                xmlns="http://www.w3.org/2000/svg" 
-                className="h-4 w-4 mr-1.5 transition-transform duration-300 group-hover:-translate-x-0.5" 
-                fill="none" 
-                viewBox="0 0 24 24" 
-                stroke="currentColor"
+        <div className="pt-[65px] bg-white">
+          <div className="h-12 px-6 flex items-center border-b">
+            <div className="flex items-center">
+              <button
+                onClick={() => router.push('/ai-scene')}
+                className="group inline-flex items-center text-sm text-gray-500 hover:text-red-500 transition-all duration-300 cursor-pointer"
               >
-                <path 
-                  strokeLinecap="round" 
-                  strokeLinejoin="round" 
-                  strokeWidth={2} 
-                  d="M10 19l-7-7m0 0l7-7m-7 7h18" 
-                />
-              </svg>
-              <span>杩斿洖</span>
-            </button>
-            <h2 className="text-xl font-bold flex items-center">
-              <span className="text-gray-900">
+                <svg 
+                  xmlns="http://www.w3.org/2000/svg" 
+                  className="h-4 w-4 transition-transform duration-300 group-hover:-translate-x-0.5" 
+                  fill="none" 
+                  viewBox="0 0 24 24" 
+                  stroke="currentColor"
+                >
+                  <path 
+                    strokeLinecap="round" 
+                    strokeLinejoin="round" 
+                    strokeWidth={2} 
+                    d="M10 19l-7-7m0 0l7-7m-7 7h18" 
+                  />
+                </svg>
+                <span className="ml-1.5">杩斿洖</span>
+              </button>
+              <div className="mx-3 h-4 w-px bg-gray-200"></div>
+              <h2 className="text-base font-medium text-gray-900 flex items-center">
                 AI鍦烘櫙
-              </span>
-              <motion.span 
-                className="ml-2 inline-block w-2 h-2 rounded-full bg-[#6ADBFF]"
-                animate={{ 
-                  scale: [1, 1.5, 1],
-                  opacity: [0.7, 1, 0.7] 
-                }}
-                transition={{ 
-                  duration: 2,
-                  repeat: Infinity,
-                  ease: "easeInOut"
-                }}
-              />
-            </h2>
+                <motion.span 
+                  className="ml-2 inline-block w-1.5 h-1.5 rounded-full bg-[#6ADBFF]"
+                  animate={{ 
+                    scale: [1, 1.5, 1],
+                    opacity: [0.7, 1, 0.7] 
+                  }}
+                  transition={{ 
+                    duration: 2,
+                    repeat: Infinity,
+                    ease: "easeInOut"
+                  }}
+                />
+              </h2>
+            </div>
           </div>
         </div>
 

--
Gitblit v1.9.3