From eca5172b028340b8d644205cad19d434c4dec037 Mon Sep 17 00:00:00 2001 From: "liujw155@outlook.com" Date: Wed, 15 Jan 2025 18:14:39 +0800 Subject: [PATCH] finish tid1819 --- src/pages.json | 6 + src/subpackage/wallet/js/api.js | 3 + .../wallet/pages/douyin_withdraw/index.vue | 15 ++- src/subpackage/wallet/pages/index/index.vue | 72 ++++++++++- .../wallet/pages/index/modules/recharge_modal.vue | 82 ++++++++++++ .../wallet/pages/index/modules/wallet_info.vue | 6 +- .../wallet/pages/index/recharge_record.vue | 141 +++++++++++++++++++++ 7 files changed, 313 insertions(+), 12 deletions(-) create mode 100644 src/subpackage/wallet/pages/index/modules/recharge_modal.vue create mode 100644 src/subpackage/wallet/pages/index/recharge_record.vue diff --git a/src/pages.json b/src/pages.json index 807b35a..267b780 100644 --- a/src/pages.json +++ b/src/pages.json @@ -759,6 +759,12 @@ } }, { + "path": "pages/index/recharge_record", + "style" : { + "navigationBarTitleText": "充值记录" + } + }, + { "path": "pages/douyin_withdraw/index", "style" : { "navigationBarTitleText": "平台提现" diff --git a/src/subpackage/wallet/js/api.js b/src/subpackage/wallet/js/api.js index 4ff0fc2..654bb3a 100644 --- a/src/subpackage/wallet/js/api.js +++ b/src/subpackage/wallet/js/api.js @@ -8,6 +8,9 @@ export const WALLET_API = { // 宝付 getPayAssureConfigs:`${ORIGIN}/admin/pay/assure/getPayAssureConfigs`, // 查看可选择的支付账户列表 baofuV2Gateway:`${ORIGIN}/admin/pay/assure/baofuV2/gateway`, // 宝付v2获取金额信息 + // tid1819 + wxpayinfo:`${ORIGIN}/admin/assistant/merchantwallet/wxpayinfo`, // 这个是充值 + rechargeList:`${ORIGIN}/admin/merchantwallet/recharge/list`, // 这是充值记录 } export default WALLET_API; \ No newline at end of file diff --git a/src/subpackage/wallet/pages/douyin_withdraw/index.vue b/src/subpackage/wallet/pages/douyin_withdraw/index.vue index 9c3665a..2264b47 100644 --- a/src/subpackage/wallet/pages/douyin_withdraw/index.vue +++ b/src/subpackage/wallet/pages/douyin_withdraw/index.vue @@ -5,14 +5,14 @@ title="微信平台可提现资金" :balance="formatMoney(balanceInfo.total_amount_of_wechat)" type="wx" - @click:extract="applyBtn(1)" + @click:extract="applyBtn(1, balanceInfo.total_amount_of_wechat)" > @@ -26,7 +26,7 @@ diff --git a/src/subpackage/wallet/pages/index/modules/recharge_modal.vue b/src/subpackage/wallet/pages/index/modules/recharge_modal.vue new file mode 100644 index 0000000..784cc5b --- /dev/null +++ b/src/subpackage/wallet/pages/index/modules/recharge_modal.vue @@ -0,0 +1,82 @@ + + + + + \ No newline at end of file diff --git a/src/subpackage/wallet/pages/index/modules/wallet_info.vue b/src/subpackage/wallet/pages/index/modules/wallet_info.vue index f450eb1..7826478 100644 --- a/src/subpackage/wallet/pages/index/modules/wallet_info.vue +++ b/src/subpackage/wallet/pages/index/modules/wallet_info.vue @@ -7,10 +7,10 @@ (用于购买服务使用) @@ -18,7 +18,7 @@ ¥ {{ balance }} - + 充值 diff --git a/src/subpackage/wallet/pages/index/recharge_record.vue b/src/subpackage/wallet/pages/index/recharge_record.vue new file mode 100644 index 0000000..6d5cbb9 --- /dev/null +++ b/src/subpackage/wallet/pages/index/recharge_record.vue @@ -0,0 +1,141 @@ + + + + + \ No newline at end of file