mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2026-03-29 06:09:45 +08:00
🚸 部分资源缓存
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
<template>
|
||||
<div class="tur-hs-box">
|
||||
<div class="bg">
|
||||
<TMiImg :src="data.bg" alt="bg" :ori="true" />
|
||||
<img :src="data.bg" alt="bg" />
|
||||
</div>
|
||||
<div class="tur-hs-top">
|
||||
<div class="tur-hs-title">
|
||||
<TMiImg :src="data.comfortIcon" alt="icon" :ori="true" />
|
||||
<img :src="data.comfortIcon" alt="icon" />
|
||||
<span>{{ data.comfortName }}</span>
|
||||
</div>
|
||||
<div class="tur-hs-name">{{ data.name }}</div>
|
||||
@@ -31,8 +31,6 @@
|
||||
</div>
|
||||
</template>
|
||||
<script lang="ts" setup>
|
||||
import TMiImg from "@comp/app/t-mi-img.vue";
|
||||
|
||||
defineProps<{ data: TGApp.Sqlite.Record.Home }>();
|
||||
</script>
|
||||
<style lang="css" scoped>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div class="tur-ri-box">
|
||||
<div class="tur-ri-avatar">
|
||||
<TMiImg :ori="true" :src="props.modelValue.avatar" alt="avatar" />
|
||||
<img :src="props.modelValue.avatar" alt="avatar" />
|
||||
</div>
|
||||
<div class="tur-ri-content">
|
||||
<div class="tur-ri-title">
|
||||
@@ -16,8 +16,6 @@
|
||||
</div>
|
||||
</template>
|
||||
<script lang="ts" setup>
|
||||
import TMiImg from "@comp/app/t-mi-img.vue";
|
||||
|
||||
type TurRoleInfoProps = { uid: number; modelValue: TGApp.Sqlite.Record.Role };
|
||||
|
||||
const props = defineProps<TurRoleInfoProps>();
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
<template>
|
||||
<div class="tur-ws-box">
|
||||
<div class="tur-ws-bg">
|
||||
<TMiImg :ori="true" :src="data.bg" alt="bg" />
|
||||
<img :src="data.bg" alt="bg" />
|
||||
</div>
|
||||
<div class="tur-ws-icon">
|
||||
<TMiImg :ori="true" :src="icon" alt="icon" />
|
||||
<img :src="icon" alt="icon" />
|
||||
</div>
|
||||
<div class="tur-ws-content">
|
||||
<div class="tur-ws-title">
|
||||
<span>{{ data.name }}</span>
|
||||
<span v-if="data.offering" class="tur-ws-sub">
|
||||
<TMiImg :src="data.offering.icon" alt="offer" :ori="true" />
|
||||
<img :src="data.offering.icon" alt="offer" />
|
||||
<span>{{ data.offering.name }}等级:</span>
|
||||
<span>{{ data.offering.level }}</span>
|
||||
<span>级</span>
|
||||
@@ -42,7 +42,6 @@
|
||||
</div>
|
||||
</template>
|
||||
<script lang="ts" setup>
|
||||
import TMiImg from "@comp/app/t-mi-img.vue";
|
||||
import { storeToRefs } from "pinia";
|
||||
import { computed } from "vue";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user