Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
libai
/
fsActive
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
c58e0909
authored
Sep 05, 2025
by
kaisa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:测试
parent
cbf18de8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
28 deletions
activeFt/luckySpace/index.html
activeFt/luckySpace/lib/default.js
activeFt/luckySpace/index.html
View file @
c58e0909
...
@@ -695,7 +695,7 @@
...
@@ -695,7 +695,7 @@
$(".num-box-p2")
$(".num-box-p2")
.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] + "");
// 倒计时3s的时候播放倒计时音效
// 倒计时3s的时候播放倒计时音效
clock(numArr[0], numArr[1]);
clock(numArr[0], numArr[1]);
...
@@ -795,6 +795,7 @@
...
@@ -795,6 +795,7 @@
""
+
data
.
result
.
shipData
.
launchHeight
+
""
+
textArr
[
0
]
+
""
""
+
data
.
result
.
shipData
.
launchHeight
+
""
+
textArr
[
0
]
+
""
);
);
},
350
);
},
350
);
betBoom
();
//这时候爆炸了
//这时候爆炸了
$
(
".out-fly-box >div"
)
$
(
".out-fly-box >div"
)
.
unbind
(
"click"
)
.
unbind
(
"click"
)
...
@@ -1138,7 +1139,7 @@
...
@@ -1138,7 +1139,7 @@
"
DEWs
rewards
.
<
/div>
"
"
DEWs
rewards
.
<
/div>
"
);
);
myDiamond
();
myDiamond
();
bet
Win
();
bet
Boom
();
jumpOk
=
true
;
jumpOk
=
true
;
}
else
{
}
else
{
layer
.
msg
(
data
.
msg
);
layer
.
msg
(
data
.
msg
);
...
...
activeFt/luckySpace/lib/default.js
View file @
c58e0909
...
@@ -110,52 +110,29 @@ function appCollaboration(msg) {
...
@@ -110,52 +110,29 @@ function appCollaboration(msg) {
}
}
}
catch
(
e
)
{}
}
catch
(
e
)
{}
}
}
// 判断背景音是否开启/关闭
function
isBgMusicClose
()
{
let
isMuted
=
mAudios
.
bgm
.
muted
;
// layer.msg(isMuted);
return
isMuted
;
}
// 露水音效
// 露水音效
function
betSound
()
{
function
betSound
()
{
isBgMusicClose
();
isBgMusicClose
();
// const flag = isBgMusicClose();
// if (flag) {
// return;
// }
mAudios
.
water
.
play
();
mAudios
.
water
.
play
();
}
}
// 中奖音效
// 中奖音效
function
betWin
()
{
function
betWin
()
{
// const flag = isBgMusicClose();
// if (flag) {
// return;
// }
mAudios
.
betWin
.
play
();
mAudios
.
betWin
.
play
();
}
}
// 爆炸音效+未中奖音效
// 爆炸音效+未中奖音效
function
betLose
()
{
function
betLose
()
{
// const flag = isBgMusicClose();
// if (flag) {
// return;
// }
mAudios
.
boom
.
play
();
mAudios
.
boom
.
play
();
mAudios
.
betLose
.
play
();
mAudios
.
betLose
.
play
();
}
}
function
betBoom
()
{
mAudios
.
boom
.
play
();
}
// 火箭升空音效
// 火箭升空音效
function
rocket
()
{
function
rocket
()
{
// const flag = isBgMusicClose();
// if (flag) {
// return;
// }
mAudios
.
rocket
.
play
();
mAudios
.
rocket
.
play
();
}
}
// 停止播放火箭升空音效
// 停止播放火箭升空音效
function
rocketStop
()
{
function
rocketStop
()
{
// const flag = isBgMusicClose();
// if (flag) {
// return;
// }
mAudios
.
rocket
.
pause
();
mAudios
.
rocket
.
pause
();
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment