feat(short-drama-agent-front): 优化分镜界面并新增弹窗手势

This commit is contained in:
GJ committed 2026-11-18 18:50:15 +08:00
1 parent b15a6011ce
commit d68f03471c
59 files changed
+2694 -857

No files matched your search

@@ -398,6 +398,7 @@ function updateFrame(index: number, value: GeometryFrameObservation) {
title="跨镜连续性审核"
description="免费核对相邻两到三镜的固定结构与所选人工状态,各范围独立签收,不自动修改主首帧。"
:busy="busy"
description-as-info
>
<div class="space-y-6">
<!-- 以下是独立签收范围选择,切换后重新读取指纹 -->
@@ -412,8 +413,9 @@ function updateFrame(index: number, value: GeometryFrameObservation) {
/>
<section class="space-y-3">
<WorkspaceSectionHeading
title="选择审核范围"
title="选择相邻的两到三镜"
description="选择同一场景形态下、同集正式顺序连续的两到三镜。"
description-as-info
/>
<NSelect
:value="selected"
@@ -479,6 +481,7 @@ function updateFrame(index: number, value: GeometryFrameObservation) {
镜头 {{ item.spec.beatNo }}.{{ item.spec.shotNo }} · {{ item.spec.title }}
</h3>
<AssetImage
class="h-[min(32dvh,280px)] aspect-auto"
:src="item.primary?.imageUrl"
:style="{
aspectRatio:
@@ -491,7 +494,8 @@ function updateFrame(index: number, value: GeometryFrameObservation) {
object-fit="contain"
empty-text="暂无当前主首帧"
/>
<p class="wrap-anywhere text-xs text-muted">当前主首帧:{{ item.primary?.id || '未设置' }}</p>
<p class="text-xs text-muted">{{ item.primary ? '已设置主首帧' : '尚未设置主首帧' }}</p>
<p class="text-sm">
镜头设计:{{
[
@@ -534,21 +538,6 @@ function updateFrame(index: number, value: GeometryFrameObservation) {
)
}}
</p>
<NCollapse
v-if="
diagnosis?.frames.find(frame => frame.shotId === item.spec.shotId)?.formalSourceFingerprint
"
>
<NCollapseItem name="source" title="高级来源详情">
<pre class="whitespace-pre-wrap break-words text-xs">{{
JSON.stringify(
diagnosis.frames.find(frame => frame.shotId === item.spec.shotId),
null,
2
)
}}</pre>
</NCollapseItem>
</NCollapse>
</article>
</section>
<!-- 以下是当前布局母版、场景形态当前性及历史版本模块 -->
@@ -571,12 +560,18 @@ function updateFrame(index: number, value: GeometryFrameObservation) {
<div v-for="layout in sceneSources.data.value.layouts" :key="layout.id" class="space-y-3">
<p class="text-sm">
{{ layout.name }} ·
<span class="wrap-anywhere text-xs text-muted">当前版本:{{ layout.version }}</span>
<span class="text-xs text-muted">已读取当前布局</span>
</p>
<p v-if="!layout.masters.length" class="text-sm text-muted">暂无适用布局母版。</p>
<div class="continuity-frame-grid">
<article v-for="master in layout.masters" :key="master.id" class="space-y-2 min-w-0">
<AssetImage :src="master.imageUrl" alt="布局母版" preview object-fit="contain" />
<AssetImage
class="h-[min(32dvh,280px)] aspect-auto"
:src="master.imageUrl"
alt="布局母版"
preview
object-fit="contain"
/>
<p class="text-sm">
{{ master.subjectFormId ? '当前场景形态机位' : '全局布局母版' }} ·
{{
@@ -595,6 +590,7 @@ function updateFrame(index: number, value: GeometryFrameObservation) {
<WorkspaceSectionHeading
title="人工观察"
description="相对已确认布局核对观察面与地标顺序。只记录固定结构位置和完整可辨数量;开门、关门属于即时状态。无法判断时请保留未知。"
description-as-info
/>
<div class="continuity-landmarks">
<NInput
@@ -674,6 +670,7 @@ function updateFrame(index: number, value: GeometryFrameObservation) {
<WorkspaceSectionHeading
title="读取历史审核"
description="刷新后恢复本机最近审核,也可填写已有审核编号。"
description-as-info
/>
<div class="flex items-end gap-2">
<NInput
@@ -710,13 +707,6 @@ function updateFrame(index: number, value: GeometryFrameObservation) {
{{ userFacingText(issue.message) }}
</p></template
>
<NCollapse
><NCollapseItem name="original" title="原始诊断">
<pre class="whitespace-pre-wrap break-words text-xs">{{
JSON.stringify(reviewQuery.data.value.diagnosis, null, 2)
}}</pre>
</NCollapseItem></NCollapse
>
</article>
</section>
<!-- 以下是已存有序组的联合审核计划与单次批准 -->