From 85b30b4ecce20bc0ad2aa13e5e0f82af5ce0e6ff Mon Sep 17 00:00:00 2001 From: mike Date: Mon, 18 Mar 2024 12:15:53 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=95=86=E6=88=B7=E6=94=AF?= =?UTF-8?q?=E4=BB=98=E5=AE=9D=E7=9B=B8=E5=85=B3=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- agentApp/common/api.js | 3 + agentApp/pages.json | 16 + agentApp/pages/merchant-index/index.vue | 20 + .../merchant-withdrawal-history.vue | 147 ++++++ .../merchant-withdrawal-management.vue | 451 ++++++++++++++++++ 5 files changed, 637 insertions(+) create mode 100644 agentApp/pages/merchant-withdrawal-history/merchant-withdrawal-history.vue create mode 100644 agentApp/pages/merchant-withdrawal-management/merchant-withdrawal-management.vue diff --git a/agentApp/common/api.js b/agentApp/common/api.js index 412f327..37b1a6e 100644 --- a/agentApp/common/api.js +++ b/agentApp/common/api.js @@ -83,6 +83,9 @@ export const merchantSmsLogin = (params) => http.post(baseUrl + '/api/merchant/s export const merchantAccountInfo = (params) => http.post(baseUrl + '/api/merchant/accountInfo', params, merchantConfig()) export const merchantOrderList = (params) => http.post(baseUrl + '/api/merchant/orderList', params, merchantConfig()) export const merchantOrderRefund = (params) => http.post(baseUrl + '/api/merchant/orderRefund', params, merchantConfig()) +export const merchantFillAlipayAccount = (params) => http.post(baseUrl + '/api/merchant/fillAlipayAccount', params, merchantConfig()) +export const merchantWithdraw = (params) => http.post(baseUrl + '/api/merchant/withdraw', params, merchantConfig()) +export const merchantWithdrawList = (params) => http.post(baseUrl + '/api/merchant/withdrawList', params, merchantConfig()) export const publicSysConfig = (params) => http.post(baseUrl + '/api/public/sysConfig', params) diff --git a/agentApp/pages.json b/agentApp/pages.json index 49d2dc4..335ef02 100644 --- a/agentApp/pages.json +++ b/agentApp/pages.json @@ -147,6 +147,22 @@ "navigationBarTitleText" : "用户提现", "enablePullDownRefresh" : false } + }, + { + "path" : "pages/merchant-withdrawal-management/merchant-withdrawal-management", + "style" : + { + "navigationBarTitleText" : "", + "enablePullDownRefresh" : false + } + }, + { + "path" : "pages/merchant-withdrawal-history/merchant-withdrawal-history", + "style" : + { + "navigationBarTitleText" : "", + "enablePullDownRefresh" : false + } } diff --git a/agentApp/pages/merchant-index/index.vue b/agentApp/pages/merchant-index/index.vue index 7fe96f6..c3f40c7 100644 --- a/agentApp/pages/merchant-index/index.vue +++ b/agentApp/pages/merchant-index/index.vue @@ -19,6 +19,14 @@ {{accountInfo.id}} + + + 支付宝余额:¥{{accountInfo.wallet_balance}} + + + 提现管理 >> + + @@ -136,6 +144,11 @@ } }) }, + toManagement(){ + uni.navigateTo({ + url:'/pages/merchant-withdrawal-management/merchant-withdrawal-management' + }) + }, handlerOrder() { // uni.navigateTo({ // url: '/pages/user-orders/user-orders' @@ -180,6 +193,13 @@ } } } + + .information-alipay-content{ + font-size: 24rpx; + color: #fff; + display: flex; + flex-direction: column; + } .information-id-content { display: flex; diff --git a/agentApp/pages/merchant-withdrawal-history/merchant-withdrawal-history.vue b/agentApp/pages/merchant-withdrawal-history/merchant-withdrawal-history.vue new file mode 100644 index 0000000..ccd2ea3 --- /dev/null +++ b/agentApp/pages/merchant-withdrawal-history/merchant-withdrawal-history.vue @@ -0,0 +1,147 @@ + + + + + \ No newline at end of file diff --git a/agentApp/pages/merchant-withdrawal-management/merchant-withdrawal-management.vue b/agentApp/pages/merchant-withdrawal-management/merchant-withdrawal-management.vue new file mode 100644 index 0000000..ba665c7 --- /dev/null +++ b/agentApp/pages/merchant-withdrawal-management/merchant-withdrawal-management.vue @@ -0,0 +1,451 @@ + + + + + \ No newline at end of file