Browse Source

修改跃进榜排行榜

aaa 3 years ago
parent
commit
3ded3ccc2e
1 changed files with 4 additions and 1 deletions
  1. 4 1
      src/views/home/person/rank.vue

+ 4 - 1
src/views/home/person/rank.vue

@@ -54,8 +54,11 @@
             <div class="contentItemTopRowChildName">
             <div class="contentItemTopRowChildName">
               {{ item.nickName || "userName" + (index + 1) }}
               {{ item.nickName || "userName" + (index + 1) }}
             </div>
             </div>
-            <span class="contentItemTopRowChildPoints">
+            <span class="contentItemTopRowChildPoints" v-if="currentRankType=='ZongBang'">
               {{ item.totalPoints || 0 }}
               {{ item.totalPoints || 0 }}
+            </span>
+             <span class="contentItemTopRowChildPoints" v-if="currentRankType=='YueJinBang'">
+              {{ item.weeklyDeltaPoints || 0 }}
             </span>
             </span>
             <span class="contentItemTopRowChildSteps">积分</span>
             <span class="contentItemTopRowChildSteps">积分</span>
           </div>
           </div>