feat(逆变器状态): 添加自定义对话框并优化布局

添加自定义对话框组件用于显示逆变器状态详情,包含背景渐变和图片展示。优化栅格布局结构,使用el-col组件规范间距。将对话框样式抽离到独立scss文件以便维护。
This commit is contained in:
tcy
2025-09-22 15:41:37 +08:00
parent f84503b620
commit e6aa2cb5a0
5 changed files with 54 additions and 5 deletions

View File

@ -0,0 +1,16 @@
#custom-dialog {
padding: 0;
.el-dialog__header {
display: none;
}
.el-dialog__body {
padding: 0 !important;
}
.alert-content {
padding: 80px;
background: linear-gradient(180deg, rgba(0, 119, 255, 0.23) 0%, rgba(255, 255, 255, 0) 100%);
}
}

View File

@ -7,6 +7,8 @@
@use './ruoyi.scss';
@use 'animate.css';
@use 'element-plus/dist/index.css';
@use './dialog.scss';
body {
height: 100%;
@ -208,4 +210,4 @@ aside {
vertical-align: middle;
margin-bottom: 10px;
}
}
}