yiming
2024-03-25 ecabd20b3dfbd956dad14ffb6ba3dc2efcfdd7c1
packageBookService/pages/bookServices/examination/questionSchedule/index.wxml
@@ -1,12 +1,40 @@
<!--pages/bookServices/examination/questionSchedule/questionSchedule.wxml-->
<view class="schedule" id="schedule" style="background-color:{{isNight ? '#000' : '#fff'}}">
<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'}};">答题进度<text class="parimary-color question-num">{{ready}}</text>
    <!-- 答题进度 -->
    <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'}};">剩余时间 <text class="parimary-color">{{showTime}}</text></view>
    <view
      class="remainder"
      wx:if="{{!submitStatus && (answerType == 'option' || answerType == 'mock')}}"
      style="color:  {{isNight ? '#fff' : '#000'}};"
      >剩余时间 <text class="parimary-color">{{showTime}}</text></view
    >
  </view>
  <!-- 进度条 -->
  <view class="schedule-progress">
    <t-progress percentage="{{percentage}}" color="#ff6c00" label="" />
  </view>
</view>
</view>
<!--  练习、组卷 提交后 -->
<view wx:else class="schedule submit-message">
  <view>
    客观题得分:<text class="parimary-color">{{subjectiveNum}}分</text> /
    {{subjectiveGrade}}分
  </view>
  <view> {{ready}} /{{questionList.length}} </view>
</view>