1 line
6.1 KiB
Plaintext
1 line
6.1 KiB
Plaintext
|
|
<view class="data-v-21804e46"><view class="nav-bar data-v-21804e46"></view><view class="upper-sec data-v-21804e46"><view data-event-opts="{{[['tap',[['switchSec',[1]]]]]}}" class="{{['data-v-21804e46',[(upperSecStatus==1)?'active':'']]}}" bindtap="__e">单选题</view><view data-event-opts="{{[['tap',[['switchSec',[2]]]]]}}" class="{{['data-v-21804e46',[(upperSecStatus==2)?'active':'']]}}" bindtap="__e">多选题</view><view data-event-opts="{{[['tap',[['switchSec',[3]]]]]}}" class="{{['data-v-21804e46',[(upperSecStatus==3)?'active':'']]}}" bindtap="__e">判断题</view></view><view hidden="{{!(upperSecStatus==1)}}" class="single data-v-21804e46"><view class="single-cont data-v-21804e46"><block wx:for="{{$root.l0}}" wx:for-item="singleCount" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" data-event-params="{{({singleCount:singleCount.$orig})}}" class="{{['data-v-21804e46',[(singleInitCount==singleCount.$orig)?'active':''],[(singleCount.g0)?'isAnswer':'']]}}" bindtap="__e">{{''+singleCount.$orig+''}}</view></block></view><view class="single-sec-count data-v-21804e46"><block wx:for="{{singleArr}}" wx:for-item="single" wx:for-index="index" wx:key="index"><view hidden="{{!(singleInitCount-1==index)}}" class="ques data-v-21804e46"><label style="font-size:22px;" class="_span data-v-21804e46">{{single.content}}</label><view class="check-box data-v-21804e46"><uni-data-checkbox style="transform:scale(1.3);" vue-id="{{'0e89fb80-1-'+index}}" localdata="{{single.addOp}}" wrap="{{true}}" mode="list" value="{{single.xxx}}" data-event-opts="{{[['^change',[['singleAnswer',['$event','$0'],['singleContIndex.length']]]],['^input',[['__set_model',['$0','xxx','$event',[]],[[['singleArr','',index]]]]]]]}}" bind:change="__e" bind:input="__e" class="data-v-21804e46" bind:__l="__l"></uni-data-checkbox></view></view></block><view class="switch-btn data-v-21804e46"><button data-event-opts="{{[['tap',[['singleDec',['-','$0'],['singleContIndex.length']]]]]}}" hidden="{{!(singlePreBtnShow)}}" bindtap="__e" class="data-v-21804e46">上一题</button><button data-event-opts="{{[['tap',[['singleDec',['+','$0'],['singleContIndex.length']]]]]}}" hidden="{{!(singleNextBtnShow)}}" bindtap="__e" class="data-v-21804e46">下一题</button></view></view></view><view hidden="{{!(upperSecStatus==2)}}" class="multi data-v-21804e46"><view class="multi-cont data-v-21804e46"><block wx:for="{{$root.l1}}" wx:for-item="multiCount" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" data-event-params="{{({multiCount:multiCount.$orig})}}" class="{{['data-v-21804e46',[(multiInitCount==multiCount.$orig)?'active':''],[(multiCount.g1)?'isAnswer':'']]}}" bindtap="__e">{{''+multiCount.$orig+''}}</view></block></view><view class="multi-sec-count data-v-21804e46"><block wx:for="{{multiArr}}" wx:for-item="multi" wx:for-index="index" wx:key="index"><view hidden="{{!(multiInitCount-1==index)}}" class="ques data-v-21804e46"><label style="font-size:22px;" class="_span data-v-21804e46">{{multi.content}}</label><view class="check-box data-v-21804e46"><uni-data-checkbox style="transform:scale(1.3);" vue-id="{{'0e89fb80-2-'+index}}" localdata="{{multi.addOp}}" multiple="{{true}}" wrap="{{true}}" mode="list" value="{{multi.xxx}}" data-event-opts="{{[['^change',[['multiAnswer',['$event','$0'],['multiContIndex.length']]]],['^input',[['__set_model',['$0','xxx','$event',[]],[[['multiArr','',index]]]]]]]}}" bind:change="__e" bind:input="__e" class="data-v-21804e46" bind:__l="__l"></uni-data-checkbox></view></view></block><view class="switch-btn data-v-21804e46"><button data-event-opts="{{[['tap',[['multiDec',['-','$0'],['multiContIndex.length']]]]]}}" hidden="{{!(multiPreBtnShow)}}" bindtap="__e" class="data-v-21804e46">上一题</button><button data-event-opts="{{[['tap',[['multiDec',['+','$0'],['multiContIndex.length']]]]]}}" hidden="{{!(multiNextBtnShow)}}" bindtap="__e" class="data-v-21804e46">下一题</button></view></view></view><view hidden="{{!(upperSecStatus==3)}}" class="ans data-v-21804e46"><vie
|