query解决touchmove时屏蔽touchend
var dragging = false; $("li").on("touchmove",function(){ dragging = true; }); $("li").on("touchend",function(){ if(dragging) return; else{ //在这里写入你touchend的触发事件 } }); $("li").on("touchstart",function(){ dragging = false; });