element新版本dialog样式问题

dev
LiuJiaNan 2024-03-19 13:54:13 +08:00
parent fa41f42465
commit 54916b2756
1 changed files with 8 additions and 1 deletions

View File

@ -298,6 +298,7 @@
.el-dialog { .el-dialog {
background: transparent !important; background: transparent !important;
--el-dialog-margin-top: 50px !important; --el-dialog-margin-top: 50px !important;
padding: 0 !important;
.el-dialog__header { .el-dialog__header {
background-image: url("/src/assets/images/public/tctitlebg.png"); background-image: url("/src/assets/images/public/tctitlebg.png");
@ -321,8 +322,14 @@
} }
} }
.el-dialog__body, .el-dialog__footer { .el-dialog__body {
background-color: var(--el-bullet-frame-bg-color); background-color: var(--el-bullet-frame-bg-color);
padding: calc(var(--el-dialog-padding-primary) + 10px) var(--el-dialog-padding-primary);
}
.el-dialog__footer {
background-color: var(--el-bullet-frame-bg-color);
padding: var(--el-dialog-padding-primary);
} }
} }