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