|
|
@ -266,6 +266,10 @@ Page({ |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
app.globalData.postProduct = product; |
|
|
app.globalData.postProduct = product; |
|
|
|
|
|
|
|
|
|
|
|
// 是否从购物车下单
|
|
|
|
|
|
app.globalData.isCartBuy = true; |
|
|
|
|
|
|
|
|
if (app.globalData.list) { |
|
|
if (app.globalData.list) { |
|
|
app.globalData.product = app.globalData.list[app.globalData.index] |
|
|
app.globalData.product = app.globalData.list[app.globalData.index] |
|
|
} |
|
|
} |
|
|
@ -442,7 +446,9 @@ Page({ |
|
|
app.globalData.productPrice = 0 |
|
|
app.globalData.productPrice = 0 |
|
|
app.globalData.ticketPrice = 0 |
|
|
app.globalData.ticketPrice = 0 |
|
|
app.globalData.product = null |
|
|
app.globalData.product = null |
|
|
|
|
|
app.globalData.isCartBuy = false |
|
|
this.data.productType = '' |
|
|
this.data.productType = '' |
|
|
|
|
|
app.globalData.isCartBuy = false |
|
|
console.log(app.globalData) |
|
|
console.log(app.globalData) |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
|