船员公众号
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

1 lines
6.6 KiB

<view class="erercises-detail data-v-43f50ed6"><block wx:if="{{info.question_info.title}}"><view class="erercises-detail-section data-v-43f50ed6"><view class="li data-v-43f50ed6"><view class="top data-v-43f50ed6"><view class="tag data-v-43f50ed6"><text class="data-v-43f50ed6">{{teamIndex+"/"+count}}</text></view><block wx:if="{{type!=1}}"><view class="time data-v-43f50ed6"><image src="{{$root.m0}}" class="data-v-43f50ed6"></image><u-count-down vue-id="19c3673b-1" time="{{start_time}}" format="HH:mm:ss" autoStart="{{true}}" data-event-opts="{{[['^change',[['onChange']]]]}}" bind:change="__e" class="data-v-43f50ed6" bind:__l="__l" vue-slots="{{['default']}}"><view class="time data-v-43f50ed6"><view class="time__custom data-v-43f50ed6"><text class="time__custom__item data-v-43f50ed6">{{timeData.hours>10?timeData.hours:'0'+(timeData.hours?timeData.hours:0)}}</text></view><text class="time__doc data-v-43f50ed6">:</text><view class="time__custom data-v-43f50ed6"><text class="time__custom__item data-v-43f50ed6">{{timeData.minutes>10?timeData.minutes:'0'+(timeData.minutes?timeData.minutes:0)}}</text></view><text class="time__doc data-v-43f50ed6">:</text><view class="time__custom data-v-43f50ed6"><text class="time__custom__item data-v-43f50ed6">{{timeData.seconds>10?timeData.seconds:'0'+(timeData.seconds?timeData.seconds:0)}}</text></view></view></u-count-down></view></block></view><view class="tit data-v-43f50ed6" style="{{'font-size:'+(fontSize+'rpx')+';'+('font-weight:'+(fontWeight?'normal':'bold')+';')}}">{{''+teamIndex+"、"}}<view class="content data-v-43f50ed6"><rich-text nodes="{{info.question_info.title}}"></rich-text></view></view><block wx:if="{{info.question_info.title_img}}"><view class="title_img data-v-43f50ed6"><image mode="widthFix" src="{{info.question_info.title_img}}" class="data-v-43f50ed6"></image></view></block><block wx:if="{{info.question_info.title_video}}"><view class="title_video data-v-43f50ed6"><video src="{{info.question_info.title_video}}" class="data-v-43f50ed6"></video></view></block><block wx:for="{{$root.l0}}" wx:for-item="a" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['toSelect',[index]]]]]}}" class="{{['con','data-v-43f50ed6',a.$orig.isSelect?'right':a.$orig.isErrow?'wrong':'']}}" style="{{'font-size:'+(fontSize+'rpx')+';'}}" bindtap="__e">{{''+a.$orig.name+"."+a.$orig.value+''}}<view class="mark data-v-43f50ed6"><block wx:if="{{a.$orig.isSelect}}"><image src="{{a.m1}}" class="data-v-43f50ed6"></image></block><block wx:else><block wx:if="{{a.$orig.isErrow}}"><image src="{{a.m2}}" class="data-v-43f50ed6"></image></block><block wx:if="{{current_question_choice&&info.question_info.correct==a.$orig.name}}"><image src="{{a.m3}}" class="data-v-43f50ed6"></image></block></block></view></view></block></view><view class="btns data-v-43f50ed6"><view data-event-opts="{{[['tap',[['getInfo',[0]]]]]}}" class="btn data-v-43f50ed6" bindtap="__e">上一题</view><view data-event-opts="{{[['tap',[['updateFont',[1]]]]]}}" class="btn data-v-43f50ed6" bindtap="__e">放大</view><view data-event-opts="{{[['tap',[['updateFont',[2]]]]]}}" class="btn data-v-43f50ed6" bindtap="__e">缩小</view><view data-event-opts="{{[['tap',[['updateFont',[3]]]]]}}" class="btn data-v-43f50ed6" bindtap="__e">{{fontWeight?'加粗':'恢复'}}</view><view data-event-opts="{{[['tap',[['getInfo',[1]]]]]}}" class="btn data-v-43f50ed6" bindtap="__e">下一题</view></view><block wx:if="{{current_question_choice}}"><view class="analysis data-v-43f50ed6"><view class="answer data-v-43f50ed6">答案:<text class="data-v-43f50ed6">{{info.question_info.correct}}</text></view><view class="line data-v-43f50ed6"><u-divider vue-id="19c3673b-2" text="答案解析" textSize="14" textColor="#3e3e3e" class="data-v-43f50ed6" bind:__l="__l"></u-divider></view><view class="msg data-v-43f50ed6" style="{{'font-size:'+(fontSize1+'rpx')+';'}}"><rich-text nodes="{{info.question_info.prompt}}"></rich-text></view></view></block></view></block><block wx:if="{{$root.g0}}"><view class="erercises-detail-section data-v-43f50ed6"><block wx:if="{{count==0}}"><view class="empty data-v-43f50ed6" style="margin-top:200rpx;"><u-empty vue-id="19c3673b-3" mode="data" text="暂无相关信息" class="data-v-43f50ed6" bind:__l="__l"></u-empty></view></block><block wx:else><view class="empty data-v-43f50ed6" style="margin-top:200rpx;margin-bottom:100rpx;"><u-empty vue-id="19c3673b-4" mode="data" text="当前真题全部答完" class="data-v-43f50ed6" bind:__l="__l"></u-empty></view><u-button vue-id="19c3673b-5" color="#2080F9" data-event-opts="{{[['^click',[['openPage',[8]]]]]}}" bind:click="__e" class="data-v-43f50ed6" bind:__l="__l" vue-slots="{{['default']}}">返回上一页</u-button></block></view></block><block wx:if="{{info.question_info.title}}"><view class="erercises-detail-bottom data-v-43f50ed6" style="{{'padding-bottom:'+(safeBottom+'px')+';'}}"><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="check data-v-43f50ed6" bindtap="__e"><view class="a data-v-43f50ed6"><image src="{{$root.m4}}" class="data-v-43f50ed6"></image>{{successNum+''}}</view><view class="b data-v-43f50ed6"><image src="{{$root.m5}}" class="data-v-43f50ed6"></image>{{errorNum+''}}</view></view><block wx:if="{{info.question_info.speech}}"><view data-event-opts="{{[['tap',[['toPlayAudio',['$0'],['info.question_info.speech']]]]]}}" class="listen data-v-43f50ed6" bindtap="__e"><block wx:if="{{isPlay==false}}"><image src="{{$root.m6}}" class="data-v-43f50ed6"></image></block><block wx:else><image src="{{$root.m7}}" class="data-v-43f50ed6"></image></block><text class="{{['data-v-43f50ed6',isPlay?'on':'']}}">听题</text></view></block><view class="btns data-v-43f50ed6"><block wx:if="{{type!=1}}"><block wx:if="{{type!=1}}"><view data-event-opts="{{[['tap',[['openPage',[2]]]]]}}" class="hand data-v-43f50ed6" bindtap="__e">交卷</view></block></block></view></view></block><u-popup vue-id="19c3673b-6" show="{{isShowCard}}" round="10" closeable="{{true}}" data-event-opts="{{[['^close',[['e1']]]]}}" bind:close="__e" class="data-v-43f50ed6" bind:__l="__l" vue-slots="{{['default']}}"><view class="pop-card data-v-43f50ed6"><view class="card-title data-v-43f50ed6"><text class="data-v-43f50ed6">答题卡</text><view class="a data-v-43f50ed6"><image src="{{$root.m8}}" class="data-v-43f50ed6"></image>{{successNum+''}}</view><view class="b data-v-43f50ed6"><image src="{{$root.m9}}" class="data-v-43f50ed6"></image>{{errorNum+''}}</view></view><view class="card-content data-v-43f50ed6"><block wx:for="{{$root.l1}}" wx:for-item="item" wx:for-index="index"><view class="{{['item','data-v-43f50ed6',(item.g1>=0)?'correct':'',(item.g2>=0)?'error':'']}}">{{''+(index+1)+''}}</view></block></view></view></u-popup></view>