@@ -74,57 +74,60 @@ export default {
7474 </style >
7575
7676<style rel="stylesheet/scss" lang="scss" scoped>
77- .rightPanel-background {
78- opacity : 0 ;
79- transition : opacity .3s cubic-bezier (.7 ,.3 ,.1 ,1 );
80- background : rgba (0 , 0 , 0 , .2 );
81- width : 0 ;
82- height : 0 ;
83- position : fixed ;
84- z-index : -1 ;
85- }
77+ .rightPanel-background {
78+ opacity : 0 ;
79+ transition : opacity .3s cubic-bezier (.7 , .3 , .1 , 1 );
80+ background : rgba (0 , 0 , 0 , .2 );
81+ width : 0 ;
82+ height : 0 ;
83+ top : 0 ;
84+ left : 0 ;
85+ position : fixed ;
86+ z-index : -1 ;
87+ }
8688
87- .rightPanel {
88- background : #fff ;
89- z-index : 3000 ;
90- position : fixed ;
91- height : 100vh ;
92- width : 100% ;
93- max-width : 260px ;
94- top : 0px ;
89+ .rightPanel {
90+ background : #fff ;
91+ z-index : 3000 ;
92+ position : fixed ;
93+ height : 100vh ;
94+ width : 100% ;
95+ max-width : 260px ;
96+ top : 0px ;
9597 left : 0px ;
96- box-shadow : 0px 0px 15px 0px rgba (0 , 0 , 0 , .05 );
97- transition : all .25s cubic-bezier (.7 ,.3 ,.1 ,1 );
98- transform : translate (100% );
99- z-index : 40000 ;
100- left : auto ;
101- right : 0px ;
102- }
98+ box-shadow : 0px 0px 15px 0px rgba (0 , 0 , 0 , .05 );
99+ transition : all .25s cubic-bezier (.7 , .3 , .1 , 1 );
100+ transform : translate (100% );
101+ z-index : 40000 ;
102+ left : auto ;
103+ right : 0px ;
104+ }
103105
104- .show {
106+ .show {
105107
106- transition : all .3s cubic-bezier (.7 ,.3 ,.1 ,1 );
107- .rightPanel-background {
108- z-index : 20000 ;
109- opacity : 1 ;
110- width : 100% ;
111- height : 100% ;
112- }
108+ transition : all .3s cubic-bezier (.7 , .3 , .1 , 1 );
113109
114- .rightPanel {
115- transform : translate (0 );
116- }
117- }
110+ .rightPanel-background {
111+ z-index : 20000 ;
112+ opacity : 1 ;
113+ width : 100% ;
114+ height : 100% ;
115+ }
118116
119- .handle-button {
120- position : absolute ;
121- left : -48px ;
122- border-radius : 6px 0 0 6px !important ;
123- width : 48px ;
124- height : 48px ;
125- pointer-events : auto ;
126- z-index : 0 ;
127- font-size : 24px ;
128- text-align : center ;
129- }
117+ .rightPanel {
118+ transform : translate (0 );
119+ }
120+ }
121+
122+ .handle-button {
123+ position : absolute ;
124+ left : -48px ;
125+ border-radius : 6px 0 0 6px !important ;
126+ width : 48px ;
127+ height : 48px ;
128+ pointer-events : auto ;
129+ z-index : 0 ;
130+ font-size : 24px ;
131+ text-align : center ;
132+ }
130133 </style >
0 commit comments