This commit is contained in:
YeMingfei666 2024-12-09 10:54:13 +08:00
commit 5f109be94d
3 changed files with 5 additions and 11 deletions

View File

@ -30,6 +30,7 @@
</view>
<!-- <button @click="showLingPop">showLingPop</button> -->
<almost-lottery :lottery-size="lotteryConfig.lotterySize" :action-size="lotteryConfig.actionSize"
:selfTime="selfTime"
:ring-count="2" :duration="1" :self-rotaty="false" :img-circled="true" :canvasCached="true"
:prize-list="prizeList" :prize-index="prizeIndex" :lotteryBg="lotteryBg" :actionBg="actionBg"
@reset-index="prizeIndex = -1" @draw-before="handleDrawBefore" @draw-start="handleDrawStart"
@ -108,7 +109,7 @@
// rpx
actionSize: 200
},
selfTime:2000,
// UI
// 稿
lotteryBg: require('@/uni_modules/almost-lottery/static/almost-lottery/almost-lottery__bg2x.png'),

View File

@ -1194,7 +1194,7 @@
this.noBuyVideoIndex=null
this.videoContext.stop()
return uni.navigateTo({
url:'/me/choujiang/choujiang?orderId'+2144
url:'/me/choujiang/choujiang'
})
}
} else { //直接跳转进来的
@ -1208,13 +1208,6 @@
this.goListPosition(this.videoList[indexs].courseDetailsId)
}
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

View File

@ -1463,10 +1463,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 { //