Commit 065da875 by libai

测试

parent a06af5f0
......@@ -109,7 +109,7 @@ $(function(){
}
$(".act-room-bg").removeClass("act-room-bg2").show()
$(".act-room-p1").text(data.result.roomData.score)
$(".act-room-p2 span").text(Math.floor(data.result.roomData.score/10000*100))
$(".act-room-p2 span").text(Math.floor(data.result.roomData.score/10000*100)+'%')
$(".act-room-p3 span").text(data.result.roomData.rank)
}
})
......
......@@ -76,7 +76,7 @@ $(function(){
}
$(".act-room-bg").removeClass("act-room-bg2").show()
$(".act-room-p1 span").text(data.result.roomData.score)
$(".act-room-p2 span").text(Math.floor(data.result.roomData.score/10000*100))
$(".act-room-p2 span").text(Math.floor(data.result.roomData.score/10000*100)+'%')
$(".act-room-p3 span").text(data.result.roomData.rank)
}
})
......
......@@ -103,7 +103,7 @@ $(function(){
console.log('圖標數據',data)
$(".act-room-bg").show()
$(".act-room-p1").text(data.result.roomData.score)
$(".act-room-p2 span").text(Math.floor(data.result.roomData.score/10000*100))
$(".act-room-p2 span").text(Math.floor(data.result.roomData.score/10000*100)+'%')
$(".act-room-p3 span").text(data.result.roomData.rank)
}
})
......
......@@ -115,7 +115,7 @@ $(function(){
$(".act-room-bg").show()
$(".act-room-p1 span").text(data.result.roomData.score)
$(".act-room-p2 span").text(Math.floor(data.result.roomData.score/10000*100))
$(".act-room-p2 span").text(Math.floor(data.result.roomData.score/10000*100)+'%')
$(".act-room-p3 span").text(data.result.roomData.rank)
}
})
......
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