出现穿透的前提:上层绑定touch事件,下层绑定click事件。
解决方案:touchend绑定:
e.preventDefault();$(下层).css("pointer-events","none");