From cbdaca6a7e7767b02c172c0125def3f403af3769 Mon Sep 17 00:00:00 2001 From: weipengfei <2187978347@qq.com> Date: Mon, 24 Jul 2023 16:44:23 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E4=BD=99=E9=A2=9D=E6=8F=90?= =?UTF-8?q?=E7=8E=B0=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/pay.js | 10 + pages.json | 9 + subpkg/finance/finance.vue | 2 +- subpkg/topUp/topUp.vue | 9 +- subpkg/withdrawDeposit/withdrawDeposit.vue | 246 +++++++++++++++++++++ 5 files changed, 268 insertions(+), 8 deletions(-) create mode 100644 subpkg/withdrawDeposit/withdrawDeposit.vue diff --git a/api/pay.js b/api/pay.js index 2fec810..af14b51 100644 --- a/api/pay.js +++ b/api/pay.js @@ -39,3 +39,13 @@ export const accountLogLists = (data) => oahttp.get('/account_log/lists', data) * 月份统计 */ export const accountLogListsMonth = (data) => oahttp.get('/account_log/year_count', data) + +/** + * 余额提现 + */ +export const userWithdraw = (data) => oahttp.get('/user/withdraw', data) + +/** + * 提现记录 + */ +export const userWithdrawList = (data) => oahttp.get('/user/withdrawList', data) \ No newline at end of file diff --git a/pages.json b/pages.json index 83b2e7e..76ad690 100644 --- a/pages.json +++ b/pages.json @@ -237,6 +237,15 @@ "navigationBarTextStyle": "white" } + }, { + "path": "withdrawDeposit/withdrawDeposit", + "style": { + "navigationBarTitleText": "提现余额", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#3175f9", + "navigationBarTextStyle": "white" + } + }] }], "globalStyle": { diff --git a/subpkg/finance/finance.vue b/subpkg/finance/finance.vue index 102950a..8f83b9a 100644 --- a/subpkg/finance/finance.vue +++ b/subpkg/finance/finance.vue @@ -88,7 +88,7 @@ - + diff --git a/subpkg/topUp/topUp.vue b/subpkg/topUp/topUp.vue index caea65f..11264c8 100644 --- a/subpkg/topUp/topUp.vue +++ b/subpkg/topUp/topUp.vue @@ -21,7 +21,7 @@ 注意事项 - 充值后帐户的金额不能提现,可用于商城消费使用佣金导入账户之后不能再次导出、不可提现账户充值出现问题可联系商城客服,也可拨打商城客服热线4008888888 + 充值后帐户的金额不能提现,可用于商城消费使用佣金导入账户之后不能再次导出、不可提现账户充值出现问题可联系商城客服,也可拨打商城客服热线4008888888 @@ -44,12 +44,7 @@ timeCount: 5, } }, - onLoad() { - uni.setNavigationBarColor({ - frontColor: '#ffffff', - backgroundColor: '#3175f9' - }) - }, + onLoad() {}, onShow() {}, methods: { changePrice(index){ diff --git a/subpkg/withdrawDeposit/withdrawDeposit.vue b/subpkg/withdrawDeposit/withdrawDeposit.vue new file mode 100644 index 0000000..e5be386 --- /dev/null +++ b/subpkg/withdrawDeposit/withdrawDeposit.vue @@ -0,0 +1,246 @@ + + + + + \ No newline at end of file