From 9385713c95cd1cb92d0ba8c89318a6822aab6cb5 Mon Sep 17 00:00:00 2001
From: litian <C21AF165>
Date: 星期一, 20 一月 2025 18:24:14 +0800
Subject: [PATCH] home

---
 packageBookService/pages/bookServices/examination/questionList/index.wxml |   32 +++++++++++++++++++++++++-------
 1 files changed, 25 insertions(+), 7 deletions(-)

diff --git a/packageBookService/pages/bookServices/examination/questionList/index.wxml b/packageBookService/pages/bookServices/examination/questionList/index.wxml
index fcd9f89..3bab70d 100644
--- a/packageBookService/pages/bookServices/examination/questionList/index.wxml
+++ b/packageBookService/pages/bookServices/examination/questionList/index.wxml
@@ -80,6 +80,7 @@
           >
             <t-input
               disabled="{{item.isComplete}}"
+              borderless
               bind:change="onChangeInput"
               data-value="{{item.option}}"
               data-id="{{item.id}}"
@@ -127,8 +128,15 @@
                 class="radio-item {{(answerType == 'option' || answerType == 'mock' ) && !submitStatus && item.userAnswer == contentItem.value ? 'radio-active' : isNight ? 'night' :''}} {{item.userAnswer == contentItem.value && submitStatus ?  item.isRight ? 'radio-correct' : 'radio-error' :''}}"
               >
                 <!-- 浠呮枃瀛� -->
-                <text wx:if="{{item.optionStyle == 'Txt'}}" class="text-space"
+                <text
+                  wx:if="{{item.optionStyle == 'Txt' && item.questionType == 'singleChoice'}}"
+                  class="text-space"
                   >{{contentItem.value}}銆亄{contentItem.txt}}</text
+                >
+                <text
+                  wx:if="{{item.optionStyle == 'Txt' && item.questionType == 'judge'}}"
+                  class="text-space"
+                  >{{contentItem.value}}</text
                 >
                 <!-- 浠呭浘鐗� -->
                 <view wx:if="{{item.optionStyle == 'Image'}}" class="fl-center">
@@ -199,7 +207,7 @@
                 wx:if="{{item.optionStyle == 'Txt'}}"
                 style="color:{{ isNight  ? '#fff' : '#000'}};font-size:{{sliderValue || 32}}rpx;"
               >
-                <text>{{contentItem.value}}銆�</text>
+                <text>{{contentItem.value}}</text>
                 <text class="check-text-box">{{contentItem.txt}}</text>
               </view>
 
@@ -285,10 +293,10 @@
             style="font-size: {{sliderValue || 32}}rpx;"
           >
             <text class="analysis-title-box">姝g‘绛旀锛�</text>
-            <rich-text
-              nodes="{{item.answer}}"
-              style="font-size: {{sliderValue || 40}}rpx;"
-            ></rich-text>
+            <text style="font-size: {{sliderValue || 40}}rpx;"
+              >{{item.answer}}</text
+            >
+            <!-- <rich-text nodes="{{item.answer}}" style="font-size: {{sliderValue || 40}}rpx;"></rich-text> -->
           </view>
           <view
             class="answer-center  {{item.isRight ? 'answer-correct' : 'answer-error'}}  {{sliderValue <= 35 ? 'marginL' : ''}}"
@@ -316,10 +324,12 @@
             >绛旀瑙f瀽锛�</text
           >
           <rich-text
+            wx:if="item.analysisCon"
             style="font-size: {{sliderValue || 32}}rpx;"
             nodes="{{item.analysisCon}}"
             class="analysis-content"
           ></rich-text>
+          <text wx:else style="font-size: {{sliderValue || 32}}rpx;">-</text>
         </view>
       </view>
       <!-- 濉┖銆佺畝绛旇В鏋� -->
@@ -378,15 +388,23 @@
             >绛旀瑙f瀽锛�</text
           >
           <rich-text
+            wx:if="item.analysisCon"
             nodes="{{item.analysisCon}}"
             style="font-size:{{sliderValue || 28}}rpx;;color:{{isNight ? '#fff' : '#000'}}"
           ></rich-text>
+          <text
+            wx:else
+            style="font-size:{{sliderValue || 28}}rpx;;color:{{isNight ? '#fff' : '#000'}}"
+          >
+            -
+          </text>
         </view>
       </view>
     </swiper-item>
     <swiper-item wx:if="{{noData}}">
       <view class="noData">
-        <t-empty icon="folder-open" description="鏆傛棤鏁版嵁" />
+        <!-- <t-empty icon="folder-open" description="鏆傛棤鏁版嵁" /> -->
+        <empty />
       </view>
     </swiper-item>
   </swiper>

--
Gitblit v1.9.1