搜了些文章发现大多数都是提供了这么一段css代码: html { overflow-y: scroll; } :root { overflow-y: auto; overflow-x: hidden; } :root body { position: absolute;<