From 1d086c83d491d661d30cc2fe37ccb00b555d9687 Mon Sep 17 00:00:00 2001 From: kron Date: Mon, 3 Nov 2025 10:49:13 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=86=E8=8A=82=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/BowTargetEdit.vue | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/components/BowTargetEdit.vue b/src/components/BowTargetEdit.vue index b546082..7e4d881 100644 --- a/src/components/BowTargetEdit.vue +++ b/src/components/BowTargetEdit.vue @@ -135,13 +135,16 @@ const endDrag = (e) => { const getNewPos = () => { if (props.id === 7 || props.id === 9) { if (arrow.value.y > 1.4) - return { left: "-10px", bottom: "calc(50% - 10px)" }; + return { left: "-12px", bottom: "calc(50% - 12px)" }; } else { if (arrow.value.y > 0.88) { - return { left: "-10px", bottom: "calc(50% - 10px)" }; + if (arrow.value.x < 0.05) { + return { left: "calc(100% - 12px)", bottom: "calc(100% - 12px)" }; + } + return { left: "-12px", bottom: "calc(50% - 12px)" }; } } - return { left: "calc(50% - 10px)", bottom: "-10px" }; + return { left: "calc(50% - 12px)", bottom: "-12px" }; }; onMounted(async () => {