This commit is contained in:
zhangmanman
2021-08-13 13:30:35 +08:00
parent 540d76bdb8
commit 8f7cc986c2
46 changed files with 1582 additions and 1056 deletions

View File

@@ -7,11 +7,11 @@ Page({
data: {
allAmount: '', //支付金额
tradeNo : '', //支付订单
current : 1, //支付方式类型
current : '', //支付方式类型
paytType : '', //支付来源类型 welfarePay为周五福利支付 rightsPay为权益支付
isDeliver: '', //提货方式 1为自提 0为快递
barHeight: getApp().globalData.statusBarHeight, //顶部菜单栏
unicomPay: getApp().globalData.unicomPay //是否有沃支付
unicomPay: '' //是否有沃支付
},
/**
@@ -22,10 +22,19 @@ Page({
allAmount : options.amount,
tradeNo : options.trade_no,
paytType : options.pay_type,
isDeliver : options.is_deliver
isDeliver : options.is_deliver,
unicomPay: getApp().globalData.unicomPay
})
console.log(getApp().globalData.unicomPay)
if(getApp().globalData.unicomPay == true) {
this.setData({
current: 1
})
} else {
this.setData({
current: 2
})
}
},
/**