From c99f9976a5ef9d8974105feb8fc0580a10adf98c Mon Sep 17 00:00:00 2001 From: QYF-GitLab1 <1940665526@qq.com> Date: 星期一, 23 十二月 2024 14:58:49 +0800 Subject: [PATCH] 111 --- packageBookService/pages/bookServices/examination/questionSchedule/index.wxml | 41 ++++++++++++++++++++++++++++++++++------- 1 files changed, 34 insertions(+), 7 deletions(-) diff --git a/packageBookService/pages/bookServices/examination/questionSchedule/index.wxml b/packageBookService/pages/bookServices/examination/questionSchedule/index.wxml index c7cad08..8c19402 100644 --- a/packageBookService/pages/bookServices/examination/questionSchedule/index.wxml +++ b/packageBookService/pages/bookServices/examination/questionSchedule/index.wxml @@ -1,17 +1,44 @@ <!--pages/bookServices/examination/questionSchedule/questionSchedule.wxml--> -<view class="schedule"> +<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" - >绛旈杩涘害<text class="parimary-color question-num">{{ready}}</text> - <text>/{{questionList.length}}</text></view - > + <!-- 绛旈杩涘害 --> + <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')}}" - >鍓╀綑鏃堕棿 <text class="parimary-color">{{showTime}}</text></view + 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> -- Gitblit v1.9.1