diff --git a/api/payment.js b/api/payment.js index 441e510..4d7f58d 100644 --- a/api/payment.js +++ b/api/payment.js @@ -42,4 +42,12 @@ export function orderPay(data) { */ export function qrcode(data) { return request.get(`scanPay/qrcode`, data); +} + + +/** + * 收付款详情 + */ +export function paymentDetail(data) { + return request.get(`admin/${data.mer_id}/expenditure`, data); } \ No newline at end of file diff --git a/pages.json b/pages.json index 2207d70..bb1dd05 100644 --- a/pages.json +++ b/pages.json @@ -295,12 +295,11 @@ } }, { - "path" : "pages/redpacket/redpacket", - "style" : - { - "navigationBarTitleText" : "补贴", - "enablePullDownRefresh" : false - } + "path": "pages/redpacket/redpacket", + "style": { + "navigationBarTitleText": "补贴", + "enablePullDownRefresh": false + } } ], "subPackages": [{ @@ -323,6 +322,11 @@ "style": { "navigationBarTitleText": "支付" } + }, { + "path": "payment_detail", + "style": { + "navigationBarTitleText": "收付明细" + } }] }, { "root": "pages/goods_cate", diff --git a/pages/index/index.vue b/pages/index/index.vue index f0d0b71..26c5dfd 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -1,369 +1,379 @@ \ No newline at end of file diff --git a/pages/payment/payment_detail.vue b/pages/payment/payment_detail.vue new file mode 100644 index 0000000..04518d5 --- /dev/null +++ b/pages/payment/payment_detail.vue @@ -0,0 +1,273 @@ + + + + + \ No newline at end of file diff --git a/pages/users/order_list/indexOther.vue b/pages/users/order_list/indexOther.vue index 26ccfe1..6514601 100644 --- a/pages/users/order_list/indexOther.vue +++ b/pages/users/order_list/indexOther.vue @@ -1,9 +1,7 @@