cshenfu
2024-06-27 58aa6e282bb343503be3cb198948328ea3ed7b79
1
<view class="page_bg data-v-16f66286"><z-paging class="z-paging page_bg data-v-16f66286 vue-ref" vue-id="70532180-1" hide-loading-more-when-no-more-by-limit="{{5}}" data-ref="paging" value="{{courseList}}" data-event-opts="{{[['^query',[['getMyCourseList']]],['^input',[['__set_model',['','courseList','$event',[]]]]]]}}" bind:query="__e" bind:input="__e" bind:__l="__l" vue-slots="{{['default','top']}}"><view slot="top" class="data-v-16f66286"><u-tabs-swiper style="margin-bottom:10rpx;" vue-id="{{('70532180-2')+','+('70532180-1')}}" list="{{list}}" current="{{current}}" is-scroll="{{false}}" data-ref="tabs" data-event-opts="{{[['^change',[['tabsChange']]]]}}" bind:change="__e" class="data-v-16f66286 vue-ref" bind:__l="__l"></u-tabs-swiper></view><block wx:for="{{$root.l4}}" wx:for-item="item" wx:for-index="__i0__" wx:key="_id"><view class="course-item data-v-16f66286"><view class="top data-v-16f66286"><u-image vue-id="{{('70532180-3-'+__i0__)+','+('70532180-1')}}" src="{{item.$orig.courseInfo.thumb}}" lazy-load="{{true}}" mode="aspectFill" class="data-v-16f66286" bind:__l="__l"></u-image><view class="flex-col group_3 data-v-16f66286"><text class="text_1 data-v-16f66286">{{item.$orig.courseInfo.title}}</text></view></view><view class="justify-between section_2 data-v-16f66286"><text class="total_num data-v-16f66286">{{"共"+item.g0+"节课"}}</text><view data-event-opts="{{[['tap',[['changeShow',['$0'],[[['courseList','_id',item.$orig._id,'goods_id']]]]]]]}}" class="flex-row data-v-16f66286" style="margin-right:20rpx;" bindtap="__e"><block wx:if="{{item.$orig.goods_id!=nowShow}}"><block class="data-v-16f66286"><text class="data-v-16f66286">展开</text><image class="image_4 data-v-16f66286" src="/static/remote/e59904ec4b1be1027d00c791c7c24b50.png"></image></block></block><block wx:else><block class="data-v-16f66286"><text class="data-v-16f66286">收起</text><image class="image_4 data-v-16f66286" src="/static/remote/3fa21f52b56700718e98d311799e7873.png"></image></block></block></view><block wx:if="{{loadState&&item.$orig.goods_id==nowShow}}"><view class="loading data-v-16f66286"><u-loading vue-id="{{('70532180-4-'+__i0__)+','+('70532180-1')}}" mode="circle" class="data-v-16f66286" bind:__l="__l"></u-loading></view></block><block wx:if="{{!loadState&&item.$orig.goods_id==nowShow&&list[current].type=='course'}}"><u-collapse class="collapse data-v-16f66286" vue-id="{{('70532180-5-'+__i0__)+','+('70532180-1')}}" event-type="close" arrow="{{true}}" bind:__l="__l" vue-slots="{{['default']}}"><block wx:for="{{item.l1}}" wx:for-item="chapter" wx:for-index="index" wx:key="_id"><u-collapse-item vue-id="{{('70532180-6-'+__i0__+'-'+index)+','+('70532180-5-'+__i0__)}}" index="{{index}}" title="{{chapter.$orig.title}}" class="data-v-16f66286" bind:__l="__l" vue-slots="{{['default']}}"><block wx:if="{{chapter.g1>0}}"><view class="collapse-item data-v-16f66286"><u-time-line vue-id="{{('70532180-7-'+__i0__+'-'+index)+','+('70532180-6-'+__i0__+'-'+index)}}" class="data-v-16f66286" bind:__l="__l" vue-slots="{{['default']}}"><block wx:for="{{chapter.l0}}" wx:for-item="video" wx:for-index="index" wx:key="_id"><u-time-line-item vue-id="{{('70532180-8-'+__i0__+'-'+index+'-'+index)+','+('70532180-7-'+__i0__+'-'+index)}}" class="data-v-16f66286" bind:__l="__l" vue-slots="{{['node','content']}}"><view class="u-node data-v-16f66286" slot="node"></view><view data-event-opts="{{[['tap',[['goVideo',['$0','$1'],[[['courseList','_id',item.$orig._id,'goods_id']],[['nowList','_id',chapter.$orig._id],['videos','_id',video.$orig._id,'_id']]]]]]]}}" bindtap="__e" class="data-v-16f66286" slot="content"><view class="data-v-16f66286">{{video.$orig.title}}</view><view class="data-v-16f66286">{{video.m0}}</view><block wx:if="{{video.g2}}"><view class="study_status data-v-16f66286">未学习</view></block></view></u-time-line-item></block></u-time-line></view></block><block wx:else><view class="collapse-item data-v-16f66286">暂无视频</view></block></u-collapse-item></block></u-collapse></block><block wx:else><u-collapse class="collapse data-v-16f66286" vue-id="{{('70532180-9-'+__i0__)+','+('70532180-1')}}" event-type="close" arrow="{{true}}" bind:__l="__l" vue-slots="{{['default']}}"><block wx:for="{{item.l3}}" wx:for-item="chapter" wx:for-index="index" wx:key="_id"><u-collapse-item vue-id="{{('70532180-10-'+__i0__+'-'+index)+','+('70532180-9-'+__i0__)}}" index="{{index}}" title="{{chapter.$orig.title}}" class="data-v-16f66286" bind:__l="__l" vue-slots="{{['default']}}"><block wx:if="{{chapter.g3>0}}"><view class="collapse-item data-v-16f66286"><u-time-line vue-id="{{('70532180-11-'+__i0__+'-'+index)+','+('70532180-10-'+__i0__+'-'+index)}}" class="data-v-16f66286" bind:__l="__l" vue-slots="{{['default']}}"><block wx:for="{{chapter.l2}}" wx:for-item="video" wx:for-index="index" wx:key="_id"><u-time-line-item vue-id="{{('70532180-12-'+__i0__+'-'+index+'-'+index)+','+('70532180-11-'+__i0__+'-'+index)}}" class="data-v-16f66286" bind:__l="__l" vue-slots="{{['node','content']}}"><view class="u-node data-v-16f66286" slot="node"></view><view data-event-opts="{{[['tap',[['goVideo2',['$0'],[[['nowList','_id',chapter.$orig._id],['videos','_id',video.$orig._id]]]]]]]}}" bindtap="__e" class="data-v-16f66286" slot="content"><view class="data-v-16f66286">{{video.$orig.title}}</view><view class="data-v-16f66286">{{'直播时间:'+video.g4+''}}</view><block wx:if="{{video.$orig.end_time<=video.g5}}"><view class="study_status data-v-16f66286">回看</view></block><block wx:if="{{video.$orig.start_time>video.g6}}"><view class="study_status data-v-16f66286">等待直播</view></block><block wx:if="{{video.g7}}"><view class="study_status data-v-16f66286">直播中</view></block></view></u-time-line-item></block></u-time-line></view></block><block wx:else><view class="collapse-item data-v-16f66286">暂无视频</view></block></u-collapse-item></block></u-collapse></block><block wx:if="{{item.g8}}"><view class="no_class data-v-16f66286">- 暂无课程 -</view></block></view></view></block></z-paging></view>