diff --git a/public/WIKI/character/icon/10000005.webp b/public/WIKI/character/icon/10000005.webp new file mode 100644 index 00000000..ca85dc97 Binary files /dev/null and b/public/WIKI/character/icon/10000005.webp differ diff --git a/public/WIKI/character/icon/10000007.webp b/public/WIKI/character/icon/10000007.webp new file mode 100644 index 00000000..bbae1e29 Binary files /dev/null and b/public/WIKI/character/icon/10000007.webp differ diff --git a/src/components/itembox/tib-ur-avatar.vue b/src/components/itembox/tib-ur-avatar.vue index 91f5fcb6..6071668f 100644 --- a/src/components/itembox/tib-ur-avatar.vue +++ b/src/components/itembox/tib-ur-avatar.vue @@ -12,6 +12,15 @@ interface TibUrAvatarProps { const props = defineProps(); const box = ref({} as TItemBoxData); +const getName = () => { + return ( + props.modelValue.id === 10000005 + ? "旅行者-空" + : props.modelValue.id === 10000007 + ? "旅行者-荧" + : props.modelValue.name + ); +}; onMounted(async () => { box.value = { @@ -23,7 +32,7 @@ onMounted(async () => { lt: `/icon/element/${props.modelValue.element}元素.webp`, rt: props.modelValue.constellation.toString() || "0", rtSize: "20px", - innerText: `${props.modelValue.name}`, + innerText: `${getName()}`, innerHeight: 20, display: "inner", };