| | |
| | | > |
| | | </view> |
| | | <!-- 题目列表 --> |
| | | <swiper class="swiper" bind:change="changeSwiper" current="{{currentIndex}}"> |
| | | <swiper |
| | | class="swiper" |
| | | bindanimationfinish="changeSwiper" |
| | | current="{{currentIndex}}" |
| | | > |
| | | <swiper-item wx:for="{{questionList}}" wx:key="id" style="overflow-y: auto"> |
| | | <!-- 题干 --> |
| | | <view |
| | |
| | | <t-checkbox |
| | | block="{{false}}" |
| | | value="{{contentItem.value}}" |
| | | style="background-color:{{isNight ? '#000' :'#fff'}}; " |
| | | style="background-color:{{isNight ? '#222' :'#fff'}}; " |
| | | > |
| | | <!-- 仅文字 --> |
| | | <text |
| | | wx:if="{{item.optionStyle == 'Txt'}}" |
| | | style="color:{{ isNight ? '#fff' : '#000'}}" |
| | | style="color:{{ isNight ? '#fff' : '#000'}};font-size:{{sliderValue || 32}}rpx;" |
| | | >{{contentItem.value}}、{{contentItem.txt}}</text |
| | | > |
| | | <!-- 仅图片 --> |
| | | <view wx:if="{{item.optionStyle == 'Image'}}" class="fl-center"> |
| | | <text style="color:{{ isNight ? '#fff' : '#000'}}" |
| | | <text |
| | | style="color:{{ isNight ? '#fff' : '#000'}};font-size:{{sliderValue || 32}}rpx;" |
| | | >{{contentItem.value}}、</text |
| | | > |
| | | <t-image src="{{contentItem.img}}" /> |
| | |
| | | wx:if="{{item.optionStyle == 'TxtAndImage'}}" |
| | | class="fl-center" |
| | | > |
| | | <text style="color:{{ isNight ? '#fff' : '#000'}}" |
| | | <text |
| | | style="color:{{ isNight ? '#fff' : '#000'}};font-size:{{sliderValue || 32}}rpx;" |
| | | >{{contentItem.value}}、</text |
| | | > |
| | | <text style="color:{{ isNight ? '#fff' : '#000'}}" |
| | | <text |
| | | style="color:{{ isNight ? '#fff' : '#000'}};font-size:{{sliderValue || 32}}rpx;" |
| | | >{{contentItem.txt}}</text |
| | | > |
| | | <t-image src="{{contentItem.img}}" /> |