Commit d3494779 by libai

测试

parent 31242f70
Showing with 11 additions and 1 deletions
......@@ -157,10 +157,20 @@ try{
var data=JSON.parse(msg);
console.log(data)
$(".reg-top-p1").text(data.nickname)
$(".reg-top-p2").html('<img src="images/diamond.png" alt=""> 余额:'+data.diamond+'')
$(".reg-top-p2").html('<img src="images/diamond.png" alt=""> 余额:<span>'+data.diamond+'</span>')
$(".reg-top-face").attr('src','https://zhibocdn.lvdou66.com/comm'+data.face+'?x-oss-process=image/resize,w_80')
}
})
setInterval(function(){
$.ajax({
url:$ip+"/user/auth/"+sessionStorage.bbb+'/'+sessionStorage.kkk,
type:"post",
success: function (msg) {
var data=JSON.parse(msg);
$(".reg-top-p2 span").text(data.diamond)
}
})
},1500)
$.ajax({
url:'https://zhibo.lvdou66.com/weblive/pay/banner.html',
dataType: "JSON",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment