统一管理后台弹框更舒展

把 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 {
min-height: 420px;
max-height: 62vh;
overflow: auto;
@include scrollbar-style;
@ -2328,7 +2329,7 @@ export default {
}
.snapshot-diff {
min-height: 220px;
min-height: 420px;
max-height: 68vh;
overflow: auto;
padding-right: 2px;

View file

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

View file

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