Refactor(云灵AI):列表数据对接
This commit is contained in:
@@ -251,10 +251,11 @@ export const chatMixinsV2 = {
|
||||
orderList: [],
|
||||
type: -2,
|
||||
showMoreInfo: {},
|
||||
currentSwiperIndex: 0
|
||||
currentSwiperIndex: 0,
|
||||
showChangeBtn: true
|
||||
})
|
||||
_this.loading = true
|
||||
_this.showCursor = false
|
||||
_this.showCursor = false
|
||||
getSseConfigV1({
|
||||
'chatNumber': _this.chatNumber,
|
||||
prompt
|
||||
@@ -453,12 +454,26 @@ export const chatMixinsV2 = {
|
||||
}
|
||||
})
|
||||
},
|
||||
productItemSupplierClickHandle(item) {
|
||||
if (!item.storeId) {
|
||||
return
|
||||
}
|
||||
this.audioStopHandle()
|
||||
this.$yrouter.push({
|
||||
path: '/pagesInn/inn/innHome',
|
||||
query: {
|
||||
id: item.storeId
|
||||
}
|
||||
})
|
||||
},
|
||||
productItemBuyNowClickHandle(item) {
|
||||
this.audioStopHandle()
|
||||
this.showGiftBtn = false
|
||||
this.cart_num = 1
|
||||
this.addToCart(item)
|
||||
},
|
||||
productItemGiftBuyClickHandle(item) {
|
||||
this.audioStopHandle()
|
||||
this.showGiftBtn = true
|
||||
this.cart_num = 1
|
||||
this.addToCart(item)
|
||||
|
||||
Reference in New Issue
Block a user