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