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
ee01ab34
Commit
ee01ab34
authored
Jun 06, 2026
by
董政锦
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
style: 跑道马阴影距离;加打印圈中马的上传数据;
parent
e223f4d5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
5 deletions
+10
-5
Game5.vue
frontend-h5/src/pages/game5/Game5.vue
+8
-3
PlayingView.vue
frontend-h5/src/pages/game5/views/PlayingView.vue
+2
-2
No files found.
frontend-h5/src/pages/game5/Game5.vue
View file @
ee01ab34
...
...
@@ -105,16 +105,20 @@ function submitScore(save: boolean = false) {
if
(
save
)
{
//item_num 游戏项目(1到6)
//wechat 原始token
sendGameMessage
(
'submit_score_save'
,
{
const
data
=
{
score
:
tick
.
value
,
wechat
:
wechat
.
token_origin
,
item_num
:
1
,
nickname
:
wechat
.
nickname
,
avatar
:
wechat
.
avatar
,
rank
:
rank
.
value
,
})
}
console
.
log
(
'[WebSocket] send submit_score_save:'
,
JSON
.
stringify
(
data
,
null
,
2
))
sendGameMessage
(
'submit_score_save'
,
data
)
}
else
{
sendGameMessage
(
'submit_score'
,
{
score
:
tick
.
value
})
const
data
=
{
score
:
tick
.
value
}
console
.
log
(
'[WebSocket] send submit_score:'
,
JSON
.
stringify
(
data
))
sendGameMessage
(
'submit_score'
,
data
)
}
}
...
...
@@ -193,6 +197,7 @@ function handleRoomBack() {
const
hitHandler
=
(
score
:
number
)
=>
{
tick
.
value
+=
score
console
.
log
(
'[WebSocket] 圈中马!得分:'
,
score
,
'当前总分:'
,
tick
.
value
)
submitScore
()
playGame1Music
()
}
...
...
frontend-h5/src/pages/game5/views/PlayingView.vue
View file @
ee01ab34
...
...
@@ -686,12 +686,12 @@ onBeforeUnmount(() => {
/* ── 马匹脚底阴影 ── */
.horse-shadow
{
position
:
absolute
;
bottom
:
12
px
;
bottom
:
-10
px
;
left
:
50%
;
width
:
110px
;
height
:
18px
;
transform
:
translateX
(
-50%
);
background
:
radial-gradient
(
ellipse
at
center
,
rgba
(
0
,
0
,
0
,
0.3
8
)
0%
,
rgba
(
0
,
0
,
0
,
0.12
)
40%
,
rgba
(
0
,
0
,
0
,
0
)
72%
);
background
:
radial-gradient
(
ellipse
at
center
,
rgba
(
0
,
0
,
0
,
0.3
5
)
0%
,
rgba
(
0
,
0
,
0
,
0.10
)
40%
,
rgba
(
0
,
0
,
0
,
0
)
72%
);
border-radius
:
50%
;
pointer-events
:
none
;
}
...
...
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