fix: xinchun

This commit is contained in:
zzc
2026-03-13 02:26:22 +08:00
parent ff8d9836d5
commit d28b083630
21 changed files with 109 additions and 93 deletions

View File

@@ -30,7 +30,11 @@
class="grid-item"
@tap="onPreview(item)"
>
<image :src="item.imageUrl" mode="aspectFill" class="wallpaper-img" />
<image
:src="getThumbUrl(item.imageUrl)"
mode="aspectFill"
class="wallpaper-img"
/>
<view class="date-badge">
<text>{{ formatDate(item.createdAt) }}</text>
</view>
@@ -81,6 +85,10 @@ onReachBottom(() => {
loadMore();
});
const getThumbUrl = (url) => {
return `${url}?imageView2/1/w/340/h/600/q/80`;
};
const fetchList = async (reset = false) => {
if (loading.value) return;
if (reset) {