
document.querySelector('body').addEventListener('touchmove', function(e) {
if (!document.querySelector('.articleBox').contains(e.target)) {
e.preventDefault();
}
})
现在这么写仍然能显示出来 请问怎么处理 .articleBox是需要滚动的部分
Copyright 2014-2026 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
用iscroll吧