From 6bb71fcc195279c1d546104720eecc74839793d2 Mon Sep 17 00:00:00 2001 From: Stringadmin Date: Wed, 3 Jun 2026 23:55:15 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E8=A7=86=E9=A2=91=E6=97=B6=E9=95=BF?= =?UTF-8?q?=E6=BB=91=E5=9D=97=E6=94=AF=E6=8C=81=E6=9C=80=E5=A4=A7=2045=20?= =?UTF-8?q?=E7=A7=92=EF=BC=8C=E9=80=82=E9=85=8D=E5=B9=BF=E5=91=8A=E8=A7=86?= =?UTF-8?q?=E9=A2=91=E5=A4=9A=E5=88=86=E9=95=9C=E5=9C=BA=E6=99=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 单次视频模型最高 15s,45s 总时长配 3 个分镜刚好每个 15s。 滑块 step 改为 5s,刻度标注 5/15/30/45 秒。 Co-Authored-By: Claude Opus 4.7 --- src/features/ecommerce/EcommercePage.tsx | 2 +- src/features/ecommerce/panels/EcommerceClonePanel.tsx | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/features/ecommerce/EcommercePage.tsx b/src/features/ecommerce/EcommercePage.tsx index f7963a5..f98ea91 100644 --- a/src/features/ecommerce/EcommercePage.tsx +++ b/src/features/ecommerce/EcommercePage.tsx @@ -572,7 +572,7 @@ const maxCloneSetTotal = 16; const maxCloneProductImages = 7; const maxCloneReferenceImages = 20; const cloneVideoDurationMin = 5; -const cloneVideoDurationMax = 15; +const cloneVideoDurationMax = 45; const cloneLatestSettingStorageKey = "omniai.clone-ai.latest-setting"; const cloneVideoQualityOptions: Array<{ key: CloneVideoQualityKey; label: string; desc: string }> = [ { key: "standard", label: "标准", desc: "快速出片" }, diff --git a/src/features/ecommerce/panels/EcommerceClonePanel.tsx b/src/features/ecommerce/panels/EcommerceClonePanel.tsx index 57f83fe..a8cc1fe 100644 --- a/src/features/ecommerce/panels/EcommerceClonePanel.tsx +++ b/src/features/ecommerce/panels/EcommerceClonePanel.tsx @@ -666,15 +666,16 @@ export default function EcommerceClonePanel({ type="range" min={cloneVideoDurationMin} max={cloneVideoDurationMax} - step={1} + step={5} value={cloneVideoDuration} onChange={(event) => setCloneVideoDuration(clampCloneVideoDuration(Number(event.target.value)))} aria-label="短视频时长" />