Open simbaHuang opened 8 years ago
在地图的div上 阻止 touch事件的 冒泡
document.querySelector(".map-container").addEventListener("touchend", function(e){ e.stopPropagation() //阻止冒泡 }) 如果是添加在touchstart 和touchmove事件上是不行的。
$.fn.fullpage.stop() // 停止翻屏 $.fn.fullpage.start() // 开始
在地图的div上 阻止 touch事件的 冒泡