// 页面禁止拖动、滚动
$("html,body").css("overflow","hidden").css("height","100%");
document.body.addEventListener('touchmove', self.welcomeShowedListener, false);
// 恢复页面拖动、滚动
$("html,body").css("overflow","").css("height","");
document.body.removeEventListener('touchmove', detail.welcomeShowedListener,false);
移动端/h5禁止页面拖动
最新推荐文章于 2024-04-25 12:56:00 发布