//禁止滚动 document.body.addEventListener('touchmove', function (event) { event = event ? event : window.event; if (event.preventDefault) { event.preventDefault() } else { event.returnValue = false } }, false);
Just block the default event of touchmove
Just block the default event of touchmove