sequential.wxml 11 KB

1
  1. <view class="{{['content data-v-cfd5d042',(nightFlag)?'night':'']}}"><view class="top-box data-v-cfd5d042"><view class="icon data-v-cfd5d042"></view><select-switch class="btn data-v-cfd5d042" vue-id="6a8e6507-1" defaultSwitch="{{kemu==1}}" switchList="{{['科一题目','科四题目']}}" checked_bj_color="#E31818" data-event-opts="{{[['^change',[['changeSwitch']]]]}}" bind:change="__e" bind:__l="__l"></select-switch><van-icon class="set data-v-cfd5d042" vue-id="6a8e6507-2" name="/static/imgs/sz.png" size="20" data-event-opts="{{[['^click',[['e0']]]]}}" data-com-type="wx" bind:click="__e" bind:__l="__l"></van-icon></view><van-popup vue-id="6a8e6507-3" show="{{show}}" position="bottom" data-event-opts="{{[['^close',[['e1']]]]}}" data-com-type="wx" bind:close="__e" class="data-v-cfd5d042" bind:__l="__l" vue-slots="{{['default']}}"><van-cell vue-id="{{('6a8e6507-4')+','+('6a8e6507-3')}}" title="背题模式" clickable="{{true}}" data-index="{{index}}" data-event-opts="{{[['^click',[['e2']]]]}}" data-com-type="wx" bind:click="__e" class="data-v-cfd5d042" bind:__l="__l" vue-slots="{{['right-icon']}}"><van-switch vue-id="{{('6a8e6507-5')+','+('6a8e6507-4')}}" slot="right-icon" checked="{{answerflag}}" size="24px" active-color="#16CC16" data-com-type="wx" class="data-v-cfd5d042" bind:__l="__l"></van-switch></van-cell><van-cell vue-id="{{('6a8e6507-6')+','+('6a8e6507-3')}}" title="答对跳转下一题 " clickable="{{true}}" data-index="{{index}}" data-event-opts="{{[['^click',[['e3']]]]}}" data-com-type="wx" bind:click="__e" class="data-v-cfd5d042" bind:__l="__l" vue-slots="{{['right-icon']}}"><van-switch vue-id="{{('6a8e6507-7')+','+('6a8e6507-6')}}" slot="right-icon" checked="{{answerjump}}" size="24px" active-color="#16CC16" data-com-type="wx" class="data-v-cfd5d042" bind:__l="__l"></van-switch></van-cell><van-cell vue-id="{{('6a8e6507-8')+','+('6a8e6507-3')}}" title="错误震动提醒" clickable="{{true}}" data-index="{{index}}" data-event-opts="{{[['^click',[['e4']]]]}}" data-com-type="wx" bind:click="__e" class="data-v-cfd5d042" bind:__l="__l" vue-slots="{{['right-icon']}}"><van-switch vue-id="{{('6a8e6507-9')+','+('6a8e6507-8')}}" slot="right-icon" checked="{{checked}}" size="24px" active-color="#16CC16" data-com-type="wx" class="data-v-cfd5d042" bind:__l="__l"></van-switch></van-cell><van-cell vue-id="{{('6a8e6507-10')+','+('6a8e6507-3')}}" title="夜间模式" clickable="{{true}}" data-index="{{index}}" data-event-opts="{{[['^click',[['e5']]]]}}" data-com-type="wx" bind:click="__e" class="data-v-cfd5d042" bind:__l="__l" vue-slots="{{['right-icon']}}"><van-switch vue-id="{{('6a8e6507-11')+','+('6a8e6507-10')}}" slot="right-icon" checked="{{nightFlag}}" size="24px" active-color="#16CC16" data-com-type="wx" class="data-v-cfd5d042" bind:__l="__l"></van-switch></van-cell></van-popup><van-skeleton class="skeleton data-v-cfd5d042" vue-id="6a8e6507-12" avatar="{{true}}" row="6" row-width="{{['100%','40%','70%','70%','70%','70%']}}" avatar-shape="square" loading="{{loading}}" data-com-type="wx" bind:__l="__l" vue-slots="{{['default']}}"><swiper class="swiper-box data-v-cfd5d042" current="{{swiperIndex}}" circular="{{true}}" data-event-opts="{{[['change',[['swiperChange',['$event']]]]]}}" bindchange="__e"><block wx:for="{{$root.l3}}" wx:for-item="itembox" wx:for-index="indexbox" wx:key="indexbox"><swiper-item class="data-v-cfd5d042"><view class="swiper-item data-v-cfd5d042"><view class="topic-box data-v-cfd5d042"><view class="topic-right data-v-cfd5d042"><view class="topic-top data-v-cfd5d042"><view class="topic-left data-v-cfd5d042"><text class="topic-type data-v-cfd5d042">{{itembox.m0}}</text><van-icon vue-id="{{('6a8e6507-13-'+indexbox)+','+('6a8e6507-12')}}" name="star-o" size="20" data-com-type="wx" class="data-v-cfd5d042" bind:__l="__l"></van-icon></view><view class="topic-tit data-v-cfd5d042"><rich-text nodes="{{itembox.$orig.id+'、'+itembox.$orig.question}}"></rich-text></view></view><block wx:if="{{itembox.$orig.videoUrl}}"><video class="topic-img data-v-cfd5d042" loop="{{true}}" autoplay="{{true}}" controls="{{false}}" src="{{itembox.m1}}" muted="{{true}}"></video></block><block wx:if="{{itembox.$orig.sinaimg}}"><image class="topic-img data-v-cfd5d042" src="{{itembox.$orig.mediaUrl}}" mode="aspectFit"></image></block><block wx:if="{{itembox.$orig.type==2}}"><view class="topic-opt data-v-cfd5d042"><van-radio-group vue-id="{{('6a8e6507-14-'+indexbox)+','+('6a8e6507-12')}}" value="{{userAnswer[itembox.$orig.id]}}" data-com-type="wx" class="data-v-cfd5d042" bind:__l="__l" vue-slots="{{['default']}}"><van-cell-group vue-id="{{('6a8e6507-15-'+indexbox)+','+('6a8e6507-14-'+indexbox)}}" data-com-type="wx" class="data-v-cfd5d042" bind:__l="__l" vue-slots="{{['default']}}"><block wx:for="{{itembox.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><van-cell data-custom-hidden="{{!(itembox.$orig[item.$orig])}}" class="{{['data-v-cfd5d042',(item.g0&&(answerflag||completeAnswer[itembox.$orig.id]))?'answer':'']}}" vue-id="{{('6a8e6507-16-'+indexbox+'-'+index)+','+('6a8e6507-15-'+indexbox)}}" title="{{itembox.$orig[item.$orig]}}" clickable="{{true}}" data-index="{{index+1}}" data-event-opts="{{[['^click',[['singleToggle',['$event','$0'],[[['questionList','',indexbox]]]]]]]}}" data-com-type="wx" bind:click="__e" bind:__l="__l" vue-slots="{{['default','right-icon']}}"><block wx:if="{{item.g1&&(answerflag||completeAnswer[itembox.$orig.id])}}"><van-icon vue-id="{{('6a8e6507-17-'+indexbox+'-'+index)+','+('6a8e6507-16-'+indexbox+'-'+index)}}" slot="icon" name="/static/imgs/true.png" size="20" data-com-type="wx" class="data-v-cfd5d042" bind:__l="__l"></van-icon></block><van-radio vue-id="{{('6a8e6507-18-'+indexbox+'-'+index)+','+('6a8e6507-16-'+indexbox+'-'+index)}}" slot="right-icon" checked-color="#1464cc" name="{{index+1}}" data-ref="{{'checkboxes'+itembox.$orig.id}}" data-com-type="wx" class="data-v-cfd5d042 vue-ref-in-for" bind:__l="__l"></van-radio></van-cell></block></van-cell-group></van-radio-group></view></block><block wx:if="{{itembox.$orig.type==1}}"><view class="topic-opt data-v-cfd5d042"><van-radio-group vue-id="{{('6a8e6507-19-'+indexbox)+','+('6a8e6507-12')}}" value="{{userAnswer[itembox.$orig.id]}}" data-com-type="wx" class="data-v-cfd5d042" bind:__l="__l" vue-slots="{{['default']}}"><van-cell-group vue-id="{{('6a8e6507-20-'+indexbox)+','+('6a8e6507-19-'+indexbox)}}" data-com-type="wx" class="data-v-cfd5d042" bind:__l="__l" vue-slots="{{['default']}}"><block wx:for="{{itembox.l1}}" wx:for-item="item" wx:for-index="index" wx:key="index"><van-cell class="{{['data-v-cfd5d042',(item.g2&&(answerflag||completeAnswer[itembox.$orig.id]))?'answer':'']}}" vue-id="{{('6a8e6507-21-'+indexbox+'-'+index)+','+('6a8e6507-20-'+indexbox)}}" title="{{index?'错误':'正确'}}" clickable="{{true}}" data-index="{{index+1}}" data-event-opts="{{[['^click',[['singleToggle',['$event','$0'],[[['questionList','',indexbox]]]]]]]}}" data-com-type="wx" bind:click="__e" bind:__l="__l" vue-slots="{{['default','right-icon']}}"><block wx:if="{{item.g3&&(answerflag||completeAnswer[itembox.$orig.id])}}"><van-icon vue-id="{{('6a8e6507-22-'+indexbox+'-'+index)+','+('6a8e6507-21-'+indexbox+'-'+index)}}" slot="icon" name="/static/imgs/true.png" size="20" data-com-type="wx" class="data-v-cfd5d042" bind:__l="__l"></van-icon></block><van-radio vue-id="{{('6a8e6507-23-'+indexbox+'-'+index)+','+('6a8e6507-21-'+indexbox+'-'+index)}}" slot="right-icon" checked-color="#1464cc" name="{{index+1}}" data-ref="{{'checkboxes'+itembox.$orig.id}}" data-com-type="wx" class="data-v-cfd5d042 vue-ref-in-for" bind:__l="__l"></van-radio></van-cell></block></van-cell-group></van-radio-group></view></block><block wx:else><block wx:if="{{itembox.$orig.type==3}}"><view class="topic-opt data-v-cfd5d042"><van-checkbox-group vue-id="{{('6a8e6507-24-'+indexbox)+','+('6a8e6507-12')}}" value="{{userAnswer[itembox.$orig.id]}}" data-event-opts="{{[['^change',[['onChange',['$event','$0'],[[['questionList','',indexbox]]]]]]]}}" data-com-type="wx" bind:change="__e" class="data-v-cfd5d042" bind:__l="__l" vue-slots="{{['default']}}"><van-cell-group vue-id="{{('6a8e6507-25-'+indexbox)+','+('6a8e6507-24-'+indexbox)}}" data-com-type="wx" class="data-v-cfd5d042" bind:__l="__l" vue-slots="{{['default']}}"><block wx:for="{{itembox.l2}}" wx:for-item="item" wx:for-index="index" wx:key="index"><van-cell data-custom-hidden="{{!(itembox.$orig[item.$orig])}}" class="{{['data-v-cfd5d042',(item.g4&&(answerflag||completeAnswer[itembox.$orig.id]))?'answer':'']}}" vue-id="{{('6a8e6507-26-'+indexbox+'-'+index)+','+('6a8e6507-25-'+indexbox)}}" title="{{itembox.$orig[item.$orig]}}" clickable="{{true}}" data-index="{{index}}" data-event-opts="{{[['^click',[['toggle',['$event','$0'],[[['questionList','',indexbox]]]]]]]}}" data-com-type="wx" bind:click="__e" bind:__l="__l" vue-slots="{{['default','right-icon']}}"><block wx:if="{{item.g5&&(answerflag||completeAnswer[itembox.$orig.id])}}"><van-icon vue-id="{{('6a8e6507-27-'+indexbox+'-'+index)+','+('6a8e6507-26-'+indexbox+'-'+index)}}" slot="icon" name="/static/imgs/true.png" size="20" data-com-type="wx" class="data-v-cfd5d042" bind:__l="__l"></van-icon></block><van-checkbox vue-id="{{('6a8e6507-28-'+indexbox+'-'+index)+','+('6a8e6507-26-'+indexbox+'-'+index)}}" slot="right-icon" shape="square" catch:tap="noop" checked-color="#1464cc" name="{{index+1}}" data-ref="{{'checkboxes'+itembox.$orig.id}}" data-com-type="wx" class="data-v-cfd5d042 vue-ref-in-for" bind:__l="__l"></van-checkbox></van-cell></block></van-cell-group></van-checkbox-group><button hidden="{{!(!(answerflag||completeAnswer[itembox.$orig.id]))}}" class="submit data-v-cfd5d042" type="default" data-event-opts="{{[['tap',[['submit',['$0'],[[['questionList','',indexbox]]]]]]]}}" bindtap="__e">提交答案</button></view></block></block></view></view><view hidden="{{!(answerflag||completeAnswer[itembox.$orig.id])}}" class="data-v-cfd5d042"><view class="flag data-v-cfd5d042"><block wx:if="{{itembox.$orig.type==2}}"><text class="result data-v-cfd5d042">{{"正确答案: "+itembox.$orig[choiceList[itembox.$orig.answerTrue-1]]}}</text></block><block wx:else><block wx:if="{{itembox.$orig.type==1}}"><text class="result data-v-cfd5d042">{{"正确答案: "+(itembox.$orig.answerTrue==1?'正确':'错误')}}</text></block><block wx:else><block wx:if="{{itembox.$orig.type==3}}"><text class="result data-v-cfd5d042">{{"正确答案: "+itembox.g6}}</text></block></block></block></view><view class="parsing data-v-cfd5d042"><view class="item-titBox data-v-cfd5d042"><text class="item-tit data-v-cfd5d042">题目解析</text></view><view class="parsing-text data-v-cfd5d042"><text class="item-tit data-v-cfd5d042">{{itembox.$orig.explain1?itembox.$orig.explain1:"无"}}</text></view></view></view></view></swiper-item></block></swiper></van-skeleton></view>