From d38454453b60cc4e9561036c7e9d7d55142009fd Mon Sep 17 00:00:00 2001 From: chenlimao Date: Thu, 14 May 2026 18:22:11 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E4=BF=AE=E6=94=B9=E5=88=86?= =?UTF-8?q?=E4=BA=AB=E5=9B=BE=E7=9A=84=E5=90=8E=E7=BC=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/battle-room.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/pages/battle-room.vue b/src/pages/battle-room.vue index 37f0433..1bf2695 100644 --- a/src/pages/battle-room.vue +++ b/src/pages/battle-room.vue @@ -267,17 +267,17 @@ const shareTitle = computed(() => { /** * 根据对战类型和靶纸尺寸动态返回分享封面图路径,共 4 张图: - * contest_share_20.jpg — 约战/对抗赛 + 20cm 靶 - * contest_share_40.jpg — 约战/对抗赛 + 40cm 靶 - * melee_share_20.jpg — 多人乱斗 + 20cm 靶 - * melee_share_40.jpg — 多人乱斗 + 40cm 靶 + * contest_share_20.png — 约战/对抗赛 + 20cm 靶 + * contest_share_40.png — 约战/对抗赛 + 40cm 靶 + * melee_share_20.png — 多人乱斗 + 20cm 靶 + * melee_share_40.png — 多人乱斗 + 40cm 靶 * * 当 targetSize 未知时默认取 20cm 图。 */ const shareImage = computed(() => { const type = room.value.battleType === 2 ? 'melee' : 'contest'; const size = targetSize.value === 40 ? '40' : '20'; - return `https://static.shelingxingqiu.com/shootmini/static/share/${type}_share_${size}.jpg`; + return `https://static.shelingxingqiu.com/shootmini/static/share/${type}_share_${size}.png`; }); onShareAppMessage(() => {