添加题目数量+考试时长灵活设置

This commit is contained in:
@fawn-nine
2024-09-11 17:05:56 +08:00
parent 72dcbfdd82
commit c71b2c67b4
7 changed files with 327 additions and 353 deletions

View File

@@ -122,7 +122,7 @@
</view>
<view class="item overClass" @click="changeClassStatu('2')"
v-if="classModel.isExam == 1 && thisClass.state == '1' && thisClass.showOverBtn && (roleCode.includes('1') || roleCode.includes('2'))">
v-if="classModel.isExam == 0 && thisClass.state == '1' && thisClass.showOverBtn && (roleCode.includes('1') || roleCode.includes('2'))">
<!-- (无考试) -->
<text>结班</text>
</view>
@@ -162,22 +162,7 @@
<view class="item flex_box">
<span class="zmVip"></span><text>国学VIP</text>
</view>
</view>
<!-- <view v-if="thisClass.state == '2'"
class=" zhiliang flex_box flex_between align-items_box" style="margin-top: 20rpx;">
<view class="">
<text>A证</text>
<text>20 </text>
</view>
<view class="">
<text>B证</text>
<text>20 </text>
</view>
<view class="">
<text>不合格</text>
<text>20 </text>
</view>
</view> -->
</view>
</view>
<view class="newBox">
<view :class="['item',
@@ -210,50 +195,7 @@
<text class="userType" v-if="item.student.vip == '2' ">医学VIP用户</text>
<text class="userType" v-if="item.student.vip == '3' ">国学VIP用户</text> -->
</view>
</view>
<!-- <view class="" v-if="thisClass.state == '3' || thisClass.state == '2'">
<view class="scoreBox flex_box flex_between border_radius_10 ">
<view class="">
<view class="ciyao">
平时成绩
</view>
<text class="score">{{item.student.score.peacetimeScore}}</text>
</view>
<template v-if="classModel.isExam == 1">
<template v-if="item.student.score.testScore.length == 0">
<view class="" v-if="thisClass.state == '3'">
<view class="" style="color: #ff9496;">
未考试
</view>
</view>
<view class="" v-if="thisClass.state == '2'">
<view class="ciyao">
考试成绩
</view>
<text class="score">0</text>
</view>
</template>
<template v-else>
<view class="" v-if="thisClass.state == '3'">
<view class="" style="color: #55aa7f;">
等待公布分数
</view>
</view>
<view v-if="thisClass.state == '2'">
<view class="ciyao">
考试成绩
</view>
<text
class="score">{{item.student.score.testScoreNumber}}</text>
</view>
</template>
</template>
<view v-if="classModel.isExam == 1 && thisClass.state == '2'"
:class="['PM_font','zhengshu',item.student.score.certificateType == 'A' ? 'Azheng' : 'Bzheng']">
</view>
</view>
</view> -->
</view>
</view>
</view>
</view>
@@ -389,7 +331,7 @@
</view>
</u-popup>
<u-popup key="3" v-if="showStudentScoreBlank" :show="showStudentScoreBlank" :round="10" @close="closePup" ref="">
<view class="upopBox" style="">
<view class="upopBox manScoreBox" style="">
<h3 style="margin-bottom: 20rpx;">
{{thisStudentScore.user.nickname != null && thisStudentScore.user.nickname != '' ? thisStudentScore.user.nickname : "匿名用户"}}
</h3>
@@ -1962,4 +1904,11 @@
z-index: 1;
}
}
.manScoreBox{
.item{padding: 20rpx 0;}
.scoreBox{margin-top: 20rpx; padding: 20rpx;
.ciyao{padding-bottom: 20rpx;}
}
}
</style>