排名显示错误修复
This commit is contained in:
@@ -251,7 +251,9 @@ const checkBowData = () => {
|
||||
src="../static/champ3.png"
|
||||
mode="widthFix"
|
||||
/>
|
||||
<view v-if="index > 2" class="view-crown">{{ index + 1 }}</view>
|
||||
<view v-if="player.rank > 3" class="view-crown">{{
|
||||
player.rank
|
||||
}}</view>
|
||||
<Avatar
|
||||
:src="player.avatar"
|
||||
:size="36"
|
||||
@@ -259,7 +261,7 @@ const checkBowData = () => {
|
||||
/>
|
||||
<view class="player-title">
|
||||
<text class="truncate">{{ player.name }}</text>
|
||||
<text>{{ getLvlName(player.totalScore) }}</text>
|
||||
<text>{{ getLvlName(player.rank_lvl) }}</text>
|
||||
</view>
|
||||
<text
|
||||
><text :style="{ color: '#fff' }">{{ player.totalRings }}</text>
|
||||
|
||||
@@ -158,9 +158,7 @@ const subTitles = ["排位赛积分", "MVP次数", "十环次数"];
|
||||
<Avatar :src="item.avatar" />
|
||||
<view class="rank-item-content">
|
||||
<text class="truncate">{{ item.name }}</text>
|
||||
<text
|
||||
>{{ getLvlName(item.totalScore) }},{{ item.TotalGames }}场</text
|
||||
>
|
||||
<text>{{ getLvlName(item.rankLvl) }},{{ item.TotalGames }}场</text>
|
||||
</view>
|
||||
<text class="rank-item-integral" v-if="selectedIndex === 0">
|
||||
<text
|
||||
|
||||
@@ -180,7 +180,7 @@ onShow(async () => {
|
||||
<view>
|
||||
<text>段位</text>
|
||||
<text :style="{ color: '#83CDFF' }">{{
|
||||
getLvlName(rankData.user.scores) || "-"
|
||||
getLvlName(rankData.user.rankLvl) || "-"
|
||||
}}</text>
|
||||
</view>
|
||||
<view>
|
||||
@@ -359,7 +359,7 @@ onShow(async () => {
|
||||
<view>
|
||||
<text class="truncate">{{ item.name }}</text>
|
||||
<text>
|
||||
{{ getLvlName(item.totalScore) }},{{ item.TotalGames }}场
|
||||
{{ getLvlName(item.rankLvl) }},{{ item.TotalGames }}场
|
||||
</text>
|
||||
</view>
|
||||
<text v-if="selectedIndex === 0">
|
||||
|
||||
Reference in New Issue
Block a user