diff --git a/pages/center/Piabodata/Customerportrait/Receivedetailabout.vue b/pages/center/Piabodata/Customerportrait/Receivedetailabout.vue index c179a2a..1f1bf30 100644 --- a/pages/center/Piabodata/Customerportrait/Receivedetailabout.vue +++ b/pages/center/Piabodata/Customerportrait/Receivedetailabout.vue @@ -323,10 +323,10 @@ + v-for="(chend,i) in item.children" :key='i' @click="argece(chend)"> {{chend.text}} - {{chend.text}} @@ -1256,6 +1256,19 @@ this.newluyinList=[]; this.fenjiaoseunfo() }, + + // 跳转客户意向 + argece(item) { + console.log(item) + this.innerAudioContext.destroy(); + if (item.selected == 0) { + console.log(item) + uni.navigateTo({ + url: '/pages/mine/ScoringPlaylist?customerId=' + this.customerId + "&id=" + item.keywordsId + "&type=" + 1 + }) + } + }, + //分角色标记刷新 fenjiaoseunfo(){ var bgcd=this.sliderValue*1000; diff --git a/pages/mine/details.vue b/pages/mine/details.vue index b07f30a..98efa7e 100644 --- a/pages/mine/details.vue +++ b/pages/mine/details.vue @@ -303,13 +303,24 @@ this.TimeUpdate() this.init(info) }, - // 销毁实例 onHide() { - //暂停 - this.innerAudioContext.pause() - // 销毁 - this.innerAudioContext.destroy(); + if (this.innerAudioContext) { + //暂停 + this.innerAudioContext.pause() + // 销毁 + this.innerAudioContext.destroy(); + } }, + + onUnload() { + if (this.innerAudioContext) { + //暂停 + this.innerAudioContext.pause() + // 销毁 + this.innerAudioContext.destroy(); + } + }, + methods: { effectiveAdd(){ if(this.effectiveindex==4){ diff --git a/pages/mine/details2.vue b/pages/mine/details2.vue index 4b3eb7a..5d12886 100644 --- a/pages/mine/details2.vue +++ b/pages/mine/details2.vue @@ -629,12 +629,23 @@ this.init(info) }, - // 销毁实例 + onHide() { - //暂停 - this.innerAudioContext.pause() - // 销毁 - this.innerAudioContext.destroy(); + if (this.innerAudioContext) { + //暂停 + this.innerAudioContext.pause() + // 销毁 + this.innerAudioContext.destroy(); + } + }, + + onUnload() { + if (this.innerAudioContext) { + //暂停 + this.innerAudioContext.pause() + // 销毁 + this.innerAudioContext.destroy(); + } }, methods: { rolexuanze(index) {