房间比赛流程同步

This commit is contained in:
kron
2025-06-26 22:54:17 +08:00
parent ad7f919d52
commit c730088764
6 changed files with 80 additions and 40 deletions

View File

@@ -151,15 +151,17 @@ onUnmounted(() => {
:totalRound="start ? 12 : 0"
:scores="scores"
/>
<PlayerScore
v-if="start"
v-for="(player, index) in players"
:key="index"
:name="player.name"
:avatar="player.avatar"
:scores="playersScores[player.id]"
:done="playersScores[player.id].length === 12"
/>
<view :style="{ paddingBottom: '20px' }">
<PlayerScore
v-if="start"
v-for="(player, index) in players"
:key="index"
:name="player.name"
:avatar="player.avatar"
:scores="playersScores[player.id]"
:done="playersScores[player.id].length === 12"
/>
</view>
<Timer :seq="timerSeq" :callBack="readyToGo" />
<ScreenHint
:show="halfTimeTip"