diff --git a/src/components/BowTarget.vue b/src/components/BowTarget.vue index 36da446..3f6abd5 100644 --- a/src/components/BowTarget.vue +++ b/src/components/BowTarget.vue @@ -49,6 +49,10 @@ const props = defineProps({ type: String, default: "solo", // solo 单排,team 双排 }, + stop: { + type: Boolean, + default: false, + }, }); const showRoundTips = ref(false); @@ -127,6 +131,7 @@ const simulShoot2 = async () => { + 中场休息 { top: calcRealY(bow.y), backgroundColor: 'blue', }" - >{{ index + 1 }} + {{ index + 1 }} + @@ -332,4 +338,14 @@ const simulShoot2 = async () => { .simul > button { color: #fff; } +.stop-sign { + position: absolute; + font-size: 40px; + color: #fff; + text-align: center; + width: 200px; + height: 60px; + left: calc(50% - 100px); + top: calc(50% - 30px); +} diff --git a/src/pages/battle-room.vue b/src/pages/battle-room.vue index a110ea3..682435a 100644 --- a/src/pages/battle-room.vue +++ b/src/pages/battle-room.vue @@ -557,6 +557,7 @@ onUnmounted(() => { :totalRound="totalRounds" :scores="scores" :blueScores="blueScores" + :stop="halfTimeTip && !startCount" /> { @@ -268,7 +268,7 @@ const comingSoon = () => { .bow-card > text { position: absolute; - top: 67%; + top: 65%; left: 50%; transform: translate(-50%, -50%); white-space: nowrap; @@ -281,7 +281,7 @@ const comingSoon = () => { } .bow-card > image:nth-child(3) { - transform: translateY(11px); + transform: translateY(-1px); } .practice-card { @@ -367,6 +367,7 @@ const comingSoon = () => { line-height: 18px; width: 18px; height: 18px; + color: #fff; } .player-avatar > image:last-child { width: 100%;