Commit 0449cee8 by doszhang

dos

parent 79ea475e
...@@ -83,7 +83,10 @@ function nextQuestion() { ...@@ -83,7 +83,10 @@ function nextQuestion() {
nowAnswer = ''; nowAnswer = '';
$('.question' + nowQuestionIndex + '-block').addClass('fadeoutleft'); $('.question' + nowQuestionIndex + '-block').addClass('fadeoutleft');
nowQuestionIndex++; nowQuestionIndex++;
$('.question-page .point').css('transform', 'translateX(' + 5.5 * (nowQuestionIndex - 1) + 'rem)'); $('.question-page .point').animate({
'transform': 'translateX(' + 5.5 * (nowQuestionIndex - 1) + 'rem)'
}, 5000);
// css('transform', 'translateX(' + 5.5 * (nowQuestionIndex - 1) + 'rem)');
if (nowQuestionIndex == 5) { if (nowQuestionIndex == 5) {
$('.btn-submit').show(); $('.btn-submit').show();
$('.btn-nextquestion').hide(); $('.btn-nextquestion').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