flat:修改
This commit is contained in:
@@ -1,5 +1,11 @@
|
||||
<template>
|
||||
<AppLayout title="投递记录" :use-scroll-view="true" :show-bg-image="false" @onScrollBottom="getJobList()">
|
||||
<AppLayout
|
||||
title="投递记录"
|
||||
:use-scroll-view="true"
|
||||
mainback-ground-color="#f4f4f4"
|
||||
:show-bg-image="false"
|
||||
@onScrollBottom="getJobList()"
|
||||
>
|
||||
<template #headerleft v-if="isMiniProgram">
|
||||
<view class="btnback">
|
||||
<image src="@/static/icon/back.png" @click="navBack"></image>
|
||||
@@ -12,7 +18,7 @@
|
||||
:list="pageState.list"
|
||||
:longitude="longitudeVal"
|
||||
:latitude="latitudeVal"
|
||||
></renderDeliveryRecord>
|
||||
></renderDeliveryRecord>
|
||||
<empty v-else :is-position="true"></empty>
|
||||
</view>
|
||||
</AppLayout>
|
||||
@@ -45,8 +51,6 @@ onLoad(() => {
|
||||
getJobList();
|
||||
});
|
||||
|
||||
|
||||
|
||||
function getJobList(type = 'add') {
|
||||
if (type === 'refresh') {
|
||||
pageState.page = 1;
|
||||
|
||||
@@ -23,6 +23,7 @@ import useLocationStore from '@/stores/useLocationStore';
|
||||
import { usePagination } from '@/hook/usePagination';
|
||||
import { jobMoreMap } from '@/utils/markdownParser';
|
||||
const { longitudeVal, latitudeVal } = storeToRefs(useLocationStore());
|
||||
const { isMiniProgram } = storeToRefs(useUserStore());
|
||||
const loadmoreRef = ref(null);
|
||||
|
||||
// 响应式搜索条件(可以被修改)
|
||||
@@ -64,7 +65,6 @@ function removeNullProperties(obj) {
|
||||
}
|
||||
return obj;
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
<style lang="stylus" scoped>
|
||||
|
||||
Reference in New Issue
Block a user