代码:
if(mui.os.plus) {
mui.plusReady(init);
} else {
init();
}
//初始化
function init(){
mui.init({
pullRefresh: {
container: "#refreshContainer",
down: {
style:"circle",
height: '50',
auto: false,
contentdown : "下拉可以刷新",
contentover : "释放立即刷新",
contentrefresh : "正在刷新...",
callback: freshList
},
up: {
height: '50',
auto: true,
contentrefresh : "正在加载...",
contentnomore:'没有更多数据了',
callback: getLabelList
}
},
});
}