2***@qq.com
2***@qq.com
  • 发布:2017-12-08 16:27
  • 更新:2017-12-08 16:27
  • 阅读:883

MUI 上拉加载 一直加载第一行??

分类:MUI

mui.init({
pullRefresh: {
container: '#Latest',

    up: {  
        contentrefresh: '正在加载...',  
        callback: pullupRefresh  
    }  
}  

});

var count = 0;
/**

  • 上拉加载具体业务实现
    */
    function pullupRefresh() {
    setTimeout(function () {
    mui('#Latest').pullRefresh().endPullupToRefresh((++count > 2)); //参数为true代表没有更多数据了。
    alert("上啦")
    }, 1500);
    }

2017-12-08 16:27 负责人:无 分享
已邀请:

该问题目前已经被锁定, 无法添加新回复