起因: 如标题所示,还被运营吐槽了,为什么别人的没有
解决:
body,html {
width: 100%;
height: 100%;
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
overflow: hidden;
}
需要滚动的地方加overflow-y: auto;
起因: 如标题所示,还被运营吐槽了,为什么别人的没有
解决:
body,html {
width: 100%;
height: 100%;
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
overflow: hidden;
}
需要滚动的地方加overflow-y: auto;