代码优化
This commit is contained in:
@@ -132,7 +132,7 @@ const startGame = async () => {
|
||||
<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>
|
||||
</Container>
|
||||
|
||||
@@ -19,7 +19,7 @@ const teams = [
|
||||
<view>
|
||||
<ShootProgress tips="请红队射箭-第一轮" />
|
||||
<PlayersRow :blueTeam="teams" :redTeam="teams" />
|
||||
<BowTarget :power="45" currentRound="1" totalRound="3" debug />
|
||||
<BowTarget :power="45" currentRound="1" :totalRound="3" debug />
|
||||
<PlayerScore
|
||||
name="某某选手"
|
||||
avatar="../static/avatar.png"
|
||||
|
||||
@@ -58,7 +58,11 @@ onUnmounted(() => {
|
||||
<AppBackground :type="1" />
|
||||
<Header title="个人单组练习" />
|
||||
<ShootProgress
|
||||
:tips="`请开始射箭第${roundsName[Math.ceil((scores.length + 1) / 4)]}轮`"
|
||||
:tips="`${
|
||||
scores.length === 12
|
||||
? ''
|
||||
: `请开始射箭第${roundsName[Math.ceil((scores.length + 1) / 4)]}轮`
|
||||
}`"
|
||||
:start="start"
|
||||
:total="120"
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user