From f3fab17687f0e41879a4de3126a59ad9173f8db0 Mon Sep 17 00:00:00 2001 From: zhangyibo95 <690096405@qq.com> Date: Thu, 29 Oct 2026 14:54:00 +0800 Subject: [PATCH 1/2] =?UTF-8?q?update=EF=BC=9A=E8=BF=87=E6=BB=A4=E5=9B=BE?= =?UTF-8?q?=E7=89=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- project.config.json | 8 ++++++++ src/manifest.json | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/project.config.json b/project.config.json index b9375da..66413fb 100644 --- a/project.config.json +++ b/project.config.json @@ -243,6 +243,14 @@ { "type": "folder", "value": "static/training-difficulty-design" + }, + { + "type": "folder", + "value": "static/coin" + }, + { + "type": "folder", + "value": "static/home-device" } ], "include": [] diff --git a/src/manifest.json b/src/manifest.json index 16a0bbe..20955d1 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -294,6 +294,14 @@ { "type" : "folder", "value" : "static/training-difficulty-design" + }, + { + "type" : "folder", + "value" : "static/coin" + }, + { + "type" : "folder", + "value" : "static/home-device" } ] }, From 419cefd00e86c2dc862e4db079d39c428092f733 Mon Sep 17 00:00:00 2001 From: zhangyibo95 <690096405@qq.com> Date: Wed, 4 Nov 2026 16:06:34 +0800 Subject: [PATCH 2/2] =?UTF-8?q?update=EF=BC=9A=E4=BC=98=E5=8C=96=E7=B2=BE?= =?UTF-8?q?=E5=87=86=E8=AE=AD=E7=BB=83=E6=8F=8F=E8=BE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/TargetCanvas.vue | 4 +++- src/pages/training/components/BowTarget.vue | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/TargetCanvas.vue b/src/components/TargetCanvas.vue index 7026814..5d4e6e0 100644 --- a/src/components/TargetCanvas.vue +++ b/src/components/TargetCanvas.vue @@ -164,6 +164,8 @@ const defaultHighlightStyle = { color: "rgba(255, 228, 0, 0.6)", strokeColor: "rgba(254, 216, 71, 0.82)", lineWidthRatio: 0.003, + // 在最小线宽计算后应用倍数,确保不同靶面尺寸下按比例加粗。 + lineWidthScale: 1, }; // 合并默认靶纸样式和外部传入样式,ringColors 单独深合并。 @@ -319,7 +321,7 @@ const drawSectorHighlight = ( (angles.endAngle - angles.startAngle) * safeRevealProgress, style.color, style.strokeColor, - Math.max(1, targetRadius * style.lineWidthRatio) + Math.max(1, targetRadius * style.lineWidthRatio) * style.lineWidthScale ); }); }; diff --git a/src/pages/training/components/BowTarget.vue b/src/pages/training/components/BowTarget.vue index ee3338c..5c507c3 100644 --- a/src/pages/training/components/BowTarget.vue +++ b/src/pages/training/components/BowTarget.vue @@ -546,6 +546,7 @@ onBeforeUnmount(() => { :showCrosshair="false" :showRingLabels="false" :highlightOnly="true" + :highlightStyle="{ strokeColor: '#00fffc', lineWidthScale: 3 }" :sectorCount="sectorCount" :activeSector="activeSector" :activeRings="activeRings"