调整旋转自适应
This commit is contained in:
@@ -39,9 +39,8 @@ export default {
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
this.isVertical = ![90, -90].includes(window.orientation)
|
||||
window.onresize = () => {
|
||||
location.reload()
|
||||
this.isVertical = ![90, -90].includes(window.orientation)
|
||||
}
|
||||
this.initDrawer()
|
||||
},
|
||||
@@ -118,10 +117,10 @@ export default {
|
||||
|
||||
.resetSignature {
|
||||
position: absolute;
|
||||
width: 76px;
|
||||
height: 32px;
|
||||
width: 152px;
|
||||
height: 64px;
|
||||
background: rgba(#000, .5);
|
||||
border-radius: 16px;
|
||||
border-radius: 32px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
@@ -129,7 +128,7 @@ export default {
|
||||
cursor: pointer;
|
||||
right: 16px;
|
||||
top: 16px;
|
||||
font-size: 20px;
|
||||
font-size: 32px;
|
||||
z-index: 2;
|
||||
|
||||
&.left {
|
||||
|
||||
Reference in New Issue
Block a user