Commit 496dd3a9 authored by xiaoye's avatar xiaoye

fix

parent 4a7cf6a5
...@@ -2,7 +2,11 @@ ...@@ -2,7 +2,11 @@
<view id = 'page'> <view id = 'page'>
<view id = 'really' class = 'click head'> <view id = 'really' class = 'click head'>
<view> <view>
<button class = 'button' @click = 'page.show.drawer()'> <button
:style = "size.width > size.height ? { width: '30%' } : {}"
class = 'button'
@click = 'page.show.drawer()'
>
<uni-icons :type = "page.menu ? page.drawer ? 'left' : 'search' : page.drawer ? 'left' : 'info'"></uni-icons> <uni-icons :type = "page.menu ? page.drawer ? 'left' : 'search' : page.drawer ? 'left' : 'info'"></uni-icons>
</button> </button>
</view> </view>
......
...@@ -9,9 +9,6 @@ ...@@ -9,9 +9,6 @@
cursor: pointer; cursor: pointer;
} }
} }
.button {
width: 30%;
}
} }
#really { #really {
box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2); box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
...@@ -33,7 +30,6 @@ ...@@ -33,7 +30,6 @@
} }
:deep(#user) { :deep(#user) {
position: fixed; position: fixed;
top : 70px;
right: 2%; right: 2%;
z-index: 2; z-index: 2;
max-width: var(--size); max-width: var(--size);
...@@ -46,7 +42,6 @@ ...@@ -46,7 +42,6 @@
} }
:deep(#drawer) { :deep(#drawer) {
position: fixed; position: fixed;
top : 70px;
z-index: 2; z-index: 2;
width: var(--size); width: var(--size);
height: 80%; height: 80%;
...@@ -90,7 +85,6 @@ ...@@ -90,7 +85,6 @@
.Pics { .Pics {
position: fixed; position: fixed;
top : 70px;
z-index: 2; z-index: 2;
right: 2%; right: 2%;
max-width: var(--maxsize); max-width: var(--maxsize);
......
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