Fix(云灵AI):[#5376]点击“送给朋友”按钮会弹出来立即购买
This commit is contained in:
@@ -517,14 +517,15 @@ export const chatMixinsV2 = {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
productItemBuyNowClickHandle(item) {
|
productItemBuyNowClickHandle(item) {
|
||||||
|
this.showGiftBtn = false
|
||||||
this.productItemBuyNowOrGiftBuy(item, 1)
|
this.productItemBuyNowOrGiftBuy(item, 1)
|
||||||
},
|
},
|
||||||
productItemGiftBuyClickHandle(item) {
|
productItemGiftBuyClickHandle(item) {
|
||||||
|
this.showGiftBtn = true
|
||||||
this.productItemBuyNowOrGiftBuy(item, 2)
|
this.productItemBuyNowOrGiftBuy(item, 2)
|
||||||
},
|
},
|
||||||
productItemBuyNowOrGiftBuy(item, BuyNowOrGiftBuyType) {
|
productItemBuyNowOrGiftBuy(item, BuyNowOrGiftBuyType) {
|
||||||
this.audioStopHandle()
|
this.audioStopHandle()
|
||||||
this.showGiftBtn = false
|
|
||||||
this.cart_num = 1
|
this.cart_num = 1
|
||||||
this.m_id = item.id
|
this.m_id = item.id
|
||||||
getProductDetail(item.id).then(res => {
|
getProductDetail(item.id).then(res => {
|
||||||
|
|||||||
Reference in New Issue
Block a user