From 75ca0722b86e7751202e7aec2e8d8ef96d68ce98 Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Wed, 22 Dec 2021 16:22:40 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.105:10010/r/school-web
---
src/styles/pcpage/element-ui.scss | 41 +++++++++++++++++++++++++++++++++++------
1 files changed, 35 insertions(+), 6 deletions(-)
diff --git a/src/styles/pcpage/element-ui.scss b/src/styles/pcpage/element-ui.scss
index 2bad802..bbe189e 100644
--- a/src/styles/pcpage/element-ui.scss
+++ b/src/styles/pcpage/element-ui.scss
@@ -7,24 +7,53 @@
padding: 0px !important;
background: #fff !important;
border-radius: 2px;
+
.el-menu-item {
- color: #333 !important;
+ color: #fff !important;
border-bottom: 1px solid #e5e5e5 !important;
+ background: #2196f3 !important;
}
+
.el-menu-item:last-child {
border-bottom: none !important;
}
+
.el-menu-item:hover {
- background: rgb(235, 235, 235) !important;
+ background: #1A78C2 !important;
}
}
}
-.el-header {
- .el-menu {
- .el-menu-item {
- font-size: 14px !important;
+.layout-container {
+
+ .el-container {
+
+ .el-header {
+ position: fixed;
+ top: 0;
+ left: 0;
+ height: 60px;
+ width: 100%;
+ z-index: 99999;
+
+ .el-menu {
+
+ .el-menu-item {
+ font-size: 14px !important;
+ }
+ }
}
+
+ .el-main {
+ position: fixed;
+ top: 60px;
+ left: 0;
+ height: calc(100% - 60px);
+ width: 100%;
+ z-index: 10;
+
+ }
+
}
}
--
Gitblit v1.9.3