mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2026-03-19 04:29:45 +08:00
🍱 部分缓存
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
{{ parseTitle(props.modelValue.subtitle) }}
|
||||
</div>
|
||||
<div class="anno-label" :title="`标签:${props.modelValue.tagLabel}`">
|
||||
<TMiImg :src="props.modelValue.tagIcon" alt="tag" :ori="true" />
|
||||
<img :src="props.modelValue.tagIcon" alt="tag" />
|
||||
<span>{{ props.modelValue.tagLabel }}</span>
|
||||
</div>
|
||||
<div class="anno-id">{{ props.modelValue.id }}</div>
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
</div>
|
||||
<div class="tua-abl-skills">
|
||||
<div v-for="skill in skills" :key="skill.skill_id" class="tua-abl-skill">
|
||||
<TMiImg :ori="true" :src="skill.icon" alt="skill" />
|
||||
<img :src="skill.icon" alt="skill" />
|
||||
<span>Lv.{{ skill.level }}</span>
|
||||
</div>
|
||||
</div>
|
||||
@@ -46,7 +46,6 @@
|
||||
</template>
|
||||
<script lang="ts" setup>
|
||||
import TItemBox, { type TItemBoxData } from "@comp/app/t-itemBox.vue";
|
||||
import TMiImg from "@comp/app/t-mi-img.vue";
|
||||
import TSUserAvatar from "@Sqlite/modules/userAvatar.js";
|
||||
import { computed } from "vue";
|
||||
|
||||
|
||||
@@ -14,13 +14,11 @@
|
||||
v-if="props.modelValue === false"
|
||||
class="empty"
|
||||
/>
|
||||
<TMiImg :ori="true" :src="props.modelValue.icon" :alt="props.modelValue.name" v-else />
|
||||
<img :src="props.modelValue.icon" :alt="props.modelValue.name" v-else />
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<script lang="ts" setup>
|
||||
import TMiImg from "@comp/app/t-mi-img.vue";
|
||||
|
||||
import { useUserStore } from "@/store/modules/user.js";
|
||||
|
||||
type TuaRelicBoxProps = { modelValue: TGApp.Game.Avatar.Relic | false; position: number };
|
||||
|
||||
@@ -85,5 +85,6 @@ async function download(): Promise<void> {
|
||||
box-shadow: -1px 1px 3px var(--common-shadow-2);
|
||||
font-family: var(--font-title);
|
||||
font-size: 12px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user