From 6a444f6b67a5ecd80623405bf0616d7330418239 Mon Sep 17 00:00:00 2001
From: 闫增涛 <1829501689@qq.com>
Date: 星期二, 26 三月 2024 17:43:13 +0800
Subject: [PATCH] 答题器bug修改

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

diff --git a/packageBookService/pages/bookServices/examination/questionList/index.wxml b/packageBookService/pages/bookServices/examination/questionList/index.wxml
index 654cac3..7d4b93f 100644
--- a/packageBookService/pages/bookServices/examination/questionList/index.wxml
+++ b/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;">绛旀瑙f瀽锛�</text
-          ><rich-text
+          <text style="font-size: {{sliderValue || 32}}rpx;">绛旀瑙f瀽锛�</text>
+          <rich-text
             style="font-size: {{sliderValue || 32}}rpx;"
             nodes="{{item.analysisCon}}"
             class="analysis-content"

--
Gitblit v1.9.1