Commit 6fec965c by kaisa

feat:测试

parent 14c56dc1
...@@ -696,8 +696,8 @@ ...@@ -696,8 +696,8 @@
.removeClass("n0 n1 n2 n3 n4 n5 n6 n7 n8 n9") .removeClass("n0 n1 n2 n3 n4 n5 n6 n7 n8 n9")
.addClass("n" + numArr[1] + ""); .addClass("n" + numArr[1] + "");
layer.msg(numArr[0] + "-" + numArr[1]);
if (Number(numArr[0] === 0) && Number(numArr[1]) <= 3) { if (Number(numArr[0] === 0) && Number(numArr[1]) <= 3) {
layer.msg(numArr[1]);
// 倒计时3s的时候播放倒计时音效 // 倒计时3s的时候播放倒计时音效
clock(); clock();
} }
......
...@@ -113,7 +113,7 @@ function appCollaboration(msg) { ...@@ -113,7 +113,7 @@ function appCollaboration(msg) {
// 判断背景音是否开启/关闭 // 判断背景音是否开启/关闭
function isBgMusicClose() { function isBgMusicClose() {
let isMuted = mAudios.bgm.muted; let isMuted = mAudios.bgm.muted;
return isMuted; return isMuted;
} }
// 露水音效 // 露水音效
...@@ -160,10 +160,6 @@ function rocketStop() { ...@@ -160,10 +160,6 @@ function rocketStop() {
// 倒计时音效 // 倒计时音效
function clock() { function clock() {
const flag = isBgMusicClose();
if (flag) {
return;
}
mAudios.clock.play(); mAudios.clock.play();
} }
// //
......
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