diff --git a/app/canvas/[id]/page.tsx b/app/canvas/[id]/page.tsx
index 1e24160..a5ede28 100644
--- a/app/canvas/[id]/page.tsx
+++ b/app/canvas/[id]/page.tsx
@@ -369,7 +369,7 @@ export default function CanvasEditorPage({ params }: PageProps) {
{/* 2. Floating Header (Top Left) */}
-
+
{/* 3. Floating Actions (Top Right) */}
-
-
- {/* Panel Toggle */}
-
-
-
-
- {isPanelOpen ? "隐藏面板" : "显示面板"}
-
-
-
+ {!isPanelOpen && (
+
+
+ {/* Panel Toggle */}
+
+
+
+
+ 显示面板
+
+
+
+ )}
{/* 4. Floating Sidebar (Right) */}
-
-
+
+
AI 对话
@@ -473,6 +475,21 @@ export default function CanvasEditorPage({ params }: PageProps) {
快捷工具
+
+ {/* Integrated Close Button */}
+
+
+
+
+ 隐藏面板
+
{/* AI 对话标签页 */}
diff --git a/components/canvas/CanvasChatPanel.tsx b/components/canvas/CanvasChatPanel.tsx
index 7fdced7..374faa3 100644
--- a/components/canvas/CanvasChatPanel.tsx
+++ b/components/canvas/CanvasChatPanel.tsx
@@ -27,24 +27,8 @@ interface CanvasChatPanelProps {
initialMessages?: ChatMessage[];
}
-// 建议卡片数据
-const SUGGESTIONS = [
- {
- title: "Wine List",
- desc: "Mimic this effect to genera...",
- image: "https://images.unsplash.com/photo-1510812431401-41d2bd2722f3?w=300&h=200&fit=crop"
- },
- {
- title: "Coffee Shop Branding",
- desc: "you are a brand design...",
- image: "https://images.unsplash.com/photo-1509042239860-f550ce710b93?w=300&h=200&fit=crop"
- },
- {
- title: "Story Board",
- desc: "I NEED A STORY BOARD...",
- image: "https://images.unsplash.com/photo-1626785774573-4b799314346d?w=300&h=200&fit=crop"
- }
-];
+// 建议卡片数据 - 已移除
+const SUGGESTIONS: { title: string; desc: string; image: string }[] = [];
// 从消息中提取图片 URL
function extractImageUrls(text: string): string[] {
@@ -317,48 +301,15 @@ export function CanvasChatPanel({ chatId, initialMessages = [] }: CanvasChatPane
{/* Greeting */}
-
- -L°
-
Hi, 我是你的AI设计师
让我们开始今天的创作吧!
- {/* Suggestions */}
-
- {SUGGESTIONS.map((item, i) => (
-
setInput(prev => prev || item.desc)}
- >
-
-
{item.title}
-
{item.desc}
-
-
-

-
-
- ))}
-
+ {/* Suggestions - Removed */}
+
+ {/* Refresh - Removed */}
- {/* Refresh */}
-
-
- 切换
-
-
- {/* Banner */}
-
-
-
-
-
-
升级会员, Nano Banana Pro 免费365天!
-
-
-
+ {/* Banner - Removed */}
)}