From 31f8897d6ee6af157e742105bda583879051b833 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Tue, 29 Aug 2023 00:32:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=9A=E5=91=98=E9=92=B1=E5=8C=85=EF=BC=9A?= =?UTF-8?q?=E6=8E=A5=E5=85=A5=E9=92=B1=E5=8C=85=E6=98=8E=E7=BB=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/pay/wallet.js | 5 ++ pages/users/user_bill/index.vue | 130 +++++++++++---------------- pages/users/user_money/index.vue | 12 +-- pages/users/user_payment/index.vue | 12 ++- pages/users/user_sgin_list/index.vue | 6 +- 5 files changed, 75 insertions(+), 90 deletions(-) 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 @@