style: 镜头生产阶段卡片统一内部间距与背景

This commit is contained in:
GouJ committed 2026-09-26 22:53:44 +08:00
1 parent 02b1528f30
commit 69f381454a
1 file changed
+14 -11
+14 -11
View File
@@ -440,7 +440,7 @@ const videoRules = { videoLimit: integerRule('本批镜头上限'), videoRepairA
<article
v-for="stage in stages"
:key="stage.key"
class="panel production-pipeline-card"
class="production-pipeline-card"
>
<div class="flex items-start justify-between gap-3">
<div class="flex items-start gap-3">
@@ -458,7 +458,7 @@ const videoRules = { videoLimit: integerRule('本批镜头上限'), videoRepairA
>{{ stage.done }} / {{ stage.data?.total ?? 0 }}</span
>
</div>
<p class="mt-4 min-h-10 text-xs leading-5 text-muted">
<p class="min-h-10 text-xs leading-5 text-muted">
{{ stage.description }}
</p>
<NProgress
@@ -482,7 +482,7 @@ const videoRules = { videoLimit: integerRule('本批镜头上限'), videoRepairA
"
></NProgress>
<dl class="production-stats mt-4">
<dl class="production-stats">
<div>
<dt>可执行</dt>
<dd>{{ stage.data?.ready ?? 0 }}</dd>
@@ -498,20 +498,20 @@ const videoRules = { videoLimit: integerRule('本批镜头上限'), videoRepairA
</dl>
<p
v-if="stage.key === 'keyframes' && staleKeyframes"
class="mt-3 text-[11px] leading-5"
class="text-[11px] leading-5"
>
已过期 {{ staleKeyframes }} · 会按当前主体参考资产重新生成
</p>
<p
v-if="stage.key === 'videos' && staleVideos"
class="mt-3 text-[11px] leading-5"
class="text-[11px] leading-5"
>
主视频已过期 {{ staleVideos }} ·
会按当前主首帧与参考资产重新生成
</p>
<p
v-if="stage.key === 'keyframes' && identityBlocked"
class="mt-3 text-[11px] leading-5 text-danger"
class="text-[11px] leading-5 text-danger"
>
身份缺失
{{ query.data.value?.keyframes.missingIdentity ?? 0 }} ·
@@ -551,7 +551,7 @@ const videoRules = { videoLimit: integerRule('本批镜头上限'), videoRepairA
:rules="promptRules"
:disabled="operation.pending"
validate-on-change
class="mt-4 grid gap-3"
class="grid gap-3"
>
<NFormItem path="promptLimit" label="本批镜头上限"
><NInputNumber
@@ -568,7 +568,7 @@ const videoRules = { videoLimit: integerRule('本批镜头上限'), videoRepairA
:rules="keyframeRules"
:disabled="operation.pending"
validate-on-change
class="mt-4 grid gap-3"
class="grid gap-3"
>
<NFormItem path="keyframeLimit" label="本批上限(可选)"
><NInputNumber
@@ -608,7 +608,7 @@ const videoRules = { videoLimit: integerRule('本批镜头上限'), videoRepairA
:rules="videoRules"
:disabled="operation.pending"
validate-on-change
class="mt-4 grid gap-3"
class="grid gap-3"
>
<div class="video-input-plan-summary" aria-label="视频输入规划">
<div>
@@ -918,10 +918,13 @@ const videoRules = { videoLimit: integerRule('本批镜头上限'), videoRepairA
@apply grid grid-cols-[repeat(3,_minmax(0,_1fr))] gap-3.5;
}
.production-pipeline-card {
@apply p-5;
@apply grid content-start gap-4 p-5 bg-(--app-subtle);
}
.production-pipeline-card > * {
@apply m-0;
}
.production-stats {
@apply grid grid-cols-[repeat(3,_1fr)] gap-2;
@apply grid grid-cols-[repeat(3,_1fr)] gap-3;
}
.production-stats div,
.production-status-grid div {