From f5b053a8a0de7e75f78b8f9451d879c078338408 Mon Sep 17 00:00:00 2001 From: "@fawn-nine" <1271023382@qq.com> Date: Wed, 3 Jul 2024 09:52:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manifest.json | 4 ++-- pages/course/courseDetail.vue | 2 ++ pages/course/myCourseLearn.vue | 2 ++ pages/peanut/home.vue | 3 +++ 4 files changed, 9 insertions(+), 2 deletions(-) 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() {