mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-15 09:48:14 +08:00
💄 修复路径渲染异常
This commit is contained in:
@@ -17,11 +17,16 @@
|
|||||||
:text="data.avatarFetter"
|
:text="data.avatarFetter"
|
||||||
icon="/icon/material/105.webp"
|
icon="/icon/material/105.webp"
|
||||||
/>
|
/>
|
||||||
<TurOverviewSub
|
<TurOverviewSub title="成就达成数" :text="data.achievementNumber" icon="icon">
|
||||||
title="成就达成数"
|
<template #icon>
|
||||||
:text="data.achievementNumber"
|
<img
|
||||||
icon="/src/assets/icons/achievements.svg"
|
src="../../assets/icons/achievements.svg"
|
||||||
/>
|
alt="achievement-icon"
|
||||||
|
width="25px"
|
||||||
|
height="25px"
|
||||||
|
/>
|
||||||
|
</template>
|
||||||
|
</TurOverviewSub>
|
||||||
<TurOverviewSub title="解锁传送点" :text="data.wayPoints" icon="/icon/material/220005.webp" />
|
<TurOverviewSub title="解锁传送点" :text="data.wayPoints" icon="/icon/material/220005.webp" />
|
||||||
<TurOverviewSub title="解锁秘境" :text="data.domainNumber" />
|
<TurOverviewSub title="解锁秘境" :text="data.domainNumber" />
|
||||||
<TurOverviewSub title="火神瞳" :text="data.pyroCulus" icon="/icon/material/107028.webp" />
|
<TurOverviewSub title="火神瞳" :text="data.pyroCulus" icon="/icon/material/107028.webp" />
|
||||||
|
|||||||
@@ -6,8 +6,10 @@
|
|||||||
</slot>
|
</slot>
|
||||||
</div>
|
</div>
|
||||||
<div class="tur-os-text">
|
<div class="tur-os-text">
|
||||||
<div v-if="props.icon" class="tur-os-icon">
|
<div v-if="props.icon !== undefined" class="tur-os-icon">
|
||||||
<img :src="props.icon" alt="icon" />
|
<slot name="icon">
|
||||||
|
<img :src="props.icon" alt="icon" />
|
||||||
|
</slot>
|
||||||
</div>
|
</div>
|
||||||
<slot name="val-text">
|
<slot name="val-text">
|
||||||
{{ props.text }}
|
{{ props.text }}
|
||||||
@@ -19,7 +21,7 @@
|
|||||||
interface TAOProps {
|
interface TAOProps {
|
||||||
title: string;
|
title: string;
|
||||||
text: string | number | undefined;
|
text: string | number | undefined;
|
||||||
icon?: string;
|
icon?: string | undefined;
|
||||||
}
|
}
|
||||||
|
|
||||||
const props = defineProps<TAOProps>();
|
const props = defineProps<TAOProps>();
|
||||||
|
|||||||
Reference in New Issue
Block a user