<view class="anchor_Assistant">
	<!-- <view class="list">
		<block wx:if="{{aideList.length>0}}">
			<view class="li" wx:for="{{aideList}}" wx:key="index" data-roomid="{{item.id}}" catchtap="goLiveAssistant"
			 data-status="{{item.status}}" data-ban="{{item.ban}}">
				<view class="audit_status">
					<view class="left {{(item.status==1?'bgcolor_1':(item.status==2?'bgcolor_2':(item.status==3?'bgcolor_3':(item.status==4?'bgcolor_4':''))))}}">{{(item.status==1?'待审核':(item.status==2?'等待直播':(item.status==3?'直播中':(item.status==4?'已结束':''))))}}</view>
					<block wx:if="{{item.status=='2'}}">
						<view class="right" wx:if="{{item.stop}}">等待开播</view>
						<view class="right" wx:else>距离开始时间：<text>{{item.day}}天{{item.hou}}时{{item.min}}分{{item.sec}}秒</text></view>
					</block>
				</view>
				<view class="anchor_show">
					<view class="left">
						<image src="{{item.cover}}" mode='aspectFill' />
					</view>
					<view class="right">
						<view class="title">{{item.title}}</view>
						<view class="name">{{item.shop_name}}</view>
					</view>
				</view>
				<view class="goods_message">
					<view class="left">直播时间：{{item.launch_date}}</view>
					<view class="right">商品：{{item.goods_num}}</view>
				</view>
			</view>
		</block>
		<block wx:else>
			<view class="loading">
				<view class="content">
					<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/blank.png" mode='widthFix' />
				</view>
			</view>
		</block>
	</view> -->
	<view class="anchor_list">
		<block wx:if="{{aideList.length>0}}">
			<view class="li" wx:for="{{aideList}}" wx:key="index" data-roomid="{{item.id}}" catchtap="goLiveAssistant"
			 data-status="{{item.status}}" data-ban="{{item.ban}}">
				<image src="{{item.cover}}" mode='aspectFill' />
				<block wx:if="{{item.status=='2'}}">
					<view class="countdown">
						<view class="left">
							<view class="iconfont icon-all_countdown"></view>
						</view>
						<view wx:if="{{item.stop}}">等待开播</view>
						<view class="right" wx:else>{{item.day}}天{{item.hou}}时{{item.min}}分{{item.sec}}秒</view>
					</view>
				</block>
				<view class="live_message">
					<view class="playback" wx:if="{{item.show}}">
						<view class="left">是否开启回放功能</view>
						<view class="right" catchtap="notapbtn">
							<van-switch checked="{{item.back_open}}" size="38rpx" active-color="#ff2c29" bind:change="onChange"
							 data-index="{{index}}" data-roomid="{{item.id}}" />
						</view>
					</view>
					<view class="top">
						<view class="left">
							<view class="status {{(item.status==1?'color_1':(item.status==2?'color_2':(item.status==3?'color_3':(item.status==4?'color_4':''))))}}">{{(item.status==1?'待审核':(item.status==2?'等待直播':(item.status==3?'直播中':(item.status==4?'已结束':''))))}}</view>
							<view class="shop_type">#{{item.shop_name}}</view>
						</view>
						<view class="right" wx:if="{{item.is_purview&&item.is_purview==1}}" data-roomid="{{item.id}}" catchtap="permissionsBtn">
							<view class="iconfont icon-all_watchroot"></view>
						</view>
					</view>
					<view class="live_name">{{item.title}}</view>
					<view class="bottom">
						<view class="left">{{item.launch_date}}</view>
						<view class="right">商品:{{item.goods_num}}</view>
					</view>
				</view>
			</view>
		</block>
		<block wx:else>
			<view class="loading">
				<view class="content">
					<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/blank.png" mode='widthFix' />
				</view>
			</view>
		</block>
	</view>
</view>
<van-popup custom-style="width: 618rpx;height: 689rpx;overflow-y: auto;background-color: #ffffff;border-radius: 42rpx;"
 show="{{permissionsShow}}" position="center" overlay="{{true}}" bind:close="permissionsShowCloseBtn">
	<view class="permissionsContent" wx:if="{{WatchList}}">
		<view class="title">观看权限</view>
		<view class="ul">
			<view class="li" wx:if="{{WatchList.member_level_open==1}}">
				<view class="left"></view>
				<view class="right">会员等级</view>
			</view>
			<view class="child" wx:if="{{WatchList.member_level&&WatchList.member_level_open==1}}">
				<block wx:for="{{WatchList.member_level}}" wx:key="index">
					<view class="li_child">
						<view class="li_child_left"></view>
						<view class="li_child_right">{{item}}</view>
					</view>
				</block>
			</view>
			<view class="li" wx:if="{{WatchList.commission_level_open==1}}">
				<view class="left"></view>
				<view class="right">分销商等级</view>
			</view>
			<view class="child" wx:if="{{WatchList.commission_level_open&&WatchList.commission_level_open==1}}">
				<block wx:for="{{WatchList.commission_level}}" wx:key="index">
					<view class="li_child">
						<view class="li_child_left"></view>
						<view class="li_child_right">{{item}}</view>
					</view>
				</block>
			</view>
			<view class="li" wx:if="{{WatchList.team_level_open==1}}">
				<view class="left"></view>
				<view class="right">经销商等级</view>
			</view>
			<view class="child" wx:if="{{WatchList.team_level_open&&WatchList.team_level_open==1}}">
				<block wx:for="{{WatchList.team_level}}" wx:key="index">
					<view class="li_child">
						<view class="li_child_left"></view>
						<view class="li_child_right">{{item}}</view>
					</view>
				</block>
			</view>
			<view class="li" wx:if="{{WatchList.agent_open==1}}">
				<view class="left"></view>
				<view class="right">推广员</view>
			</view>
			<view class="li" wx:if="{{WatchList.store_open==1}}">
				<view class="left"></view>
				<view class="right">门店店长</view>
			</view>
			<view class="li" wx:if="{{WatchList.hotel_open==1}}">
				<view class="left"></view>
				<view class="right">酒店店长</view>
			</view>
			<view class="li" wx:if="{{WatchList.supplier_open==1}}">
				<view class="left"></view>
				<view class="right">供应商</view>
			</view>
			<view class="li" wx:if="{{WatchList.password_open==1}}">
				<view class="left"></view>
				<view class="right">直播间密码:{{WatchList.password}}</view>
			</view>
		</view>
		<view class="close" catchtap="permissionsShowCloseBtn">
			<view class="iconfont icon-close11"></view>
		</view>
	</view>
</van-popup>
