This commit is contained in:
2023-09-15 17:14:36 +08:00
parent 0dcf23bfde
commit a626d36591
22 changed files with 383 additions and 206 deletions

View File

@@ -17,7 +17,8 @@ Page({
logsArr : [],
page : { current: 1 },
pageLoding : false,
needSign : false
needSign : false,
examine : ''
},
/**
@@ -40,10 +41,11 @@ Page({
wx.$api.user.account({
page: this.data.page.current
}).then(res => {
let { all_in, balance, frozen, need_sign, logs } = res.data
let { all_in, balance, frozen, need_sign, examine, logs } = res.data
this.setData({
account : { all_in, balance, frozen },
needSign : need_sign,
examine : examine,
logsArr : logs.page.current == 1 ? logs.data : this.data.logsArr.concat(logs.data),
page : logs.page,
pageLoding : !logs.page.has_more