From 16f8048b5508e343b06346b841673235148b199f Mon Sep 17 00:00:00 2001 From: kron Date: Tue, 15 Jul 2025 17:10:56 +0800 Subject: [PATCH] =?UTF-8?q?UI=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/BowTarget.vue | 18 +++++++++++++++++- src/pages/battle-room.vue | 1 + src/pages/index.vue | 7 ++++--- 3 files changed, 22 insertions(+), 4 deletions(-) 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%;