cshenfu
2024-06-27 58aa6e282bb343503be3cb198948328ea3ed7b79
1
<view class="page_bg data-v-9f55c69c"><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="section_1 data-v-9f55c69c" bindtap="__e"><text class="data-v-9f55c69c">{{cateName||'请选择分类'}}</text><u-icon vue-id="5a4efa94-1" name="arrow-down-fill" class="data-v-9f55c69c" bind:__l="__l"></u-icon></view><z-paging class="z-paging data-v-9f55c69c vue-ref" vue-id="5a4efa94-2" empty-view-fixed="{{false}}" hide-loading-more-when-no-more-by-limit="{{5}}" data-ref="paging" value="{{practiceList}}" data-event-opts="{{[['^query',[['getListByChapter']]],['^input',[['__set_model',['','practiceList','$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-9f55c69c"><view class="title data-v-9f55c69c">{{item.$orig.set_time+item.$orig.cate_name+'每日一练'}}</view><view class="number data-v-9f55c69c">{{"共"+item.g0+"题"}}</view><view class="btns data-v-9f55c69c"><block wx:if="{{item.g1!=item.g2}}"><block class="data-v-9f55c69c"><view data-event-opts="{{[['tap',[['starDoing',['$0'],[[['practiceList','_id',item.$orig._id]]]]]]]}}" class="btn r_btn data-v-9f55c69c" bindtap="__e">开始做题</view></block></block><block wx:else><block class="data-v-9f55c69c"><view data-event-opts="{{[['tap',[['checkAnswer',['$0'],[[['practiceList','_id',item.$orig._id]]]]]]]}}" class="btn data-v-9f55c69c" bindtap="__e">查看解析</view><view data-event-opts="{{[['tap',[['starDoing',['$0'],[[['practiceList','_id',item.$orig._id]]]]]]]}}" class="btn r_btn data-v-9f55c69c" bindtap="__e">重新做题</view></block></block></view></view></block></z-paging><u-popup bind:input="__e" vue-id="5a4efa94-3" mode="bottom" height="70%" closeable="{{true}}" value="{{show}}" data-event-opts="{{[['^input',[['__set_model',['','show','$event',[]]]]]]}}" class="data-v-9f55c69c" bind:__l="__l" vue-slots="{{['default']}}"><view class="pop_bg data-v-9f55c69c"><view class="title data-v-9f55c69c">分类筛选</view><view class="main data-v-9f55c69c"><scroll-view class="left_scroll data-v-9f55c69c" 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-9f55c69c',index==leftSelect?'u-tab-item-active':'']}}" bindtap="__e"><text class="u-line-1 data-v-9f55c69c">{{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-9f55c69c"><block wx:if="{{leftSelect==index}}"><scroll-view class="right_scroll data-v-9f55c69c" scroll-y="{{true}}"><view class="page-view data-v-9f55c69c"><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-9f55c69c" bindtap="__e">{{''+son.name+''}}</view></block></view></scroll-view></block></block></block></view></view></u-popup><u-modal bind:input="__e" vue-id="5a4efa94-4" content="当前题库没有更多题目..." value="{{modalShow}}" data-event-opts="{{[['^input',[['__set_model',['','modalShow','$event',[]]]]]]}}" class="data-v-9f55c69c" bind:__l="__l"></u-modal></view>