litian
2024-06-26 ccda9ec2fe70d8f51ef184eafc04b78d22dfbabd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<!--pages/bookServices/examination/questionSchedule/questionSchedule.wxml-->
<view
  wx:if="{{((answerType == 'option' || answerType == 'mock') && !submitStatus) || answerType == 'collectQuestion' || answerType =='errorQuestion'}}"
  class="schedule"
  id="schedule"
  style="background-color:{{isNight ? '#1a1a1a' : '#fff'}}"
>
  <view class="schedule-top">
    <!-- 答题进度 -->
    <view
      class="question-schedule"
      style="color: {{isNight ? '#fff' : '#000'}};"
      >{{(answerType == 'option' || answerType == 'mock') ? '答题进度' :
      answerType == 'collectQuestion' ? '收藏数量' : '错题数量' }}<text
        class="parimary-color question-num"
        >{{ready}}</text
      >
      <text>/{{questionList.length}}</text>
    </view>
    <view
      class="remainder"
      wx:if="{{!submitStatus && (answerType == 'option' || answerType == 'mock')}}"
      style="color:  {{isNight ? '#fff' : '#000'}};"
    >
      <view class="remainder-text">剩余时间 </view>
      <view class="parimary-color remaining-time">{{showTime}}</view></view
    >
  </view>
  <!-- 进度条 -->
  <view class="schedule-progress">
    <t-progress percentage="{{percentage}}" color="#ff6c00" label="" />
  </view>
</view>
 
<!--  练习、组卷 提交后 -->
<view
  wx:else
  class="schedule submit-message"
  style="background-color:{{isNight ? '#1a1a1a' : '#fff'}};color: {{isNight ? '#fff' : '#000'}}; "
>
  <view>
    客观题得分:<text class="parimary-color">{{subjectiveNum}}分</text> /
    {{subjectiveGrade}}分
  </view>
  <view> {{ready}} /{{questionList.length}} </view>
</view>