提交
This commit is contained in:
@@ -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() {
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user