添加mvp榜数据

This commit is contained in:
kron
2025-08-15 16:15:36 +08:00
parent 7242475735
commit b2abcc71b1
2 changed files with 13 additions and 0 deletions

View File

@@ -31,6 +31,8 @@ const handleSelect = (index) => {
selectedIndex.value = index;
if (index === 0 && rankData.value.rank) {
currentList.value = rankData.value.rank.slice(0, 10);
} else if (index === 1 && rankData.value.mvpRank) {
currentList.value = rankData.value.mvpRank.slice(0, 10);
} else if (index === 2 && rankData.value.ringRank) {
currentList.value = rankData.value.ringRank.slice(0, 10);
} else {
@@ -355,6 +357,9 @@ onShow(async () => {
<text v-if="selectedIndex === 0">
{{ item.totalScore }}<text>分</text>
</text>
<text v-if="selectedIndex === 1">
{{ item.mvpCount }}<text>次</text>
</text>
<text v-if="selectedIndex === 2">
{{ item.TenRings }}<text>次</text>
</text>