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