Commit d7c795e5 by doszhang

dos

parent 3a8b2601
......@@ -128,6 +128,7 @@
<script>
window.wx && wx.ready(function () {
$('#music')[0].play();
alert(1);
$('#flagMusic')[0].play();
$('#flagMusic')[0].pause();
wx.onMenuShareAppMessage(wxFriendData);
......
......@@ -52,8 +52,10 @@ $('.loading-page .loading-gif-block').append('<img class="loading-gif" src="' +
$('.loading-page').show();
preloadimages(preloadImageList, function () {
if (browser.versions.weixin) {
alert(2);
let musicTime = setInterval(function () {
if ($('#music')[0].currentTime > 0) {
alert(3);
$('.loading-page').fadeOut();
$('.home-page').fadeIn(300);
$('.home-page .btn-next').addClass('animate');
......
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