diff --git a/components/pages/create-to-video2.tsx b/components/pages/create-to-video2.tsx index 21c322e..e8c761d 100644 --- a/components/pages/create-to-video2.tsx +++ b/components/pages/create-to-video2.tsx @@ -221,12 +221,9 @@ export default function CreateToVideo2() { {/* 底部信息 */}
-

- {project.name || "未命名项目"} +

+ {project.name || "Unnamed"}

-
diff --git a/components/pages/login.tsx b/components/pages/login.tsx index 2f58b39..45fcf9e 100644 --- a/components/pages/login.tsx +++ b/components/pages/login.tsx @@ -8,11 +8,13 @@ import React from 'react'; import Link from 'next/link'; import { signInWithGoogle, loginUser } from '@/lib/auth'; import { GradientText } from '@/components/ui/gradient-text'; +import { Eye, EyeOff } from 'lucide-react'; export default function Login() { const [isLoaded, setIsLoaded] = useState(false); const [email, setEmail] = useState(''); const [password, setPassword] = useState(''); + const [showPassword, setShowPassword] = useState(false); const [isSubmitting, setIsSubmitting] = useState(false); const [formError, setFormError] = useState(''); const [successMessage, setSuccessMessage] = useState(''); @@ -117,14 +119,24 @@ export default function Login() {
- setPassword(e.target.value)} - /> +
+ setPassword(e.target.value)} + /> + +
忘记密码?
diff --git a/components/pages/work-flow/media-viewer.tsx b/components/pages/work-flow/media-viewer.tsx index 15b4110..9c9823e 100644 --- a/components/pages/work-flow/media-viewer.tsx +++ b/components/pages/work-flow/media-viewer.tsx @@ -422,9 +422,11 @@ export const MediaViewer = React.memo(function MediaViewer({ // 渲染视频内容 const renderVideoContent = () => { + const urls = taskObject.videos.data[currentSketchIndex].urls ? taskObject.videos.data[currentSketchIndex].urls.join(',') : ''; return (
{/* 背景模糊的图片 */} {taskObject.videos.data[currentSketchIndex].video_status !== 1 && ( @@ -551,6 +553,7 @@ export const MediaViewer = React.memo(function MediaViewer({ return (
{/* 状态 */} {currentSketch.status === 0 && ( diff --git a/components/pages/work-flow/thumbnail-grid.tsx b/components/pages/work-flow/thumbnail-grid.tsx index 8e2e035..560670e 100644 --- a/components/pages/work-flow/thumbnail-grid.tsx +++ b/components/pages/work-flow/thumbnail-grid.tsx @@ -158,10 +158,11 @@ export function ThumbnailGrid({ // 渲染视频阶段的缩略图 const renderVideoThumbnails = () => ( taskObject.videos.data.map((video, index) => { + const urls: string = video.urls ? video.urls.join(',') : ''; return (
!isDragging && onSketchSelect(index)} @@ -229,7 +230,7 @@ export function ThumbnailGrid({ return (
!isDragging && onSketchSelect(index)}