From 830c3c3b18839631df6311adb64b48a713ff9440 Mon Sep 17 00:00:00 2001 From: xiaoxia Date: Mon, 7 Sep 2026 16:04:41 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20Step5=E5=8D=A1=E7=89=87=E9=BB=91?= =?UTF-8?q?=E8=BE=B9+=E7=BC=A9=E6=94=BE=20&=20=E9=85=8D=E9=9F=B3=E6=97=B6?= =?UTF-8?q?=E9=95=BF=E5=AF=B9=E9=BD=90=E7=BA=B3=E5=85=A5=E8=BD=AC=E5=9C=BA?= =?UTF-8?q?=E6=97=B6=E9=95=BF=20(#1756)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修复-前端1: Step5确认生成步骤视频卡片黑边+占比过大 - generate.css: .xx-batch-gen-grid 改为 minmax(160px,180px) 与Step4一致 - generate.css: .xx-batch-gen-card background 改 transparent - BatchGenerationGrid.tsx: 视频容器 background transparent, padding 0 - BatchGenerationGrid.tsx: video objectFit cover 填满卡片 修复-前端2: 配音时长对齐纳入转场时长 - FrontendPreviewPlayer.tsx: rawClipsDuration 计算包含 transition_duration - speedFactor = (clips时长+转场时长) / 配音时长 --- .../pages/generate/components/BatchGenerationGrid.tsx | 10 +++++----- .../generate/components/FrontendPreviewPlayer.tsx | 6 +++--- apps/web/src/pages/generate/generate.css | 9 +++++---- 3 files changed, 13 insertions(+), 12 deletions(-) diff --git a/apps/web/src/pages/generate/components/BatchGenerationGrid.tsx b/apps/web/src/pages/generate/components/BatchGenerationGrid.tsx index 651b93598..4e370d279 100644 --- a/apps/web/src/pages/generate/components/BatchGenerationGrid.tsx +++ b/apps/web/src/pages/generate/components/BatchGenerationGrid.tsx @@ -73,21 +73,21 @@ const BatchGenerationGrid: React.FC = ({ display: "flex", justifyContent: "center", alignItems: "center", - background: "#000", + background: "transparent", borderRadius: 8, - padding: 8, + padding: 0, }} >