From a93e08cd0215fc2c2590d5ca4efffc4e86c8c2ad Mon Sep 17 00:00:00 2001
From: moux1024 <403053463@qq.com>
Date: Tue, 21 Oct 2025 23:02:51 +0800
Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20=E6=9A=B4=E9=9C=B2create?=
=?UTF-8?q?=E8=B7=AF=E7=94=B1,=E4=B8=B4=E6=97=B6=E5=A2=9E=E5=8A=A0template?=
=?UTF-8?q?=E7=BB=84=E4=BB=B6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
components/FamousTemplate.tsx | 2 +-
components/layout/type.ts | 2 +-
components/pages/create-to-video2.tsx | 4 ++--
components/pages/create-video/CreateVideo.tsx | 2 ++
4 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/components/FamousTemplate.tsx b/components/FamousTemplate.tsx
index b96e2c8..961e69a 100644
--- a/components/FamousTemplate.tsx
+++ b/components/FamousTemplate.tsx
@@ -35,7 +35,7 @@ const FamousTemplate: React.FC = () => {
if (activeTab === "all") return true
const categories = (t.category || "").split(",").map((s) => s.trim().toLowerCase())
return categories.includes(activeTab)
- })
+ }).slice(0, 10)
const topTemplates = filteredTemplates
diff --git a/components/layout/type.ts b/components/layout/type.ts
index 3678316..e92f481 100644
--- a/components/layout/type.ts
+++ b/components/layout/type.ts
@@ -15,9 +15,9 @@ export const navigationItems: Navigations[] = [
title: 'Main',
items: [
{ name: 'Home', href: '/home', icon: Home },
+ { name: 'Create', href: '/create', icon: Plus },
{ name: 'My Portfolio', href: '/movies', icon: BookHeart },
{ name: 'Share', href: '/share', icon: Gift },
- { name: 'Create', href: '/create', icon: Plus },
],
}
];
\ No newline at end of file
diff --git a/components/pages/create-to-video2.tsx b/components/pages/create-to-video2.tsx
index 65ff45c..003a9ad 100644
--- a/components/pages/create-to-video2.tsx
+++ b/components/pages/create-to-video2.tsx
@@ -473,9 +473,9 @@ export default function CreateToVideo2() {
{/* 视频工具组件 - 使用独立组件 */}
- {!isLoading &&
+ {/* {!isLoading &&
- }
+ } */}
{/* 分享弹框 */}
{selectedProject && (
diff --git a/components/pages/create-video/CreateVideo.tsx b/components/pages/create-video/CreateVideo.tsx
index 41819d7..a6b3d05 100644
--- a/components/pages/create-video/CreateVideo.tsx
+++ b/components/pages/create-video/CreateVideo.tsx
@@ -1,6 +1,7 @@
"use client";
import { VideoCreationForm } from './CreateInput';
+import FamousTemplate from '@/components/FamousTemplate';
export default function CreateVideo() {
return (
@@ -12,6 +13,7 @@ export default function CreateVideo() {
+
);
}