This commit is contained in:
GaoHao
2024-12-07 18:29:22 +08:00

View File

@@ -1105,7 +1105,7 @@
this.videoContextId = 'myVideo' + numIdCurr; this.videoContextId = 'myVideo' + numIdCurr;
this.videoContext = uni.createVideoContext(this.videoContextId, this); this.videoContext = uni.createVideoContext(this.videoContextId, this);
console.log('走更新了') console.log('走更新了')
if(this.noBuyVideoIndex!==null &&this.noBuyVideoIndex==this.current){ if(this.noBuyVideoIndex!==null ){
this.noBuyVideoIndex=null; this.noBuyVideoIndex=null;
return uni.navigateTo({ return uni.navigateTo({
url:'/me/choujiang/choujiang' url:'/me/choujiang/choujiang'
@@ -1188,7 +1188,7 @@
} }
}) })
}) })
if(this.noBuyVideoIndex!==null&&this.noBuyVideoIndex==indexs){ if(this.noBuyVideoIndex!==null){
this.noBuyVideoIndex=null this.noBuyVideoIndex=null
return uni.navigateTo({ return uni.navigateTo({
url:'/me/choujiang/choujiang?orderId'+2144 url:'/me/choujiang/choujiang?orderId'+2144
@@ -1204,7 +1204,7 @@
this.$nextTick(() => { this.$nextTick(() => {
let indexss = indexs > 0 ? indexs : 0 let indexss = indexs > 0 ? indexs : 0
if (this.videoList[indexss].videoUrl) { //有播放权限 if (this.videoList[indexss].videoUrl) { //有播放权限
if(this.noBuyVideoIndex!==null&&this.noBuyVideoIndex==indexss){ if(this.noBuyVideoIndex!==null){
this.noBuyVideoIndex=null this.noBuyVideoIndex=null
return uni.navigateTo({ return uni.navigateTo({
url:'/me/choujiang/choujiang' url:'/me/choujiang/choujiang'