增加跳转转盘时视频暂停
This commit is contained in:
parent
a234802534
commit
57e7a9c032
|
|
@ -1080,6 +1080,7 @@
|
||||||
console.log('走更新了')
|
console.log('走更新了')
|
||||||
if(this.noBuyVideoIndex!==null ){
|
if(this.noBuyVideoIndex!==null ){
|
||||||
this.noBuyVideoIndex=null;
|
this.noBuyVideoIndex=null;
|
||||||
|
this.videoContext.stop()
|
||||||
return uni.navigateTo({
|
return uni.navigateTo({
|
||||||
url:'/me/choujiang/choujiang'
|
url:'/me/choujiang/choujiang'
|
||||||
})
|
})
|
||||||
|
|
@ -1160,6 +1161,7 @@
|
||||||
})
|
})
|
||||||
if(this.noBuyVideoIndex!==null){
|
if(this.noBuyVideoIndex!==null){
|
||||||
this.noBuyVideoIndex=null
|
this.noBuyVideoIndex=null
|
||||||
|
this.videoContext.stop()
|
||||||
return uni.navigateTo({
|
return uni.navigateTo({
|
||||||
url:'/me/choujiang/choujiang?orderId'+2144
|
url:'/me/choujiang/choujiang?orderId'+2144
|
||||||
})
|
})
|
||||||
|
|
@ -1176,6 +1178,7 @@
|
||||||
if (this.videoList[indexss].videoUrl) { //有播放权限
|
if (this.videoList[indexss].videoUrl) { //有播放权限
|
||||||
if(this.noBuyVideoIndex!==null){
|
if(this.noBuyVideoIndex!==null){
|
||||||
this.noBuyVideoIndex=null
|
this.noBuyVideoIndex=null
|
||||||
|
this.videoContext.stop()
|
||||||
return uni.navigateTo({
|
return uni.navigateTo({
|
||||||
url:'/me/choujiang/choujiang'
|
url:'/me/choujiang/choujiang'
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue