积分排行

This commit is contained in:
shijingjing
2023-03-29 16:07:38 +08:00
parent 10b0acdc5f
commit 16a4337d88
5 changed files with 1186 additions and 3 deletions

View File

@@ -40,12 +40,18 @@ export default {
appName: '功德银行',
data() {
return {
list: []
list: [],
current: 1,
}
},
methods: {
getList() {
this.$instance.post('/app/appintegraltask/list?status=1').then(res=> {
this.$instance.post('/app/appintegraltask/list',null,{
params: {
current: this.current,
status: 1
}
}).then(res=> {
if(res?.data) {
this.list = res.data.records
}
@@ -60,6 +66,10 @@ export default {
this.getList()
})
},
onReachBottom() {
this.current++;
this.getList()
},
}
</script>