From abbd7d18ea431ee8b6b8e634abf3e8ccb1fbb1b3 Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期五, 28 三月 2025 18:43:33 +0800 Subject: [PATCH] 登录迁移 --- packageBookService/pages/bookServices/examination/questionList/index.wxml | 44 +++++++++++++++++++++++++++++++------------- 1 files changed, 31 insertions(+), 13 deletions(-) diff --git a/packageBookService/pages/bookServices/examination/questionList/index.wxml b/packageBookService/pages/bookServices/examination/questionList/index.wxml index 4820cd7..3bab70d 100644 --- a/packageBookService/pages/bookServices/examination/questionList/index.wxml +++ b/packageBookService/pages/bookServices/examination/questionList/index.wxml @@ -49,7 +49,7 @@ <!-- 浠呮枃瀛� --> <view - class="title-content" + class="title-content text-space" wx:elif="{{item.stemStyle == 'Txt' && item.questionType != 'completion'}}" >{{item.stem.stemTxt}}</view > @@ -60,7 +60,7 @@ <!-- 鍥剧墖鍔犳枃瀛� --> <view wx:elif="{{item.stemStyle == 'TxtAndImage'}}" - class="title-content" + class="title-content text-space" > <view>{{item.stem.stemTxt}}</view> <image src="{{item.stem.stemImage}}" mode="aspectFit" /> @@ -80,6 +80,7 @@ > <t-input disabled="{{item.isComplete}}" + borderless bind:change="onChangeInput" data-value="{{item.option}}" data-id="{{item.id}}" @@ -91,7 +92,7 @@ placeholder="璇疯緭鍏ユ枃瀛�" value="{{item.userAnswer[inputItem.num]}}" ></t-input> - <text wx:else>{{inputItem}}</text> + <text wx:else class="text-space">{{inputItem}}</text> </view> </view> </view> @@ -127,8 +128,15 @@ 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'}}" + <text + wx:if="{{item.optionStyle == 'Txt' && item.questionType == 'singleChoice'}}" + class="text-space" >{{contentItem.value}}銆亄{contentItem.txt}}</text + > + <text + wx:if="{{item.optionStyle == 'Txt' && item.questionType == 'judge'}}" + class="text-space" + >{{contentItem.value}}</text > <!-- 浠呭浘鐗� --> <view wx:if="{{item.optionStyle == 'Image'}}" class="fl-center"> @@ -141,7 +149,7 @@ class="fl-center" class="TxtAndImage-box" > - <text>{{contentItem.value}}銆�</text> + <text class="text-space">{{contentItem.value}}銆�</text> <view class="radio-textimg">{{contentItem.txt}}</view> <image src="{{contentItem.img}}" mode="aspectFit" /> </view> @@ -195,11 +203,11 @@ > <!-- 浠呮枃瀛� --> <view - class="fl-center mh" + class="fl-center mh text-space" wx:if="{{item.optionStyle == 'Txt'}}" style="color:{{ isNight ? '#fff' : '#000'}};font-size:{{sliderValue || 32}}rpx;" > - <text>{{contentItem.value}}銆�</text> + <text>{{contentItem.value}}</text> <text class="check-text-box">{{contentItem.txt}}</text> </view> @@ -217,7 +225,7 @@ <!-- 鏂囧瓧鍔犲浘鐗� --> <view wx:if="{{item.optionStyle == 'TxtAndImage'}}" - class="fl-center mh" + class="fl-center mh text-space" > <text style="color:{{ isNight ? '#fff' : '#000'}};font-size:{{sliderValue || 32}}rpx;" @@ -285,10 +293,10 @@ style="font-size: {{sliderValue || 32}}rpx;" > <text class="analysis-title-box">姝g‘绛旀锛�</text> - <rich-text - nodes="{{item.answer}}" - style="font-size: {{sliderValue || 40}}rpx;" - ></rich-text> + <text style="font-size: {{sliderValue || 40}}rpx;" + >{{item.answer}}</text + > + <!-- <rich-text nodes="{{item.answer}}" style="font-size: {{sliderValue || 40}}rpx;"></rich-text> --> </view> <view class="answer-center {{item.isRight ? 'answer-correct' : 'answer-error'}} {{sliderValue <= 35 ? 'marginL' : ''}}" @@ -316,10 +324,12 @@ >绛旀瑙f瀽锛�</text > <rich-text + wx:if="item.analysisCon" style="font-size: {{sliderValue || 32}}rpx;" nodes="{{item.analysisCon}}" class="analysis-content" ></rich-text> + <text wx:else style="font-size: {{sliderValue || 32}}rpx;">-</text> </view> </view> <!-- 濉┖銆佺畝绛旇В鏋� --> @@ -378,15 +388,23 @@ >绛旀瑙f瀽锛�</text > <rich-text + wx:if="item.analysisCon" nodes="{{item.analysisCon}}" style="font-size:{{sliderValue || 28}}rpx;;color:{{isNight ? '#fff' : '#000'}}" ></rich-text> + <text + wx:else + style="font-size:{{sliderValue || 28}}rpx;;color:{{isNight ? '#fff' : '#000'}}" + > + - + </text> </view> </view> </swiper-item> <swiper-item wx:if="{{noData}}"> <view class="noData"> - <t-empty icon="folder-open" description="鏆傛棤鏁版嵁" /> + <!-- <t-empty icon="folder-open" description="鏆傛棤鏁版嵁" /> --> + <empty /> </view> </swiper-item> </swiper> -- Gitblit v1.9.1