<view class="layout-contianer" style="top: {{isPortrait ? '90px': '0px'}}">
  <block wx:for="{{renderList}}" wx:key="id">
    <!-- player -->
    <view wx:if="{{!item.isMe}}" class="player-block {{item.isShow ? '' : 'hide'}}" style="left: {{item.styles.left}};top:{{item.styles.top}};width: {{item.styles.width}};height:{{item.styles.height}};z-index:{{item.styles.zIndex}};">
      <v-player url="{{item.url || ''}}" uid="{{item.userId}}" screen="{{item.isScreen ? '1' : '0'}}" state='init' connectLivePlayerAttrs="{{connectLivePlayerAttrs}}" />
      <view wx:if="{{!item.hasVideo}}" class="back" style="background: url({{item.styles.image}});background-size: cover;"></view>
      <view class="position" wx:if="{{item.isShow && item.isShowLabel}}">
        <view class="tag" wx:if="{{item.isHost}}">主持人</view>
        <view class="tag" wx:if="{{item.isPresenter && !item.isHost}}">主讲</view>
        <view wx:if="{{!item.hasAudio}}" class="mute">
          <image src="../assets/mute.svg" />
        </view>
        <view class="name">{{item.nickname || '主持人'}}</view>
        <view wx:if="{{item.isAudience}}">(观众)</view>
        <span wx:if="{{item.isScreen}}">正在共享屏幕</span>
      </view>
    </view>
    <!-- pusher -->
    <view wx:if="{{item.isMe}}" class="player-block {{item.isShow ?'' : 'outer'}}" style="left: {{item.styles.left}};top:{{item.styles.top}};width: {{item.styles.width}};height:{{item.styles.height}};z-index:{{item.styles.zIndex}};" bindtap="showPanel">
      <v-pusher id="v-pusher" url="{{item.url || ''}}" enableCamera="{{hasVideo}}" enableMic="{{hasAudio}}" beauty="0" state="init" />
      <view wx:if="{{!hasVideo}}" class="back" style="background: url({{item.styles.image}}); background-size: cover;"></view>
      <view class="position">
        <view wx:if="{{!hasAudio}}" class="mute">
          <image src="../assets/mute.svg" />
        </view>
        <view class="name">{{item.nickname}}</view>
        <view wx:if="{{item.isAudience && item.isShow}}">(观众)</view>
      </view>
      <view class="moreBt">
        <image src="../assets/more.png" />
      </view>
    </view>
  </block>
</view>
