如何在滑动弹窗是禁止页面滑动 1、页面主体设置为fixed或absolute布局 2、弹窗弹起时在设置主体为fixed或absolute eg: document.body.style.position= 'fixed'