<!--packageI/newMedia/components/adLiveRecord/adLiveRecord.wxml-->

<view class="liveList">

  <view style="display: none;" class="living" catchtap="golistPage" data-status="{{item.status}}"
    wx:for="{{allLivelistData}}" wx:key="index" data-id="{{item.id}}" data-backid="{{item.back_id}}">
    <view class="bg">
      <image src="{{item.cover}}" mode='widthFix' binderror="onImageError" data-index="{{index}}" bindload="onImageLoad"
        data-seltype="AllLivelist" />
      <view class="content">
        <view class="live_top">
          <block wx:if="{{item.status==3||item.status==4}}">
            <view class="live_top_left" wx:if="{{item.status==3}}">
              <view class="left">直播中</view>
              <view class="right">{{item.view_num}}观看</view>
            </view>
            <view class="seeding_left" wx:if="{{item.status==4}}">
              <view class="left">回放</view>
              <view class="right">{{item.view_num}}观看</view>
            </view>
            <view class="live_top_right">
              <view class="little_icon">
                <view class="iconfont icon-zb_goods"></view>
              </view>
              <view class="num" wx:if="{{item.goods_num}}">{{item.goods_num}}</view>
            </view>
          </block>
          <block wx:else>
            <view class="advance_left">
              <view class="left">预告</view>
            </view>
          </block>
        </view>
      </view>
      <view class="live_bottom">{{item.title}}</view>
    </view>
    <view class="bootom">
      <view class="left">
        <image src="{{item.avatar}}" mode='aspectFill' />
      </view>
      <view class="right">{{item.nickname}}</view>
    </view>
  </view>
  <view class="ul">
    <view class="living" catchtap="golistPage" data-status="{{item.status}}" wx:for="{{allLivelistData_activitys1}}"
      wx:key="index" data-id="{{item.id}}" data-backid="{{item.back_id}}">
      <view class="bg">
        <image src="{{item.cover}}" mode='widthFix' />
        <view class="content">
          <view class="live_top">
            <block wx:if="{{item.status==3||item.status==4}}">
              <view class="live_top_left" wx:if="{{item.status==3}}">
                <view class="left">直播中</view>
                <view class="right">{{item.view_num}}观看</view>
              </view>
              <view class="seeding_left" wx:if="{{item.status==4}}">
                <view class="left">回放</view>
                <view class="right">{{item.view_num}}观看</view>
              </view>
              <view class="live_top_right">
                <view class="little_icon">
                  <view class="iconfont icon-zb_goods"></view>
                </view>
                <view class="num" wx:if="{{item.goods_num}}">{{item.goods_num}}</view>
              </view>
            </block>
            <block wx:else>
              <view class="advance_left">
                <view class="left">预告</view>
              </view>
            </block>
          </view>
        </view>
        <view class="live_bottom">{{item.title}}</view>
      </view>
      <view class="bootom">
        <view class="left">
          <image src="{{item.avatar}}" mode='aspectFill' />
        </view>
        <view class="right">{{item.nickname}}</view>
      </view>
    </view>
  </view>
  <view class="ul">
    <view class="living" catchtap="golistPage" data-status="{{item.status}}" wx:for="{{allLivelistData_activitys2}}"
      wx:key="index" data-id="{{item.id}}" data-backid="{{item.back_id}}">
      <view class="bg">
        <image src="{{item.cover}}" mode='widthFix' />
        <view class="content">
          <view class="live_top">
            <block wx:if="{{item.status==3||item.status==4}}">
              <view class="live_top_left" wx:if="{{item.status==3}}">
                <view class="left">直播中</view>
                <view class="right">{{item.view_num}}观看</view>
              </view>
              <view class="seeding_left" wx:if="{{item.status==4}}">
                <view class="left">回放</view>
                <view class="right">{{item.view_num}}观看</view>
              </view>
              <view class="live_top_right">
                <view class="little_icon">
                  <view class="iconfont icon-zb_goods"></view>
                </view>
                <view class="num" wx:if="{{item.goods_num}}">{{item.goods_num}}</view>
              </view>
            </block>
            <block wx:else>
              <view class="advance_left">
                <view class="left">预告</view>
              </view>
            </block>
          </view>
        </view>
        <view class="live_bottom">{{item.title}}</view>
      </view>
      <view class="bootom">
        <view class="left">
          <image src="{{item.avatar}}" mode='aspectFill' />
        </view>
        <view class="right">{{item.nickname}}</view>
      </view>
    </view>
  </view>

</view>