diff --git a/src/views/ucurrency/Index.vue b/src/views/ucurrency/Index.vue index d65e605b..878457a4 100644 --- a/src/views/ucurrency/Index.vue +++ b/src/views/ucurrency/Index.vue @@ -54,18 +54,13 @@ 我的排名 : {{currentUserRankingTotalData.rankNo}}
- 我的经验值 : - {{currentUserRankingTotalData.rankValue}} + 我的经验值 : {{currentUserRankingTotalData.rankValue}}
-
{{currentUserRankingData.total || currentUserRankingData.months || currentUserRankingData.years || currentUserRankingData.weeks}}/{{current.endValue}}
+
{{currentUserRankingTotalData.rankValue}}/{{currentUserRankingTotalData.endValue}}
- - +
{{current.start}} @@ -286,7 +281,8 @@ currentUserRankingData: {}, currentUserRankingTotalData:{ rankNo:0, // 经验值累计排名 - rankValue:0 // 经验值累计 + rankValue:0 ,// 经验值累计, + endValue:0 // 累计经验值进度条最大值 }, rankingData: [], uinfo: { @@ -329,10 +325,8 @@ this.current = this.experienceValue(res.result.currentUserRankingData.total); this.currentUserRankingTotalData.rankNo = res.result.currentUserRankingData.rankingNo; this.currentUserRankingTotalData.rankValue = res.result.currentUserRankingData.total; - } - if(this.cycle == 'weeks'){this.current = this.experienceValue(res.result.currentUserRankingData.weeks);} - if(this.cycle == 'months'){this.current = this.experienceValue(res.result.currentUserRankingData.months);} - if(this.cycle == 'years'){this.current = this.experienceValue(res.result.currentUserRankingData.years);} + this.currentUserRankingTotalData.endValue = this.current.endValue; + } } const ids = [];