<!--packageD/livePlayer/livePlayer.wxml-->
<view class="liveList">
  <!--<view wx:if="{{recordsList.length <= 0}}" class="blank">-->
  <!--<image  src='https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/blank.png' mode='widthFix' />-->
  <!--<view style="text-align: center">暂无直播</view>-->
  <!--</view>-->
  <!--<block  wx:for="{{recordsList}}" wx:key="index">-->
  <!--<navigator url="plugin-private://wx2b03c6e691cd7370/pages/live-player-plugin?room_id={{item.roomid}}" class="living-item">-->
  <!--<image class="bg" src="{{item.share_img}}"></image>-->
  <!--<view class="title">-->
  <!--<image src="{{item.cover_img}}"></image>-->
  <!--<text class="name">{{item.anchor_name}}</text>-->
  <!--</view>-->
  <!--<view class="red" wx:if="{{item.live_status == 101}}">直播中</view>-->
  <!--<view class="purple" wx:if="{{item.live_status == 102}}">未开播</view>-->
  <!--<view class="time" wx:if="{{item.live_status == 102}}">开始时间： {{item.start_time}}</view>-->
  <!--<view class="time" wx:if="{{item.live_status == 101}}">结束时间： {{item.end_time}}</view>-->
  <!--<view class="bottom">{{item.name}}</view>-->
  <!--&lt;!&ndash;<subscribe room-id="[item.roomid]"></subscribe>&ndash;&gt;-->
  <!--</navigator>-->
  <!--</block>-->

  <view class="living_content">

    <block wx:if="{{recordsList.length>0}}">
      <view style="display: none;" class="living" data-status="{{item.live_status}}" wx:for="{{recordsList}}"
            wx:key="*this" data-id="{{item.roomid}}">
        <view class="bg">
          <image src="{{item.share_img}}" mode='widthFix' binderror="onImageError" data-index="{{index}}"
                 bindload="onImageLoad"
                 data-seltype="recordsList"/>
          <view class="content">
            <view class="live_top">
              <view class="live_top_left" wx:if="{{item.live_status==101}}">
                <view class="left">直播中</view>
              </view>
              <view class="seeding_left" wx:if="{{item.live_status == 103}}">
                <view class="left">回放</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.length}}">{{item.goods.length}}</view>
              </view>
            </view>
          </view>
          <view class="live_bottom">{{item.name}}</view>
        </view>
        <view class="bootom">
          <view class="left">
            <image src="{{item.cover_img}}" mode='aspectFill'/>
          </view>
          <view class="right">{{item.anchor_name}}</view>
        </view>
      </view>
      <view class="ul">
        <view class="living" catchtap="gopage" data-status="{{item.live_status}}" wx:for="{{activitys1}}" wx:key="*this" data-id="{{item.roomid}}">
            <view class="bg">
              <image src="{{item.share_img}}" mode='widthFix'/>
              <view class="content">
                <view class="live_top">
                  <view class="live_top_left" wx:if="{{item.live_status==101}}">
                    <view class="left">直播中</view>
                  </view>
                  <view class="live_top_left" wx:if="{{item.live_status==102}}">
                    <view class="left" style="background: #8415f5">未开始</view>
                  </view>
                  <view class="seeding_left" wx:if="{{item.live_status == 103}}">
                    <view class="left">回放</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.length}}">{{item.goods.length}}</view>
                  </view>
                </view>
              </view>
              <view class="live_bottom">{{item.name}}</view>
            </view>
            <view class="bootom">
              <view class="left">
                <image src="{{item.cover_img}}" mode='aspectFill'/>
              </view>
              <view class="right">{{item.anchor_name}}</view>
            </view>
        </view>
      </view>
      <view class="ul">
        <view class="living" catchtap="gopage" data-status="{{item.live_status}}" wx:for="{{activitys2}}" wx:key="*this" data-id="{{item.roomid}}">
            <view class="bg">
              <image src="{{item.share_img}}" mode='widthFix'/>
              <view class="content">
                <view class="live_top">
                  <view class="live_top_left" wx:if="{{item.live_status==101}}">
                    <view class="left">直播中</view>
                  </view>
                  <view class="live_top_left" wx:if="{{item.live_status==102}}">
                    <view class="left" style="background: #8415f5">未开始</view>
                  </view>
                  <view class="seeding_left" wx:if="{{item.live_status == 103}}">
                    <view class="left">回放</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.length}}">{{item.goods.length}}</view>
                  </view>
                </view>
              </view>
              <view class="live_bottom">{{item.name}}</view>
            </view>
            <view class="bootom">
              <view class="left">
                <image src="{{item.cover_img}}" mode='aspectFill'/>
              </view>
              <view class="right">{{item.anchor_name}}</view>
            </view>
        </view>
      </view>
    </block>
    <view wx:if="{{recordsList.length <= 0}}" class="blank">
      <image src='https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/blank.png' mode='widthFix'/>
      <view style="text-align: center">暂无直播</view>
    </view>
  </view>

</view>
