移动端禁止页面滚动

$("body").on('touchmove',function(event) { event.preventDefault(); }, false);//禁止默认事件
$(".btn-close").unbind('touchmove');//需要添加事件的元素解绑

原文地址:https://www.cnblogs.com/xiaoye1990/p/5629022.html