This commit is contained in:
@fawn-nine
2024-07-20 14:34:07 +08:00
parent ed130e8dc5
commit f702fb63d8
4 changed files with 144 additions and 73 deletions

View File

@@ -350,7 +350,7 @@ export default {
? this.options.videoIndex
: 0;
// #ifdef APP-PLUS
plus.screen.unlockOrientation(); //解除锁定屏幕方向
plus.screen.unlockOrientation(); // 解除锁定屏幕方向
plus.screen.lockOrientation("portrait-primary");
this.getCourseDescriptionData();
@@ -362,10 +362,10 @@ export default {
onUnload(){
console.log('页面卸载')
this.$nextTick(()=>{
// this.$nextTick(()=>{
this.$refs.commonVideo.handleEnd();
})
// })
},
onHide() {

View File

@@ -640,12 +640,12 @@
console.log("准备进入学习页面", v);
this.currentCateIndex = courseIndex;
let _myurl = ''
if(this.oprateOsName == 'ios'){
_myurl = '/pages/course/chapterDetail'
}else{
// if(this.oprateOsName == 'ios'){
// _myurl = '/pages/course/chapterDetail'
// }else{
// h5 和安卓
_myurl = '/pages/course/chapterDetailAndorid'
}
// }
if (this.librayList[this.curIndex].isBuy == 1 || v.isAudition == 1 ||
this.vip.type != "0") {
let noRecored = false