From 2d82ac1298d030c36f282f7c46d68d309f88a96a Mon Sep 17 00:00:00 2001 From: chenjinsong <523037378@qq.com> Date: Wed, 19 Aug 2020 10:14:15 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=B7=A6=E4=BE=A7?= =?UTF-8?q?=E8=8F=9C=E5=8D=95=E6=94=B6=E8=B5=B7=E6=97=B6=E5=BC=82=E5=B8=B8?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/common/leftMenu.vue | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/nezha-fronted/src/components/common/leftMenu.vue b/nezha-fronted/src/components/common/leftMenu.vue index 38bcbac6a..e3c9aa75b 100644 --- a/nezha-fronted/src/components/common/leftMenu.vue +++ b/nezha-fronted/src/components/common/leftMenu.vue @@ -469,9 +469,10 @@ .content .left-slot{ position: relative; background-color: $left-menu-bgcolor; - transition: transform 200ms; + transition: transform 200ms, opacity 200ms; transform: scaleX(1); transform-origin: left; + opacity: 1; /*border-bottom: 1px solid #eeeeee;*/ /*transition: all 100ms;*/ } @@ -483,15 +484,11 @@ margin-left: -177px; } .content .left-slot-shrink{ - /*width: 25px;*/ transform: scaleX(0.12); + opacity: 0; .bottom-icon .bottom-divider{ width: 0px; } - .slot-content{ - /*visibility: hidden;*/ - opacity: 0; - } } .slot-content { transition: opacity 200ms; @@ -561,15 +558,9 @@ visibility: hidden; } .content .left-slot-shrink:hover{ - /*width: 200px;*/ transform: scaleX(1); - /*padding: 0px 0px 0px 15px; - position: absolute;*/ z-index: 100; - .slot-content{ - /*visibility: visible;*/ - opacity: 1; - } + opacity: 1; .bottom-icon{ z-index: 101; }