完成新手试炼接口调试

This commit is contained in:
kron
2025-05-30 13:58:43 +08:00
parent 57b25e7805
commit 01a327e40e
9 changed files with 74 additions and 29 deletions

View File

@@ -13,9 +13,7 @@ import PlayersRow from "@/components/PlayersRow.vue";
const step = ref(1);
const seats = new Array(10).fill(1);
const players = new Array(7).fill(1);
const teams = [
{ name: "选手1", avatar: "../static/avatar.png" },
];
const teams = [{ name: "选手1", avatar: "../static/avatar.png" }];
</script>
<template>
@@ -61,7 +59,7 @@ const teams = [
<text :style="{ color: '#fed847' }">请预先射几箭测试</text>
<text>请确保射击距离只有5米</text>
</view>
<BowPower power="45" />
<BowPower :power="45" />
</view>
</Guide>
<BowTarget tips="本次射程5.2米,已达距离要求" />
@@ -70,7 +68,7 @@ const teams = [
<view v-if="step === 3">
<ShootProgress tips="请红队射箭-第一轮" />
<PlayersRow :blueTeam="teams" :redTeam="teams" />
<BowTarget power="45" currentRound="1" totalRound="3" debug />
<BowTarget :power="45" currentRound="1" totalRound="3" debug />
<BattleFooter :blueTeam="[6, 2, 3]" :redTeam="[4, 5, 2]" />
</view>
</view>