mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2026-03-20 04:39:45 +08:00
🚸 调整部分图片缓存策略
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
class="toc-list-item"
|
||||
@click="toChannel(item)"
|
||||
>
|
||||
<TMiImg :ori="true" :src="item.icon" alt="icon" />
|
||||
<img :src="item.icon" alt="icon" />
|
||||
<span class="toc-list-title">{{ item.title }}</span>
|
||||
<span class="toc-list-id">GID:{{ item.gid }}</span>
|
||||
</div>
|
||||
@@ -19,7 +19,6 @@
|
||||
</TOverlay>
|
||||
</template>
|
||||
<script lang="ts" setup>
|
||||
import TMiImg from "@comp/app/t-mi-img.vue";
|
||||
import TOverlay from "@comp/app/t-overlay.vue";
|
||||
import showSnackbar from "@comp/func/snackbar.js";
|
||||
import bbsEnum from "@enum/bbs.js";
|
||||
|
||||
@@ -15,10 +15,9 @@
|
||||
>
|
||||
<template #selection="{ item }">
|
||||
<div class="select-item main">
|
||||
<TMiImg
|
||||
<img
|
||||
v-if="item.icon"
|
||||
:alt="item.title"
|
||||
:ori="true"
|
||||
:src="item.icon"
|
||||
:title="item.title"
|
||||
class="icon"
|
||||
@@ -32,7 +31,7 @@
|
||||
class="select-item sub"
|
||||
v-bind="props"
|
||||
>
|
||||
<TMiImg
|
||||
<img
|
||||
v-if="item.icon"
|
||||
:alt="item.title"
|
||||
:src="item.icon"
|
||||
@@ -69,7 +68,6 @@
|
||||
</template>
|
||||
<script lang="ts" setup>
|
||||
import TGameNav from "@comp/app/t-gameNav.vue";
|
||||
import TMiImg from "@comp/app/t-mi-img.vue";
|
||||
import showLoading from "@comp/func/loading.js";
|
||||
import showSnackbar from "@comp/func/snackbar.js";
|
||||
import PhCompCalendar from "@comp/pageHome/ph-comp-calendar.vue";
|
||||
|
||||
@@ -20,10 +20,9 @@
|
||||
>
|
||||
<template #selection="{ item }">
|
||||
<div class="select-item main">
|
||||
<TMiImg
|
||||
<img
|
||||
v-if="item.icon"
|
||||
:alt="item.text"
|
||||
:ori="true"
|
||||
:src="item.icon"
|
||||
:title="item.text"
|
||||
class="icon"
|
||||
@@ -33,7 +32,7 @@
|
||||
</template>
|
||||
<template #item="{ props, item }">
|
||||
<div :class="{ selected: item.gid === curGid }" class="select-item sub" v-bind="props">
|
||||
<TMiImg v-if="item.icon" :alt="item.text" :ori="true" :src="item.icon" class="icon" />
|
||||
<img v-if="item.icon" :alt="item.text" :src="item.icon" class="icon" />
|
||||
<span>{{ item.text }}</span>
|
||||
</div>
|
||||
</template>
|
||||
@@ -49,7 +48,7 @@
|
||||
>
|
||||
<template #selection="{ item }">
|
||||
<div class="select-item main">
|
||||
<TMiImg :alt="item.text" :ori="true" :src="item.icon" :title="item.text" class="icon" />
|
||||
<img :alt="item.text" :src="item.icon" :title="item.text" class="icon" />
|
||||
<span>{{ item.text }}</span>
|
||||
</div>
|
||||
</template>
|
||||
@@ -60,7 +59,7 @@
|
||||
v-bind="props"
|
||||
@click="() => (selectedForum = item)"
|
||||
>
|
||||
<TMiImg :alt="item.text" :ori="true" :src="item.icon" class="icon" />
|
||||
<img :alt="item.text" :src="item.icon" class="icon" />
|
||||
<span>{{ item.text }}</span>
|
||||
</div>
|
||||
</template>
|
||||
@@ -111,7 +110,6 @@
|
||||
</template>
|
||||
<script lang="ts" setup>
|
||||
import TGameNav from "@comp/app/t-gameNav.vue";
|
||||
import TMiImg from "@comp/app/t-mi-img.vue";
|
||||
import TPostCard from "@comp/app/t-postcard.vue";
|
||||
import showLoading from "@comp/func/loading.js";
|
||||
import showSnackbar from "@comp/func/snackbar.js";
|
||||
|
||||
Reference in New Issue
Block a user