Commit 0c2e7341 by doszhang

dos

parent 0c6eb748
...@@ -77,6 +77,18 @@ input::-webkit-input-placeholder { ...@@ -77,6 +77,18 @@ input::-webkit-input-placeholder {
height: 0; height: 0;
} }
/* loading-page */
.loading-img {
width: 100%;
height: 100%;
}
.loading-text {
text-align: center;
color: #c30101;
font-size: 1.6rem;
}
/* home-page */ /* home-page */
.home-page { .home-page {
......
...@@ -47,19 +47,18 @@ if ($('div').length > 0) { ...@@ -47,19 +47,18 @@ if ($('div').length > 0) {
} }
}); });
} }
$('.home-page').fadeIn(300);
$('.home-page .candle-block').addClass('animate');
$('.home-page .btn-next').addClass('animate');
$('.loading-page .loading-gif-block').append('<img class="loading-gif" src="' + picUrl + 'loading.gif" />');
$('.loading-page').show();
preloadimages(preloadImageList, function () { preloadimages(preloadImageList, function () {
// showCountDownPage(); $('.home-page').fadeIn(300);
// $('.poster-page').fadeIn(300); $('.home-page .candle-block').addClass('animate');
$('.home-page .btn-next').addClass('animate');
}, function (progress) { }, function (progress) {
$('.loading-page .loading-text').text(Math.floor(progress * 100) + '%');
}); });
const flag = [ const flag = [
......
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