字段完善

This commit is contained in:
kron
2025-07-17 09:57:08 +08:00
parent 124f50429d
commit 9ab54b6740
2 changed files with 27 additions and 12 deletions

View File

@@ -138,12 +138,16 @@ const subTitles = ["排位赛积分", "本周MVP次数", "本周十环次数"];
>{{ getLvlName(item.totalScore) }}{{ item.TotalGames }}</text
>
</view>
<text class="rank-item-integral"
><text
:style="{ fontSize: '14px', color: '#fff', marginRight: '5px' }"
>{{ item.totalScore }}</text
></text
>
<text class="rank-item-integral" v-if="selectedIndex === 0">
<text :style="{ fontSize: '14px', color: '#fff', marginRight: '5px' }"
>{{ item.totalScore }} </text
>
</text>
<text class="rank-item-integral" v-if="selectedIndex === 2">
<text :style="{ fontSize: '14px', color: '#fff', marginRight: '5px' }"
>{{ item.TenRings }} </text
>
</text>
</view>
<view v-if="!currentList.length" class="no-data">
<text>筹备中...</text>
@@ -279,6 +283,8 @@ const subTitles = ["排位赛积分", "本周MVP次数", "本周十环次数"];
}
.rank-list-item > text:last-child {
margin-right: 10px;
width: 56px;
text-align: right;
}
.my-rank-data {
position: fixed;
@@ -305,12 +311,14 @@ const subTitles = ["排位赛积分", "本周MVP次数", "本周十环次数"];
color: #fff;
padding: 3px 5px;
border-radius: 20px;
margin-right: 10px;
margin: 10px;
font-size: 14px;
}
.my-rank-data > text:last-child {
position: relative;
margin-right: 10px;
width: 56px;
text-align: right;
}
.my-rank-data > .rank-item-content > text:first-child {
color: #fed847;