<view class="content"><block wx:if="{{$root.g0==0}}"><u-empty vue-id="89683732-1" text="暂无直播" mode="list" bind:__l="__l"></u-empty></block><block wx:else><block wx:for="{{list}}" wx:for-item="item" wx:for-index="index"><view data-event-opts="{{[['tap',[['navTo',['$0'],[[['list','',index]]]]]]]}}" class="main-item" bindtap="__e"><view class="type">{{''+(item.live_status==101?'直播中':item.live_status==102?'未开始':item.live_status==103?'已结束':'')+''}}</view><view class="main-image"><image src="{{item.cover_img}}" mode></image></view><view class="info flex"><view class="info-left"><view class="main-title">{{item.name}}</view><view class="main-time">{{item.add_time+"开播"}}</view></view><button class="info-right" open-type="share" data-event-opts="{{[['tap',[['shareLink',['$0'],[[['list','',index]]]]]]]}}" catchtap="__e">分享</button></view></view></block></block></view>