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
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
8 deletions
+9
-8
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
Mouse.vue
src/components/playGame/Mouse.vue
+1
-1
No files found.
src/assets/css/GameRanking.css
View file @
2add1b27
...
...
@@ -34,7 +34,7 @@
.Ranking
.rank-box
.item
{
width
:
9rem
;
}
.Ranking
.rank-box
.item
.head
{
position
:
relative
;
width
:
5rem
;
...
...
@@ -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
...
...
@@ -20,7 +20,7 @@
</div>
</
template
>
<
script
>
<
script
>
export
default
{
name
:
'Ranking'
,
props
:
{
...
...
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
()
{
...
...
src/components/playGame/Mouse.vue
View file @
2add1b27
...
...
@@ -78,7 +78,7 @@
</div>
<div
class=
"hd-game-btn-container"
v-show=
"!showCount && !noReady && !showThrityCount"
>
<div
class=
"hd-game-btn"
@
click=
"StartGame()"
>
<i
class=
"iconfont icon-go"
></i>
<i
class=
"iconfont icon-go"
></i>
<span>
开始
</span>
</div>
<div
class=
"hd-game-btn"
v-if=
"gameOverState || (!showCount && !noReady)"
@
click=
"RestGame"
>
...
...
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