From 1053bf2995141d5f73868bd2fb58deb1bc68c480 Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期三, 27 三月 2024 11:07:46 +0800 Subject: [PATCH] 图书详情,答题器bug修改 --- packageBookService/pages/bookServices/examination/questionList/index.wxml | 19 +++++++++++++------ 1 files changed, 13 insertions(+), 6 deletions(-) diff --git a/packageBookService/pages/bookServices/examination/questionList/index.wxml b/packageBookService/pages/bookServices/examination/questionList/index.wxml index 7d4b93f..de4ffce 100644 --- a/packageBookService/pages/bookServices/examination/questionList/index.wxml +++ b/packageBookService/pages/bookServices/examination/questionList/index.wxml @@ -15,7 +15,11 @@ > </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 @@ -161,17 +165,18 @@ <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}}" /> @@ -181,10 +186,12 @@ 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}}" /> -- Gitblit v1.9.1