🍱 部分缓存

This commit is contained in:
目棃
2025-03-06 09:14:52 +08:00
parent 3cead7eda6
commit 41921a2a6a
4 changed files with 4 additions and 6 deletions

View File

@@ -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>

View File

@@ -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";

View File

@@ -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 };

View File

@@ -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>