From 54916b2756ef65ce8aee734b0a87343d4786bfb8 Mon Sep 17 00:00:00 2001 From: LiuJiaNan Date: Tue, 19 Mar 2024 13:54:13 +0800 Subject: [PATCH] =?UTF-8?q?element=E6=96=B0=E7=89=88=E6=9C=ACdialog?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/css/element.scss | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/assets/css/element.scss b/src/assets/css/element.scss index fa119dd..a53ad65 100644 --- a/src/assets/css/element.scss +++ b/src/assets/css/element.scss @@ -298,6 +298,7 @@ .el-dialog { background: transparent !important; --el-dialog-margin-top: 50px !important; + padding: 0 !important; .el-dialog__header { 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); + 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); } }