Commit ebd42bd2 authored by chenshouchao's avatar chenshouchao

fix: FullScreenDrawer闪烁问题修复

parent 539e87a6
...@@ -8,12 +8,12 @@ ...@@ -8,12 +8,12 @@
z-index: 100; z-index: 100;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
animation: showBG 1s ease; animation: showBG 1.1s ease;
-webkit-animation: showBG 1s ease; -webkit-animation: showBG 1.1s ease;
} }
.drawerBoxHidden { .drawerBoxHidden {
animation: hiddenBG 1s ease; animation: hiddenBG 1.1s ease;
-webkit-animation: hiddenBG 1s ease; -webkit-animation: hiddenBG 1.1s ease;
} }
.closeBox { .closeBox {
display: flex; display: flex;
...@@ -24,12 +24,12 @@ ...@@ -24,12 +24,12 @@
top: 0; top: 0;
left: 0; left: 0;
align-items: center; align-items: center;
animation: showClose 1s ease; animation: showClose 1.1s ease;
-webkit-animation: showClose 1s ease; -webkit-animation: showClose 1.1s ease;
} }
.closeBoxHidden { .closeBoxHidden {
animation: hiddenClose 1s ease; animation: hiddenClose 1.1s ease;
-webkit-animation: hiddenClose 1s ease; -webkit-animation: hiddenClose 1.1s ease;
} }
.closeiIcon { .closeiIcon {
position: absolute; position: absolute;
...@@ -49,12 +49,12 @@ ...@@ -49,12 +49,12 @@
/* padding: 24px 32px; */ /* padding: 24px 32px; */
box-sizing: border-box; box-sizing: border-box;
overflow: scroll; overflow: scroll;
animation: showDrawer 1s ease; animation: showDrawer 1.1s ease;
-webkit-animation: showDrawer 1s ease; -webkit-animation: showDrawer 1.1s ease;
} }
.contentBoxHidden { .contentBoxHidden {
animation: hiddenDrawer 1s ease; animation: hiddenDrawer 1.1s ease;
-webkit-animation: hiddenDrawer 1s ease; -webkit-animation: hiddenDrawer 1.1s ease;
} }
@keyframes showBG { @keyframes showBG {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment