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
62122a8e
Commit
62122a8e
authored
Jun 04, 2026
by
董政锦
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
style: game4 皇冠样式调整;
parent
fe961549
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
6 deletions
+16
-6
default-avator.svg
frontend-large/src/assets/images/game4/default-avator.svg
+8
-0
Rank1View.vue
frontend-large/src/pages/game4/views/Rank1View.vue
+8
-6
No files found.
frontend-large/src/assets/images/game4/default-avator.svg
0 → 100644
View file @
62122a8e
<svg
width=
"120"
height=
"120"
viewBox=
"0 0 120 120"
fill=
"none"
xmlns=
"http://www.w3.org/2000/svg"
>
<mask
id=
"mask0_99_856"
style=
"mask-type:alpha"
maskUnits=
"userSpaceOnUse"
x=
"0"
y=
"0"
width=
"120"
height=
"120"
>
<circle
cx=
"60"
cy=
"60"
r=
"60"
fill=
"#D9D9D9"
/>
</mask>
<g
mask=
"url(#mask0_99_856)"
>
<path
d=
"M22.0075 107.952C22.0075 108.807 22.7209 109.5 23.6009 109.5H96.8941C97.774 109.5 98.4875 108.807 98.4875 107.952V106.104C98.5241 105.547 98.5986 102.767 96.7662 99.6937C95.6107 97.7558 93.9337 96.0816 91.7816 94.7179C89.1782 93.0682 85.8664 91.8727 81.8606 91.153C81.831 91.1492 78.8608 90.7554 75.8179 89.9784C70.5191 88.6249 70.0559 87.4271 70.0528 87.4154C70.0216 87.297 69.9765 87.1833 69.9188 87.0764C69.8755 86.8529 69.7684 86.012 69.9731 83.7589C70.4929 78.0363 73.5626 74.6542 76.0291 71.9369C76.807 71.0799 77.5416 70.2704 78.1075 69.4766C80.548 66.0522 80.7745 62.1584 80.7848 61.917C80.7848 61.428 80.7286 61.026 80.6084 60.6533C80.3689 59.9076 79.9181 59.443 79.589 59.1038L79.5868 59.1014C79.5038 59.016 79.4255 58.9351 79.3615 58.8608C79.3371 58.8324 79.2723 58.7573 79.3313 58.3718C79.5479 56.9527 79.6779 55.7646 79.7404 54.6326C79.8515 52.6158 79.9382 49.5997 79.418 46.6643C79.3538 46.163 79.2435 45.6336 79.0718 45.0028C78.5222 42.9815 77.6392 41.2534 76.4124 39.8271C76.2014 39.5976 71.0719 34.1934 56.181 33.0846C54.1219 32.9313 52.0864 33.0138 50.0827 33.1163C49.5998 33.1401 48.9385 33.1729 48.3196 33.3333C46.7822 33.7315 46.3719 34.706 46.2642 35.2514C46.0856 36.1548 46.3995 36.8575 46.607 37.3226C46.6372 37.39 46.6745 37.4735 46.6094 37.6906C46.2638 38.2259 45.72 38.7085 45.1656 39.1658C45.0054 39.3019 41.2713 42.5216 41.066 46.7275C40.5124 49.9262 40.5543 54.91 41.2089 58.3545C41.247 58.5447 41.3032 58.8264 41.212 59.0166C40.508 59.6475 39.7099 60.3626 39.712 61.9943C39.7204 62.1584 39.9469 66.0522 42.3876 69.4766C42.9529 70.2698 43.6869 71.0786 44.4642 71.935L44.466 71.9369C46.9325 74.6542 50.002 78.0363 50.522 83.7587C50.7265 86.0118 50.6194 86.8529 50.5762 87.0762C50.5184 87.1831 50.4733 87.2968 50.4423 87.4152C50.4391 87.4269 49.9776 88.6209 44.7028 89.9715C41.6597 90.7508 38.6639 91.149 38.5745 91.1619C34.6817 91.819 31.3901 92.9846 28.7914 94.6257C26.6466 95.9804 24.9665 97.6575 23.7975 99.6107C21.9299 102.732 21.9804 105.574 22.0075 106.092V107.952Z"
fill=
"#E2E2E2"
stroke=
"#E2E2E2"
stroke-width=
"3"
stroke-linejoin=
"round"
/>
</g>
</svg>
frontend-large/src/pages/game4/views/Rank1View.vue
View file @
62122a8e
...
...
@@ -3,7 +3,8 @@ import { ref, computed, watch, onMounted, onUnmounted } from "vue";
import
DesignStage
from
"../../../components/DesignStage.vue"
;
import
type
Player
from
"@/commons/player.ts"
;
import
{
$is_run_local
}
from
"@/commons/utils.ts"
;
import
{
cssAssetUrl
}
from
"@/commons/assets.ts"
;
import
{
cssAssetUrl
,
assetUrl
}
from
"@/commons/assets.ts"
;
const
defaultAvatarUrl
=
assetUrl
(
"game4/default-avator.svg"
);
const
props
=
defineProps
<
{
rankList
:
Player
[];
...
...
@@ -23,7 +24,7 @@ const imageUrls = {
titleBg
:
cssAssetUrl
(
"game4/horse-title-bg.svg"
),
bigBrum
:
cssAssetUrl
(
"game4/big-brum.svg"
),
username
:
cssAssetUrl
(
"game4/username.svg"
),
avatar
:
cssAssetUrl
(
"game4/avator.svg"
),
avatar
:
cssAssetUrl
(
"game4/
default-
avator.svg"
),
resultBg
:
cssAssetUrl
(
"game4/resultBg.svg"
),
next
:
cssAssetUrl
(
"game4/next-1.svg"
),
// 结果弹窗 - podium 相关资源(复用 game1)
...
...
@@ -377,7 +378,8 @@ const renderAvatar = (item: any) => {
if
(
item
&&
item
.
avatar
)
{
return
`background: url('
${
item
.
avatar
}
') center / cover no-repeat;`
;
}
return
`background: v-bind('imageUrls.avatar') center / cover no-repeat;`
;
// 无头像时用 default-avator.svg 占位(白底 + 居中 cover)
return
`background: #fff url('
${
defaultAvatarUrl
}
') center / cover no-repeat;`
;
};
// 获取 podium 上三名选手(不足补空)
...
...
@@ -699,7 +701,7 @@ defineExpose({
.gu-burst
{
left
:
605px
;
top
:
-235px
;
}
.avatar
{
width
:
120px
;
height
:
120px
;
border-radius
:
60px
;
position
:
absolute
;
left
:
610px
;
top
:
-141
px
px
;
position
:
absolute
;
left
:
610px
;
top
:
-141px
;
}
.nickname
{
width
:
167px
;
height
:
46px
;
...
...
@@ -722,7 +724,7 @@ defineExpose({
/* 第2名 (左边) */
.rank-no2
{
.gu-burst
{
left
:
318px
;
top
:
111
px
;
}
.gu-burst
{
left
:
318px
;
top
:
-120
px
;
}
.avatar
{
width
:
120px
;
height
:
120px
;
border-radius
:
60px
;
position
:
absolute
;
left
:
333px
;
top
:
-17px
;
...
...
@@ -748,7 +750,7 @@ defineExpose({
/* 第3名 (右边) */
.rank-no3
{
.gu-burst
{
left
:
9
31px
;
top
:
-73
px
;
}
.gu-burst
{
left
:
9
08px
;
top
:
-81
px
;
}
.avatar
{
width
:
120px
;
height
:
120px
;
border-radius
:
60px
;
position
:
absolute
;
left
:
920px
;
top
:
25px
;
...
...
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