| | |
| | | </view> |
| | | <!-- 题目列表 --> |
| | | <swiper class="swiper" bind:change="changeSwiper" current="{{currentIndex}}"> |
| | | <swiper-item wx:for="{{questionList}}" wx:key="id"> |
| | | <swiper-item wx:for="{{questionList}}" wx:key="id" style="overflow-y: auto"> |
| | | <!-- 题干 --> |
| | | <view |
| | | class="question-stem title-score" |
| | |
| | | </view> |
| | | </view> |
| | | <!-- 答题区域 --> |
| | | <view class="question-answer"> |
| | | <view |
| | | class="question-answer {{item.questionType == 'shortAnswer' ? 'textarea-center' : ''}}" |
| | | > |
| | | <!-- 单选题 --> |
| | | <t-radio-group |
| | | wx:if="{{item.questionType == 'singleChoice' || item.questionType == 'judge'}}" |
| | |
| | | > |
| | | <!-- 仅图片 --> |
| | | <view wx:if="{{item.optionStyle == 'Image'}}" class="fl-center"> |
| | | <text>{{contentItem.value}}、</text> |
| | | <text style="color:{{ isNight ? '#fff' : '#000'}}" |
| | | >{{contentItem.value}}、</text |
| | | > |
| | | <t-image src="{{contentItem.img}}" /> |
| | | </view> |
| | | <!-- 文字加图片 --> |
| | |
| | | wx:if="{{item.optionStyle == 'TxtAndImage'}}" |
| | | class="fl-center" |
| | | > |
| | | <text>{{contentItem.value}}、</text> |
| | | <text>{{contentItem.txt}}</text> |
| | | <text style="color:{{ isNight ? '#fff' : '#000'}}" |
| | | >{{contentItem.value}}、</text |
| | | > |
| | | <text style="color:{{ isNight ? '#fff' : '#000'}}" |
| | | >{{contentItem.txt}}</text |
| | | > |
| | | <t-image src="{{contentItem.img}}" /> |
| | | </view> |
| | | <!-- 富文本 --> |
| | |
| | | wx:if="{{item.analysisCon}}" |
| | | style="color: {{isNight ? '#fff' : '#000'}};" |
| | | > |
| | | <text style="font-size: {{sliderValue || 32}}rpx;">答案解析:</text |
| | | ><rich-text |
| | | <text style="font-size: {{sliderValue || 32}}rpx;">答案解析:</text> |
| | | <rich-text |
| | | style="font-size: {{sliderValue || 32}}rpx;" |
| | | nodes="{{item.analysisCon}}" |
| | | class="analysis-content" |