msb_prod
ch 3 years ago
parent c872c15ef3
commit 17997d90b1

@ -2,7 +2,7 @@
* @Author: ch * @Author: ch
* @Date: 2022-07-09 16:27:57 * @Date: 2022-07-09 16:27:57
* @LastEditors: ch * @LastEditors: ch
* @LastEditTime: 2022-07-09 18:29:05 * @LastEditTime: 2022-07-12 14:43:47
* @Description: file content * @Description: file content
*/ */
@ -23,4 +23,4 @@ export const ApiGetOrderInfo = ({payOrderNo}) =>
* @param {*} data * @param {*} data
*/ */
export const ApiPostH5Pay = (data) => export const ApiPostH5Pay = (data) =>
ToAsyncAwait(MsbRequest.put(`payCenter/payCenter/cashierPay`, data)); ToAsyncAwait(MsbRequest.put(`/payCenter/payCenter/cashierPay`, data));

@ -2,7 +2,7 @@
* @Author: ch * @Author: ch
* @Date: 2022-07-08 11:46:30 * @Date: 2022-07-08 11:46:30
* @LastEditors: ch * @LastEditors: ch
* @LastEditTime: 2022-07-12 14:29:22 * @LastEditTime: 2022-07-12 14:44:17
* @Description: file content * @Description: file content
--> -->
<template> <template>
@ -34,19 +34,26 @@ const ENV = process.env;
data() { data() {
return { return {
payType : 'wxpay', payType : 'wxpay',
payTypeData : [{ orderInfo : {},
payOrderNo : this.$route.query.payOrderNo
}
},
computed:{
payTypeData(){
let data = [{
label : '微信支付', label : '微信支付',
icon : require('@/static/wx.png'), icon : require('@/static/wx.png'),
value : 'wxpay' value : 'wxpay'
}, }
{ ];
// if(!WeixinJSBridge){
data.push({
label : '支付宝支付', label : '支付宝支付',
icon : require('@/static/ali.png'), icon : require('@/static/ali.png'),
value : 'alipay' value : 'alipay'
} })
], // }
orderInfo : {}, return data;
payOrderNo : this.$route.query.payOrderNo
} }
}, },
async onLoad() { async onLoad() {

Loading…
Cancel
Save