字段完善
This commit is contained in:
@@ -138,12 +138,16 @@ const subTitles = ["排位赛积分", "本周MVP次数", "本周十环次数"];
|
|||||||
>{{ getLvlName(item.totalScore) }},{{ item.TotalGames }}场</text
|
>{{ getLvlName(item.totalScore) }},{{ item.TotalGames }}场</text
|
||||||
>
|
>
|
||||||
</view>
|
</view>
|
||||||
<text class="rank-item-integral"
|
<text class="rank-item-integral" v-if="selectedIndex === 0">
|
||||||
><text
|
<text :style="{ fontSize: '14px', color: '#fff', marginRight: '5px' }"
|
||||||
:style="{ fontSize: '14px', color: '#fff', marginRight: '5px' }"
|
|
||||||
>{{ item.totalScore }} </text
|
>{{ item.totalScore }} </text
|
||||||
>分</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>
|
||||||
<view v-if="!currentList.length" class="no-data">
|
<view v-if="!currentList.length" class="no-data">
|
||||||
<text>筹备中...</text>
|
<text>筹备中...</text>
|
||||||
@@ -279,6 +283,8 @@ const subTitles = ["排位赛积分", "本周MVP次数", "本周十环次数"];
|
|||||||
}
|
}
|
||||||
.rank-list-item > text:last-child {
|
.rank-list-item > text:last-child {
|
||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
|
width: 56px;
|
||||||
|
text-align: right;
|
||||||
}
|
}
|
||||||
.my-rank-data {
|
.my-rank-data {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
@@ -305,12 +311,14 @@ const subTitles = ["排位赛积分", "本周MVP次数", "本周十环次数"];
|
|||||||
color: #fff;
|
color: #fff;
|
||||||
padding: 3px 5px;
|
padding: 3px 5px;
|
||||||
border-radius: 20px;
|
border-radius: 20px;
|
||||||
margin-right: 10px;
|
margin: 10px;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
}
|
}
|
||||||
.my-rank-data > text:last-child {
|
.my-rank-data > text:last-child {
|
||||||
position: relative;
|
position: relative;
|
||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
|
width: 56px;
|
||||||
|
text-align: right;
|
||||||
}
|
}
|
||||||
.my-rank-data > .rank-item-content > text:first-child {
|
.my-rank-data > .rank-item-content > text:first-child {
|
||||||
color: #fed847;
|
color: #fed847;
|
||||||
|
|||||||
@@ -319,11 +319,16 @@ onHide(() => {
|
|||||||
/>
|
/>
|
||||||
<view>
|
<view>
|
||||||
<text class="truncate">{{ item.name }}</text>
|
<text class="truncate">{{ item.name }}</text>
|
||||||
<text
|
<text>
|
||||||
>{{ getLvlName(item.totalScore) }},{{ item.TotalGames }}场</text
|
{{ getLvlName(item.totalScore) }},{{ item.TotalGames }}场
|
||||||
>
|
</text>
|
||||||
</view>
|
</view>
|
||||||
<text>{{ item.totalScore }}<text>分</text></text>
|
<text v-if="selectedIndex === 0">
|
||||||
|
{{ item.totalScore }}<text>分</text>
|
||||||
|
</text>
|
||||||
|
<text v-if="selectedIndex === 2">
|
||||||
|
{{ item.TenRings }}<text>次</text>
|
||||||
|
</text>
|
||||||
</view>
|
</view>
|
||||||
<view v-if="!currentList.length" class="no-data">
|
<view v-if="!currentList.length" class="no-data">
|
||||||
<text>筹备中...</text>
|
<text>筹备中...</text>
|
||||||
@@ -497,7 +502,7 @@ onHide(() => {
|
|||||||
.rank-item > view:nth-child(3) {
|
.rank-item > view:nth-child(3) {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
width: 55%;
|
width: 50%;
|
||||||
}
|
}
|
||||||
.rank-item > view:nth-child(3) > text:first-child {
|
.rank-item > view:nth-child(3) > text:first-child {
|
||||||
color: #fff9;
|
color: #fff9;
|
||||||
@@ -510,6 +515,8 @@ onHide(() => {
|
|||||||
}
|
}
|
||||||
.rank-item > text:last-child {
|
.rank-item > text:last-child {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
|
width: 56px;
|
||||||
|
text-align: right;
|
||||||
}
|
}
|
||||||
.rank-item > text:last-child text {
|
.rank-item > text:last-child text {
|
||||||
color: #fff4;
|
color: #fff4;
|
||||||
|
|||||||
Reference in New Issue
Block a user