//禁止滚动条 document.ontouchmove = function(e){ e.preventDefault();} //恢复滚动条 document.ontouchmove = function(e){}