需要阻止浏览器默认滑动的事件

document.addEventListener('touchmove', function (event) {
    event.preventDefault();
}, false);
$('body').swipeUp(function(){
      console.log('上滑');
});

 

相关文章: