代码语言:javascript复制
var scroll = mui('.mui-scroll-wrapper').scroll();
document.querySelector('.mui-scroll-wrapper').addEventListener('scroll',function (e) {
console.log('距离' scroll.y);
})