Compare commits
2 Commits
e6cb12659d
...
215ec11fe7
| Author | SHA1 | Date | |
|---|---|---|---|
| 215ec11fe7 | |||
| 74f13d26a8 |
@@ -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') {
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user