Compare commits

...

2 Commits

3 changed files with 42 additions and 47 deletions

View File

@@ -1,5 +1,5 @@
<template>
<AppLayout title="投递记录" :use-scroll-view="false" :show-bg-image="false">
<AppLayout title="投递记录" :use-scroll-view="false" :show-bg-image="false" @onScrollBottom="getJobList()">
<template #headerleft v-if="isMiniProgram">
<view class="btnback">
<image src="@/static/icon/back.png" @click="navBack"></image>
@@ -45,9 +45,7 @@ onLoad(() => {
getJobList();
});
onReachBottom(() => {
getJobList();
});
function getJobList(type = 'add') {
if (type === 'refresh') {

View File

@@ -1,5 +1,5 @@
<template>
<AppLayout title="投递记录" :use-scroll-view="false" :show-bg-image="false">
<AppLayout title="投递记录" :use-scroll-view="false" :show-bg-image="false" @onScrollBottom="loadMore">
<template #headerleft v-if="isMiniProgram">
<view class="btnback">
<image src="@/static/icon/back.png" @click="navBack"></image>
@@ -65,9 +65,6 @@ function removeNullProperties(obj) {
return obj;
}
onReachBottom(() => {
loadMore();
});
</script>
<style lang="stylus" scoped>

View File

@@ -18,7 +18,7 @@
</view>
</view>
<view class="main">
<scroll-view class="height-100" scroll-y>
<scroll-view class="height-100" scroll-y @scrolltolower="getList('add')">
<view>
<view class="card" v-for="(item, index) in pageState.list" :key="index">
<view
@@ -101,7 +101,7 @@ onLoad(() => {
function chnageRanOption(item) {
ranItem.value = item;
getList();
getList('refresh');
}
function updateCancel(item) {