手机下拉/上拉刷新(基于jq或者zepto)

 
       $(window).scroll(function () {
                if ($(document).scrollTop() >= $(document).height() - $(window).height()) { //通过修改大于小于号实现 上拉下拉 
                    loadMemberList();//   你要执行的方法;
                }
            });
        })
原文地址:https://www.cnblogs.com/shuaitong/p/7420422.html