阻止页面滚动事件

    //阻止整个页面滚动事件

    $("body").on("touchmove",function(event){

        event.preventDefault;
    }, false);
    //然后点击取消或者确定时再取消body上的绑定
    $("body").off("touchmove");

猜你喜欢

转载自blog.csdn.net/hoewang/article/details/79962747