|
|
|
@ -97,9 +97,9 @@ Page({ |
|
|
|
// console.log('productNum',this.data.productNum);
|
|
|
|
console.log('couponInfo',app.globalData.couponInfo); |
|
|
|
if (this.data.ticket_type != 1) { |
|
|
|
this.setData({ |
|
|
|
singlePrice:app.globalData.product.product.price |
|
|
|
}) |
|
|
|
// this.setData({
|
|
|
|
// singlePrice:app.globalData.product.product.price
|
|
|
|
// })
|
|
|
|
let price = this.data.singlePrice * this.data.productNum - (this.data.coupon?this.data.coupon.activity.money:0) |
|
|
|
if (price >0) { |
|
|
|
this.setData({ |
|
|
|
|