Merge branch 'feature/【GFRS-2215】重新投保' into dev

# Conflicts:
#	src/router/ebiz/index.js
This commit is contained in:
mengxiaolong
2021-03-02 17:48:59 +08:00
21 changed files with 1472 additions and 1 deletions

View File

@@ -0,0 +1,40 @@
<template>
<van-list v-model="loading" @load="onLoad" :finished="finished" :finished-text="finishText" :immediate-check="immediateCheck">
<slot> </slot>
</van-list>
</template>
<script>
export default {
name: 'ListShowing',
props: {
loadFun: {
type: Function
},
finishText: {
type: String,
default: '没有更多数据了'
},
immediateCheck: {
type: Boolean,
default: true
}
},
data() {
return {
loading: false,
finished: false
}
},
methods: {
async onLoad() {
let res = await this.loadFun()
this.finished = res.finished
this.loading = false
console.log(res)
}
}
}
</script>
<style lang="scss" scoped></style>