From b2d71cf8fb4ff2d158b98710a91605bdd6783f28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E4=BE=9D=E6=A2=A6?= <15822465730@163.com> Date: Wed, 17 Dec 2025 18:49:59 +0800 Subject: [PATCH] =?UTF-8?q?1=E6=9C=9Ftoast=E6=8F=90=E7=A4=BAui=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/styles/portal-index.scss | 70 ++++++++++++++++------------- 1 file changed, 38 insertions(+), 32 deletions(-) diff --git a/src/assets/styles/portal-index.scss b/src/assets/styles/portal-index.scss index efd04e21..5c17e452 100644 --- a/src/assets/styles/portal-index.scss +++ b/src/assets/styles/portal-index.scss @@ -433,66 +433,72 @@ } } .el-message.new-message { - box-shadow: none !important; - background-color: #edf2fc !important; - min-width: 240px !important; - height: 52px !important; - border-radius: 12px !important; - top: 180px !important; - font-size: 18px !important; - font-weight: bold !important; - border: none !important; - .el-message__content { - font-size: 16px !important; - font-weight: bold !important; - } - } -.el-message--success.new-message { - box-shadow: none !important; - background-color: rgba($color: #4CB967, $alpha: 0.1) !important; + background-color: #fff; + box-shadow: 0px 8px 20px 0px rgba(0,35,114,0.1); min-width: 180px !important; height: 52px !important; border-radius: 12px !important; - top: 180px !important; - font-size: 18px !important; + top: 270px !important; + font-size: 16px !important; + font-weight: bold !important; + border: none !important; + .el-message__content { + font-size: 14px !important; + font-weight: bold !important; + // margin-top: 2px; + } + } +.el-message--success.new-message { + background-color: #fff; + box-shadow: 0px 8px 20px 0px rgba(0,35,114,0.1); + min-width: 180px !important; + height: 52px !important; + border-radius: 12px !important; + top: 270px !important; + font-size: 16px !important; border: none !important; .el-message__content { color: #189B39 !important; - font-size: 16px !important; + font-size: 14px !important; font-weight: bold !important; + // margin-top: 2px; + } } .el-message--error.new-message { - box-shadow: none !important; - background-color: rgba($color: #FF3636 , $alpha: 0.1) !important; - min-width: 240px !important; + background-color: #fff; + box-shadow: 0px 8px 20px 0px rgba(0,35,114,0.1); + min-width: 180px !important; height: 52px !important; border-radius: 12px !important; - top: 180px !important; - font-size: 18px !important; + top: 270px !important; + font-size: 16px !important; font-weight: bold !important; border: none !important; .el-message__content { color: #CF1717 !important; - font-size: 16px !important; + font-size: 14px !important; font-weight: bold !important; + // margin-top: 2px; + } } .el-message--warning.new-message { - box-shadow: none !important; - background-color: #fdf6ec !important; - min-width: 240px !important; + background-color: #fff; + box-shadow: 0px 8px 20px 0px rgba(0,35,114,0.1); + min-width: 180px !important; height: 52px !important; border-radius: 12px !important; - top: 180px !important; - font-size: 18px !important; + top: 270px !important; + font-size: 16px !important; font-weight: bold !important; border: none !important; .el-message__content { - font-size: 16px !important; + font-size: 14px !important; font-weight: bold !important; + // margin-top: 2px; } }