Fix(AI):[#4049]语音播放AI回复内容,点击进入下方推荐商品/店铺/县城/抽奖详情页,语音仍在播放
This commit is contained in:
@@ -287,6 +287,7 @@ export const chatMixins = {
|
||||
})
|
||||
},
|
||||
productItemClickHandle(item) {
|
||||
this.audioStopHandle()
|
||||
this.$yrouter.push({
|
||||
path: '/pages/shop/GoodsCon/index',
|
||||
query: {
|
||||
@@ -295,6 +296,7 @@ export const chatMixins = {
|
||||
})
|
||||
},
|
||||
hotelItemClickHandle(item) {
|
||||
this.audioStopHandle()
|
||||
this.$yrouter.push({
|
||||
path: '/pagesInn/inn/innHome',
|
||||
query: {
|
||||
@@ -303,6 +305,7 @@ export const chatMixins = {
|
||||
})
|
||||
},
|
||||
ichItemClickHandle(item) {
|
||||
this.audioStopHandle()
|
||||
this.$yrouter.push({
|
||||
path: '/pkg_product/views/heritage/details',
|
||||
query: {
|
||||
@@ -311,6 +314,7 @@ export const chatMixins = {
|
||||
})
|
||||
},
|
||||
qianxianItemClickHandle(item) {
|
||||
this.audioStopHandle()
|
||||
this.$yrouter.push({
|
||||
path: '/pkg_product/views/famousQianxianShop',
|
||||
query: {
|
||||
@@ -319,6 +323,7 @@ export const chatMixins = {
|
||||
})
|
||||
},
|
||||
prizeItemClickHandle() {
|
||||
this.audioStopHandle()
|
||||
this.$yrouter.push({ path: '/pkg-video/views/lottery' })
|
||||
},
|
||||
chatErrorSetContent() {
|
||||
@@ -418,6 +423,7 @@ export const chatMixins = {
|
||||
if (this.audioContext) {
|
||||
this.audioContext.stop()
|
||||
}
|
||||
wx.getBackgroundAudioManager().stop()
|
||||
this.isPlayAudio = false
|
||||
},
|
||||
ttsHandle(item) {
|
||||
|
||||
Reference in New Issue
Block a user