QYF-GitLab1
4 天以前 b55024ee2f42aa93e0ecaa3113bdeb286f6e59ac
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
<!--pages/bookServices/examination/questionSchedule/questionSchedule.wxml-->
<view wx:if="{{((answerType == 'option' || answerType == 'mock' || answerType == 'interaction') && !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 ==
      'interaction') ? '答题进度' : 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' || answerType == 'interaction')}}" 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>