cshenfu
2024-05-21 09d8c671d5e6e6045677bfb5218a5fb78c26aa0f
1
<view class="page_bg data-v-599d8439"><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="section_1 data-v-599d8439" bindtap="__e"><text class="data-v-599d8439">{{cateName||'请选择分类'}}</text><u-icon vue-id="4bd8f826-1" name="arrow-down-fill" class="data-v-599d8439" bind:__l="__l"></u-icon></view><z-paging class="z-paging data-v-599d8439 vue-ref" vue-id="4bd8f826-2" empty-view-fixed="{{false}}" hide-loading-more-when-no-more-by-limit="{{5}}" data-ref="paging" value="{{chapters}}" data-event-opts="{{[['^query',[['getListByChapter']]],['^input',[['__set_model',['','chapters','$event',[]]]]]]}}" bind:query="__e" bind:input="__e" bind:__l="__l" vue-slots="{{['default']}}"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="__i0__" wx:key="_id"><view class="group_item data-v-599d8439"><view class="title data-v-599d8439">{{item.$orig.title}}</view><view class="number data-v-599d8439">{{"共"+item.g0+"题"}}</view><block wx:if="{{item.g1>0}}"><view class="btns data-v-599d8439"><block wx:if="{{item.g2!=item.g3}}"><block class="data-v-599d8439"><view data-event-opts="{{[['tap',[['starDoing',['$0'],[[['chapters','_id',item.$orig._id]]]]]]]}}" class="btn r_btn data-v-599d8439" bindtap="__e">开始做题</view></block></block><block wx:else><block class="data-v-599d8439"><view data-event-opts="{{[['tap',[['checkAnswer',['$0'],[[['chapters','_id',item.$orig._id]]]]]]]}}" class="btn data-v-599d8439" bindtap="__e">查看解析</view><view data-event-opts="{{[['tap',[['starDoing',['$0'],[[['chapters','_id',item.$orig._id]]]]]]]}}" class="btn r_btn data-v-599d8439" bindtap="__e">重新做题</view></block></block></view></block></view></block></z-paging><u-popup bind:input="__e" vue-id="4bd8f826-3" mode="bottom" height="70%" closeable="{{true}}" value="{{show}}" data-event-opts="{{[['^input',[['__set_model',['','show','$event',[]]]]]]}}" class="data-v-599d8439" bind:__l="__l" vue-slots="{{['default']}}"><view class="pop_bg data-v-599d8439"><view class="title data-v-599d8439">分类筛选</view><view class="main data-v-599d8439"><scroll-view class="left_scroll data-v-599d8439" scroll-y="{{true}}" scroll-with-animation="{{true}}"><block wx:for="{{treeDataF}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" data-event-params="{{({index})}}" class="{{['u-tab-item','data-v-599d8439',index==leftSelect?'u-tab-item-active':'']}}" bindtap="__e"><text class="u-line-1 data-v-599d8439">{{item.name}}</text></view></block></scroll-view><block wx:for="{{treeDataF}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block class="data-v-599d8439"><block wx:if="{{leftSelect==index}}"><scroll-view class="right_scroll data-v-599d8439" scroll-y="{{true}}"><view class="page-view data-v-599d8439"><block wx:for="{{item.children}}" wx:for-item="son" wx:for-index="__i1__" wx:key="id"><view data-event-opts="{{[['tap',[['screen',['$0'],[[['treeDataF','',index],['children','id',son.id]]]]]]]}}" class="thumb-box data-v-599d8439" bindtap="__e">{{''+son.name+''}}</view></block></view></scroll-view></block></block></block></view></view></u-popup></view>