From b2f2588a48c450d3cb00a68c8edf8d860fc4bce1 Mon Sep 17 00:00:00 2001 From: douzhuo <17611323298@163.com> Date: Tue, 25 Jan 2022 17:18:24 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=A1=B5=E9=9D=A2=E8=B7=B3?= =?UTF-8?q?=E8=BD=AC=E4=BB=A5=E5=8F=8A=E5=BD=95=E9=9F=B3=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E9=80=80=E5=87=BA=E7=BB=A7=E7=BB=AD=E6=92=AD=E6=94=BE=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Customerportrait/Receivedetailabout.vue | 17 +++++++++++++-- pages/mine/details.vue | 21 ++++++++++++++----- pages/mine/details2.vue | 21 ++++++++++++++----- 3 files changed, 47 insertions(+), 12 deletions(-) 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) {