Commit ab1247f3 by doszhang

dos

parent 7daedd72
...@@ -91,7 +91,7 @@ input::-webkit-input-placeholder { ...@@ -91,7 +91,7 @@ input::-webkit-input-placeholder {
background-size: 100%; background-size: 100%;
} }
.home-page .tips { .home-page .tips.animate {
text-align: center; text-align: center;
color: #f00; color: #f00;
font-size: 0.9rem; font-size: 0.9rem;
......
...@@ -162,6 +162,7 @@ function hideRule() { ...@@ -162,6 +162,7 @@ function hideRule() {
function showRule() { function showRule() {
checkedRule = true; checkedRule = true;
$('.home-page .tips').removeClass('animate').hide();
$('.rule-block').scrollTop(0); $('.rule-block').scrollTop(0);
$('.rule-page').show(); $('.rule-page').show();
} }
...@@ -412,6 +413,8 @@ function showQuestion() { ...@@ -412,6 +413,8 @@ function showQuestion() {
initQuestion(); initQuestion();
$('.home-page').hide(); $('.home-page').hide();
$('.question-page').show(); $('.question-page').show();
} else {
$('.home-page .tips').text('请阅读并同意活动规则及隐私条款进入答题').addClass('animate');
} }
} }
......
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