跳转抽奖处理
This commit is contained in:
@@ -1106,13 +1106,6 @@
|
|||||||
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=null;
|
|
||||||
this.videoContext.stop()
|
|
||||||
return uni.navigateTo({
|
|
||||||
url:'/me/choujiang/choujiang'
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
//播放当前的
|
//播放当前的
|
||||||
@@ -1201,16 +1194,14 @@
|
|||||||
}
|
}
|
||||||
} else { //直接跳转进来的
|
} else { //直接跳转进来的
|
||||||
this.videoList = this.meunList
|
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(() => {
|
this.$nextTick(() => {
|
||||||
let indexss = indexs > 0 ? indexs : 0
|
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.videoList[indexss].videoUrl) { //有播放权限
|
||||||
if(this.noBuyVideoIndex!==null){
|
if(this.noBuyVideoIndex!==null){
|
||||||
this.noBuyVideoIndex=null
|
this.noBuyVideoIndex=null
|
||||||
|
|||||||
Reference in New Issue
Block a user