<!--packageC/video_goods/myVideo/myVideo.wxml-->
<view id="my-video">
	<view class="member">
		<view class="member-info">
			<view class="avator">
				<view class="user">
					<view class="user-head">
						<image src="{{member.avatar_image}}"></image>
					</view>
					<view class="ul activities-name">
						<view class="li">{{member.nickname}}</view>
					</view>
				</view>
			</view>
		</view>
	</view>
	
	<block wx:if="{{showTab}}">
		<van-tabs active="{{activeName}}" bind:click="handleClick">
			<van-tab title="{{'已发布(' + release + ')'}}" name="1"></van-tab>
			<block wx:if="{{is_open}}">
				<van-tab title="{{'审核中(' + review + ')'}}" name="0"></van-tab>
			</block>
		</van-tabs>
	</block>
	
	<view class="video-list" >
		<view class="ul" style="display: none">
			<view class="li" data-item="{{item}}" catchtap="toVideo" wx:for="{{videoList}}" wx:key="index">
				<view class="video-img">
					<image src="{{item.cover}}" id="{{item.id}}"  mode='aspectFit' bindload="onImageLoad" />
				</view>
				<view class="p">{{item.title}}</view>
				<view class="people" wx:if="{{item.member}}">
					<view class="img">
						<image src="{{item.member.avatar}}" mode='widthFix' />
					</view>
					<view class="span">{{item.member.nickname}}</view>
				</view>
				<view class="play">
					<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/home_play@2x.png" mode='widthFix' />
				</view>
			</view>
		</view>

		<view class="ul Mright">
			<view class="li" data-item="{{item}}" catchtap="toVideo" wx:for="{{activitys1}}" wx:key="{{item.id}}">
				<view class="video-img">
					<image src="{{item.cover}}" id="{{item.id}}"  mode='widthFix' />
				</view>
				<view class="p">{{item.title}}</view>
				<view class="people" wx:if="{{item.member}}">
					<view class="img">
						<image src="{{item.member.avatar}}" mode='widthFix' />
					</view>
					<view class="span">{{item.member.nickname}}</view>
				</view>
				<view class="play">
					<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/home_play@2x.png" mode='widthFix' />
				</view>
				<view class="del" catchtap="delTap" data-info="{{item}}" wx:if="{{isSelf}}">
					<icon class="iconfont icon-appointment_delete"></icon>
				</view>
			</view>
		</view>

		<view class="ul">
			<view class="li" data-item="{{item}}" catchtap="toVideo" wx:for="{{activitys2}}" wx:key="{{item.id}}">
				<view class="video-img">
					<image src="{{item.cover}}" id="{{item.id}}"  mode='widthFix' />
				</view>
				<view class="p">{{item.title}}</view>
				<view class="people" wx:if="{{item.member}}">
					<view class="img">
						<image src="{{item.member.avatar}}" mode='widthFix' />
					</view>
					<view class="span">{{item.member.nickname}}</view>
				</view>
				<view class="play">
					<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/home_play@2x.png" mode='widthFix' />
				</view>
				<view class="del" catchtap="delTap" data-info="{{item}}" wx:if="{{isSelf}}">
					<icon class="iconfont icon-appointment_delete"></icon>
				</view>
			</view>
		</view>
    <view wx:if="{{videoList.length <= 0}}" class="blank">
      <image  src='https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/blank.png' mode='widthFix' />
    </view>
    <view class="load"  wx:if="{{!showLoading}}">
      <image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/video-loading.gif" mode='widthFix'></image>
    </view>
	</view>
	
</view>