This commit is contained in:
@fawn-nine
2024-07-03 09:52:55 +08:00
parent 818eeb4368
commit f5b053a8a0
4 changed files with 9 additions and 2 deletions

View File

@@ -12,8 +12,8 @@
"src" : "图片路径" "src" : "图片路径"
} }
], ],
"versionName" : "1.0.0", "versionName" : "1.0.01",
"versionCode" : 100, "versionCode" : 1001,
"app-plus" : { "app-plus" : {
"compatible" : { "compatible" : {
"ignoreVersion" : true "ignoreVersion" : true

View File

@@ -652,6 +652,8 @@ export default {
onShow() { onShow() {
// 隐藏原生的tabbar // 隐藏原生的tabbar
uni.hideTabBar(); uni.hideTabBar();
plus.screen.unlockOrientation();
plus.screen.lockOrientation("portrait-primary");
}, },
onUnload() { onUnload() {
this.selectGoodsData = {}; this.selectGoodsData = {};

View File

@@ -204,6 +204,8 @@
onShow() { onShow() {
// 隐藏原生的tabbar // 隐藏原生的tabbar
uni.hideTabBar(); uni.hideTabBar();
plus.screen.unlockOrientation();
plus.screen.lockOrientation("portrait-primary");
this.getData(this.courseId) this.getData(this.courseId)
}, },
onReachBottom() { onReachBottom() {

View File

@@ -304,6 +304,9 @@
}, },
//页面显示 //页面显示
onShow() { onShow() {
uni.hideTabBar();
plus.screen.unlockOrientation();
plus.screen.lockOrientation("portrait-primary");
this.requestAll() this.requestAll()
}, },
onTabItemTap() { onTabItemTap() {