feat(short-drama-agent-front): 新增诊断抽屉并优化项目弹窗

This commit is contained in:
GJ committed 2026-10-16 13:58:01 +08:00
1 parent 97dc784c8b
commit 49ad08a63e
21 files changed
+1479 -363

No files matched your search

+7 -1
View File
@@ -90,10 +90,11 @@ onBeforeUnmount(() => {
:close-on-esc="!busy"
:style="{ width: `${width ?? (wide ? 1040 : 600)}px` }"
class="app-dialog"
:class="{ 'app-dialog-title-only': !description && !$slots.description }"
role="dialog"
:aria-label="title"
>
<!-- 以下是固定标题与说明模块,说明位于标题下并可自定义 -->
<!-- 以下是固定标题与说明模块,无说明时标题与关闭按钮垂直居中对齐 -->
<template #header>
<div class="min-w-0">
<div class="text-lg font-semibold">{{ title }}</div>
@@ -130,6 +131,11 @@ onBeforeUnmount(() => {
.app-dialog .n-card-header {
@apply shrink-0 items-start;
}
/* 无描述的标题栏采用同一条中心线,标题下方保持紧凑的正文间距。 */
.app-dialog.app-dialog-title-only .n-card-header {
align-items: center;
padding-bottom: 16px;
}
/* 正文自然撑开,超过剩余视口高度后由 NScrollbar 内部滚动。 */
.app-dialog .n-card-content {
@apply min-h-0 overflow-hidden;