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

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

 

相关文章:

  • 2022-12-23
  • 2021-11-27
  • 2022-12-23
  • 2022-01-17
  • 2021-07-20
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-04-30
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案