如何在手机上实现弹出框弹出时,弹出框内可以上下滚动,背后的页面锁定不能滚动? 弹出拟态窗口的时候给body设置: html, body { height: 100%; overflow: hidden; }关闭拟态窗口就: html, body { overflow: visible; }