<view class="container"><view class="swiper"><view class="swiper-box"><swiper circular="true" autoplay="true" data-event-opts="{{[['change',[['swiperChange',['$event']]]]]}}" bindchange="__e"><block wx:for="{{swiperlist}}" wx:for-item="swiper" wx:for-index="__i0__" wx:key="id"><swiper-item><image src="{{swiper}}"></image></swiper-item></block></swiper><view class="indicator"><block wx:for="{{swiperlist}}" wx:for-item="swiper" wx:for-index="index" wx:key="index"><view class="{{['dots',swiperCurrent>=index?'on':'']}}"></view></block></view></view><view class="swiper-name"><view class="flex item-box"><view class="item-name ellipsis">{{list.title}}</view><view data-event-opts="{{[['tap',[['collect',['$event']]]]]}}" class="item-collection" bindtap="__e"><block wx:if="{{list.collect==false}}"><image src="../../static/img/img026.png"></image></block><block wx:if="{{list.collect==true}}"><image src="../../static/img/img027.png"></image></block><view class="collection">收藏</view></view></view><view class="tip-box"><block wx:for="{{list.label}}" wx:for-item="ls" wx:for-index="__i1__"><text>{{ls}}</text></block></view><view class="price-box flex"><block wx:if="{{list.money!='0.00'}}"><view class="price">￥<text>{{list.money}}</text></view></block><block wx:if="{{list.money=='0.00'}}"><view class="free"></view></block><view class="number">{{"已有"+list.browse_count+"人学习"}}</view></view></view></view><block wx:if="{{tabCurrentIndex==0}}"><view class="course-details"><view class="top"><video class="course-video" src controls x5-playsinline playsinline webkit-playsinline poster x-webkit-airplay="allow" preload="auto" data-event-opts="{{[['play',[['Onplay',['$event']]]]]}}" bindplay="__e"></video></view><view class="details-intro"><view class="intro-title"><text>- 直播简介 -</text></view><rich-text class="detail-centent" nodes="{{list.content}}"></rich-text></view></view></block><block wx:if="{{tabCurrentIndex==1}}"><view class="course-catalogue"><block wx:if="{{courseList==''}}"><view class="no-data">暂无数据</view></block></view></block><block wx:if="{{tabCurrentIndex==1}}"><view class="course-catalogue"><block wx:for="{{courseList}}" wx:for-item="ls" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['ToCourseDetail',['$0'],[[['courseList','',index]]]]]]]}}" class="course-menu flex_item" bindtap="__e"><image src="{{ls.image}}"></image><view class="menu-info"><view class="title">{{ls.title}}</view><view class="tip"><text>直播回放</text></view></view></view></block></view></block><uni-popup class="vue-ref" vue-id="193f926e-1" type="bottom" data-ref="popup" bind:__l="__l" vue-slots="{{['default']}}"><view class="payment"><view data-event-opts="{{[['tap',[['payclose']]]]}}" class="first flex " bindtap="__e"><text class="word">选择支付方式</text><image src="../../static/img/img25.png"></image></view><view class="pay-type-list"><view data-event-opts="{{[['tap',[['changePayType',['weixin']]]]]}}" class="type-item b-b" bindtap="__e"><view class="img"><image class="yue" src="../../static/img/img26.png"></image></view><view class="con"><text class="tit">微信支付</text></view><label class="radio"><radio value="" color="#FC4141" checked="{{payType=='weixin'}}"></radio></label></view><view data-event-opts="{{[['tap',[['changePayType',['yue']]]]]}}" class="type-item flex_item" bindtap="__e"><view class="img"><image class="yue" src="../../static/img/img017.png"></image></view><view class="con"><text class="tit">余额支付</text></view><label class="radio"><radio value="" color="#FC4141" checked="{{payType=='yue'}}"></radio></label></view></view><view class="one"></view><view class="Third flex"><view class="two1"><text class="two1-1 ">合计：</text><text class="two1-2">￥</text><text class="two1-2 size">{{list.money}}</text></view><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="{{['two2',(payLoding)?'clickbg':'']}}" catchtap="__e"><text>立即支付</text></view></view></view></uni-popup><view hidden="{{!(showPay)}}" class="foot-box flex"><view data-event-opts="{{[['tap',[['ToHome',['$event']]]]]}}" class="home" bindtap="__e"><image src="../../static/img/img028.png"></image><view>首页</view></view><view data-event-opts="{{[['tap',[['ToCourseDetail',['$0'],['ls']]]]]}}" class="Topay" bindtap="__e">进入直播间</view></view></view>