$(document).on('click','.a .b',function(){
var id=$(this).attr('id');
if(id){
window.location.href="{WEB_PATH}/mobile/mobile/item/"+id;
}
});
将click 改成 click touchstart
$(document).on('click touchstart','.a .b',function(){
var id=$(this).attr('id');
if(id){
window.location.href="{WEB_PATH}/mobile/mobile/item/"+id;
}
});
转载于:https://www.cnblogs.com/AbbyXie/p/11525908.html