Commit fdbbd215 authored by Mac's avatar Mac

1

parent 660809e0
......@@ -164,10 +164,10 @@
});
var proxy = conn.createHubProxy("annualLeaveHub");
conn.start().done(data => {
// ownranking();//自己排名
sendMsg();
sendScore();
joinGeme() //参加活动
ownranking();//自己排名
}).fail(data => {});
getMsg()
......@@ -199,7 +199,7 @@
$('.status3').css({'display':'none'});
}
if(data.status==-1){
ownranking()
$('.status').css({'display':'none'});
$('.status1').css({'display':'none'});
$('.status2').css({'display':'none'});
......@@ -226,11 +226,11 @@
$('.o_ranking').html('第'+data.r+'名')
}else {
$('.o_ranking').html('未上榜')
}
//显示统计窗口
});
}
function getMsg() {
......@@ -279,7 +279,6 @@
})
}
$('.bbb').click(function () {
StartGame()
......@@ -412,7 +411,7 @@
window.clearInterval(clock);
window.clearInterval(timer1); //清除老鼠
sendScore(score)
ownranking() //获取自己排名
// ownranking() //获取自己排名
$('#rank_mask').css('display','block');
}
}, 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