Commit bcce0829 by doszhang

dos

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