var isClick = true;
$('li').on('touchstart', function(e){
	  isClick = true;
});
$('li').on('touchmove', function(e){
	  isClick = false;
});
$('li').on('touchend', function(e){
	  if (isClick == true){
	    console.log("触发点击事件");
	  }
})


相关文章:

  • 2021-11-28
  • 2022-12-23
  • 2022-12-23
  • 2021-11-17
  • 2022-12-23
  • 2022-12-23
  • 2021-12-12
  • 2021-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-08
  • 2021-11-28
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案