mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-13 04:46:44 +08:00
调整排行榜
This commit is contained in:
@@ -30,9 +30,9 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="exp-bar">
|
<div class="exp-bar">
|
||||||
<h6> {{current.total}}/{{current.endValue}}</h6>
|
<h6> {{current.total}}/{{current.endValue}}</h6>
|
||||||
<div class="exp-barbox">
|
<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>
|
||||||
<div class="exp-barname">
|
<div class="exp-barname">
|
||||||
<span>{{current.start}}</span>
|
<span>{{current.start}}</span>
|
||||||
@@ -343,6 +343,7 @@ export default {
|
|||||||
this.current = this.experienceValue(res.result.currentUserRankingData.years);
|
this.current = this.experienceValue(res.result.currentUserRankingData.years);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
this.current.total=res.result.currentUserRankingData.total;//当前用户的经验值是固定的
|
||||||
const ids= [];
|
const ids= [];
|
||||||
res.result.rankingData.forEach(item=>{
|
res.result.rankingData.forEach(item=>{
|
||||||
ids.push(item.aid)
|
ids.push(item.aid)
|
||||||
@@ -463,7 +464,7 @@ export default {
|
|||||||
padding:15px 18px;
|
padding:15px 18px;
|
||||||
display:flex;
|
display:flex;
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
|
|
||||||
}
|
}
|
||||||
.page-ranking-col{
|
.page-ranking-col{
|
||||||
min-width: 430px;
|
min-width: 430px;
|
||||||
|
|||||||
Reference in New Issue
Block a user