);
}
diff --git a/components/ui/character-tab-content.tsx b/components/ui/character-tab-content.tsx
index 5c14a54..cb31a10 100644
--- a/components/ui/character-tab-content.tsx
+++ b/components/ui/character-tab-content.tsx
@@ -186,7 +186,33 @@ export function CharacterTabContent({
animate={{ opacity: 1, y: 0 }}
transition={{ delay: 0.2 }}
>
- {/* 左列:角色信息 */}
+
+ {/* 左列:角色预览 */}
+
- {/* 角色预览图 */}
-
-
- {/* 应用角色按钮 */}
-
- setIsReplaceLibraryOpen(true)}
- >
-
-
-
+ {/* 重新生成按钮、替换形象按钮 */}
+
+ console.log('Replace')}
+ className="flex items-center justify-center gap-2 px-4 py-3 bg-pink-500/10 hover:bg-pink-500/20
+ text-pink-500 rounded-lg transition-colors"
+ whileHover={{ scale: 1.02 }}
+ whileTap={{ scale: 0.98 }}
+ >
+
+ Replace
+
+ console.log('Regenerate')}
+ className="flex items-center justify-center gap-2 px-4 py-3 bg-blue-500/10 hover:bg-blue-500/20
+ text-blue-500 rounded-lg transition-colors"
+ whileHover={{ scale: 1.02 }}
+ whileTap={{ scale: 0.98 }}
+ >
+
+ Regenerate
+
-
+
+
diff --git a/components/ui/replace-panel.tsx b/components/ui/replace-panel.tsx
index 420ae48..08181a0 100644
--- a/components/ui/replace-panel.tsx
+++ b/components/ui/replace-panel.tsx
@@ -40,7 +40,7 @@ export function ReplacePanel({
const [selectedShots, setSelectedShots] = useState(
shots.filter(shot => shot.isSelected).map(shot => shot.id)
);
- const [addToLibrary, setAddToLibrary] = useState(true);
+ const [addToLibrary, setAddToLibrary] = useState(false);
const [hoveredVideoId, setHoveredVideoId] = useState
(null);
const videoRefs = useRef<{ [key: string]: HTMLVideoElement }>({});
diff --git a/components/ui/scene-editor.tsx b/components/ui/scene-editor.tsx
index d168890..72fa1dc 100644
--- a/components/ui/scene-editor.tsx
+++ b/components/ui/scene-editor.tsx
@@ -202,7 +202,7 @@ export default function SceneEditor({
};
return (
-
+
{/* 自由输入区域 */}
))}
-
- {/* 重新生成按钮 */}
-
-
- {isRegenerating ? "生成中..." : "重新生成"}
-
);
}
\ No newline at end of file
diff --git a/components/ui/scene-tab-content.tsx b/components/ui/scene-tab-content.tsx
index 1e443b5..c3d31e9 100644
--- a/components/ui/scene-tab-content.tsx
+++ b/components/ui/scene-tab-content.tsx
@@ -301,7 +301,20 @@ export function SceneTabContent({
animate={{ opacity: 1, y: 0 }}
transition={{ delay: 0.1 }}
>
- {/* 左列:脚本编辑器 */}
+ {/* 左列:场景预览 */}
+
+
+
+
+
+ {/* 右列:脚本编辑器 */}
-
-
- {/* 右列:场景预览 */}
-
-
-
-
+ {/* 重新生成按钮、替换形象按钮 */}
+
+ console.log('Replace')}
+ className="flex items-center justify-center gap-2 px-4 py-3 bg-pink-500/10 hover:bg-pink-500/20
+ text-pink-500 rounded-lg transition-colors"
+ whileHover={{ scale: 1.02 }}
+ whileTap={{ scale: 0.98 }}
+ >
+
+ Replace
+
+ console.log('Regenerate')}
+ className="flex items-center justify-center gap-2 px-4 py-3 bg-blue-500/10 hover:bg-blue-500/20
+ text-blue-500 rounded-lg transition-colors"
+ whileHover={{ scale: 1.02 }}
+ whileTap={{ scale: 0.98 }}
+ >
+
+ Regenerate
+
+