This commit is contained in:
@fawn-nine
2024-09-14 16:12:22 +08:00
parent 5ee3ec4398
commit 1fb002d3b9
3 changed files with 6 additions and 3 deletions

View File

@@ -301,7 +301,7 @@
},
onLoad(options) {
// #ifdef APP-PLUS
plus.screen.lockOrientation("default");
plus.screen.lockOrientation("portrait-primary")
// #endif
this.answerForm.relationId = options.id
this.options = options;

View File

@@ -2,7 +2,7 @@
<view>
<public-module></public-module>
<z-nav-bar title="班级详情"></z-nav-bar>
<text class="small_btn retake border_radius_10" @click="goTest()">再考一次</text>
<!-- <text class="small_btn retake border_radius_10" @click="goTest()">再考一次</text> -->
<!-- <text class="" @click="showSubmit">提交证件资料</text> -->
<view class="mainContent" v-if="thisClass.id">
<view :class="['classStatus',
@@ -629,6 +629,9 @@
},
onLoad(e) {
uni.hideTabBar();
// #ifdef APP-PLUS
plus.screen.lockOrientation("portrait-primary")
// #endif
this.classId = e.id
console.log('this.classId',this.classId );
this.getUserRole()

View File

@@ -374,7 +374,7 @@
async onShow() {
uni.hideTabBar();
// #ifdef APP-PLUS
plus.screen.unlockOrientation();
// plus.screen.unlockOrientation();
plus.screen.lockOrientation("portrait-primary");
// #endif
this.requestAll()