Commit f351d765 by libai

测试

parent dca3091b
Showing with 6 additions and 6 deletions
......@@ -83,19 +83,19 @@
else $(".tv-left-box1 .tv-left-p5").html('月<img src="images/top2.png" alt=""><span style="color:#3FF4A7">'+data.result[0].month+'%</span>')
//DAU
$(".tv-left-box2 .tv-left-p2").text(data.result[1].num)
if(data.result[1].day>=0)$(".tv-left-box1 .tv-left-p3").html('日<img src="images/top1.png" alt=""><span>'+data.result[1].day+'%</span>')
if(data.result[1].day>=0)$(".tv-left-box2 .tv-left-p3").html('日<img src="images/top1.png" alt=""><span>'+data.result[1].day+'%</span>')
else $(".tv-left-box2 .tv-left-p3").html('日<img src="images/top2.png" alt=""><span style="color:#3FF4A7">'+data.result[1].day+'%</span>')
if(data.result[1].week>=0)$(".tv-left-box1 .tv-left-p4").html('周<img src="images/top1.png" alt=""><span>'+data.result[1].week+'%</span>')
if(data.result[1].week>=0)$(".tv-left-box2 .tv-left-p4").html('周<img src="images/top1.png" alt=""><span>'+data.result[1].week+'%</span>')
else $(".tv-left-box2 .tv-left-p4").html('周<img src="images/top2.png" alt=""><span style="color:#3FF4A7">'+data.result[1].week+'%</span>')
if(data.result[1].month>=0)$(".tv-left-box1 .tv-left-p5").html('月<img src="images/top1.png" alt=""><span>'+data.result[1].month+'%</span>')
if(data.result[1].month>=0)$(".tv-left-box2 .tv-left-p5").html('月<img src="images/top1.png" alt=""><span>'+data.result[1].month+'%</span>')
else $(".tv-left-box2 .tv-left-p5").html('月<img src="images/top2.png" alt=""><span style="color:#3FF4A7">'+data.result[1].month+'%</span>')
//付费用户
$(".tv-left-box3 .tv-left-p2").text(data.result[2].num)
if(data.result[2].day>=0)$(".tv-left-box1 .tv-left-p3").html('日<img src="images/top1.png" alt=""><span>'+data.result[2].day+'%</span>')
if(data.result[2].day>=0)$(".tv-left-box3 .tv-left-p3").html('日<img src="images/top1.png" alt=""><span>'+data.result[2].day+'%</span>')
else $(".tv-left-box3 .tv-left-p3").html('日<img src="images/top2.png" alt=""><span style="color:#3FF4A7">'+data.result[2].day+'%</span>')
if(data.result[2].week>=0)$(".tv-left-box1 .tv-left-p4").html('周<img src="images/top1.png" alt=""><span>'+data.result[2].week+'%</span>')
if(data.result[2].week>=0)$(".tv-left-box3 .tv-left-p4").html('周<img src="images/top1.png" alt=""><span>'+data.result[2].week+'%</span>')
else $(".tv-left-box3 .tv-left-p4").html('周<img src="images/top2.png" alt=""><span style="color:#3FF4A7">'+data.result[2].week+'%</span>')
if(data.result[2].month>=0)$(".tv-left-box1 .tv-left-p5").html('月<img src="images/top1.png" alt=""><span>'+data.result[2].month+'%</span>')
if(data.result[2].month>=0)$(".tv-left-box3 .tv-left-p5").html('月<img src="images/top1.png" alt=""><span>'+data.result[2].month+'%</span>')
else $(".tv-left-box3 .tv-left-p5").html('月<img src="images/top2.png" alt=""><span style="color:#3FF4A7">'+data.result[2].month+'%</span>')
//在线人数
$(".tv-right-content1").html('用户 <span>'+data.result[4].num+'</span>')
......
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