[最新]
This commit is contained in:
@@ -14,11 +14,13 @@ Page({
|
||||
modelId : "",
|
||||
modelType : "",
|
||||
payType : "",
|
||||
orderNos : [],
|
||||
can : {
|
||||
coin : 0,
|
||||
wechat : 0,
|
||||
},
|
||||
loding : false
|
||||
loding : false,
|
||||
noShow : false
|
||||
},
|
||||
|
||||
/**
|
||||
@@ -31,12 +33,13 @@ Page({
|
||||
mask : true
|
||||
})
|
||||
wx.$api.pay.info({ order_id, order_type }).then(res => {
|
||||
let { can, total, model_type, model_id } = res.data
|
||||
let { can, total, model_type, model_id, order_nos } = res.data
|
||||
this.setData({
|
||||
orderNo : order_no,
|
||||
payType : res.data.default,
|
||||
modelId : model_id,
|
||||
modelType : model_type,
|
||||
orderNos : order_nos,
|
||||
total,
|
||||
can
|
||||
})
|
||||
@@ -108,5 +111,14 @@ Page({
|
||||
})
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
/**
|
||||
* 展开订单号
|
||||
*/
|
||||
noTap() {
|
||||
this.setData({
|
||||
noShow: !this.data.noShow
|
||||
})
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user