统一管理后台弹框更舒展

把 CustomDialog 默认宽度从 600 加到 720,正文给到至少 360 的高度,
默认弹框就不再显得局促。参数编辑弹框也跟着加宽。智能体历史版
本那条列表、对比和恢复预览都给到至少 420 的最小高度,避免内容
少时框太矮看起来小气。其他像添加智能体、绑定设备这些原本就合适
的弹框没动。
This commit is contained in:
hrz 2026-10-06 09:57:31 +08:00
parent 87c6df77b0
commit 96975298a8
3 changed files with 8 additions and 3 deletions

View file

@ -2282,6 +2282,7 @@ export default {
} }
.snapshot-table-wrapper { .snapshot-table-wrapper {
min-height: 420px;
max-height: 62vh; max-height: 62vh;
overflow: auto; overflow: auto;
@include scrollbar-style; @include scrollbar-style;
@ -2328,7 +2329,7 @@ export default {
} }
.snapshot-diff { .snapshot-diff {
min-height: 220px; min-height: 420px;
max-height: 68vh; max-height: 68vh;
overflow: auto; overflow: auto;
padding-right: 2px; padding-right: 2px;

View file

@ -54,7 +54,7 @@ export default {
}, },
width: { width: {
type: String, type: String,
default: "600px" default: "720px"
}, },
footer: { footer: {
type: Boolean, type: Boolean,
@ -131,6 +131,10 @@ export default {
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
} }
::v-deep .el-dialog__body {
min-height: 360px;
}
::v-deep .el-dialog__header { ::v-deep .el-dialog__header {
padding: 16px 20px 12px; padding: 16px 20px 12px;
background: linear-gradient(135deg, #e2eeff, #edeafe); background: linear-gradient(135deg, #e2eeff, #edeafe);

View file

@ -2,7 +2,7 @@
<CustomDialog <CustomDialog
:title="title" :title="title"
:visible.sync="visible" :visible.sync="visible"
width="600px" width="720px"
class="param-dialog-wrapper" class="param-dialog-wrapper"
@confirm="submit" @confirm="submit"
@close="cancel" @close="cancel"