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 | 32 ++++++++++---------------------- 1 files changed, 10 insertions(+), 22 deletions(-) diff --git a/packageBookService/pages/bookServices/examination/questionSchedule/index.wxml b/packageBookService/pages/bookServices/examination/questionSchedule/index.wxml index b95c893..16c6258 100644 --- a/packageBookService/pages/bookServices/examination/questionSchedule/index.wxml +++ b/packageBookService/pages/bookServices/examination/questionSchedule/index.wxml @@ -1,28 +1,16 @@ <!--pages/bookServices/examination/questionSchedule/questionSchedule.wxml--> -<view - wx:if="{{((answerType == 'option' || answerType == 'mock') && !submitStatus) || answerType == 'collectQuestion' || answerType =='errorQuestion'}}" - 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'}};" - >{{(answerType == 'option' || answerType == 'mock') ? '绛旈杩涘害' : - answerType == 'collectQuestion' ? '鏀惰棌鏁伴噺' : '閿欓鏁伴噺' }}<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"> @@ -31,10 +19,10 @@ </view> <!-- 缁冧範銆佺粍鍗� 鎻愪氦鍚� --> -<view wx:else class="schedule submit-message"> +<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> +</view> \ No newline at end of file -- Gitblit v1.9.1