修复下拉加载更多
This commit is contained in:
parent
5466a0534a
commit
51e19b3266
|
|
@ -82,7 +82,7 @@
|
|||
</view>
|
||||
</view>
|
||||
|
||||
<scroll-view class="list-scroll" scroll-y @scrolltolower="loadMore">
|
||||
<scroll-view class="list-scroll" >
|
||||
<view class="card" v-for="item in displayList" :key="item.id" @click="goDetail(item)">
|
||||
<view class="card-header">
|
||||
<view class="left">
|
||||
|
|
@ -95,15 +95,15 @@
|
|||
</view>
|
||||
|
||||
<view class="card-body">
|
||||
<text class="remark" v-if="item.createRemark">{{ item.createRemark }}</text>
|
||||
<text class="remark" v-if="item.createRemark">备注:{{ item.createRemark }}</text>
|
||||
<view class="row">
|
||||
<text class="label">创建时间:</text>
|
||||
<text class="value">{{ item.createTime || '—' }}</text>
|
||||
</view>
|
||||
<view class="row">
|
||||
<text class="label">申请人:</text>
|
||||
<text class="value">{{ item.createName || '—' }}</text>
|
||||
</view>
|
||||
<!-- <view class="row">-->
|
||||
<!-- <text class="label">申请人:</text>-->
|
||||
<!-- <text class="value">{{ item.createName || '—' }}</text>-->
|
||||
<!-- </view>-->
|
||||
</view>
|
||||
|
||||
<view class="card-footer">
|
||||
|
|
@ -185,7 +185,7 @@
|
|||
import { ref, computed, onMounted } from 'vue';
|
||||
import { getVerifyList } from '@/api';
|
||||
import { usePagination } from '@/composables';
|
||||
|
||||
import { onReachBottom } from '@dcloudio/uni-app'
|
||||
const bstType = ref('');
|
||||
const filterStatus = ref('');
|
||||
const dateRange = ref([]); // [startDate, endDate] 格式: yyyy-MM-dd
|
||||
|
|
@ -380,6 +380,10 @@ onMounted(() => {
|
|||
}
|
||||
getList(true);
|
||||
});
|
||||
|
||||
onReachBottom(()=>{
|
||||
loadMore();
|
||||
});
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user