From f74820e1aa724b52509558a1aae544cd6c202513 Mon Sep 17 00:00:00 2001 From: weinan2087 Date: Tue, 18 Oct 2022 15:14:01 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=BA=E5=AE=9A=E7=BB=8F=E9=AA=8C=E5=80=BC?= =?UTF-8?q?=E6=8E=92=E8=A1=8C=E6=A6=9C=E8=BF=9B=E5=BA=A6=E6=9D=A1=E6=8C=89?= =?UTF-8?q?=E7=85=A7=E7=B4=AF=E8=AE=A1=E8=BF=87=E6=BB=A4=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ucurrency/Index.vue | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) 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 = [];