|
|
|
@ -87,7 +87,8 @@ Page({ |
|
|
|
} |
|
|
|
this.setData({ |
|
|
|
product: app.globalData.product, |
|
|
|
singlePrice: this.data.gp_id ? app.globalData.product.sku.event_price : app.globalData.product.sku.price |
|
|
|
singlePrice: app.globalData.product?app.globalData.product.date.price :(this.data.gp_id ? app.globalData.product.sku.event_price : app.globalData.product.sku.price) |
|
|
|
// singlePrice: this.data.gp_id ? app.globalData.product.sku.event_price : app.globalData.product.sku.price
|
|
|
|
}) |
|
|
|
console.log(this.data.singlePrice); |
|
|
|
this.showAllPrice() |
|
|
|
|