微信浏览器如何禁止iPhone手机上下滑动网页

代码:

/*去掉iphone手机滑动默认行为*/
$('body').on('touchmove', function (event) {
    event.preventDefault();
});

转载于:https://www.cnblogs.com/davidgu/p/3938877.html

猜你喜欢

转载自blog.csdn.net/weixin_34370347/article/details/93802626
今日推荐