Commit 7b2e4139 by doszhang

dos

parent e2e9ef12
...@@ -144,7 +144,7 @@ input::-webkit-input-placeholder { ...@@ -144,7 +144,7 @@ input::-webkit-input-placeholder {
0%, 0%,
100% { 100% {
opacity: 0; opacity: 0.5;
} }
50% { 50% {
......
...@@ -56,7 +56,6 @@ preloadimages(preloadImageList, function () { ...@@ -56,7 +56,6 @@ preloadimages(preloadImageList, function () {
if ($('#music')[0].currentTime > 0) { if ($('#music')[0].currentTime > 0) {
$('.loading-page').fadeOut(); $('.loading-page').fadeOut();
$('.home-page').fadeIn(300); $('.home-page').fadeIn(300);
$('.home-page .candle-block').addClass('animate');
$('.home-page .btn-next').addClass('animate'); $('.home-page .btn-next').addClass('animate');
$('.wrap-inner').prepend($('<div class="font">1</div>')); $('.wrap-inner').prepend($('<div class="font">1</div>'));
clearInterval(musicTime); clearInterval(musicTime);
...@@ -396,19 +395,21 @@ function initPage() { ...@@ -396,19 +395,21 @@ function initPage() {
function showPage1() { function showPage1() {
if (homeNext) { if (homeNext) {
homeNext = false;
$('.home-hide').fadeOut(500);
$('.home-scale').addClass('animate');
$('.home-page .btn-next').removeClass('animate');
$('.fireworks-gif').fadeIn(200);
setTimeout(function () {
$('.home-page .candle').css('opacity', 1);
setTimeout(function () {
$('.home-page').fadeOut(300); $('.home-page').fadeOut(300);
$('.page1').show(); $('.page1').show();
}, 2500); homeNext = false;
}, 1500); // $('.home-hide').fadeOut(500);
// $('.home-scale').addClass('animate');
// $('.home-page .btn-next').removeClass('animate');
// $('.fireworks-gif').fadeIn(200);
// setTimeout(function () {
// $('.home-page .candle').css('opacity', 1);
// setTimeout(function () {
// $('.home-page').fadeOut(300);
// $('.page1').show();
// }, 2500);
// }, 1500);
} }
} }
......
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