<view class="page_bg data-v-f98e4d70"><view class="top_nav data-v-f98e4d70"><image class="image_1 data-v-f98e4d70" src="/static/local/3546451940011a031009b939a8b26314.png" data-event-opts="{{[['tap',[['pageBack',['$event']]]]]}}" bindtap="__e"></image><view class="cate data-v-f98e4d70">{{cardHidden?pageTitle:'答题卡'}}</view><view class="time_out data-v-f98e4d70"><u-icon style="margin-right:12rpx;" vue-id="383a5e84-1" name="hourglass-half-fill" color="#333" size="28" class="data-v-f98e4d70" bind:__l="__l"></u-icon><u-count-down vue-id="383a5e84-2" timestamp="{{time}}" font-size="20" autoplay="{{false}}" data-ref="uCountDown" data-event-opts="{{[['^end',[['timeOut']]]]}}" bind:end="__e" class="data-v-f98e4d70 vue-ref" bind:__l="__l"></u-count-down></view></view><view class="main data-v-f98e4d70"><view class="exam_title data-v-f98e4d70">{{detail.title}}</view><pw-swiper scoped-slots-compiler="augmented" class="pw_swiper data-v-f98e4d70 vue-ref" vue-id="383a5e84-3" list="{{questionList}}" dataIndex="{{currentIndex}}" data-ref="swiper" data-event-opts="{{[['^change',[['change']]]]}}" bind:change="__e" bind:__l="__l" vue-slots="{{['default']}}"><scroll-view class="scroll_bg data-v-f98e4d70" scroll-y="{{true}}" wx:if="{{$root.m0}}"><view class="item_top data-v-f98e4d70"><text class="item_type data-v-f98e4d70">{{$root.m1}}</text><text class="number data-v-f98e4d70"><text class="data-v-f98e4d70">{{$root.m2['index']+1}}</text>{{'/ '+$root.g0}}</text></view><mp-html class="item_body data-v-f98e4d70" vue-id="{{('383a5e84-4')+','+('383a5e84-3')}}" content="{{$root.m3['item'].title}}" bind:__l="__l"></mp-html><block wx:if="{{$root.m4}}"><view class="single data-v-f98e4d70"><block wx:for="{{$root.l0}}" wx:for-item="answer" wx:for-index="a_index"><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" data-event-params="{{({a_index,answer:answer.$orig})}}" class="answer_item data-v-f98e4d70" bindtap="__e"><view class="{{['left_icon','data-v-f98e4d70',(a_index==answercard[answer.m6['item']._id].a)?'selected':'']}}">{{''+answer.f0+''}}</view>{{''+answer.$orig.content+''}}</view></block></view></block><block wx:if="{{$root.m7['item'].type==2}}"><view class="single data-v-f98e4d70"><block wx:for="{{$root.l1}}" wx:for-item="answer" wx:for-index="a_index"><view data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" data-event-params="{{({a_index,answer:answer.$orig})}}" class="answer_item data-v-f98e4d70" bindtap="__e"><view class="{{['left_icon','data-v-f98e4d70',(answer.m9)?'selected':'']}}">{{''+answer.f1+''}}</view>{{''+answer.$orig.content+''}}</view></block></view></block></scroll-view></pw-swiper><view class="{{['end_nav','data-v-f98e4d70',(!cardHidden)?'end_nav_show':'']}}"><block wx:if="{{cardHidden}}"><block class="data-v-f98e4d70"><view data-event-opts="{{[['tap',[['changeIndex',['before']]]]]}}" class="{{['btn','data-v-f98e4d70',(currentIndex==0)?'cant':'']}}" bindtap="__e">上一题</view><view class="icon data-v-f98e4d70"><image class="image_8 data-v-f98e4d70" src="/static/local/16403089344736532213.png"></image><view data-event-opts="{{[['tap',[['e2',['$event']]]]]}}" class="text data-v-f98e4d70" bindtap="__e">答题卡</view></view><view data-event-opts="{{[['tap',[['saveExam',['click']]]]]}}" class="icon data-v-f98e4d70" bindtap="__e"><image class="image_8 data-v-f98e4d70" src="/static/local/16403089344742810662.png"></image><view class="text data-v-f98e4d70">交卷</view></view><block wx:if="{{$root.g1}}"><block class="data-v-f98e4d70"><view data-event-opts="{{[['tap',[['changeIndex',['after']]]]]}}" class="btn data-v-f98e4d70" bindtap="__e">下一题</view></block></block><block wx:else><block class="data-v-f98e4d70"><view data-event-opts="{{[['tap',[['saveExam',['click']]]]]}}" class="btn data-v-f98e4d70" bindtap="__e">交卷</view></block></block></block></block><block wx:else><block class="data-v-f98e4d70"><scroll-view class="card_bg data-v-f98e4d70" scroll-y="{{true}}"><view class="card_top data-v-f98e4d70"><text class="ready data-v-f98e4d70"></text>已选<text class="not_ready data-v-f98e4d70"></text>未选</view><view class="card_main data-v-f98e4d70"><block wx:if="{{single}}"><block class="data-v-f98e4d70"><view class="title data-v-f98e4d70">单选题</view><block wx:for="{{questionList}}" wx:for-item="item" wx:for-index="__i0__" wx:key="_id"><block wx:if="{{item.type==1}}"><view data-event-opts="{{[['tap',[['e3',['$event']]]]]}}" data-event-params="{{({item})}}" class="item_bg data-v-f98e4d70" bindtap="__e"><view class="{{['item','data-v-f98e4d70',(answercard[item._id].r!=0)?'selected':'']}}">{{''+item.no+''}}</view></view></block></block></block></block><block wx:if="{{more}}"><block class="data-v-f98e4d70"><view class="title data-v-f98e4d70">多选题</view><block wx:for="{{questionList}}" wx:for-item="item" wx:for-index="__i1__" wx:key="_id"><block wx:if="{{item.type==2}}"><view data-event-opts="{{[['tap',[['e4',['$event']]]]]}}" data-event-params="{{({item})}}" class="item_bg data-v-f98e4d70" bindtap="__e"><view class="{{['item','data-v-f98e4d70',(answercard[item._id].r!=0)?'selected':'']}}">{{''+item.no+''}}</view></view></block></block></block></block><block wx:if="{{judge}}"><block class="data-v-f98e4d70"><view class="title data-v-f98e4d70">判断题</view><block wx:for="{{questionList}}" wx:for-item="item" wx:for-index="__i2__" wx:key="_id"><block wx:if="{{item.type==3}}"><view data-event-opts="{{[['tap',[['e5',['$event']]]]]}}" data-event-params="{{({item})}}" class="item_bg data-v-f98e4d70" bindtap="__e"><view class="{{['item','data-v-f98e4d70',(answercard[item._id].r!=0)?'selected':'']}}">{{''+item.no+''}}</view></view></block></block></block></block></view></scroll-view><view data-event-opts="{{[['tap',[['saveExam',['click']]]]]}}" class="save_btn data-v-f98e4d70" bindtap="__e">交卷</view></block></block></view></view><u-modal vue-id="383a5e84-5" show-title="{{false}}" content="{{content}}" show-cancel-button="{{cancel}}" value="{{modalShow}}" data-event-opts="{{[['^confirm',[['sendExamAnswer']]],['^input',[['__set_model',['','modalShow','$event',[]]]]]]}}" bind:confirm="__e" bind:input="__e" class="data-v-f98e4d70" bind:__l="__l"></u-modal><u-toast vue-id="383a5e84-6" data-ref="uToast" class="data-v-f98e4d70 vue-ref" bind:__l="__l"></u-toast></view>
|