跳转抽奖处理

This commit is contained in:
GaoHao
2024-12-09 10:08:47 +08:00
parent 02ca722970
commit d63cdea1ec

View File

@@ -1106,13 +1106,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(() => {
//播放当前的
@@ -1201,16 +1194,14 @@
}
} else { //直接跳转进来的
this.videoList = this.meunList
//滚动到记录视频的位置(如果有记录)
if (indexs > 0) {
console.log(indexs, '有记录吗?')
this.$nextTick(()=>{
this.appear(this.videoList[indexs].courseDetailsId,indexs)
})
// this.goListPosition(this.videoList[indexs].courseDetailsId)
}
this.$nextTick(() => {
let indexss = indexs > 0 ? indexs : 0
//滚动到记录视频的位置(如果有记录)
if (indexs > 0) {
console.log(indexs, '有记录吗?')
this.goListPosition(this.videoList[indexs].courseDetailsId)
}
if (this.videoList[indexss].videoUrl) { //有播放权限
if(this.noBuyVideoIndex!==null){
this.noBuyVideoIndex=null