Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fc-minigame
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
陈冲
fc-minigame
Commits
e143800b
Commit
e143800b
authored
Jun 17, 2026
by
陈冲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修复game3 h5 音乐
parent
d65da20b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
Game3.vue
frontend-h5/src/pages/game3/Game3.vue
+4
-4
No files found.
frontend-h5/src/pages/game3/Game3.vue
View file @
e143800b
...
@@ -6,7 +6,7 @@ import { useGameSocket, joinSharedRoom, sendGameMessage, userJoinStatus, userTop
...
@@ -6,7 +6,7 @@ import { useGameSocket, joinSharedRoom, sendGameMessage, userJoinStatus, userTop
import
LoadingView
from
'./views/LoadingView.vue'
import
LoadingView
from
'./views/LoadingView.vue'
import
PlayingView
from
'./views/PlayingView.vue'
import
PlayingView
from
'./views/PlayingView.vue'
import
{
$getWechat
,
$toast
,
$is_run_local
}
from
'@/commons/utils.ts'
import
{
$getWechat
,
$toast
,
$is_run_local
}
from
'@/commons/utils.ts'
import
{
playGame
6Music
,
stopGame6
Music
}
from
'@/commons/music'
;
import
{
playGame
3Music
,
stopAll
Music
}
from
'@/commons/music'
;
type
GameView
=
'loading'
|
'playing'
type
GameView
=
'loading'
|
'playing'
type
RankPlayer
=
{
type
RankPlayer
=
{
...
@@ -199,9 +199,9 @@ const touchHandler = (mole: boolean) => {
...
@@ -199,9 +199,9 @@ const touchHandler = (mole: boolean) => {
if
(
nextTick
<
0
)
nextTick
=
0
if
(
nextTick
<
0
)
nextTick
=
0
score
.
value
=
nextTick
score
.
value
=
nextTick
if
(
mole
)
{
if
(
mole
)
{
playGame
6
Music
(
1
);
playGame
3
Music
(
1
);
}
else
{
}
else
{
playGame
6
Music
(
2
);
playGame
3
Music
(
2
);
}
}
submitScore
(
false
,
nextTick
)
submitScore
(
false
,
nextTick
)
}
}
...
@@ -302,7 +302,7 @@ onMounted(() => {
...
@@ -302,7 +302,7 @@ onMounted(() => {
onBeforeUnmount
(()
=>
{
onBeforeUnmount
(()
=>
{
_offSocketMessage
.
value
?.()
_offSocketMessage
.
value
?.()
stop
Game6
Music
()
stop
All
Music
()
if
(
guFrameTimer
)
{
if
(
guFrameTimer
)
{
window
.
clearTimeout
(
guFrameTimer
)
window
.
clearTimeout
(
guFrameTimer
)
}
}
...
...
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