fix: align video reference captions with thumbnails

This commit is contained in:
GouJ committed 2026-09-24 09:59:18 +08:00
1 parent 3496b472c4
commit 9747a8f0ab
1 file changed
+5 -4
@@ -450,17 +450,18 @@ async function inspectSpecs() {
<article class="min-w-0 bg-(--app-subtle)">
<AssetImage :src="currentVideoInput.providerInputKeyframe.imageUrl"
:alt="`镜头 ${shot.shotNo} 视频输入首帧`" preview object-fit="contain" />
<div class="p-2 text-xs">
<div class="min-w-0 p-2 text-center text-xs">
<p class="font-medium">视频输入首帧</p>
<p v-if="currentVideoInput.providerInputKeyframe.source === 'provider_variant'"
class="mt-1 text-[11px] text-muted">模型专用变体</p>
<p class="mt-1 text-[11px] text-muted">
{{ currentVideoInput.providerInputKeyframe.source === 'provider_variant' ? '模型专用变体' : '当前主首帧' }}
</p>
</div>
</article>
<article v-for="reference in currentVideoInput.references"
:key="`${reference.subjectId}:${reference.imageId}`" class="min-w-0 bg-(--app-subtle)">
<AssetImage :src="reference.imageUrl" :alt="`${reference.subjectName} ${reference.subjectFormName} 参考图`"
preview object-fit="contain" />
<div class="min-w-0 p-2 text-xs">
<div class="min-w-0 p-2 text-center text-xs">
<p class="truncate font-medium" :title="reference.subjectName">{{ reference.subjectName }}</p>
<p class="mt-1 truncate text-[11px] text-muted" :title="reference.subjectFormName">
{{ reference.subjectFormName }} · {{ reference.subjectRef }}