From cb15c57d0ff984f5a100cf25d560fb0a69c00984 Mon Sep 17 00:00:00 2001 From: yiming <m13691596795@163.com> Date: 星期二, 16 四月 2024 18:21:05 +0800 Subject: [PATCH] 音频bug4 --- packageBookService/pages/bookServices/examination/questionOptions/index.wxml | 34 ++++++++++++++++++++++++++++++---- 1 files changed, 30 insertions(+), 4 deletions(-) diff --git a/packageBookService/pages/bookServices/examination/questionOptions/index.wxml b/packageBookService/pages/bookServices/examination/questionOptions/index.wxml index 804220a..270bd18 100644 --- a/packageBookService/pages/bookServices/examination/questionOptions/index.wxml +++ b/packageBookService/pages/bookServices/examination/questionOptions/index.wxml @@ -67,19 +67,45 @@ <view class="popup-title">绛旈鍗�</view> </view> <view class="question-explain"> - <view class="explain-answered"> + <view + class="explain-answered" + wx:if="{{answerType == 'collectQuestion' || answerType == 'errorQuestion' || (answerType == 'option' && !submitStatus) || (answerType == 'mock' && !submitStatus)}}" + > <text class="answered explain-color-box"></text> <text>宸茬瓟</text> </view> - <view class="explain-un-answered"> + <view + class="explain-un-answered" + wx:if="{{answerType == 'collectQuestion' || answerType == 'errorQuestion' || (answerType == 'option' && !submitStatus) || (answerType == 'mock' && !submitStatus)}}" + > <text class="un-answered explain-color-box"></text> <text>鏈瓟</text> + </view> + <view + class="error-box" + wx:if="{{((answerType == 'option' || answerType == 'mock') && submitStatus) || answerType == 'collectQuestion' || answerType == 'errorQuestion'}}" + > + <text + class="explain-color-box" + style="background-color: #ee1818" + ></text> + <text>閿欒</text> + </view> + <view + class="correct-box" + wx:if="{{((answerType == 'option' || answerType == 'mock') && submitStatus) || answerType == 'collectQuestion' || answerType == 'errorQuestion'}}" + > + <text + class="explain-color-box" + style="background-color: #1fbc1f" + ></text> + <text>姝g‘</text> </view> </view> <view class="question-card-list"> <view wx:for="{{cardList}}" wx:key="index" class="card-box"> <!-- 棰樺瀷 --> - <view class="question-title"> + <view class="question-title" wx:if="{{item.infoList.length}}"> <text class="color-box"></text> <text class="title-text">{{item.catalogName}}</text> </view> @@ -91,7 +117,7 @@ wx:for-item="citem" wx:for-index="cindex" wx:key="cindex" - class="question-box {{citem.isUserAnswer ? 'answered' : 'un-answered'}}" + class="question-box {{ citem.isUserAnswer ? 'answered' : 'un-answered' }} {{ ( ((answerType == 'option' || answerType == 'mock') && submitStatus || answerType == 'collectQuestion' || answerType == 'errorQuestion') && citem.questionType !== 'shortAnswer' ) ? citem.isRight ? 'correct-box-color' : 'error-box-color' : ''}} " > {{citem.number}} </view> -- Gitblit v1.9.1