闫增涛
2024-04-03 6d8464c9524c1c8550450615bc9c47fb298d424d
packageBookService/pages/bookServices/examination/questionOptions/index.wxml
@@ -75,6 +75,26 @@
        <text class="un-answered explain-color-box"></text>
        <text>未答</text>
      </view>
      <view
        class="error-box"
        wx:if="{{((answerType == 'option' || answerType == 'mock') && submitStatus) || answerType == 'collectQuestion' || answerType == 'errorQuestion'}}"
      >
        <text
          class="explain-color-box"
          style="background-color: #ee1818"
        ></text>
        <text>错误</text>
      </view>
      <view
        class="correct-box"
        wx:if="{{((answerType == 'option' || answerType == 'mock') && submitStatus) || answerType == 'collectQuestion' || answerType == 'errorQuestion'}}"
      >
        <text
          class="explain-color-box"
          style="background-color: #1fbc1f"
        ></text>
        <text>正确</text>
      </view>
    </view>
    <view class="question-card-list">
      <view wx:for="{{cardList}}" wx:key="index" class="card-box">
@@ -91,7 +111,7 @@
            wx:for-item="citem"
            wx:for-index="cindex"
            wx:key="cindex"
            class="question-box {{citem.isUserAnswer ? 'answered' : 'un-answered'}}"
            class="question-box {{ citem.isUserAnswer ? 'answered' : 'un-answered' }} {{ ( ((answerType == 'option' || answerType == 'mock') && submitStatus || answerType == 'collectQuestion' || answerType == 'errorQuestion')  && citem.questionType !== 'shortAnswer' )  ? citem.isRight ? 'correct-box-color' : 'error-box-color' : ''}} "
          >
            {{citem.number}}
          </view>