| | |
| | | class="li-option" |
| | | bind:tap="setCollect" |
| | | style="color: {{isNight ? '#fff' : '#000'}};" |
| | | wx:if="{{answerType !== 'interaction'}}" |
| | | > |
| | | <image |
| | | src="{{ questionDataList[currentIndex].isCollect ? '/static/images/bookService/detail/collecting.png' : isNight ? '/static/images/bookService/examination/wodeshoucang-w.png' : '/static/images/bookService/examination/collect.png'}}" |
| | |
| | | size="large" |
| | | style="{{btnStyle}}" |
| | | bind:tap="submitBtn" |
| | | >{{(answerType == 'option' || answerType == 'mock') && !submitStatus ? |
| | | '提交' : '退出'}}</t-button |
| | | >{{(answerType == 'option' || answerType == 'mock' || answerType == |
| | | 'interaction') && !submitStatus ? '提交' : '退出'}}</t-button |
| | | > |
| | | </view> |
| | | </view> |
| | |
| | | <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>正确</text> |
| | | </view> |
| | | </view> |
| | | <view class="question-card-list"> |
| | | <scroll-view scroll-y="{{true}}" 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> |
| | |
| | | wx:for-item="citem" |
| | | wx:for-index="cindex" |
| | | wx:key="cindex" |
| | | class="question-box {{citem.isUserAnswer ? 'answered' : 'un-answered'}}" |
| | | style="border: {{showId == citem.id ? '1px solid #ff6c00' : ''}}" |
| | | class="question-box {{ citem.isUserAnswer ? 'answered' : 'un-answered' }} {{ ( ((answerType == 'option' || answerType == 'mock') && submitStatus || answerType == 'collectQuestion' || answerType == 'errorQuestion') && citem.questionType !== 'shortAnswer' ) ? citem.isRight && citem.isComplete ? 'correct-box-color' : citem.isComplete && !citem.isRight ? 'error-box-color' : '' :''}} " |
| | | > |
| | | {{citem.number}} |
| | | </view> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | </scroll-view> |
| | | </view> |
| | | </t-popup> |
| | | |
| | |
| | | max="{{48}}" |
| | | step="{{7}}" |
| | | activeColor="#ff6c00" |
| | | bind:changing="onChangeSlider" |
| | | bind:change="onChangeSlider" |
| | | /> |
| | | </view> |
| | | |
| | |
| | | style="margin: 0px" |
| | | > |
| | | <view class="card {{radioItem == 'daytime' ? 'card--active' : ''}}"> |
| | | <t-radio value="daytime" icon="none" borderless> |
| | | <t-radio value="daytime" icon="none" borderless style="height: 100%"> |
| | | <view class="radio-content" slot="content"> |
| | | <image |
| | | src="{{ radioItem == 'daytime' ? '/static/images/bookService/examination/rijian-click.png' : '/static/images/bookService/examination/rijian.png'}}" |
| | |
| | | </t-radio> |
| | | </view> |
| | | <view class="card {{radioItem == 'night' ? 'card--active' : ''}}"> |
| | | <t-radio value="night" icon="none" borderless> |
| | | <t-radio value="night" icon="none" borderless style="height: 100%"> |
| | | <view class="radio-content" slot="content"> |
| | | <image |
| | | src="{{ radioItem == 'night' ? '/static/images/bookService/examination/yejian-click.png' : '/static/images/bookService/examination/yejian.png'}}" |