From 43be304d24cff7359600baa796e23d05a4a9c7bc Mon Sep 17 00:00:00 2001 From: BTMuli Date: Tue, 13 Jan 2026 13:01:05 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=B8=20=E5=A4=84=E7=90=86=E6=97=85?= =?UTF-8?q?=E8=A1=8C=E8=80=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/userCombat/tuc-overlay.vue | 27 ++++++++++++++++++----- 1 file changed, 22 insertions(+), 5 deletions(-) diff --git a/src/components/userCombat/tuc-overlay.vue b/src/components/userCombat/tuc-overlay.vue index ebd8da85..ba613414 100644 --- a/src/components/userCombat/tuc-overlay.vue +++ b/src/components/userCombat/tuc-overlay.vue @@ -38,6 +38,22 @@ const raw = computed>(() => { }); function getBoxData(item: TGApp.Plugins.Hutao.Base.Rate): TItemBoxData { + if ([10000005, 10000007].includes(item.Item)) { + return { + bg: `/icon/bg/5-Star.webp`, + clickable: false, + display: "outer", + icon: `/WIKI/character/${item.Item}.webp`, + innerHeight: 20, + innerText: item.Item === 10000005 ? "空" : "荧", + outerText: `${(item.Rate * 100).toFixed(3)}%`, + outerHeight: 25, + lt: `/icon/weapon/单手剑.webp`, + ltSize: "20px", + size: "80px", + height: "100px", + }; + } const avatar = AppCharacterData.find((i) => i.id === item.Item); return { bg: `/icon/bg/${avatar?.star ?? 3}-Star.webp`, @@ -54,8 +70,8 @@ function getBoxData(item: TGApp.Plugins.Hutao.Base.Rate): TItemBoxData { : avatar.element !== "" ? `/icon/element/${avatar.element}元素.webp` : `/icon/weapon/${avatar.weapon}.webp`, - ltSize: "15px", - size: "75px", + ltSize: "20px", + size: "80px", height: "100px", }; } @@ -112,8 +128,9 @@ async function share(): Promise { .tuc-overlay-content { display: grid; width: 100%; - padding-right: 10px; - gap: 10px; - grid-template-columns: repeat(auto-fill, minmax(75px, 1fr)); + padding-right: 8px; + gap: 8px; + grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); + overflow-y: auto; }