mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-11 20:06:44 +08:00
调整排行榜
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user