document.querySelector('body').addEventListener('touchmove', function(e) {
if (!document.querySelector('.articleBox').contains(e.target)) {
e.preventDefault();
}
})
Writing like this can still be displayed. How to deal with it? .articleBox is the part that needs to be scrolled
大家讲道理2017-06-14 10:52:15
If in WeChat on iOS, you can position the block that does not require scrolling as fixed, the block will not drop down and leak out of the source page.
Reference link: http://www.cnblogs.com/cococe...