浏览代码

下拉加载修改

xuchunyang 8 年之前
父节点
当前提交
b444b96526
共有 1 个文件被更改,包括 12 次插入0 次删除
  1. 12 0
      app/js/discover.js

+ 12 - 0
app/js/discover.js

@ -129,6 +129,18 @@ function pulldownRefresh() {
129 129
		mui('#pullrefresh2').pullRefresh().endPulldownToRefresh();
130 130
	}, 1000);
131 131
}
132

133
if(mui.os.plus) {
134
	mui.plusReady(function() {
135
		setTimeout(function() {
136
			mui('#pullrefresh2').pullRefresh().pulldownLoading();
137
		}, 500);
138
	});
139
} else {
140
	mui.ready(function() {
141
		mui('#pullrefresh2').pullRefresh().pulldownLoading();
142
	});
143
}
132 144
/*时间转换*/
133 145
function Time(dealtime) {
134 146
	var s = dealtime;