直接给最外层的view设置一个overflow-x:hidden; //裁剪 div 元素中内容的左/右边缘 - 如果溢出元素的内容区域的话进行隐藏
.myPage{
background: #F5F4F0;
height: 100vh;
position: fixed;
top: 0px;
left: 0px;
width: 100%;
overflow-x: hidden;
}
.myPage{
background: #F5F4F0;
height: 100vh;
position: fixed;
top: 0px;
left: 0px;
width: 100%;
overflow-x: hidden;
}