ios 用touchend事件 pc用click touchend击穿

var clickEvent = (function() {
if ('ontouchend' in document.documentElement === true)
return 'touchend';
else
return 'click';
})();

击穿 用延迟300秒隐藏

$('.tip_page').fadeOut(300,function(){
  xxxxxxxxx
})

原文地址:https://www.cnblogs.com/gaidalou/p/10224614.html