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 <article
v-for="stage in stages" v-for="stage in stages"
:key="stage.key" :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 justify-between gap-3">
<div class="flex items-start 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 >{{ stage.done }} / {{ stage.data?.total ?? 0 }}</span
> >
</div> </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 }} {{ stage.description }}
</p> </p>
<NProgress <NProgress
@@ -482,7 +482,7 @@ const videoRules = { videoLimit: integerRule('本批镜头上限'), videoRepairA
" "
></NProgress> ></NProgress>
<dl class="production-stats mt-4"> <dl class="production-stats">
<div> <div>
<dt>可执行</dt> <dt>可执行</dt>
<dd>{{ stage.data?.ready ?? 0 }}</dd> <dd>{{ stage.data?.ready ?? 0 }}</dd>
@@ -498,20 +498,20 @@ const videoRules = { videoLimit: integerRule('本批镜头上限'), videoRepairA
</dl> </dl>
<p <p
v-if="stage.key === 'keyframes' && staleKeyframes" v-if="stage.key === 'keyframes' && staleKeyframes"
class="mt-3 text-[11px] leading-5" class="text-[11px] leading-5"
> >
已过期 {{ staleKeyframes }} · 会按当前主体参考资产重新生成 已过期 {{ staleKeyframes }} · 会按当前主体参考资产重新生成
</p> </p>
<p <p
v-if="stage.key === 'videos' && staleVideos" v-if="stage.key === 'videos' && staleVideos"
class="mt-3 text-[11px] leading-5" class="text-[11px] leading-5"
> >
主视频已过期 {{ staleVideos }} · 主视频已过期 {{ staleVideos }} ·
会按当前主首帧与参考资产重新生成 会按当前主首帧与参考资产重新生成
</p> </p>
<p <p
v-if="stage.key === 'keyframes' && identityBlocked" 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 }} · {{ query.data.value?.keyframes.missingIdentity ?? 0 }} ·
@@ -551,7 +551,7 @@ const videoRules = { videoLimit: integerRule('本批镜头上限'), videoRepairA
:rules="promptRules" :rules="promptRules"
:disabled="operation.pending" :disabled="operation.pending"
validate-on-change validate-on-change
class="mt-4 grid gap-3" class="grid gap-3"
> >
<NFormItem path="promptLimit" label="本批镜头上限" <NFormItem path="promptLimit" label="本批镜头上限"
><NInputNumber ><NInputNumber
@@ -568,7 +568,7 @@ const videoRules = { videoLimit: integerRule('本批镜头上限'), videoRepairA
:rules="keyframeRules" :rules="keyframeRules"
:disabled="operation.pending" :disabled="operation.pending"
validate-on-change validate-on-change
class="mt-4 grid gap-3" class="grid gap-3"
> >
<NFormItem path="keyframeLimit" label="本批上限(可选)" <NFormItem path="keyframeLimit" label="本批上限(可选)"
><NInputNumber ><NInputNumber
@@ -608,7 +608,7 @@ const videoRules = { videoLimit: integerRule('本批镜头上限'), videoRepairA
:rules="videoRules" :rules="videoRules"
:disabled="operation.pending" :disabled="operation.pending"
validate-on-change validate-on-change
class="mt-4 grid gap-3" class="grid gap-3"
> >
<div class="video-input-plan-summary" aria-label="视频输入规划"> <div class="video-input-plan-summary" aria-label="视频输入规划">
<div> <div>
@@ -918,10 +918,13 @@ const videoRules = { videoLimit: integerRule('本批镜头上限'), videoRepairA
@apply grid grid-cols-[repeat(3,_minmax(0,_1fr))] gap-3.5; @apply grid grid-cols-[repeat(3,_minmax(0,_1fr))] gap-3.5;
} }
.production-pipeline-card { .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 { .production-stats {
@apply grid grid-cols-[repeat(3,_1fr)] gap-2; @apply grid grid-cols-[repeat(3,_1fr)] gap-3;
} }
.production-stats div, .production-stats div,
.production-status-grid div { .production-status-grid div {