UC的“左右滑屏前进后退”功能
你在设置里面是可以找到的啊。
楼主解决了吗,我也遇到了这个问题,不知道怎么搞啊,网上关于这个的问答不多啊
var xStart,xEnd,yStart,yEnd;
document.addEventListener('touchmove',function(evt){
xEnd=evt.touches[0].pageX;
yEnd=evt.touches[0].pageY;
Math.abs(xStart-xEnd)> Math.abs(yStart-yEnd)&&
evt.preventDefault();
},false);
document.addEventListener("touchstart",function(evt){
xStart=evt.touches[0].pageX;
yStart=evt.touches[0].pageY;
},false);