Commit 3afc3b79 by libai

ft活动上线

parent d6251f7d
......@@ -123,9 +123,14 @@ $(function(){
socket.on('ThatGirl', function (msg) {
var data=JSON.parse(msg)
if(data.rank>0){
$(".r1").show()
$(".room-bg-p1 span").text(data.score)
$(".room-bg-p2 span").text(data.rank)
}else{
$(".r1").hide()
}
});
socket.on('disconnect', function () {
......
......@@ -107,9 +107,14 @@ $(function(){
socket.on('ThatGirl', function (msg) {
var data=JSON.parse(msg)
if(data.rank>0){
$(".r1").show()
$(".room-bg-p1 span").text(data.score)
$(".room-bg-p2 span").text(data.rank)
}else{
$(".r1").hide()
}
});
socket.on('disconnect', function () {
......
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