diff --git a/view/peko/activity/act-kitchen/index.html b/view/peko/activity/act-kitchen/index.html index 16f1208..e00d7c9 100644 --- a/view/peko/activity/act-kitchen/index.html +++ b/view/peko/activity/act-kitchen/index.html @@ -335,4 +335,4 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/view/peko/activity/act-kitchen/js/index.js b/view/peko/activity/act-kitchen/js/index.js index d950506..c250fe8 100644 --- a/view/peko/activity/act-kitchen/js/index.js +++ b/view/peko/activity/act-kitchen/js/index.js @@ -41,9 +41,10 @@ let page = 1 let pageSizeLack = true; var audioIf = true; var backgroundMusic = document.getElementById('backgroundMusic'); -backgroundMusic.volume = 0.5; var lotteryMusic = document.getElementById('lotteryMusic'); var drawBut = document.getElementById("draw"); +backgroundMusic.volume = 0.2; +drawBut.volume = 1; $(function () { getInfoFromClient() setTimeout(function () { @@ -126,7 +127,7 @@ function getNewestAct () { // 第二階段 backgroundMusic.pause(); lotteryMusic.currentTime = 0; - lotteryMusic.volume = 100 / 100; + lotteryMusic.volume = 1; if (audioIf) { lotteryMusic.play(); }