update:新增房间重连逻辑,优化tententen语音,修复mvp斩获环

This commit is contained in:
2026-07-16 16:40:32 +08:00
parent 621397e25d
commit f64a6b5c95
13 changed files with 328 additions and 255 deletions
+8 -1
View File
@@ -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 所在队伍 -->