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
885f0a7f
Commit
885f0a7f
authored
Jun 04, 2026
by
董政锦
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
style: 结果页面头像大小样式;
parent
6d448527
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
6 deletions
+17
-6
Game4.vue
frontend-h5/src/pages/game4/Game4.vue
+1
-1
ScoreView.vue
frontend-h5/src/pages/game4/views/ScoreView.vue
+16
-5
No files found.
frontend-h5/src/pages/game4/Game4.vue
View file @
885f0a7f
...
...
@@ -244,7 +244,7 @@ onBeforeUnmount(() => {
</div>
</div>
</
template
>
<LoadingView
v-if=
"currentView
=
== 'loading'"
:image-urls=
"imageUrls"
:user-join-status=
"userJoinStatus"
<LoadingView
v-if=
"currentView
!
== 'loading'"
:image-urls=
"imageUrls"
:user-join-status=
"userJoinStatus"
@
touchGameRule=
"showGameRuleHandler"
/>
<PlayingView
v-else-if=
"currentView === 'playing'"
:image-urls=
"imageUrls"
:tick=
"tick"
:rank=
"rank"
:currentHorse=
"currentHorse"
:currentYaoyiyao=
"currentYaoyiyao"
:countdown-interval=
"countdownInterval"
...
...
frontend-h5/src/pages/game4/views/ScoreView.vue
View file @
885f0a7f
<
script
setup
lang=
"ts"
>
import
{
$getWechat
}
from
'@/commons/utils.ts'
import
{
onMounted
,
ref
}
from
'vue'
;
defineProps
<
{
imageUrls
:
Record
<
string
,
string
>
tick
:
number
...
...
@@ -9,6 +12,14 @@ defineEmits<{
replay
:
[]
back
:
[]
}
>
()
const
nickname
=
ref
(
''
);
const
avatar
=
ref
(
''
);
onMounted
(()
=>
{
const
wechat
=
$getWechat
();
nickname
.
value
=
wechat
.
nickname
;
avatar
.
value
=
wechat
.
avatar
;
});
</
script
>
<
template
>
...
...
@@ -16,9 +27,9 @@ defineEmits<{
<div
class=
"img-logo"
></div>
<!--
<div
class=
"bg-bottom"
></div>
-->
<div
class=
"img-score"
>
<div
class=
"score-avatar"
></div>
<div
class=
"score-avatar"
:style=
"`background: url($
{avatar});border-radius:66px;width:78px;height:78px;`"
>
</div>
<div
class=
"score-content"
>
<div>
张小明
</div>
<div>
{{
nickname
}}
</div>
<div>
您的成绩
</div>
<div></div>
<div>
{{
tick
}}
</div>
...
...
@@ -73,10 +84,10 @@ defineEmits<{
.score-avatar
{
position
:
absolute
;
top
:
-
20
px
;
top
:
-
35
px
;
left
:
50%
;
width
:
60px
;
height
:
60px
;
/*
width: 60px;
height: 60px;
*/
background
:
v-bind
(
'imageUrls.avatar'
)
center
/
cover
;
transform
:
translateX
(
-50%
)
scale
(
2
);
}
...
...
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