bug修复

This commit is contained in:
kron
2025-07-14 17:57:52 +08:00
parent 485ab9b36c
commit 926b8dea69
4 changed files with 4 additions and 2 deletions

View File

@@ -291,6 +291,7 @@ const simulShoot2 = async () => {
.hit > text {
transform: scaleX(0.7);
display: block;
font-weight: bold;
}
.header {
width: 100%;

View File

@@ -77,6 +77,7 @@ onLoad(async (options) => {
if (battleInfo) {
battleId.value = battleInfo.id;
start.value = true;
step.value = 3;
if (battleInfo.config.mode === 1) {
redTeam.value = battleInfo.redTeam;
blueTeam.value = battleInfo.blueTeam;

View File

@@ -39,7 +39,7 @@ const toPage = (path) => {
icon: "none",
});
}
if (!user.value.trio) {
if ("/pages/first-try".indexOf(path) === -1 && !user.value.trio) {
return uni.showToast({
title: "请先完成新手试炼",
icon: "none",

View File

@@ -42,7 +42,7 @@ function createWebSocket(token, onMessage) {
// 约战
if (battleInfo.config.battleMode === 1) {
uni.navigateTo({
url: `/pages/team-match?battleId=${battleInfo.id}`,
url: `/pages/battle-room?battleId=${battleInfo.id}`,
});
}
// 排位