|
@@ -76,10 +76,14 @@
|
|
/>
|
|
/>
|
|
<div>{{ item.nickName || "未知" }}</div>
|
|
<div>{{ item.nickName || "未知" }}</div>
|
|
</div>
|
|
</div>
|
|
- <div class="userPonits">
|
|
|
|
|
|
+ <div class="userPonits" v-if="currentRankType=='ZongBang'">
|
|
{{ item.totalPoints || 0 }}
|
|
{{ item.totalPoints || 0 }}
|
|
<span>积分</span>
|
|
<span>积分</span>
|
|
</div>
|
|
</div>
|
|
|
|
+ <div class="userPonits" v-if="currentRankType=='YueJinBang'">
|
|
|
|
+ {{ item.weeklyDeltaPoints || 0 }}
|
|
|
|
+ <span>积分</span>
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</van-cell>
|
|
</van-cell>
|
|
@@ -106,7 +110,8 @@ export default {
|
|
finished: false,
|
|
finished: false,
|
|
rankListTopThree: [], // 前三名
|
|
rankListTopThree: [], // 前三名
|
|
rankListOthers: [],
|
|
rankListOthers: [],
|
|
- env: "pro"
|
|
|
|
|
|
+ env: "pro",
|
|
|
|
+ currentRankType: "ZongBang"
|
|
};
|
|
};
|
|
},
|
|
},
|
|
created() {
|
|
created() {
|
|
@@ -168,6 +173,7 @@ export default {
|
|
},
|
|
},
|
|
onLoad() {},
|
|
onLoad() {},
|
|
rootChange(index) {
|
|
rootChange(index) {
|
|
|
|
+ this.currentRankType = this.rankList[index].type;
|
|
this.getRankListFun(this.rankList[index].type);
|
|
this.getRankListFun(this.rankList[index].type);
|
|
}
|
|
}
|
|
}
|
|
}
|