闫增涛
2024-03-26 6a444f6b67a5ecd80623405bf0616d7330418239
packageBookService/pages/bookServices/examination/questionList/index.wxml
@@ -16,7 +16,7 @@
  </view>
  <!-- 题目列表 -->
  <swiper class="swiper" bind:change="changeSwiper" current="{{currentIndex}}">
    <swiper-item wx:for="{{questionList}}" wx:key="id">
    <swiper-item wx:for="{{questionList}}" wx:key="id" style="overflow-y: auto">
      <!-- 题干 -->
      <view
        class="question-stem title-score"
@@ -75,7 +75,9 @@
        </view>
      </view>
      <!-- 答题区域 -->
      <view class="question-answer">
      <view
        class="question-answer {{item.questionType == 'shortAnswer' ? 'textarea-center' : ''}}"
      >
        <!-- 单选题 -->
        <t-radio-group
          wx:if="{{item.questionType == 'singleChoice' || item.questionType == 'judge'}}"
@@ -169,7 +171,9 @@
              >
              <!-- 仅图片 -->
              <view wx:if="{{item.optionStyle == 'Image'}}" class="fl-center">
                <text>{{contentItem.value}}、</text>
                <text style="color:{{ isNight  ? '#fff' : '#000'}}"
                  >{{contentItem.value}}、</text
                >
                <t-image src="{{contentItem.img}}" />
              </view>
              <!-- 文字加图片 -->
@@ -177,8 +181,12 @@
                wx:if="{{item.optionStyle == 'TxtAndImage'}}"
                class="fl-center"
              >
                <text>{{contentItem.value}}、</text>
                <text>{{contentItem.txt}}</text>
                <text style="color:{{ isNight  ? '#fff' : '#000'}}"
                  >{{contentItem.value}}、</text
                >
                <text style="color:{{ isNight  ? '#fff' : '#000'}}"
                  >{{contentItem.txt}}</text
                >
                <t-image src="{{contentItem.img}}" />
              </view>
              <!-- 富文本 -->
@@ -243,8 +251,8 @@
          wx:if="{{item.analysisCon}}"
          style="color: {{isNight ? '#fff' : '#000'}};"
        >
          <text style="font-size: {{sliderValue || 32}}rpx;">答案解析:</text
          ><rich-text
          <text style="font-size: {{sliderValue || 32}}rpx;">答案解析:</text>
          <rich-text
            style="font-size: {{sliderValue || 32}}rpx;"
            nodes="{{item.analysisCon}}"
            class="analysis-content"