var scroll = mui('.mui-scroll-wrapper').scroll();
document.querySelector('.mui-scroll-wrapper').addEventListener('scroll',function (e) {
console.log(scroll.y);
})
var scroll = mui('.mui-scroll-wrapper').scroll();
document.querySelector('.mui-scroll-wrapper').addEventListener('scroll',function (e) {
console.log(scroll.y);
})
转载于:https://www.cnblogs.com/Jason-qiang/p/5489747.html