版权声明:本文为博主原创文章,转载请注明出处。如对文章知识有关问题欢迎评论和右侧chat快问提出。 https://blog.csdn.net/sir1241/article/details/72566844
function unScroll() {
var top = $(document).scrollTop();
$(document).on('scroll.unable', function(e) {
$(document).scrollTop(top);
})
},
function reScroll() {
$(document).off('scroll.unable');
}