考试记录
This commit is contained in:
		@@ -5,11 +5,12 @@
 | 
			
		||||
        <div class="top" @click="toTestResult(item.id)">
 | 
			
		||||
          <div class="flex-left">
 | 
			
		||||
            <h3>{{item.examinationName}}</h3>
 | 
			
		||||
            <p class="mar-b16">共<span>{{item.allSubjectNumber}}</span>题,预计<span>10</span>分钟</p>
 | 
			
		||||
            <p class="mar-b16">共<span>{{item.allSubjectNumber}}</span>题,预计<span>{{item.allSubjectNumber*2}}</span>分钟</p>
 | 
			
		||||
            <p>{{item.passNumber}}人通过/{{item.examinationNumber}}人参与</p>
 | 
			
		||||
          </div>
 | 
			
		||||
          <div class="flex-right">
 | 
			
		||||
            <img :src="statusImgList[item.assessmentType]" alt="" />
 | 
			
		||||
          <div class="flex-right" v-if="item.myRecord.assessmentType != null">
 | 
			
		||||
            <img :src="statusImgList[item.myRecord.assessmentType]" alt="" />
 | 
			
		||||
            <div :class="`score-type`+item.myRecord.assessmentType">{{ item.myRecord.score }}</div>
 | 
			
		||||
          </div>
 | 
			
		||||
        </div>
 | 
			
		||||
        <div class="bottom" @click="toTestForm(item.id)">重新考试</div>
 | 
			
		||||
@@ -87,7 +88,7 @@ export default {
 | 
			
		||||
        position: relative;
 | 
			
		||||
        display: flex;
 | 
			
		||||
        .flex-left {
 | 
			
		||||
          width: calc(100% - 204px);
 | 
			
		||||
          width: calc(100% - 200px);
 | 
			
		||||
          h3 {
 | 
			
		||||
            width: 100%;
 | 
			
		||||
            line-height: 48px;
 | 
			
		||||
@@ -111,9 +112,29 @@ export default {
 | 
			
		||||
          }
 | 
			
		||||
        }
 | 
			
		||||
        .flex-right {
 | 
			
		||||
          position: relative;
 | 
			
		||||
          img {
 | 
			
		||||
            width: 160px;
 | 
			
		||||
            height: 160px;
 | 
			
		||||
            width: 200px;
 | 
			
		||||
            height: 200px;
 | 
			
		||||
          }
 | 
			
		||||
          div {
 | 
			
		||||
            width: 100px;
 | 
			
		||||
            line-height: 56px;
 | 
			
		||||
            text-align: center;
 | 
			
		||||
            font-family: PingFangSC-Medium;
 | 
			
		||||
            font-weight: 500;
 | 
			
		||||
            font-size: 40px;
 | 
			
		||||
            text-align: center;
 | 
			
		||||
            position: absolute;
 | 
			
		||||
            top: 60px;
 | 
			
		||||
            left: 50%;
 | 
			
		||||
            margin-left: -50px;
 | 
			
		||||
          }
 | 
			
		||||
          .score-type0, .score-type1, .score-type2 {
 | 
			
		||||
            color: #0FC484;
 | 
			
		||||
          }
 | 
			
		||||
          .score-type3 {
 | 
			
		||||
            color: #E23C3C;
 | 
			
		||||
          }
 | 
			
		||||
        }
 | 
			
		||||
      }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user