| | |
| | | data-value="{{item.option}}" |
| | | data-id="{{item.id}}" |
| | | data-index="{{inputItem.num}}" |
| | | class="title-input" |
| | | class="title-input {{isNight ? 'input-night-color' : ''}}" |
| | | style="border: 2rpx solid rgba(220,220,220,1);border-radius: 12rpx;background-color:{{isNight ? '#000' : '#fff'}}; " |
| | | placeholder-style="{{placeholderstyle}}" |
| | | wx:if="{{inputItem.data == 'input'}}" |
| | |
| | | > |
| | | <view |
| | | style="font-size: {{sliderValue || 32}}rpx;" |
| | | class="radio-item {{(answerType == 'option' || answerType == 'mock' ) && !submitStatus && item.userAnswer == contentItem.value ? 'radio-active' : isNight ? 'night' :''}} {{ (item.answer == contentItem.value && item.answer == item.userAnswer && submitStatus) ? 'radio-correct' : (item.userAnswer == contentItem.value && item.userAnswer != item.answer && submitStatus) ?'radio-error' :'' }}" |
| | | class="radio-item {{(answerType == 'option' || answerType == 'mock' ) && !submitStatus && item.userAnswer == contentItem.value ? 'radio-active' : isNight ? 'night' :''}} {{item.userAnswer == contentItem.value && submitStatus ? item.isRight ? 'radio-correct' : 'radio-error' :''}}" |
| | | > |
| | | <!-- 仅文字 --> |
| | | <text wx:if="{{item.optionStyle == 'Txt'}}" |
| | |
| | | bind:change="onChangeRadio" |
| | | data-value="{{item.option}}" |
| | | data-id="{{item.id}}" |
| | | class="option-textarea" |
| | | class="option-textarea {{isNight ? 'textarea-night-color' :''}}" |
| | | wx:elif="{{item.questionType == 'shortAnswer'}}" |
| | | t-class="external-class" |
| | | placeholder="请输入文字" |
| | |
| | | </view> |
| | | </view> |
| | | </swiper-item> |
| | | <swiper-item wx:if="{{answerType !== 'collectQuestion'}}"> |
| | | <swiper-item |
| | | wx:if="{{answerType !== 'collectQuestion' && questionList.length}}" |
| | | > |
| | | <text>没有更多了。。。</text> |
| | | </swiper-item> |
| | | <swiper-item wx:if="{{!questionList.length}}"> |
| | | <view class="noData"> |
| | | <t-empty icon="folder-open" description="暂无数据" /> |
| | | </view> |
| | | </swiper-item> |
| | | </swiper> |
| | | </view> |