调整排行榜

This commit is contained in:
daihh
2022-10-16 12:40:23 +08:00
parent e6f79c20b4
commit 02b5d5834f

View File

@@ -30,9 +30,9 @@
</div>
</div>
<div class="exp-bar">
<h6> {{current.total}}/{{current.endValue}}</h6>
<h6> {{current.total}}/{{current.endValue}}</h6>
<div class="exp-barbox">
<el-progress :percentage="current.percentage" color="#387DF7"></el-progress>
<el-progress :percentage="current.total*100/current.endValue" color="#387DF7"></el-progress>
</div>
<div class="exp-barname">
<span>{{current.start}}</span>
@@ -343,6 +343,7 @@ export default {
this.current = this.experienceValue(res.result.currentUserRankingData.years);
}
}
this.current.total=res.result.currentUserRankingData.total;//当前用户的经验值是固定的
const ids= [];
res.result.rankingData.forEach(item=>{
ids.push(item.aid)
@@ -463,7 +464,7 @@ export default {
padding:15px 18px;
display:flex;
overflow-x: auto;
}
.page-ranking-col{
min-width: 430px;