fix bug
This commit is contained in:
@@ -37,7 +37,7 @@ const toPage = (path) => {
|
|||||||
|
|
||||||
const toRankListPage = () => {
|
const toRankListPage = () => {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: "rank-list",
|
url: "/pages/rank-list",
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -126,7 +126,7 @@ const topThreeColors = ["#FFD947", "#D2D2D2", "#FFA515"];
|
|||||||
:key="i"
|
:key="i"
|
||||||
class="player-avatar"
|
class="player-avatar"
|
||||||
:style="{
|
:style="{
|
||||||
zIndex: 6 - i,
|
zIndex: 8 - i,
|
||||||
borderColor: topThreeColors[i - 1] || '#000',
|
borderColor: topThreeColors[i - 1] || '#000',
|
||||||
}"
|
}"
|
||||||
>
|
>
|
||||||
@@ -136,9 +136,9 @@ const topThreeColors = ["#FFD947", "#D2D2D2", "#FFA515"];
|
|||||||
<view v-if="i > 3">{{ i }}</view>
|
<view v-if="i > 3">{{ i }}</view>
|
||||||
<image src="../static/avatar.png" mode="aspectFill" />
|
<image src="../static/avatar.png" mode="aspectFill" />
|
||||||
</view>
|
</view>
|
||||||
<view class="more-players" @click.stop="toRankListPage"
|
<view class="more-players" @click="toRankListPage">
|
||||||
><text>456{{ remoteConnect ? 1 : 0 }}</text></view
|
<text>456{{ remoteConnect ? 1 : 0 }}</text>
|
||||||
>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="region-stats">
|
<view class="region-stats">
|
||||||
@@ -337,7 +337,7 @@ const topThreeColors = ["#FFD947", "#D2D2D2", "#FFA515"];
|
|||||||
font-size: 9px;
|
font-size: 9px;
|
||||||
line-height: 80rpx;
|
line-height: 80rpx;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
z-index: -1;
|
z-index: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.more-players > text {
|
.more-players > text {
|
||||||
|
|||||||
Reference in New Issue
Block a user