From 4f65fa4152e489ca9b54442db6c86878f40df34d Mon Sep 17 00:00:00 2001 From: wangxiaowei <1121133807@qq.com> Date: Tue, 16 Jul 2024 17:31:53 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/user.js | 10 ++ bundle/pages/apply_refund/apply_refund.vue | 4 +- bundle/pages/user_wallet/user_wallet.vue | 7 +- .../pages/user_withdraw/withdrawal_record.vue | 60 ++++++++ bundle_b/pages/local_shop/local_pay.vue | 44 +++++- .../subsidy_shop/components/subsidy-item.vue | 6 +- .../subsidy_shop/components/subsidy-list.vue | 34 +++-- bundle_b/pages/subsidy_shop/subsidy_shop.vue | 17 ++- bundle_b/pages/subsidy_withdrawal/index.vue | 6 - .../uview-ui/components/u-tabs/u-tabs.vue | 7 + pages.json | 27 ++-- pages/index/index.vue | 10 +- pages/user/user.vue | 136 +++++++++++++----- 13 files changed, 282 insertions(+), 86 deletions(-) create mode 100644 bundle/pages/user_withdraw/withdrawal_record.vue diff --git a/api/user.js b/api/user.js index 9202a87..3082089 100644 --- a/api/user.js +++ b/api/user.js @@ -147,6 +147,11 @@ export function getRechargeRecord(params) { return request.get("recharge/rechargeRecord", {params}) } +//提现记录 +export function getWidthdrawlRecord(params) { + return request.get("recharge/widthdrawlRecord", {params}) +} + // 新版 邀请码 export function bindSuperior(data) { return request.post("distribution/writeCode", data) @@ -340,3 +345,8 @@ export function billionsRechargeRecord(params) { export function billionsWithdrawalRecord(params) { return request.get('billions/withdrawalRecord', {params}) } + +// 本地生活-商品支付 +export function localShopPay(data) { + return request.post('abutment/paytest', data) +} diff --git a/bundle/pages/apply_refund/apply_refund.vue b/bundle/pages/apply_refund/apply_refund.vue index 7483ed2..80cd080 100644 --- a/bundle/pages/apply_refund/apply_refund.vue +++ b/bundle/pages/apply_refund/apply_refund.vue @@ -11,13 +11,13 @@ - + 退货退款 diff --git a/bundle/pages/user_wallet/user_wallet.vue b/bundle/pages/user_wallet/user_wallet.vue index b39cdd8..d8c2c7b 100644 --- a/bundle/pages/user_wallet/user_wallet.vue +++ b/bundle/pages/user_wallet/user_wallet.vue @@ -55,6 +55,12 @@ 充值记录 + + + + 提现记录 + + @@ -127,7 +133,6 @@ getWallet().then(res => { if (res.code == 1) { this.wallet = res.data - console.log(this.wallet.rule) } }); } diff --git a/bundle/pages/user_withdraw/withdrawal_record.vue b/bundle/pages/user_withdraw/withdrawal_record.vue new file mode 100644 index 0000000..81ae3be --- /dev/null +++ b/bundle/pages/user_withdraw/withdrawal_record.vue @@ -0,0 +1,60 @@ + + + + + + + \ No newline at end of file diff --git a/bundle_b/pages/local_shop/local_pay.vue b/bundle_b/pages/local_shop/local_pay.vue index 9c4ed40..3694e49 100644 --- a/bundle_b/pages/local_shop/local_pay.vue +++ b/bundle_b/pages/local_shop/local_pay.vue @@ -20,7 +20,7 @@ - @@ -63,6 +63,8 @@