Commit 7ae5c955 by doszhang

dos

parent 232b8a92
...@@ -402,7 +402,7 @@ function prevQuestion() { ...@@ -402,7 +402,7 @@ function prevQuestion() {
'left': '' + 5.5 * (nowQuestionIndex - 1) + 'rem' 'left': '' + 5.5 * (nowQuestionIndex - 1) + 'rem'
}, 500); }, 500);
setTimeout(function () { setTimeout(function () {
$('.question' + nowQuestionIndex + '-block').addClass('fadeinleft'); $('.question' + nowQuestionIndex + '-block').addClass('fadeinleft').css('opacity', 1);
}, 900); }, 900);
} }
} }
...@@ -421,7 +421,7 @@ function nextQuestion(e) { ...@@ -421,7 +421,7 @@ function nextQuestion(e) {
$('.question' + nowQuestionIndex + '-block').addClass('fadeoutleft'); $('.question' + nowQuestionIndex + '-block').addClass('fadeoutleft');
setTimeout(function () { setTimeout(function () {
$('.question' + nowIndex + '-block').removeClass('fadeoutleft'); $('.question' + nowIndex + '-block').removeClass('fadeoutleft').css('opacity', 0);
}, 1000); }, 1000);
nowQuestionIndex++; nowQuestionIndex++;
watchedQuestion.push(nowQuestionIndex); watchedQuestion.push(nowQuestionIndex);
......
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