feat: add bgm
This commit is contained in:
		| @@ -193,3 +193,9 @@ function addShakeEffect() { | ||||
|         }); | ||||
|     }, 800); // 与 CSS 动画时间相同 | ||||
| } | ||||
|  | ||||
| // 点击页面播放bgm | ||||
| document.addEventListener('click', function play() { | ||||
|     document.getElementById('bgm').play(); | ||||
|     document.removeEventListener('click', play); | ||||
| }); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user