From ecabd20b3dfbd956dad14ffb6ba3dc2efcfdd7c1 Mon Sep 17 00:00:00 2001 From: yiming <m13691596795@163.com> Date: 星期一, 25 三月 2024 16:23:32 +0800 Subject: [PATCH] 微信支付 --- packageBookService/pages/bookServices/examination/questionSchedule/index.wxml | 33 ++++++++++++++++++++++++++++----- 1 files changed, 28 insertions(+), 5 deletions(-) diff --git a/packageBookService/pages/bookServices/examination/questionSchedule/index.wxml b/packageBookService/pages/bookServices/examination/questionSchedule/index.wxml index c7cad08..9d5f617 100644 --- a/packageBookService/pages/bookServices/examination/questionSchedule/index.wxml +++ b/packageBookService/pages/bookServices/examination/questionSchedule/index.wxml @@ -1,17 +1,40 @@ <!--pages/bookServices/examination/questionSchedule/questionSchedule.wxml--> -<view class="schedule"> +<view + wx:if="{{((answerType == 'option' || answerType == 'mock') && !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 == '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> + <!-- 杩涘害鏉� --> <view class="schedule-progress"> <t-progress percentage="{{percentage}}" color="#ff6c00" label="" /> </view> </view> + +<!-- 缁冧範銆佺粍鍗� 鎻愪氦鍚� --> +<view wx:else class="schedule submit-message"> + <view> + 瀹㈣棰樺緱鍒嗭細<text class="parimary-color">{{subjectiveNum}}鍒�</text> / + {{subjectiveGrade}}鍒� + </view> + <view> {{ready}} /{{questionList.length}} </view> +</view> -- Gitblit v1.9.1