Commit 511d1807 by doszhang

dos

parent 0967c215
......@@ -128,11 +128,12 @@ function prevQuestion() {
function nextQuestion(e) {
if (nowAnswer !== '') {
let nowIndex = nowQuestionIndex;
answerArr[nowQuestionIndex - 1] = nowAnswer;
nowAnswer = '';
$('.question' + nowQuestionIndex + '-block').addClass('fadeoutleft');
setTimeout(function () {
$('.question' + nowQuestionIndex + '-block').removeClass('fadeoutleft').hide();
$('.question' + nowIndex + '-block').removeClass('fadeoutleft').hide();
}, 1000);
nowQuestionIndex++;
$('.question-page .point').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