http://www.zhifayun.com/index.php?app=weixin&mod=Index&act=typeList&type_id=3 我用插件做的移动端下拉刷新为什么下拉不显示呢?谢谢!
refresher.init({
id: "wrapper",
pullUpAction: Load
});
var generatedCount = 0;
function Load() {
setTimeout(function () {
var nowPage = $('#nowPage').val();
var type_id = {$type_id};
var p = parseInt(nowPage)+1;
var url = "{:U('weixin/Index/typeListAjax')}";
$.post(url,{'p':p,'type_id':type_id},function(msg){
$('#nowPage').val(p);
alert(p);
$("#wrapper ul").append(msg);//ajax返回新的li
});
wrapper.refresh();
}, 500);
}