Sfoglia il codice sorgente

修改页面跳转以及录音文件退出继续播放问题

dev
douzhuo 2 anni fa
parent
commit
b2f2588a48
3 ha cambiato i file con 47 aggiunte e 12 eliminazioni
  1. +15
    -2
      pages/center/Piabodata/Customerportrait/Receivedetailabout.vue
  2. +16
    -5
      pages/mine/details.vue
  3. +16
    -5
      pages/mine/details2.vue

+ 15
- 2
pages/center/Piabodata/Customerportrait/Receivedetailabout.vue Vedi File

@@ -323,10 +323,10 @@
</view>
<view style="width: 690rpx;margin: 0 auto;display: flex;flex-wrap: wrap;" v-if="item.isshow==true">
<view class="sdfsaf" v-if="chend.showType==0"
v-for="(chend,i) in item.children" :key='i'>
v-for="(chend,i) in item.children" :key='i' @click="argece(chend)">
<view class="jiangshang sdfsaf">{{chend.text}}</view>
</view>
<view class="sdfsaf" v-if="chend.showType==1" @click="argece(chend)"
<view class="sdfsaf" v-if="chend.showType==1" @click="argece(chend)"
v-for="(chend,i) in item.children" :key='i'>
<view class="jiangshang1 sdfsaf" >{{chend.text}}</view>
</view>
@@ -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;


+ 16
- 5
pages/mine/details.vue Vedi File

@@ -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){


+ 16
- 5
pages/mine/details2.vue Vedi File

@@ -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) {


Caricamento…
Annulla
Salva