live_broadcast.wxml 1.3 KB

1
  1. <view class="live-broadcast"><mescroll-body class="vue-ref" vue-id="b9aef5fe-1" up="{{upOption}}" down="{{downOption}}" data-ref="mescrollRef" data-event-opts="{{[['^init',[['mescrollInit']]],['^up',[['upCallback']]],['^down',[['downCallback']]]]}}" bind:init="__e" bind:up="__e" bind:down="__e" bind:__l="__l" vue-slots="{{['default']}}"><view class="broadcast-list"><block wx:for="{{LBLists}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['navigateTo',['$0'],[[['LBLists','',index]]]]]]]}}" class="broadcast-item" bindtap="__e"><view class="img-wrap"><u-image vue-id="{{('b9aef5fe-2-'+index)+','+('b9aef5fe-1')}}" width="100%" height="100%" src="{{item.cover_img}}" bind:__l="__l"></u-image><view class="{{['tag','xxs',(item.status==101)?'active':'']}}"><block wx:if="{{item.status==101}}"><image class="live-img" src="/static/images/live.gif" alt></image></block><block wx:else><text class="circel"></text></block><text class="m-l-10">{{item.live_status}}</text></view><view class="tips line1">{{item.name}}</view></view><view class="info"><view class="md">{{'主播:'+item.anchor_name+''}}<text class="xs">{{"|直播商品:"+item.goods+"件"}}</text></view><view class="muted xs mt20">{{"直播时间:"+item.start_time+" 至 "+item.end_time}}</view></view></view></block></view></mescroll-body></view>