fix: loadmore
This commit is contained in:
@@ -187,7 +187,7 @@
|
|||||||
@tap="applyTemplate(tpl)"
|
@tap="applyTemplate(tpl)"
|
||||||
>
|
>
|
||||||
<image
|
<image
|
||||||
:src="tpl.imageUrl"
|
:src="getThumbUrl(tpl.imageUrl)"
|
||||||
class="tpl-cover"
|
class="tpl-cover"
|
||||||
mode="aspectFill"
|
mode="aspectFill"
|
||||||
/>
|
/>
|
||||||
@@ -920,6 +920,10 @@ const loadMoreTitles = () => {
|
|||||||
getTemplateTitleList(true);
|
getTemplateTitleList(true);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
const getThumbUrl = (url) => {
|
||||||
|
return `${url}?imageView2/1/w/340/h/600/q/80`;
|
||||||
|
};
|
||||||
|
|
||||||
const getTemplateContentList = async (isLoadMore = false) => {
|
const getTemplateContentList = async (isLoadMore = false) => {
|
||||||
if (loadingBlessings.value || (!hasMoreBlessings.value && isLoadMore)) return;
|
if (loadingBlessings.value || (!hasMoreBlessings.value && isLoadMore)) return;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user