Commit f4ef7b9c authored by JingChao's avatar JingChao

Update index.vue

parent 97c1d497
...@@ -406,10 +406,10 @@ export default { ...@@ -406,10 +406,10 @@ export default {
//$ = vue-better-scroll //$ = vue-better-scroll
.vue-better-scroll { .vue-better-scroll {
width 100% width 100%
//height 100%
overflow hidden overflow hidden
box-sizing border-box box-sizing border-box
position absolute position relative
height 100%
&__wrapper { &__wrapper {
-webkit-user-select: none; -webkit-user-select: none;
...@@ -422,6 +422,7 @@ export default { ...@@ -422,6 +422,7 @@ export default {
text-size-adjust: none; text-size-adjust: none;
-webkit-transform-origin: left top; -webkit-transform-origin: left top;
transform-origin: left top; transform-origin: left top;
padding-bottom: 1.76rem;
} }
&__pullup { &__pullup {
...@@ -460,11 +461,21 @@ export default { ...@@ -460,11 +461,21 @@ export default {
} }
} }
} }
.platform-ios{
.vue-better-scroll {
&__wrapper {
padding-bottom: 2.16rem;
}
}
}
// iPhoneX适配 // iPhoneX适配
@media (device-width: 375px) and (device-height: 812px) and (-webkit-min-device-pixel-ratio: 3) { @media (device-width: 375px) and (device-height: 812px) and (-webkit-min-device-pixel-ratio: 3) {
.platform-ios { .platform-ios {
.has-header { .vue-better-scroll {
top: 84px; &__wrapper {
padding-bottom: 2.84rem;
}
} }
} }
} }
...@@ -472,8 +483,10 @@ export default { ...@@ -472,8 +483,10 @@ export default {
// iPhoneX Max适配 // iPhoneX Max适配
@media (device-width: 414px) and (device-height: 896px) { @media (device-width: 414px) and (device-height: 896px) {
.platform-ios { .platform-ios {
.has-header { .vue-better-scroll {
top: 84px; &__wrapper {
padding-bottom: 2.84rem;
}
} }
} }
} }
......
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