You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 line
2.1 KiB
1 line
2.1 KiB
2 months ago
|
<view class="study data-v-fb713350"><block wx:for="{{$root.l0}}" wx:for-item="a" wx:for-index="i" wx:key="i"><view class="li data-v-fb713350"><block wx:if="{{a.g0}}"><view data-event-opts="{{[['tap',[['openPage',['$0'],[[['list','',i]]]]]]]}}" class="study-section data-v-fb713350" bindtap="__e"><view class="study-section-left data-v-fb713350"><view class="dot data-v-fb713350"></view><view class="con data-v-fb713350"><view class="text data-v-fb713350">{{''+a.$orig.name+''}}<block wx:if="{{a.$orig.question_count>0}}"><text class="num data-v-fb713350">{{''+a.$orig.question_count+''}}</text></block></view></view></view><block wx:if="{{a.$orig.question_count>0}}"><view class="study-section-right data-v-fb713350"><view class="btn data-v-fb713350">练习</view></view></block></view></block><block wx:else><view data-event-opts="{{[['tap',[['openPage',['$0'],[[['list','',i]]]]]]]}}" class="hd data-v-fb713350" bindtap="__e"><view class="name data-v-fb713350">{{a.$orig.name+''}}<block wx:if="{{a.$orig.question_count>0}}"><text class="num data-v-fb713350">{{''+a.$orig.question_count+''}}</text></block></view><block wx:if="{{a.$orig.question_count>0}}"><view class="btn data-v-fb713350">练习</view></block></view><block wx:for="{{a.$orig.children}}" wx:for-item="b" wx:for-index="idx"><view data-event-opts="{{[['tap',[['openPage',['$0'],[[['list','',i,'children.'+idx+'']]]]]]]}}" class="study-section study-section-on data-v-fb713350" bindtap="__e"><view class="study-section-left data-v-fb713350"><view class="dot data-v-fb713350"></view><view class="con data-v-fb713350"><view class="text data-v-fb713350">{{''+b.name+''}}<block wx:if="{{b.question_count>0}}"><text class="num data-v-fb713350">{{''+b.question_count+''}}</text></block></view></view></view><block wx:if="{{b.question_count>0}}"><view class="study-section-right data-v-fb713350"><view class="btn data-v-fb713350">练习</view></view></block></view></block></block></view></block><block wx:if="{{total==0}}"><view class="empty data-v-fb713350" style="margin-top:250rpx;"><u-empty vue-id="8656eb7a-1" mode="data" text="暂无相关信息" class="data-v-fb713350" bind:__l="__l"></u-empty></view></block></view>
|