添加mvp榜数据
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user