ajax实例
发布时间:2020-12-16 03:23:24 所属栏目:百科 来源:网络整理
导读:function lists () { whereInfo.uid= params[ "uid" ]get(apistore.AD_GEREN,whereInfo, function (r) { if (r.code == 0 r.data.length 0 ) { var str = "" ; $.each(r.data, function (i,v) { var typeStr = "" ; if (v.type == 10 ){ typeStr = "取现支出
function lists() {
whereInfo.uid= params["uid"]
get(apistore.AD_GEREN,whereInfo,function (r) {
if (r.code == 0 && r.data.length > 0) {
var str = "";
$.each(r.data,function (i,v) {
var typeStr = "";
if (v.type == 10){
typeStr = "取现支出"
} else if (v.type == 12){
typeStr = "余额转积分"
}
str += "<tr>";
str += "<td>" + v.bankuser + "</td>";
str += "<td>" + v.score/100 + "</td>";
str += "<td>" + typeStr + "</td>";
str += "<td>" + $.myTime.UnixToDate(v.time) + "</td>";
str += "</tr>"
});
$('#tbody').html(str);
} else {
isLoadAll = 1;
}
})
}
(编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |