修改支付跳转逻辑
This commit is contained in:
parent
c63deab9f8
commit
0041214912
|
|
@ -1105,13 +1105,6 @@
|
|||
this.videoContextId = 'myVideo' + numIdCurr;
|
||||
this.videoContext = uni.createVideoContext(this.videoContextId, this);
|
||||
console.log('走更新了')
|
||||
if(this.noBuyVideoIndex!==null ){
|
||||
this.noBuyVideoIndex=null;
|
||||
this.videoContext.stop()
|
||||
return uni.navigateTo({
|
||||
url:'/me/choujiang/choujiang'
|
||||
})
|
||||
}
|
||||
|
||||
this.$nextTick(() => {
|
||||
//播放当前的
|
||||
|
|
@ -1193,7 +1186,7 @@
|
|||
this.noBuyVideoIndex=null
|
||||
this.videoContext.stop()
|
||||
return uni.navigateTo({
|
||||
url:'/me/choujiang/choujiang?orderId'+2144
|
||||
url:'/me/choujiang/choujiang'
|
||||
})
|
||||
}
|
||||
} else { //直接跳转进来的
|
||||
|
|
@ -1206,13 +1199,6 @@
|
|||
this.$nextTick(() => {
|
||||
let indexss = indexs > 0 ? indexs : 0
|
||||
if (this.videoList[indexss].videoUrl) { //有播放权限
|
||||
if(this.noBuyVideoIndex!==null){
|
||||
this.noBuyVideoIndex=null
|
||||
this.videoContext.stop()
|
||||
return uni.navigateTo({
|
||||
url:'/me/choujiang/choujiang'
|
||||
})
|
||||
}
|
||||
let numIdCurr = this.videoList[indexss].courseDetailsId;
|
||||
this.videoContextId = 'myVideo' + numIdCurr;
|
||||
this.videoContext = uni.createVideoContext(this
|
||||
|
|
|
|||
|
|
@ -1456,10 +1456,10 @@
|
|||
}
|
||||
})
|
||||
})
|
||||
if(this.noBuyVideoIndex!==null&&this.noBuyVideoIndex==indexss){
|
||||
if(this.noBuyVideoIndex!==null){
|
||||
this.noBuyVideoIndex=null
|
||||
return uni.navigateTo({
|
||||
url:'/me/choujiang/choujiang?orderId'+2144
|
||||
url:'/me/choujiang/choujiang'
|
||||
})
|
||||
}
|
||||
} else { //直接跳转进来的
|
||||
|
|
|
|||
Loading…
Reference in New Issue