页面中滑到顶部或底部,再滑动时会出现白色背景问题:
解决:
最外层套一层view并且绝对定位
<template>
<view class="box">
你的内容
</view>
</template>
// css
.box{
position: fixed;
top: 0;
left: 0;
bottom: 0;
right: 0;
}
页面中滑到顶部或底部,再滑动时会出现白色背景问题:
解决:
最外层套一层view并且绝对定位
<template>
<view class="box">
你的内容
</view>
</template>
// css
.box{
position: fixed;
top: 0;
left: 0;
bottom: 0;
right: 0;
}