Commit 2b69f9bb by doszhang

dos

parent 8088b749
......@@ -60,15 +60,16 @@ preloadimages(preloadImageList, function () {
// })
$('#music')[0].play();
if (browser.versions.weixin) {
let musicTime = setInterval(function () {
if ($('#music')[0].currentTime > 0) {
$('.loading-page').fadeOut();
$('.home-page').fadeIn(300);
$('.home-page .btn-next').addClass('animate');
$('.wrap-inner').prepend($('<div class="font">1</div>'));
clearInterval(musicTime);
}
}, 100);
// let musicTime = setInterval(function () {
// if ($('#music')[0].currentTime > 0) {
// clearInterval(musicTime);
// }
// }, 100);
$('.loading-page').fadeOut();
$('.home-page').fadeIn(300);
$('.home-page .btn-next').addClass('animate');
$('.wrap-inner').prepend($('<div class="font">1</div>'));
} else {
$('.loading-page').fadeOut();
$('.home-page').fadeIn(300);
......
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