update:新增房间重连逻辑,优化tententen语音,修复mvp斩获环
This commit is contained in:
@@ -85,6 +85,13 @@ const mvpPlayer = computed(() => {
|
||||
return null;
|
||||
});
|
||||
|
||||
const mvpTotalRing = computed(
|
||||
() =>
|
||||
mvpPlayer.value?.playerMatchResult?.totalRing ??
|
||||
mvpPlayer.value?.totalRing ??
|
||||
0
|
||||
);
|
||||
|
||||
/**
|
||||
* MVP 玩家所在队伍编号(1=蓝队,2=红队)
|
||||
* 通过比对 mvpPlayer.id 与 blueTeamPlayers 确定,用于选择背景图(mvp-blue / mvp-red)
|
||||
@@ -424,7 +431,7 @@ function goBack() {
|
||||
<view class="mvp-info">
|
||||
<image class="mvp-badge" src="https://static.shelingxingqiu.com/shootmini/static/mvp-tip.png" mode="widthFix" />
|
||||
<view class="mvp-rings">
|
||||
斩获<text class="mvp-rings-num">{{ mvpPlayer.totalRing }}</text>环
|
||||
斩获<text class="mvp-rings-num">{{ mvpTotalRing }}</text>环
|
||||
</view>
|
||||
</view>
|
||||
<!-- 右:MVP 头像 + 名字,边框颜色跟随 MVP 所在队伍 -->
|
||||
|
||||
Reference in New Issue
Block a user