苹果内购+订单结算页面条件编译

This commit is contained in:
@fawn-nine
2024-07-09 14:26:26 +08:00
parent 05edf730c9
commit 545fd9cc75
12 changed files with 391 additions and 118 deletions

View File

@@ -1078,16 +1078,11 @@ export default {
} else if (payItem.paymentMethod == 3) {
// 苹果充值
console.log("苹果二次支付");
if (this.isAndorid) {
uni.showModal({
title: "提示",
showCancel: false,
content:
"很抱歉,当前订单属于苹果系统内购订单,安卓系统无法完成支付操作,您可切换到苹果系统进行支付,也可以取消该订单,并重新下单",
});
} else {
this.iphonepay(payItem);
}
uni.showModal({
content:'apple内购订单不支持继续支付请重新发起支付申请并完成支付',
confirmText:'好的',
showCancel:false
})
}
},