function orderListScroll () { var _orderObj = document.querySelector('.circulation-loan-list') //div滚动的外层div _orderObj.addEventListener('scroll', function (e) {if (_orderObj.scrollTop > 10) { plus.webview.currentWebview().setPullToRefresh({support:false}); } else { //div滚动到最上面才触发下拉刷新 plus.webview.currentWebview().setPullToRefresh({support:true,style:"circle"}) } }) }