Refactor(云灵AI):列表数据对接

This commit is contained in:
lifizer
2026-04-22 17:42:58 +08:00
parent b4b6fed1ab
commit 9c90600c82
7 changed files with 306 additions and 139 deletions
+17 -2
View File
@@ -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)