|
我的摆放位置,实在template模板加载完之后调用
var html_type = template.render('wklist_script', ret);
if (currentPage == 1) {
document.getElementById('wklist_div').innerHTML = html_type;
} else {
$api.append($api.byId('wklist_div'), html_type);
}
//延迟加载图片
setTimeout(function() {
echoInit();
}, 300);
//通知顶部下拉刷新数据加载完毕,组件会恢复到默认状态
api.refreshHeaderLoadDone();
api.hideProgress(); |
|