diff --git a/components/SmartChatBox/SmartChatBox.tsx b/components/SmartChatBox/SmartChatBox.tsx index ff7a812..90a7e38 100644 --- a/components/SmartChatBox/SmartChatBox.tsx +++ b/components/SmartChatBox/SmartChatBox.tsx @@ -1,5 +1,5 @@ import React, { useRef, useCallback, useState, useEffect } from "react"; -import { ChevronsRight, ChevronDown } from 'lucide-react'; +import { ChevronsRight, ChevronDown, X } from 'lucide-react'; import { Switch } from 'antd'; import { MessageRenderer } from "./MessageRenderer"; import { InputBar } from "./InputBar"; @@ -141,7 +141,7 @@ export default function SmartChatBox({ />
- setIsSmartChatBoxOpen(false)} /> diff --git a/components/pages/work-flow.tsx b/components/pages/work-flow.tsx index fc15f17..e79f7e2 100644 --- a/components/pages/work-flow.tsx +++ b/components/pages/work-flow.tsx @@ -147,7 +147,7 @@ const WorkFlow = React.memo(function WorkFlow() { {/* 智能对话按钮 */}
{/* 背景模糊的视频 */} @@ -349,20 +350,16 @@ export const MediaViewer = React.memo(function MediaViewer({ {memoizedFinalVideoElement} - {/* 完成状态标签 */} - -
-
-
- completed -
-
-
+ {/* 编辑和剪辑按钮 */} +
+ {showGotoCutButton && ( + + + + )} +
{/* 操作按钮组 */} {/* diff --git a/components/pages/work-flow/use-workflow-data.tsx b/components/pages/work-flow/use-workflow-data.tsx index a073b50..2890c61 100644 --- a/components/pages/work-flow/use-workflow-data.tsx +++ b/components/pages/work-flow/use-workflow-data.tsx @@ -563,7 +563,7 @@ export function useWorkflowData() { fallbackToStep, originalText: state.originalText, // showGotoCutButton: from && currentLoadingText.includes('Post-production') ? true : false, - showGotoCutButton: canGoToCut && currentLoadingText.includes('Post-production') ? true : false, + showGotoCutButton: canGoToCut ? true : false, generateEditPlan }; }