Commit 163fbe14 by doszhang

dos

parent 786e4988
...@@ -79,11 +79,16 @@ function nextQuestion() { ...@@ -79,11 +79,16 @@ function nextQuestion() {
if (nowAnswer !== '') { if (nowAnswer !== '') {
answerArr[nowQuestionIndex - 1] = nowAnswer; answerArr[nowQuestionIndex - 1] = nowAnswer;
nowAnswer = ''; nowAnswer = '';
$('.question' + nowQuestionIndex + '-block').addClass('fadeoutleft');
nowQuestionIndex++;
setTimeout(function () {
$('.question' + nowQuestionIndex + '-block').show();
}, 900);
} else { } else {
$('#notification_area').remove(); $('#notification_area').remove();
my_notify('请选择答案'); my_notify('请选择答案');
return false;
} }
$('.question' + nowQuestionIndex + '-block').addClass('fadeoutleft');
} }
......
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