| | |
| | | { text: "微信支付", value: 2, checked: true, img: "../../static/images/recharge/wx.png" } |
| | | // {text:"余额",value:3,checked:false,img:'../../static/images/recharge/balance.png'}, |
| | | ]); |
| | | const e = common_vendor.ref("123125"); |
| | | async function submit() { |
| | | let money = ""; |
| | | if (disabled.value) { |
| | |
| | | money = Number(otherMoney.value); |
| | | } |
| | | await api_index.wxPayApi({ businessType: 1, tradeAmount: money }).then((res) => { |
| | | e.value = res; |
| | | if (res.code == 200) { |
| | | common_vendor.wx$1.requestPayment({ |
| | | //预支付订单信息 |
| | |
| | | d: item.checked |
| | | }; |
| | | }), |
| | | h: common_vendor.t(e.value), |
| | | i: common_vendor.o(($event) => submit()) |
| | | h: common_vendor.o(($event) => submit()) |
| | | }; |
| | | }; |
| | | } |