Commit d98fcf55 by doszhang

dos

parent c58e710d
...@@ -103,6 +103,8 @@ $(document).ready(function () { ...@@ -103,6 +103,8 @@ $(document).ready(function () {
}, nextQuestion); }, nextQuestion);
//提交答案 //提交答案
$('.question-page .btn-submit').on('click', submitAnswer); $('.question-page .btn-submit').on('click', submitAnswer);
//抽奖
$('.poster-page .btn-tryprize').on('click', tryprize);
...@@ -140,6 +142,11 @@ $(document).ready(function () { ...@@ -140,6 +142,11 @@ $(document).ready(function () {
}); });
}); });
function tryprize() {
$('.poster-page').hide();
$('.prize-page').show();
}
function createPoster(callback) { function createPoster(callback) {
$('.poster-bg').hide(); $('.poster-bg').hide();
......
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