Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
NEWYEARPARTY
Project
Project
Details
Activity
Releases
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
华国豪
NEWYEARPARTY
Commits
2add1b27
Commit
2add1b27
authored
Dec 30, 2019
by
华国豪
🙄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
51025a3d
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
7 deletions
+8
-7
GameRanking.css
src/assets/css/GameRanking.css
+3
-6
GameRanking.vue
src/components/playGame/GameRanking.vue
+1
-1
Money.vue
src/components/playGame/Money.vue
+4
-0
No files found.
src/assets/css/GameRanking.css
View file @
2add1b27
...
...
@@ -53,15 +53,12 @@
}
.Ranking
.rank-box
.item
.head
.user-img
{
width
:
7
rem
;
height
:
7
rem
;
width
:
5
rem
;
height
:
5
rem
;
border-radius
:
50%
;
}
.Ranking
.rank-box
.item
.body
{
background
:
url(/static/image/gamerank/tiao.png)
;
background-repeat
:
no-repeat
;
background-size
:
100%
100%
;
width
:
60px
;
margin
:
2rem
auto
;
height
:
292px
;
...
...
src/components/playGame/GameRanking.vue
View file @
2add1b27
src/components/playGame/Money.vue
View file @
2add1b27
...
...
@@ -1073,6 +1073,10 @@ export default {
height
:
data
.
length
-
index
})
})
let
max
=
this
.
rankingList
[
0
].
rank
this
.
rankingList
.
map
(
x
=>
{
x
.
height
=
x
.
rank
/
max
*
100
})
}
},
initStatus
()
{
...
...
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