This commit is contained in:
2025-05-13 10:45:51 +08:00
parent ce0587d2b6
commit ddfd747704
12 changed files with 208 additions and 18 deletions

View File

@@ -104,7 +104,9 @@ onMounted(() => {
<scroll-view
@refresherpulling="initFetchData()"
@scrolltolower="pagination.page++"
@scrolltolower="() => {
console.log('触发')
}"
class="h-[calc(100vh-200rpx)]"
scroll-y>
<view class="relative overflow-hidden bg-b-r !pb-[34rpx]">
@@ -160,7 +162,7 @@ onMounted(() => {
<view class="!flex flex-col gap-[20rpx] !mt-[20rpx] !px-[20rpx]">
<task-item v-for="i in vo.rows" :key="i.id" :data="i"></task-item>
<tui-loadmore v-if="loading" text="加载中..."></tui-loadmore>
<tui-loadmore v-if="loading" text="加载中..." :index="2"></tui-loadmore>
</view>
</scroll-view>
</template>