Commit 2add1b27 authored by 华国豪's avatar 华国豪 🙄

1

parent 51025a3d
......@@ -53,15 +53,12 @@
}
.Ranking .rank-box .item .head .user-img {
width: 7rem;
height: 7rem;
width: 5rem;
height: 5rem;
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;
......
......@@ -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() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment