[更新]
This commit is contained in:
@@ -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
|
||||
})
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user