diff --git a/src/project/qujing/AppMine/integralInfo.vue b/src/project/qujing/AppMine/integralInfo.vue
index 1bc257b..efe0345 100644
--- a/src/project/qujing/AppMine/integralInfo.vue
+++ b/src/project/qujing/AppMine/integralInfo.vue
@@ -4,7 +4,7 @@
@@ -35,11 +35,13 @@ export default {
},
current: 1,
pages: 2,
- list: []
+ list: [],
+ total: ''
}
},
onLoad() {
this.getList()
+ this.getTotal()
},
methods: {
getList() {
@@ -50,6 +52,13 @@ export default {
this.list = this.current > 1 ? [...this.list, ...res.data.records] : res.data.records
}
})
+ },
+ getTotal() {
+ this.$instance.post(`/app/appwechatuserqujing/queryUserIntegral`).then(res => {
+ if (res.code == 0) {
+ this.total = res.data.integral || 0
+ }
+ })
}
},
onReachBottom() {