From a335dff6369e673f8c83c779a7561138f7074091 Mon Sep 17 00:00:00 2001 From: BTMuli Date: Sat, 17 Jun 2023 22:16:02 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20=E4=BC=98=E5=8C=96=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/userCharacter/tuc-role-box.vue | 23 +++++++++++++------ src/components/userRecord/tur-home-sub.vue | 2 +- src/components/userRecord/tur-world-sub.vue | 2 +- src/pages/User/Characters.vue | 2 +- 4 files changed, 19 insertions(+), 10 deletions(-) diff --git a/src/components/userCharacter/tuc-role-box.vue b/src/components/userCharacter/tuc-role-box.vue index abce72a4..6749cbbe 100644 --- a/src/components/userCharacter/tuc-role-box.vue +++ b/src/components/userCharacter/tuc-role-box.vue @@ -42,32 +42,36 @@ const props = defineProps(); const avatarBox = computed(() => { return { size: "80px", - height: "80px", + height: "100px", ltSize: "30px", bg: `/icon/bg/${props.modelValue.star}-Star.webp`, icon: `/WIKI/character/icon/${props.modelValue.cid}.webp`, lt: `/icon/element/${props.modelValue.element}.webp`, rt: props.modelValue.activeConstellation.toString() || "0", rtSize: "20px", - innerText: `${getAvatarName()}`, + innerText: `Lv.${props.modelValue.level}`, innerHeight: 20, - display: "inner", + outerText: getAvatarName(), + outerHeight: 20, + display: "outer", }; }); const weaponBox = computed(() => { const weapon = JSON.parse(props.modelValue.weapon) as TGApp.Sqlite.Character.RoleWeapon; return { size: "80px", - height: "80px", + height: "100px", ltSize: "30px", bg: `/icon/bg/${weapon.star}-Star.webp`, icon: `/WIKI/weapon/icon/${weapon.id}.webp`, lt: `/icon/weapon/${weapon.type}.webp`, rt: weapon.affix.toString() || "0", rtSize: "20px", - innerText: `${weapon.name}`, + innerText: `Lv.${weapon.level}`, innerHeight: 20, - display: "inner", + outerText: weapon.name, + outerHeight: 20, + display: "outer", }; }); const nameCard = ref(false as string | false); @@ -95,10 +99,15 @@ function showOverlay () {