Selaa lähdekoodia

下拉加载修改

xuchunyang 8 vuotta sitten
vanhempi
commit
b444b96526
1 muutettua tiedostoa jossa 12 lisäystä ja 0 poistoa
  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;