fyjz

将页面上的click事件用touchstart替换

然后将所有的touchend事件进行阻断

$(\'body\').on(\'touchend\',function(e) {
  e.preventDefault();
});
 
至于html上
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
 
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0, user-scalable=no" />
 
也写上是最好

分类:

技术点:

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-10-16
  • 2022-12-23
  • 2022-12-23
  • 2021-06-25
  • 2021-05-22
猜你喜欢
  • 2022-01-07
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案