bug修复
This commit is contained in:
@@ -291,6 +291,7 @@ const simulShoot2 = async () => {
|
|||||||
.hit > text {
|
.hit > text {
|
||||||
transform: scaleX(0.7);
|
transform: scaleX(0.7);
|
||||||
display: block;
|
display: block;
|
||||||
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
.header {
|
.header {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|||||||
@@ -77,6 +77,7 @@ onLoad(async (options) => {
|
|||||||
if (battleInfo) {
|
if (battleInfo) {
|
||||||
battleId.value = battleInfo.id;
|
battleId.value = battleInfo.id;
|
||||||
start.value = true;
|
start.value = true;
|
||||||
|
step.value = 3;
|
||||||
if (battleInfo.config.mode === 1) {
|
if (battleInfo.config.mode === 1) {
|
||||||
redTeam.value = battleInfo.redTeam;
|
redTeam.value = battleInfo.redTeam;
|
||||||
blueTeam.value = battleInfo.blueTeam;
|
blueTeam.value = battleInfo.blueTeam;
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ const toPage = (path) => {
|
|||||||
icon: "none",
|
icon: "none",
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
if (!user.value.trio) {
|
if ("/pages/first-try".indexOf(path) === -1 && !user.value.trio) {
|
||||||
return uni.showToast({
|
return uni.showToast({
|
||||||
title: "请先完成新手试炼",
|
title: "请先完成新手试炼",
|
||||||
icon: "none",
|
icon: "none",
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ function createWebSocket(token, onMessage) {
|
|||||||
// 约战
|
// 约战
|
||||||
if (battleInfo.config.battleMode === 1) {
|
if (battleInfo.config.battleMode === 1) {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: `/pages/team-match?battleId=${battleInfo.id}`,
|
url: `/pages/battle-room?battleId=${battleInfo.id}`,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
// 排位
|
// 排位
|
||||||
|
|||||||
Reference in New Issue
Block a user