auto-save 2026-05-17 21:52 (~3)

This commit is contained in:
2026-05-17 21:52:55 +08:00
parent bd86140cf6
commit 358e051bed
3 changed files with 32 additions and 20 deletions

View File

@@ -1816,17 +1816,17 @@ function AudioStoryboardPlanPanel({
return (
<article
key={row.index}
className="grid overflow-hidden rounded-md border border-white/10 bg-black/24 text-[11px] leading-snug text-white/64 xl:grid-cols-[64px_minmax(104px,0.54fr)_minmax(148px,0.72fr)_minmax(220px,1fr)_270px]"
className="grid overflow-hidden rounded-md border border-white/10 bg-black/24 text-[11px] leading-snug text-white/64 xl:grid-cols-[56px_140px_minmax(220px,0.75fr)_minmax(240px,0.8fr)_minmax(320px,1fr)] 2xl:grid-cols-[58px_170px_minmax(360px,0.8fr)_minmax(380px,1fr)_520px]"
>
<StoryboardPlanCell label="分镜">
<div className="font-mono text-[11px] text-white/40">{row.start.toFixed(1)}-{row.end.toFixed(1)}s</div>
<div className="mt-2 inline-flex max-w-full rounded-md border border-emerald-300/15 bg-emerald-300/[0.08] px-2 py-1 text-[11px] text-emerald-100/80">
<div className="mt-1.5 inline-flex max-w-full rounded-md border border-emerald-300/15 bg-emerald-300/[0.08] px-1.5 py-0.5 text-[10px] leading-tight text-emerald-100/80">
{row.role}
</div>
</StoryboardPlanCell>
<StoryboardPlanCell label="原内容">
<p className="line-clamp-3 text-[10.5px] leading-snug" title={row.source}>{row.source}</p>
<p className="line-clamp-2 text-[10.5px] leading-snug" title={row.source}>{row.source}</p>
</StoryboardPlanCell>
<StoryboardPlanCell label="新口播文案">
@@ -2038,12 +2038,12 @@ function StoryboardVideoSlots({ job, videos, enabled }: { job: Job; videos: Gene
const emptyCount = Math.max(0, 6 - visible.length)
return (
<div>
<div className="grid grid-cols-3 gap-1.5">
<div className="grid grid-cols-6 gap-1.5">
{visible.map((video) => (
<StoryboardVideoPreview key={video.id} job={job} video={video} className="h-[74px] w-full" />
<StoryboardVideoPreview key={video.id} job={job} video={video} className="aspect-[9/16] min-h-[86px] w-full" />
))}
{Array.from({ length: emptyCount }).map((_, index) => (
<div key={`empty-video-${index}`} className="flex h-[74px] min-w-0 items-center justify-center rounded border border-dashed border-white/12 bg-black/25 px-1 text-center text-[10px] leading-tight text-white/26">
<div key={`empty-video-${index}`} className="flex aspect-[9/16] min-h-[86px] min-w-0 items-center justify-center rounded border border-dashed border-white/12 bg-black/25 px-1 text-center text-[9.5px] leading-tight text-white/26">
{enabled ? `候选 ${visible.length + index + 1}` : "先抽 12 帧"}
</div>
))}