From fadc3f8cb0463534620bede652e69b29b9a77503 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Chuailei000=E2=80=9D?= <2280131253@qq.com> Date: Thu, 2 Mar 2023 11:03:40 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E4=BC=98=E5=8C=96=E7=A7=BB=E5=8A=A8?= =?UTF-8?q?=E7=AB=AF=E6=A8=A1=E5=BC=8F=E4=B8=8B=E8=8F=9C=E5=8D=95=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Hamburger/index.vue | 4 +-- src/layout/components/NavHeader/index.vue | 1 + src/layout/components/NavLeft/index.vue | 34 +++++++++++------------ 3 files changed, 20 insertions(+), 19 deletions(-) diff --git a/src/components/Hamburger/index.vue b/src/components/Hamburger/index.vue index 936927e7f..742159857 100644 --- a/src/components/Hamburger/index.vue +++ b/src/components/Hamburger/index.vue @@ -1,6 +1,6 @@ @@ -30,6 +30,6 @@ export default { color: $menuText; } .hamburger.is-active { - transform: rotate(-180deg); + transform: rotate(180deg); } diff --git a/src/layout/components/NavHeader/index.vue b/src/layout/components/NavHeader/index.vue index 192dce755..5acb62f63 100644 --- a/src/layout/components/NavHeader/index.vue +++ b/src/layout/components/NavHeader/index.vue @@ -198,6 +198,7 @@ export default { line-height: 30px; border-radius: 4px; border-color: $--color-primary; + background-color: white; color: #fff; cursor: pointer; transition: .2s; diff --git a/src/layout/components/NavLeft/index.vue b/src/layout/components/NavLeft/index.vue index 78e18e7fe..3bcc47d54 100644 --- a/src/layout/components/NavLeft/index.vue +++ b/src/layout/components/NavLeft/index.vue @@ -248,39 +248,39 @@ export default { display: none; & > > > .organization { + height: 48px; + line-height: 48px; padding-left: 8px; background: transparent; color: #fff; border-bottom: 1px solid rgba(31, 35, 41, .15); + .el-input--prefix .el-input__inner { + height: 48px!important; + line-height: 48px!important; + } + .svg-icon { + color: #FFF!important; + margin-right:0px!important; + } } & > > > .title-label { color: white !important; } - .mobile-view-switch > > > .el-menu-item.is-active { - color: #ffffff; + .mobile-view-switch { + &>>> .el-menu-item.is-active { + color: var(--menu-text-active)!important; + .svg-icon { + color: var(--menu-text-active)!important; + } + } } } @media screen and (max-width: 992px) { .active-mobile { display: block; - .organization { - &>>> .svg-icon { - color: #FFF!important; - margin-right:0px!important; - } - } - .mobile-view-switch { - background: #fff!important; - &>>> .el-menu-item.is-active { - color: var(--menu-text-active)!important; - .svg-icon { - color: var(--menu-text-active)!important; - } - } - } } .active-switch-view { display: none!important;