Commit 21ab15d2 authored by Mac's avatar Mac

打老鼠页面

parent 5826b4a5
...@@ -164,7 +164,6 @@ ...@@ -164,7 +164,6 @@
}); });
var proxy = conn.createHubProxy("annualLeaveHub"); var proxy = conn.createHubProxy("annualLeaveHub");
conn.start().done(data => { conn.start().done(data => {
// ownranking();//自己排名
sendMsg(); sendMsg();
sendScore(); sendScore();
joinGeme() //参加活动 joinGeme() //参加活动
...@@ -227,6 +226,8 @@ ...@@ -227,6 +226,8 @@
}else { }else {
$('.o_ranking').html('未上榜') $('.o_ranking').html('未上榜')
} }
$('.score').html(data.s + '分')
}); });
...@@ -411,7 +412,6 @@ ...@@ -411,7 +412,6 @@
window.clearInterval(clock); window.clearInterval(clock);
window.clearInterval(timer1); //清除老鼠 window.clearInterval(timer1); //清除老鼠
sendScore(score) sendScore(score)
// ownranking() //获取自己排名
$('#rank_mask').css('display','block'); $('#rank_mask').css('display','block');
} }
}, 1000) }, 1000)
......
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 to comment