切换音符状态

This commit is contained in:
dragon
2024-10-28 14:30:17 +08:00
parent 22468bdfbc
commit 58c9e09ea8

View File

@@ -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 () {