diff --git a/src/api/pay/demo/index.ts b/src/api/pay/demo/index.ts index c40ceeb7..9e3d1a3b 100644 --- a/src/api/pay/demo/index.ts +++ b/src/api/pay/demo/index.ts @@ -16,6 +16,6 @@ export function createDemoOrder(data) { } // 退款示例订单 -export function updateApp(id: number) { +export function refundDemoOrder(id: number) { return defHttp.put({ url: '/pay/demo-order/refund?id=' + id }) } diff --git a/src/api/pay/order/index.ts b/src/api/pay/order/index.ts index 140ac79c..929cc523 100644 --- a/src/api/pay/order/index.ts +++ b/src/api/pay/order/index.ts @@ -112,3 +112,8 @@ export function deleteOrder(id: number) { export function exportOrder(params: OrderExportReqVO) { return defHttp.download({ url: '/pay/order/export-excel', params }, '支付订单.xls') } + +// 提交支付订单 +export function submitOrder(data) { + return defHttp.post({ url: '/pay/order/submit', data }) +} diff --git a/src/assets/images/pay/icon/alipay_app.svg b/src/assets/images/pay/icon/alipay_app.svg new file mode 100644 index 00000000..ebf11883 --- /dev/null +++ b/src/assets/images/pay/icon/alipay_app.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/assets/images/pay/icon/alipay_bar.svg b/src/assets/images/pay/icon/alipay_bar.svg new file mode 100644 index 00000000..eb1e1e84 --- /dev/null +++ b/src/assets/images/pay/icon/alipay_bar.svg @@ -0,0 +1,2 @@ + diff --git a/src/assets/images/pay/icon/alipay_pc.svg b/src/assets/images/pay/icon/alipay_pc.svg new file mode 100644 index 00000000..2a752770 --- /dev/null +++ b/src/assets/images/pay/icon/alipay_pc.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/assets/images/pay/icon/alipay_qr.svg b/src/assets/images/pay/icon/alipay_qr.svg new file mode 100644 index 00000000..48337508 --- /dev/null +++ b/src/assets/images/pay/icon/alipay_qr.svg @@ -0,0 +1,2 @@ + \ No newline at end of file diff --git a/src/assets/images/pay/icon/alipay_wap.svg b/src/assets/images/pay/icon/alipay_wap.svg new file mode 100644 index 00000000..87075dbb --- /dev/null +++ b/src/assets/images/pay/icon/alipay_wap.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/assets/images/pay/icon/mock.svg b/src/assets/images/pay/icon/mock.svg new file mode 100644 index 00000000..27b09ead --- /dev/null +++ b/src/assets/images/pay/icon/mock.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/assets/images/pay/icon/wx_app.svg b/src/assets/images/pay/icon/wx_app.svg new file mode 100644 index 00000000..ad40b2a2 --- /dev/null +++ b/src/assets/images/pay/icon/wx_app.svg @@ -0,0 +1,2 @@ + \ No newline at end of file diff --git a/src/assets/images/pay/icon/wx_lite.svg b/src/assets/images/pay/icon/wx_lite.svg new file mode 100644 index 00000000..0c925cf3 --- /dev/null +++ b/src/assets/images/pay/icon/wx_lite.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/assets/images/pay/icon/wx_pub.svg b/src/assets/images/pay/icon/wx_pub.svg new file mode 100644 index 00000000..3a6d15b7 --- /dev/null +++ b/src/assets/images/pay/icon/wx_pub.svg @@ -0,0 +1,2 @@ + \ No newline at end of file diff --git a/src/components/CardList/src/CardList.vue b/src/components/CardList/src/CardList.vue index 611a461a..ffc2ab09 100644 --- a/src/components/CardList/src/CardList.vue +++ b/src/components/CardList/src/CardList.vue @@ -6,8 +6,8 @@