fix(short-drama-agent-front): 优化工作区提示与弹窗布局
This commit is contained in:
1 parent
5b134207b8
commit
72a86171dc
35 files changed
+586
-378
No files matched your search
@@ -366,9 +366,6 @@ const optionsExpanded = ref<string[]>(['options'])
|
||||
: '仅校验,不修改主资产。'
|
||||
}}</template>
|
||||
</NAlert>
|
||||
<NCheckbox v-model:checked="acknowledged" :disabled="pending" class="mt-4"
|
||||
>我已确认费用、处理范围,且同项目没有其他生成任务。</NCheckbox
|
||||
>
|
||||
</AppForm>
|
||||
<p v-if="pending" role="status" class="mt-3 text-xs text-muted">{{ operation.label }}进行中,请勿重复提交。</p>
|
||||
<NAlert v-if="session.error" role="alert" type="error" :show-icon="false" class="mt-4">{{
|
||||
@@ -403,15 +400,23 @@ const optionsExpanded = ref<string[]>(['options'])
|
||||
<p v-if="target?.kind !== 'batch'" class="mt-3 text-xs text-muted">
|
||||
本会话回执可导出;首帧已有校验可在历史中只读查看,后台质量任务刷新后继续恢复。
|
||||
</p>
|
||||
<!-- 以下是底栏左侧费用确认与右侧操作按钮模块 -->
|
||||
<template #footer>
|
||||
<NButton @click="open = false">关闭</NButton>
|
||||
<NButton
|
||||
type="primary"
|
||||
:loading="pending"
|
||||
:disabled="blocked || !acknowledged || !repairAvailable"
|
||||
@click="formRef?.validate(submit)"
|
||||
>{{ label }}</NButton
|
||||
>
|
||||
<div class="quality-dialog-footer">
|
||||
<NCheckbox v-model:checked="acknowledged" :disabled="pending" class="quality-dialog-acknowledgement"
|
||||
>我已确认费用、处理范围,且同项目没有其他生成任务。</NCheckbox
|
||||
>
|
||||
<div class="quality-dialog-actions">
|
||||
<NButton @click="open = false">关闭</NButton>
|
||||
<NButton
|
||||
type="primary"
|
||||
:loading="pending"
|
||||
:disabled="blocked || !acknowledged || !repairAvailable"
|
||||
@click="formRef?.validate(submit)"
|
||||
>{{ label }}</NButton
|
||||
>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
</AppDialog>
|
||||
</template>
|
||||
@@ -422,4 +427,19 @@ const optionsExpanded = ref<string[]>(['options'])
|
||||
.quality-fields {
|
||||
@apply grid grid-cols-[repeat(auto-fit,_minmax(min(100%,_180px),_1fr))] items-start gap-4;
|
||||
}
|
||||
|
||||
/* 确认项固定在底栏左侧,操作按钮在右侧;窄屏允许分行。 */
|
||||
.app-dialog .dialog-footer:has(> .quality-dialog-footer) {
|
||||
@apply w-full;
|
||||
}
|
||||
.quality-dialog-footer {
|
||||
@apply flex w-full flex-wrap items-center justify-between gap-4;
|
||||
}
|
||||
.quality-dialog-acknowledgement {
|
||||
@apply min-w-0 flex-1;
|
||||
flex-basis: 360px;
|
||||
}
|
||||
.quality-dialog-actions {
|
||||
@apply ml-auto flex shrink-0 items-center gap-2;
|
||||
}
|
||||
</style>
|
||||
Reference in new issue
Block a user