ソースを参照

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

dev
douzhuo 2年前
コミット
b2f2588a48
3個のファイルの変更47行の追加12行の削除
  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 ファイルの表示

@@ -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 ファイルの表示

@@ -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 ファイルの表示

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


読み込み中…
キャンセル
保存