From 22a9fe56c077b395e2e14856c3220ceedc195bde Mon Sep 17 00:00:00 2001 From: kron Date: Wed, 20 Aug 2025 13:53:14 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=87=E5=AD=97=E6=A0=B7=E5=BC=8F=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/HeaderProgress.vue | 5 ++--- src/components/ShootProgress.vue | 4 ++-- src/components/TestDistance.vue | 4 ++-- src/pages/battle-result.vue | 1 + src/pages/rank-list.vue | 3 ++- 5 files changed, 9 insertions(+), 8 deletions(-) diff --git a/src/components/HeaderProgress.vue b/src/components/HeaderProgress.vue index 44d0243..6269fab 100644 --- a/src/components/HeaderProgress.vue +++ b/src/components/HeaderProgress.vue @@ -22,8 +22,8 @@ watch( () => tips.value, (newVal) => { let key = ""; - if (newVal.includes("红队")) key = "请红方射击"; - if (newVal.includes("蓝队")) key = "请蓝方射击"; + if (newVal.includes("红队")) key = "请红方射箭"; + if (newVal.includes("蓝队")) key = "请蓝方射箭"; if (key && sound.value) { if (currentRoundEnded.value) { currentRoundEnded.value = false; @@ -56,7 +56,6 @@ async function onReceiveMessage(messages = []) { currentSound.value = msg.target.ring ? `${msg.target.ring}环` : "未上靶"; - console.log(currentSound.value); audioManager.play(currentSound.value); } } else if (msg.constructor === MESSAGETYPES.AllReady) { diff --git a/src/components/ShootProgress.vue b/src/components/ShootProgress.vue index b7c8845..d8ae719 100644 --- a/src/components/ShootProgress.vue +++ b/src/components/ShootProgress.vue @@ -51,8 +51,8 @@ watch( () => props.tips, (newVal) => { let key = ""; - if (newVal.includes("红队")) key = "请红方射击"; - if (newVal.includes("蓝队")) key = "请蓝方射击"; + if (newVal.includes("红队")) key = "请红方射箭"; + if (newVal.includes("蓝队")) key = "请蓝方射箭"; if (key && sound.value) { if (currentRoundEnded.value) { currentRound.value += 1; diff --git a/src/components/TestDistance.vue b/src/components/TestDistance.vue index 62f89e0..ae1f8f9 100644 --- a/src/components/TestDistance.vue +++ b/src/components/TestDistance.vue @@ -63,7 +63,7 @@ onUnmounted(() => { > 请预先射几箭测试 - 请确保射击距离有5米 + 请确保射箭距离有5米 @@ -83,7 +83,7 @@ onUnmounted(() => { 请调整站位 - 大人,请射箭 + 请射箭测试站距 diff --git a/src/pages/battle-result.vue b/src/pages/battle-result.vue index c066fa9..dbe6c8b 100644 --- a/src/pages/battle-result.vue +++ b/src/pages/battle-result.vue @@ -442,6 +442,7 @@ const checkBowData = () => { .player-crown { position: relative; width: 27px; + height: 27px; margin: 0 15px; } .view-crown { diff --git a/src/pages/rank-list.vue b/src/pages/rank-list.vue index 3e1e769..dcfca60 100644 --- a/src/pages/rank-list.vue +++ b/src/pages/rank-list.vue @@ -45,7 +45,7 @@ const onScrollView = (e) => { addBg.value = e.detail.scrollTop > 100; }; -const subTitles = ["排位赛积分", "本周MVP次数", "本周十环次数"]; +const subTitles = ["排位赛积分", "MVP次数", "十环次数"];