Pārlūkot izejas kodu

下拉加载修改

xuchunyang 8 gadi atpakaļ
vecāks
revīzija
b444b96526
1 mainītis faili ar 12 papildinājumiem un 0 dzēšanām
  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;