UI细节调整

This commit is contained in:
kron
2025-06-28 12:03:33 +08:00
parent 9f29a92d3d
commit 72f3013795
12 changed files with 62 additions and 45 deletions

View File

@@ -74,7 +74,7 @@ const toRankListPage = () => {
<view class="my-data">
<view>
<text>段位</text>
<text :style="{ color: '#83CDFF' }">砖石 III</text>
<text :style="{ color: '#83CDFF' }">{{ user.lvlName }}</text>
</view>
<view>
<text>赛季平均环数</text>
@@ -82,7 +82,7 @@ const toRankListPage = () => {
</view>
<view>
<text>赛季胜率</text>
<text :style="{ color: '#FF507E' }">52%</text>
<text :style="{ color: '#FF507E' }">{{ user.avg_win }}%</text>
</view>
</view>
<view class="rank-type">
@@ -177,7 +177,7 @@ const toRankListPage = () => {
:style="{ borderColor: index < 3 ? topThreeColors[index] : '' }"
/>
<view>
<text>{{ rankData.rank[index].name }}</text>
<text class="truncate">{{ rankData.rank[index].name }}</text>
<text>钻石三级20场</text>
</view>
<text>{{ rankData.rank[index].totalScore }}<text>分</text></text>
@@ -218,7 +218,9 @@ const toRankListPage = () => {
:style="{ borderColor: index < 3 ? topThreeColors[index] : '' }"
/>
<view>
<text>{{ rankData.ringRank[index].name }}</text>
<text class="truncate">{{
rankData.ringRank[index].name
}}</text>
<text>钻石三级20场</text>
</view>
<text
@@ -431,6 +433,7 @@ const toRankListPage = () => {
.rank-item > view:nth-child(3) > text:first-child {
color: #fff9;
font-size: 14px;
width: 120px;
}
.rank-item > view:nth-child(3) > text:last-child {
color: #fff4;