细节完善

This commit is contained in:
kron
2025-06-17 21:34:41 +08:00
parent ab8aa08a35
commit 78504f501d
12 changed files with 54 additions and 28 deletions

View File

@@ -93,6 +93,9 @@ async function onReceiveMessage(content) {
}
playersScores.value[msg.userId].push(msg.target);
}
if (msg.constructor === MESSAGETYPES.HalfTimeOver) {
tips.value = "上半场结束,休息一下吧:) 20秒后进入下半场";
}
if (msg.constructor === MESSAGETYPES.MatchOver) {
uni.redirectTo({
url: `/pages/battle-result?battleId=${msg.id}`,