From 58c9e09ea8540e38ab427845a0b4caeadc928c40 Mon Sep 17 00:00:00 2001 From: dragon <3013557874@qq.com> Date: Mon, 28 Oct 2024 14:30:17 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=87=E6=8D=A2=E9=9F=B3=E7=AC=A6=E7=8A=B6?= =?UTF-8?q?=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- view/molistar/modules/weekStar/js/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 () {