From b55024ee2f42aa93e0ecaa3113bdeb286f6e59ac Mon Sep 17 00:00:00 2001
From: QYF-GitLab1 <1940665526@qq.com>
Date: 星期二, 29 七月 2025 18:01:55 +0800
Subject: [PATCH] 优化按钮显示,教学互动

---
 packageBookService/pages/bookServices/examination/questionSchedule/index.wxml |   22 +++++++++++++++++++---
 1 files changed, 19 insertions(+), 3 deletions(-)

diff --git a/packageBookService/pages/bookServices/examination/questionSchedule/index.wxml b/packageBookService/pages/bookServices/examination/questionSchedule/index.wxml
index ac5ebbf..16c6258 100644
--- a/packageBookService/pages/bookServices/examination/questionSchedule/index.wxml
+++ b/packageBookService/pages/bookServices/examination/questionSchedule/index.wxml
@@ -1,12 +1,28 @@
 <!--pages/bookServices/examination/questionSchedule/questionSchedule.wxml-->
-<view class="schedule" id="schedule" style="background-color:{{isNight ? '#000' : '#fff'}}">
+<view wx:if="{{((answerType == 'option' || answerType == 'mock' || answerType == 'interaction') && !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 ==
+      'interaction') ? '绛旈杩涘害' : 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' || answerType == 'interaction')}}" style="color:  {{isNight ? '#fff' : '#000'}};">
+      <view class="remainder-text">鍓╀綑鏃堕棿 </view>
+      <view class="parimary-color remaining-time">{{showTime}}</view>
+    </view>
   </view>
+  <!-- 杩涘害鏉� -->
   <view class="schedule-progress">
     <t-progress percentage="{{percentage}}" color="#ff6c00" label="" />
   </view>
+</view>
+
+<!--  缁冧範銆佺粍鍗� 鎻愪氦鍚� -->
+<view wx:else class="schedule submit-message" style="background-color:{{isNight ? '#1a1a1a' : '#fff'}};color: {{isNight ? '#fff' : '#000'}}; ">
+  <view>
+    瀹㈣棰樺緱鍒嗭細<text class="parimary-color">{{subjectiveNum}}鍒�</text> /
+    {{subjectiveGrade}}鍒�
+  </view>
+  <view> {{ready}} /{{questionList.length}} </view>
 </view>
\ No newline at end of file

--
Gitblit v1.9.1