修改疯狂动物园音效声音大小
This commit is contained in:
@@ -335,4 +335,4 @@
|
||||
<script src="../../common/js/vconsole.min.js"></script>
|
||||
<script src="../../common/js/svga.min.js"></script>
|
||||
<script src="./js/wow.js"></script>
|
||||
<script src="./js/index.js?v=1.2"></script>
|
||||
<script src="./js/index.js?v=1.3"></script>
|
@@ -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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user