From 7dc0c833e9a6aaec14ae21d79a56f5cc0bbf03e4 Mon Sep 17 00:00:00 2001 From: xiaoxia Date: Mon, 14 Sep 2026 20:44:26 +0800 Subject: [PATCH] refactor: delete StatsSection.tsx (#1899 #1900) --- .../clip-properties/StatsSection.tsx | 39 ------------------- 1 file changed, 39 deletions(-) delete mode 100644 apps/web/src/pages/editing-planner/components/clip-properties/StatsSection.tsx diff --git a/apps/web/src/pages/editing-planner/components/clip-properties/StatsSection.tsx b/apps/web/src/pages/editing-planner/components/clip-properties/StatsSection.tsx deleted file mode 100644 index 53a0d079d..000000000 --- a/apps/web/src/pages/editing-planner/components/clip-properties/StatsSection.tsx +++ /dev/null @@ -1,39 +0,0 @@ -/** - * 编辑统计区块 - */ -import React from "react" -import { formatModeLabel } from "@/pages/editing-planner/utils/clipProperties" -import type { TemplateMode } from "@/api/editing-planner" - -interface StatsSectionProps { - clipsCount: number - totalDuration: number - currentMode: TemplateMode -} - -const StatsSection: React.FC = ({ clipsCount, totalDuration, currentMode }) => { - return ( -
-
- 📊 - 编辑统计 -
-
-
-
片段数
-
{clipsCount}
-
-
-
总时长
-
{totalDuration.toFixed(1)}s
-
-
-
当前模式
-
{formatModeLabel(currentMode)}
-
-
-
- ) -} - -export default StatsSection