From 3c820ecee09fb920f0c1c09649ef0275c0b01a41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8C=97=E6=9E=B3?= <7854742+wang_rumeng@user.noreply.gitee.com> Date: Sat, 30 Aug 2025 23:30:33 +0800 Subject: [PATCH] =?UTF-8?q?-=20[=20]=20=E5=B0=86=20create=20=E8=B7=AF?= =?UTF-8?q?=E7=94=B1=E5=90=8D=E7=A7=B0=20=E6=94=B9=E4=B8=BA=20movies?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/{create => movies}/layout.tsx | 0 app/{create => movies}/page.tsx | 0 app/{create => movies}/work-flow/page.tsx | 0 components/ChatInputBox/ChatInputBox.tsx | 6 +++--- components/layout/sidebar.tsx | 2 +- components/layout/top-bar.tsx | 4 ++-- components/pages/create-to-video2.tsx | 2 +- components/pages/home-page2.tsx | 2 +- components/pages/login.tsx | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) rename app/{create => movies}/layout.tsx (100%) rename app/{create => movies}/page.tsx (100%) rename app/{create => movies}/work-flow/page.tsx (100%) diff --git a/app/create/layout.tsx b/app/movies/layout.tsx similarity index 100% rename from app/create/layout.tsx rename to app/movies/layout.tsx diff --git a/app/create/page.tsx b/app/movies/page.tsx similarity index 100% rename from app/create/page.tsx rename to app/movies/page.tsx diff --git a/app/create/work-flow/page.tsx b/app/movies/work-flow/page.tsx similarity index 100% rename from app/create/work-flow/page.tsx rename to app/movies/work-flow/page.tsx diff --git a/components/ChatInputBox/ChatInputBox.tsx b/components/ChatInputBox/ChatInputBox.tsx index de7a5bf..981ec00 100644 --- a/components/ChatInputBox/ChatInputBox.tsx +++ b/components/ChatInputBox/ChatInputBox.tsx @@ -150,7 +150,7 @@ const RenderTemplateStoryMode = ({ ); if (projectId) { // 跳转到电影详情页 - router.push(`/create/work-flow?episodeId=${projectId}`); + router.push(`/movies/work-flow?episodeId=${projectId}`); onClose(); // 重置状态 setSelectedTemplate(null); @@ -853,7 +853,7 @@ export function ChatInputBox({ noData }: { noData: boolean }) { episodeData ); const episodeId = result.project_id; - router.push(`/create/work-flow?episodeId=${episodeId}`); + router.push(`/movies/work-flow?episodeId=${episodeId}`); } catch (error) { console.error("创建剧集失败:", error); } finally { @@ -1262,7 +1262,7 @@ const PhotoStoryModal = ({ if (!episodeResponse) return; let episodeId = episodeResponse.project_id; // let episodeId = '9c34fcc4-c8d8-44fc-879e-9bd56f608c76'; - router.push(`/create/work-flow?episodeId=${episodeId}`); + router.push(`/movies/work-flow?episodeId=${episodeId}`); // 成功后关闭弹窗 handleClose(); } catch (error) { diff --git a/components/layout/sidebar.tsx b/components/layout/sidebar.tsx index f917513..aba8bb0 100644 --- a/components/layout/sidebar.tsx +++ b/components/layout/sidebar.tsx @@ -32,7 +32,7 @@ const navigationItems = [ { title: 'Main', items: [ - { name: 'My Portfolio', href: '/create', icon: BookHeart }, + { name: 'My Portfolio', href: '/movies', icon: BookHeart }, ], } ]; diff --git a/components/layout/top-bar.tsx b/components/layout/top-bar.tsx index fc43ccb..5331f58 100644 --- a/components/layout/top-bar.tsx +++ b/components/layout/top-bar.tsx @@ -213,7 +213,7 @@ export function TopBar({ collapsed }: { collapsed: boolean }) {