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