diff --git a/view/molistar/modules/weekStar/js/index.js b/view/molistar/modules/weekStar/js/index.js index 5367f271..6fa855ac 100644 --- a/view/molistar/modules/weekStar/js/index.js +++ b/view/molistar/modules/weekStar/js/index.js @@ -76,14 +76,14 @@ $('.header .music').click(function () { $('.header .music').hide(); $('.header .notOpen').show(); var audio = document.getElementById("musics"); - audio.play(); + audio.pause(); }) // 关闭音乐 $('.header .notOpen').click(function () { $('.header .notOpen').hide(); $('.header .music').show(); var audio = document.getElementById("musics"); - audio.pause(); + audio.play(); }) // 处理SVGA document.addEventListener('DOMContentLoaded', function () {