|
|
@@ -59,6 +59,7 @@
|
|
|
<p class="time-p">时长:{{item.answerDuration}}分钟 丨 总分:{{item.totalScore}}分 丨 及格分:{{item.passScore}}分 丨 可考试次数:{{item.attemptLimit===0?'无限':item.attemptCount+'/'+item.attemptLimit}}次
|
|
|
<span v-if="item.studyHoursRequirement>0"> 丨 学时要求:{{item.completedStudyHours>=item.studyHoursRequirement?'已满足':item.completedStudyHours + '/' + item.studyHoursRequirement + ' 学时'}}</span>
|
|
|
</p>
|
|
|
+ <p class="position-passed-p" v-if="item.isPassed">已通过</p>
|
|
|
</div>
|
|
|
<p class="position-p-1" v-if="item.conditionType == 1" @click="tableButton(1,item)">完成学时要求后解锁</p>
|
|
|
<p class="position-p-1" v-if="item.conditionType == 2" @click="tableButton(2,item)">完成考前课程学习后解锁</p>
|
|
|
@@ -524,6 +525,17 @@
|
|
|
padding:10px 20px 20px;
|
|
|
border-radius:10px;
|
|
|
margin-top:10px;
|
|
|
+ position: relative;
|
|
|
+ .position-passed-p{
|
|
|
+ position: absolute;
|
|
|
+ top:10px;
|
|
|
+ right:10px;
|
|
|
+ border-radius:4px;
|
|
|
+ color:#fff;
|
|
|
+ background-color: #01B85B;
|
|
|
+ padding:5px 10px;
|
|
|
+ font-size:14px;
|
|
|
+ }
|
|
|
}
|
|
|
.title-p{
|
|
|
color:#0183fa;
|