Commit bcce0829 by doszhang

dos

parent a53533fa
...@@ -46,12 +46,8 @@ if ($('div').length > 0) { ...@@ -46,12 +46,8 @@ if ($('div').length > 0) {
$('.loading-page').show(); $('.loading-page').show();
preloadimages(preloadImageList, function () { preloadimages(preloadImageList, function () {
createPoster(function () {
$('.loading-page').hide(); $('.loading-page').hide();
// $('.home-page').show(); $('.home-page').show();
$('.poster-page').show();
});
}, function (progress) { }, function (progress) {
$('.loading-page .progress').css('width', (16.6 / 100) * (progress * 100) + 'rem'); $('.loading-page .progress').css('width', (16.6 / 100) * (progress * 100) + 'rem');
}); });
...@@ -296,8 +292,13 @@ function submitAnswer() { ...@@ -296,8 +292,13 @@ function submitAnswer() {
$('.question' + nowQuestionIndex + '-block').addClass('fadeoutleft'); $('.question' + nowQuestionIndex + '-block').addClass('fadeoutleft');
setTimeout(function () { setTimeout(function () {
$('.question' + nowQuestionIndex + '-block').removeClass('fadeoutleft').hide(); $('.question' + nowQuestionIndex + '-block').removeClass('fadeoutleft').hide();
$('#notification_area').remove();
my_notify('海报生成中,请稍候');
createPoster(function () {
$('#notification_area').remove();
$('.question-page').hide(); $('.question-page').hide();
$('.poster-page').show(); $('.poster-page').show();
});
}, 1000); }, 1000);
} }
} }
......
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