From 1fa2461678d7f93b88f5666c4898e5b6c72080f3 Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期一, 16 十二月 2024 10:21:06 +0800 Subject: [PATCH] 个人中心,班级、课程模块 --- packageBookService/pages/bookServices/examination/questionOptions/index.wxml | 16 +++++++++------- 1 files changed, 9 insertions(+), 7 deletions(-) diff --git a/packageBookService/pages/bookServices/examination/questionOptions/index.wxml b/packageBookService/pages/bookServices/examination/questionOptions/index.wxml index 270bd18..70bf3e4 100644 --- a/packageBookService/pages/bookServices/examination/questionOptions/index.wxml +++ b/packageBookService/pages/bookServices/examination/questionOptions/index.wxml @@ -7,6 +7,7 @@ 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'}}" @@ -50,8 +51,8 @@ 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> @@ -102,7 +103,7 @@ <text>姝g‘</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" wx:if="{{item.infoList.length}}"> @@ -117,13 +118,14 @@ wx:for-item="citem" wx:for-index="cindex" wx:key="cindex" - 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' : ''}} " + 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> @@ -171,7 +173,7 @@ 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'}}" @@ -183,7 +185,7 @@ </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'}}" -- Gitblit v1.9.1