diff --git a/api/pay/wallet.js b/api/pay/wallet.js index e9622790..33791bc3 100644 --- a/api/pay/wallet.js +++ b/api/pay/wallet.js @@ -4,3 +4,8 @@ import request from "@/utils/request.js"; export function getPayWallet() { return request.get("app-api/pay/wallet/get"); } + +// 获得钱包流水分页 +export function getWalletTransactionPage(data) { + return request.get("app-api/pay/wallet-transaction/page", data); +} diff --git a/pages/users/user_bill/index.vue b/pages/users/user_bill/index.vue index 6d25eae9..0e3cf7d8 100644 --- a/pages/users/user_bill/index.vue +++ b/pages/users/user_bill/index.vue @@ -2,61 +2,47 @@ - 全部 - 消费 - 充值 + 全部 + 收入 + 支出 - + - {{item.date}} - + - {{vo.title}} - {{vo.add_time}} + {{ item.title }} + {{ formatDate(item.createTime) }} - +{{vo.number}} - -{{vo.number}} + +{{ fen2yuan(item.price) }} + {{ fen2yuan(item.price) }} - - {{loadTitle}} + + {{loadTitle}} - + - - - - \ No newline at end of file + diff --git a/pages/users/user_sgin_list/index.vue b/pages/users/user_sgin_list/index.vue index a151fc01..6acb95e6 100644 --- a/pages/users/user_sgin_list/index.vue +++ b/pages/users/user_sgin_list/index.vue @@ -1,9 +1,8 @@