From 72e959000381ca16d1384287ab583cbc1bf7baa4 Mon Sep 17 00:00:00 2001
From: wujingjing <gersonwu@qq.com>
Date: 星期四, 29 八月 2024 17:29:29 +0800
Subject: [PATCH] element 莫名其妙bug,demo 没发现

---
 src/api/login/UserMenuData.ts |    2 +-
 src/theme/element.scss        |   28 ++++++++++++++++++++++++----
 2 files changed, 25 insertions(+), 5 deletions(-)

diff --git a/src/api/login/UserMenuData.ts b/src/api/login/UserMenuData.ts
index 2998348..1aba68b 100644
--- a/src/api/login/UserMenuData.ts
+++ b/src/api/login/UserMenuData.ts
@@ -41,7 +41,7 @@
 				Icon: 'ywifont ywicon-a-appround15',
 				IsIframe: false,
 				OutLink: '',
-				IsHide: true,
+				IsHide: false,
 				Weight: 0,
 				SortCode: 2,
 				Description: '',
diff --git a/src/theme/element.scss b/src/theme/element.scss
index 0d79b6c..21222ee 100644
--- a/src/theme/element.scss
+++ b/src/theme/element.scss
@@ -1,4 +1,26 @@
 @import 'mixins/index.scss';
+/* element 鑾悕鍏跺bug锛宒emo 娌″彂鐜�
+--------------------------------------------------------- */
+.el-dialog {
+	padding: 0px;
+	.el-dialog__header {
+		padding: var(--el-dialog-padding-primary);
+		padding-bottom: 10px;
+		padding-top: 10px;
+		.el-dialog__headerbtn {
+			position: absolute;
+			top: 6px;
+			right: 0;
+			padding: 0;
+			width: 54px;
+			background: 0 0;
+			border: none;
+			outline: 0;
+			cursor: pointer;
+			font-size: var(--el-message-close-size, 16px);
+		}
+	}
+}
 
 /* Button 鎸夐挳
 ------------------------------- */
@@ -6,18 +28,15 @@
 .el-button:not(.is-circle) i.el-icon,
 .el-button i.iconfont,
 .el-button i.ywifont,
-
 .el-button i.fa,
 .el-button--default i.iconfont,
 .el-button--default i.ywifont,
-
 .el-button--default i.fa {
 	font-size: 14px !important;
 	margin-right: 5px;
 }
 .el-button--small i.iconfont,
 .el-button--small i.ywifont,
-
 .el-button--small i.fa {
 	font-size: 12px !important;
 	margin-right: 5px;
@@ -229,11 +248,12 @@
 // 妯悜鑿滃崟锛堢粡鍏搞�佹í鍚戯級甯冨眬
 .el-menu.el-menu--horizontal {
 	border-bottom: none !important;
+	width: 100% !important;
+
 	.el-menu-item {
 		border-bottom: none;
 	}
 
-	width: 100% !important;
 	.el-menu-item,
 	.el-sub-menu__title {
 		height: var(--yw-horizontal-menu-height) !important;

--
Gitblit v1.9.3