diff --git a/manifest.json b/manifest.json index 77487d1..947aa6c 100644 --- a/manifest.json +++ b/manifest.json @@ -12,8 +12,8 @@ "src" : "图片路径" } ], - "versionName" : "1.0.0", - "versionCode" : 100, + "versionName" : "1.0.01", + "versionCode" : 1001, "app-plus" : { "compatible" : { "ignoreVersion" : true diff --git a/pages/course/courseDetail.vue b/pages/course/courseDetail.vue index 60b2dce..751b3a3 100644 --- a/pages/course/courseDetail.vue +++ b/pages/course/courseDetail.vue @@ -652,6 +652,8 @@ export default { onShow() { // 隐藏原生的tabbar uni.hideTabBar(); + plus.screen.unlockOrientation(); + plus.screen.lockOrientation("portrait-primary"); }, onUnload() { this.selectGoodsData = {}; diff --git a/pages/course/myCourseLearn.vue b/pages/course/myCourseLearn.vue index a1b44e3..0c2bbad 100644 --- a/pages/course/myCourseLearn.vue +++ b/pages/course/myCourseLearn.vue @@ -204,6 +204,8 @@ onShow() { // 隐藏原生的tabbar uni.hideTabBar(); + plus.screen.unlockOrientation(); + plus.screen.lockOrientation("portrait-primary"); this.getData(this.courseId) }, onReachBottom() { diff --git a/pages/peanut/home.vue b/pages/peanut/home.vue index e00abd7..ca385fe 100644 --- a/pages/peanut/home.vue +++ b/pages/peanut/home.vue @@ -304,6 +304,9 @@ }, //页面显示 onShow() { + uni.hideTabBar(); + plus.screen.unlockOrientation(); + plus.screen.lockOrientation("portrait-primary"); this.requestAll() }, onTabItemTap() {