fix: xinchun
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user