<view class="directSeeding">
	<swiper style="{{'height:'+ heightauto +';'}} {{'width:'+ widthauto +';'}}" vertical="{{true}}" bindchange="liveChange">
		<swiper-item wx:for="{{liveListData}}" wx:for-index="liveListDataidx" wx:for-item="liveListDataName" wx:key="liveListDataidx">
			<view wx:if="{{liveListDataName.changeloadBol && (playerType=='live'?(liveListDataName.id == room_id):(liveListDataName.id== room_id &&liveListDataName.backid == backid))}}">
				<block wx:if="{{playerType=='live'}}">
					<view class="{{isLivePK?'pk-video-main':''}}{{!isLivePK&&mode_button?'horizontal-screen':''}}">
						<live-player id="{{'liveid_'+room_id}}" src="{{roomData.play_url_rtmp}}" mode="live" object-fit="{{isLivePK||mode_button?'contain':'fillCrop'}}"
						autoplay bindstatechange="statechange" bindleavepictureinpicture="smallWindowClose" binderror="error" style="{{'height:'+ heightauto +';'}} {{'width:'+ widthauto +';'}}" bindenterpictureinpicture="smallWindowClose1"
						auto-pause-if-navigate="{{pauseBol}}" picture-in-picture-mode='{{picturemodeshow?["push", "pop"]:[]}}' />
						<live-player wx:if="{{isLivePK}}" id="{{'livePKid_'+livePKData.streamid}}" src="{{livePKSrc}}" mode="live" object-fit="contain" bindleavepictureinpicture="smallWindowClose" bindenterpictureinpicture="smallWindowClose1"
						autoplay bindstatechange="statechangePK" binderror="errorPK"/>
						<view class="videos videos-pk videos-pk-anchor" wx:if="{{isLivePK}}" data-id="{{livePKData.streamid?livePKData.streamid:livePKData.room_id}}" catchtap="gotoPKLiver">
							<!--pk 对方的直播 点击进入对方直播间-->
							<view class="pkAnchor-info" >
								<image class="pkAnchor-info-avatar" src="{{livePKData.memberAvatar|| livePKData.member_avatar}}" alt="" />
								<view class="pkAnchor-info-name">{{livePKData.nickName|| livePKData.nickname }}</view>
							</view>
						</view>
						<view class="pk-video-time" wx:if="{{isLivePK}}">{{PKTimed}}</view>
					</view>
				</block>
				<view class="directSeeding_content" style="{{'height:'+ heightauto +';'}} {{'width:'+ widthauto +';'}}">
					<block wx:if="{{playerType=='video'}}">
						<video id="myvideo" poster="{{roomData.cover}}" style="{{'height:'+ heightauto +';'}} {{'width:'+ widthauto +';'}} position: absolute;z-index: 1;"
						 src="{{roomData.video_url}}" loop="{{false}}" autoplay="{{true}}" controls="{{true}}" object-fit="{{mode_button?'contain':'cover'}}"
						 show-play-btn="{{true}}" show-fullscreen-btn="{{false}}"></video>
					</block>
					<view style="height:{{statusBarHeight}}px;"></view>
					<view style="position: absolute;z-index: 10;width: 100%;">
						<view class="directSeeding_content_top">
							<view class="backRight" catchtap="backRightBtn">
								<van-icon name="arrow-left" size="40rpx" color="#333" />
							</view>
							<view class="personal_information" catchtap="showUserBtn">
								<view class="information_left">
									<image wx:if="{{roomData.avatar}}" src="{{roomData.avatar}}" mode='aspectFill' />
								</view>
								<view class="information_center">
									<view class="top">{{roomData.nickname}}</view>
									<view class="bottom">
										<block wx:if="{{!roomData.diy_set||!(roomData.diy_set.location==1)}}">{{roomData.address}} |</block>
										<block wx:if="{{!roomData.diy_set||!(roomData.diy_set.view==1)}}">{{view_num}}观看</block>
									</view>
								</view>
								<block wx:if="{{focusBol}}">
									<view class="information_right">关注</view>
								</block>
								<!-- 	<block wx:else>
								<view class="information_right">已关注</view>
							</block> -->
							</view>
						</view>
						<view class="directSeeding_content_center" wx:if="{{!isLivePK&&(roomData.banner&&!roomData.diy_set||!(roomData.diy_set.banner==1))}}">
							<view class="preferential_list">
								<image src="{{roomData.banner}}" mode='widthFix' />
								<!-- <view class="tilie">店铺优惠</view>
							<view class="li" wx:for="{{roomData.shop_discount}}" wx:key="index">满{{item.enough}}-{{item.reduce}}</view> -->
							</view>
						</view>
					</view>

					<view class="advertising-Box" wx:if="{{!isLivePK&&roomData.ad_serving_button_status}}">
						<!-- 广告投放 -->
						<view class="advertising-Box-child member-look-ads" wx:if="{{roomData.ad_serving_button_status.watch && isShowADLook}}">
							<image mode="widthFix" src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/ad-serving/look-ads.png" alt="" catchtap="gotoUrl" data-name="advertisingList" data-id="{{roomData.id}}" data-tag="live"/>
							<icon class="iconfont icon-adsystem_icon_cancle" catchtap="cloneADbtn" data-tag="1"></icon>
						</view>
						<view class="advertising-Box-child go-put-ads" wx:if="{{roomData.ad_serving_button_status.put_in && isShowADPut}}">
							<image mode="widthFix" src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/ad-serving/put-ads.png" alt="" catchtap="gotoUrl" data-name="advertisingPutAD" data-iser="{{roomData.ad_serving_button_status.is_advertiser}}" data-id="{{roomData.id}}" data-tag="live"/>
							<icon class="iconfont icon-adsystem_icon_cancle" catchtap="cloneADbtn" data-tag="2"></icon>
						</view>
					</view>

					<view class="directSeeding_content_bottom" style="{{playerType=='video'?'bottom: 80rpx;':''}}">
						<view class="gift_screen" id="gift_screen">
							<view class="ul" style="{{giftScreenLeftBol?'':'transition: transform 6s linear;' }} transform: translateX({{giftScreenLeft}}px); width: {{widthAll}}px;">
								<view class="li" style="{{giftListmessage.nickname?'background-color: rgba(0, 0, 0, 0.4)':''}}">
									<view class="li_left" hidden="{{!giftListmessage.avatar}}">
										<image wx:if="{{giftListmessage.avatar}}" src="{{giftListmessage.avatar}}" mode='widthFix' />
									</view>
									<view class="li_right">
										<view class="top">{{giftListmessage.nickname}}</view>
										<view class="bottom">{{giftListmessage.reward_name}}</view>
									</view>
								</view>
							</view>
						</view>
						<view class="purchase_tips">
							<view class="purchase_tips_content" id="purchase_tips_content" style="transition: all 2s;opacity: {{tipsopacity}};">
								<view class="ul">
									<view class="li">
										<block wx:if="{{tipsContentMsssage.type =='buy'}}">
											<view class="buyicon iconfont icon-htmal5icon29"></view>
											<view class="name">{{tipsContentMsssage.nickname}}等</view>
											<view class="text">{{tipsContentMsssage.count}}人正在购买的路上</view>
										</block>
										<block wx:if="{{tipsContentMsssage.type =='come'}}">
											<view class="text">{{tipsContentMsssage.nickname}}正在进入直播间</view>
										</block>
										<block wx:if="{{tipsContentMsssage.type =='concern'}}">
											<view class="text">{{tipsContentMsssage.nickname}}正在关注主播</view>
										</block>
									</view>
								</view>
							</view>
						</view>

						<view  wx:if="{{specialList[0]}}" class="gift-effects {{specialList[0].effect_type == 0 ? 'topScreens' : (specialList[0].effect_type == 1 ? 'bottomScreens' : 'fullScreens')}}">
              <!-- 直播打赏礼物特效 gif -->
              <image src="{{specialList[0].effect_gif}}" alt="" mode='aspectFit'/>
            </view>

						<scroll-view class="chat_messages" scroll-top="{{messagesTop}}rpx" scroll-with-animation="{{true}}" scroll-y="{{true}}"
						 enable-flex="{{true}}">
							<view style="display: flex;" wx:for="{{messageList}}" wx:key="index">
								<view class="li">
									<view class="li_content" wx:if="{{item.text}}">
										<view class="characteristic" style="vertical-align: middle;">
											<view class="characteristic_li">
												<image class="img" src="{{item.memberAvatar}}" mode='widthFix' />
												<view class="level_tag {{item.memberLevel>10?'color_10':('color_'+item.memberLevel)}}"  wx:if="{{!roomData.diy_set||!(roomData.diy_set.member_level==1)}}">{{item.memberLevelName}}</view>
											</view>
										</view>
										<text style="vertical-align:middle" class="name {{item.memberLevel>10?'color_10':('color_'+item.memberLevel)}}">{{item.nickName}}:</text>
										<text style="vertical-align:middle" class="text"> {{item.text}}</text>
									</view>
									<view class="welcome" wx:if="{{item.content}}">{{item.content}}</view>
								</view>
							</view>
						</scroll-view>
						<view class="interaction_bottom">
							<!-- 	<view class="chat_list">
								<view class="li showGood li_0" catchtap="showGoodLiftBtn">
									<view class="iconfont icon-zb_goods"></view>
									<view class="num" wx:if="{{roomData.goods&&roomData.goods.length>0}}">{{roomData.goods.length}}</view>
								</view>
							</view> -->
							<!-- 	<view class="chat" catchtap="mainCommentShowBtn" wx:if="{{roomData.IM==1}}">
								<view class="left iconfont icon-liaotian"></view>
								<view class="text">和主播说点什么...</view>
							</view>
							<view class="chat_list">
								<view class="li shownum li_1" catchtap="clickHandler">
									<image class="img" src="../../../image/directSeeding/zb_like_icon.png" mode='widthFix' />
									<view class="num" >{{shownum}}</view>
								</view>
								<view class="li li_2">
									<image class="img" catchtap="showGiftBtn" src="../../../image/directSeeding/zb_gift_icon.png" mode='widthFix' />
								</view>
							</view> -->
							<view class="left">
								<view class="good" catchtap="showGoodLiftBtn" wx:if="{{!roomData.diy_set||!(roomData.diy_set.shop_bag==1)}}">
									<view class="iconfont icon-zb_goods"></view>
									<view class="num" wx:if="{{roomData.goods&&roomData.goods.length>0}}">{{roomData.goods.length}}</view>
								</view>
								<view class="chat_content" catchtap="mainCommentShowBtn" style="{{(!roomData.diy_set||!(roomData.diy_set.shop_bag==1))?'':'margin-left: 20rpx;'}}" wx:if="{{roomData.IM==1&&close_chat == 0 &&(!roomData.diy_set||!(roomData.diy_set.open_chat==1))}}">
									<view class="text">和主播说点什么...</view>
								</view>
							</view>
							<view class="right">
								<view class="chaticon_list">
									<view class="li" wx:if="{{!roomData.diy_set||!(roomData.diy_set.option==1)}}" catchtap="getmoreBtn">
										<view class="top">
											<view class="iconfont icon-zb_all_more"></view>
										</view>
										<view class="bottom">更多</view>
									</view>
									<view class="li shownum {{!likeNumBol?'active':''}}" catchtap="clickHandler" wx:if="{{!roomData.diy_set||!(roomData.diy_set.praise==1)}}">
										<view class="top">
											<view class="iconfont icon-zb_all_like"></view>
										</view>
										<view class="num">{{shownum}}</view>
										<view class="bottom">点赞</view>
									</view>
									<view class="li GiftBtn-box" catchtap="showGiftBtn" wx:if="{{close_reward == 0 &&(!roomData.diy_set||!(roomData.diy_set.reward==1))}}">
										<view class="top">
											<image class="img" src="../../../image/directSeeding/zb_gift_icon.png" mode='widthFix' />
										</view>
										<view class="bottom">打赏</view>
									</view>
								</view>
							</view>
						</view>
						<view class="share_message">
							<view class="share_message_left" catchtap="showPosterBtn" wx:if="{{!roomData.diy_set||!(roomData.diy_set.poster==1)}}">
								<icon class="iconfont icon-zb_all_haibao"></icon>
							</view>
							<view class="share_message_left" style="position: relative;" wx:if="{{!roomData.diy_set||!(roomData.diy_set.share==1)}}">
								<icon class="iconfont icon-zb_all_share"></icon>
								<button style="position:absolute;width:100%;height:100%;opacity:0;top: 0;right: 0;" open-type="share"></button>
							</view>
							<view class="share_message_left" catchtap="liveReportBtn" wx:if="{{!roomData.diy_set||!(roomData.diy_set.report==1)}}">
								<icon class="iconfont icon-zb_all_jb"></icon>
							</view>
						</view>
						<view class="show_shoplist_content" wx:if="{{!isLivePK}}">
							<scroll-view class="show_shoplist" scroll-y="{{true}}" enable-flex="{{true}}">
								<view class="li" wx:for="{{roomData.diy_menu}}" wx:key="index" wx:if="{{!item.show}}" catchtap="gomenu"
								 data-index="{{index}}">
									<view class="top">
										<image src="{{item.image}}" mode='aspectFill' />
									</view>
									<!-- <view class="bottom">{{item.title}}</view> -->
									<view class="close" catchtap="showShoplistBtn" data-index="{{index}}">
										<view class="iconfont icon-adsystem_icon_cancle"></view>
									</view>
								</view>
							</scroll-view>
						</view>
					</view>

					<view class="luck_draw_btn" wx:if="{{luck_number == 1 &&Object.keys(roomData.goods).length != 0}}">
						<!-- 新抽奖按钮 -->
						<!-- 如果创建直播间的时候选择了关联抽奖的商品，则直播间观看端增加显示抽奖按钮，点击跳转活动列表。 -->
						<image class="luck_draw_btn_img" catchtap="gotoLuckDraw" src="{{roomData.goods[0] && roomData.goods[0].luck_draw && roomData.goods[0].luck_draw.luck_img_url ? roomData.goods[0].luck_draw.luck_img_url : ''}}" alt="" />
						<view class="CloneBtn" catchtap="cloneLuckDraw">
							<icon class=" iconfont icon-adsystem_icon_cancle"></icon>
						</view>
					</view>
					<!-- <view class="success_tips" wx:if="{{followSuccessBol}}">关注成功！</view> -->
					<view class="commodities" wx:if="{{explainingGoods.goods_id&&commoditiesshow}}" data-id="{{explainingGoods.goods_id}}"
					 catchtap="setGoods">
						<view class="title">当前讲解的商品</view>
						<view class="picshow">
							<view class="top">
								<image wx:if="{{explainingGoods.image}}" src="{{explainingGoods.image}}" mode='aspectFill' />
							</view>
							<view class="bottom">{{language['money']}}{{explainingGoods.price}}</view>
						</view>
						<view class="close" catchtap="commoditiesclosebtn">
							<view class="iconfont icon-adsystem_icon_cancle"></view>
						</view>
					</view>
				</view>
			</view>
			<view wx:else style="{{'height:'+ heightauto +';'}} {{'width:'+ widthauto +';'}}">
				<image wx:if="{{liveListDataName.avatar|| liveListDataName.cover}}" src="{{liveListDataName.cover?liveListDataName.cover:liveListDataName.avatar}}"
				 mode='aspectFill' class="coverImg" />
			</view>
		</swiper-item>
	</swiper>
	<view class="shade" wx:if="{{shade}}" catchtap='shadeClose'></view>
	<view class="chatInput" wx:if="{{mainCommentShow}}" style="bottom:{{chatInputBottom}}px">
		<view class="chatInputContent">
			<view class='cover-input'>
				<input class='input' value='{{inputInfo}}' focus="{{true}}" adjust-position="{{false}}" placeholder="和主播说点什么" bindkeyboardheightchange='bindfocusChatInput' bindinput='blurInput'></input>
			</view>
			<view class="submit" catchtap="sendBtn">发送</view>
		</view>
	</view>
	<view class="sharing_code" style="border-radius: 30rpx" wx:if="{{showPoster}}">
		<view class="popup-box" style="border-radius: 30rpx;width:500rpx;" wx:if="{{!loadingImg}}">
			<image bindtap="saveShareImg" style="width: 100%;height: 100%;border-radius:30rpx;" class="img" src="{{ithumb}}"
			 mode='widthFix' />
		</view>
		<view class="popup-box" style="text-align: center;background: #fff;line-height: 654rpx;border-radius:30rpx;" wx:if="{{loadingImg}}">
			{{loadingMessage}}
		</view>
		<!-- 	<image bindtap="saveShareImg" style="width: 100%;height: 100%;" class="img" src="{{ithumb}}" mode='widthFix' /> -->
		<!-- <view class="close_icon" catchtap="showPosterClose">
			<view class="iconfont icon-close11"></view>
		</view> -->
		<view class="icon_btn">
			<view class="box">
				<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/images/poster_share.png" />
				<text>分享好友</text>
				<button style="position:absolute;width:100%;height:100%;opacity:0;top: 0;right: 0;" open-type="share"></button>
			</view>
			<view class="box" catchtap='saveShareImg'>
				<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/images/poster_save.png" />
				<text>保存海报</text>
			</view>
		</view>
		<!-- 关闭图标 -->
		<view class="icon_close" catchtap="showPosterClose">取消</view>
	</view>
	<view class="anchorman_details" wx:if="{{showUser}}">
		<view class="photo">
			<image src="{{anchorPopupData.avatar}}" mode='widthFix' />
		</view>
		<view class="name">{{anchorPopupData.nickname}}</view>
		<view class="anchorma_type">
			<view class="left">ID：{{anchorPopupData.member_id}}</view>
			<view class="right {{focusBol?'':'active'}}" catchtap="followBtn">{{focusBol?'关注':'已关注'}}</view>
		</view>
		<view class="anchorm_follow">
			<view class="anchorm_follow_left">
				<view class="top">{{anchorPopupData.view_count}}</view>
				<view class="center">观看</view>
				<view class="bottom" catchtap="goHomePage">主页</view>
			</view>
			<view class="anchorm_follow_right">
				<view class="top" catchtap="gotoFanList">{{anchorPopupData.fan_count}}</view>
				<view class="center" catchtap="gotoFanList">粉丝</view>
				<view class="bottom" catchtap="goPage" data-roleid="{{anchorPopupData.role_id}}" data-shopid="{{anchorPopupData.shop_id}}">
					<block wx:if="{{anchorPopupData.role_id==0}}">商城</block>
					<block wx:if="{{anchorPopupData.role_id==1}}">店铺</block>
					<block wx:if="{{anchorPopupData.role_id==2}}">供应商</block>
					<block wx:if="{{anchorPopupData.role_id==3}}">酒店</block>
				</view>
			</view>
		</view>
		<view class="close" catchtap="showUserCloseBtn">
			<view class="iconfont icon-close11"></view>
		</view>
	</view>
	<view class="goods_list" wx:if="{{showGoodLift}}">
		<view class="ul">
			<view class="li" wx:for="{{roomData.goods}}" wx:key="index" catchtap="goGood" data-id="{{item.id}}">
				<view class="li_left">
					<image src="{{item.thumb}}" mode='widthFix' />
					<view class="tag">{{item.sort}}</view>
				</view>
				<view class="li_right">
					<view class="name">{{item.title}}</view>
					<view class="bottom">
						<view class="left">
							<view class="symbol">{{language['money']}}</view>
							<view class="num">{{item.price}}</view>
						</view>
						<view class="right">
							<view class="iconfont icon-car_card"></view>
						</view>
					</view>
				</view>
			</view>
		</view>
		<view class="close" catchtap="showGoodLiftCloseBtn">
			<view class="iconfont icon-close11"></view>
		</view>
	</view>
	<view class="gift_list" wx:if="{{showGift}}">
		<view class="contentTop" style="{{giftListData&&giftListData.length>4?'height:530rpx;':'height:280rpx;'}}">
			<view class="gift_list_top">
				<view class="li {{giftSelectId==item.id?'active':''}}" wx:for="{{giftListData}}" wx:key="index" data-id="{{item.id}}"
				 data-index="{{index}}" catchtap="giftSelect">
					<view class="top">
						<image src="{{item.icon_image}}" mode='aspectFill' />
					</view>
					<view class="name">{{item.name}}</view>
					<view class="center" wx:if="{{item.credit1_number>0}}">
						{{giftMemberData.credit1_name?giftMemberData.credit1_name:'积分'}}：{{item.credit1_number}}
					</view>
					<view class="center" wx:if="{{item.credit2_number>0}}">
						{{giftMemberData.credit2_name?giftMemberData.credit2_name:'余额'}}：{{item.credit2_number}}
					</view>
					<view class="bottom" wx:if="{{item.love_number>0}}">
						{{giftMemberData.love_name?giftMemberData.love_name:'爱心值'}}：{{item.love_number}}
					</view>
				</view>
			</view>
		</view>
		<view class="gift_list_bottom">
			<view class="gift_list_bottom_left">
				<view class="left_li" catchtap="giftSelsectBtn" data-type="1" wx:if="{{giftType.integral == 1}}">
					<view class="left {{activeNum==1?'active':''}}"></view>
					<view class="right">我当前{{giftMemberData.credit1_name?giftMemberData.credit1_name:'积分'}}数量{{giftMemberData.credit1?giftMemberData.credit1:'0.00'}}</view>
				</view>
				<view class="left_li" catchtap="giftSelsectBtn" data-type="2" wx:if="{{giftType.balance == 1}}">
					<view class="left {{activeNum==2?'active':''}}"></view>
					<view class="right">我当前{{giftMemberData.credit2_name?giftMemberData.credit2_name:'余额'}}{{giftMemberData.credit2?giftMemberData.credit2:'0.00'}}</view>
				</view>
				<view class="left_li" catchtap="giftSelsectBtn" data-type="3" wx:if="{{giftType.love == 1}}">
					<view class="left {{activeNum==3?'active':''}}"></view>
					<view class="right">我当前{{giftMemberData.love_name?giftMemberData.love_name:'爱心值'}}数量{{giftMemberData.love?giftMemberData.love:'0.00'}}</view>
				</view>
			</view>
			<view class="gift_list_bottom_right" catchtap="rewardBtn">打赏</view>
		</view>
		<view class="close" catchtap="showGiftCloseBtn">
			<view class="iconfont icon-close11"></view>
		</view>
	</view>
	<block wx:for="{{activityDataArray}}" wx:for-index="activitidx" wx:for-item="items" wx:key="activitidx">
		<van-popup custom-style="	width: 620rpx;height: 846rpx;overflow: visible;border-radius: 20rpx" show="{{items.activityData.showactivity}}"
		 position="center" overlay="{{true}}" data-index="{{activitidx}}" bind:close="showactivityCloseBtn">
			<view class="marketing_list">
				<view class="marketing_content">
					<view class="title">
						<view class="left">
							<view class="circle"></view>
							<view class="line"></view>
						</view>
						<view class="name">恭喜你获得</view>
						<view class="right">
							<view class="line"></view>
							<view class="circle"></view>
						</view>
					</view>
					<view class="list">
						<block wx:for="{{items.activityData.activityList}}" wx:key="index">
							<view class="li {{ item.status==3?'disabled':''}}">
								<view class="left">
									<view class="num">{{item.coupon_several}}</view>
									<view class="pic">张</view>
								</view>
								<view class="right">
									<view class="name">{{item.coupon_name}}</view>
									<block wx:if="{{item.status==2}}">
										<view class="btn" catchtap="goCoupon">查看</view>
									</block>
									<block wx:if="{{item.status==3}}">
										<view class="tips">很遗憾，未领到</view>
									</block>
								</view>
							</view>
						</block>
						<block wx:if="{{items.activityData.pointBonus}}">
							<view class="li {{ items.activityData.pointBonusStatus==3?'disabled':''}}">
								<view class="left">
									<view class="num">{{items.activityData.pointBonus}}</view>
								</view>
								<view class="right">
									<view class="name">{{items.activityData.credit1_name?items.activityData.credit1_name:'积分'}}</view>
									<block wx:if="{{items.activityData.pointBonusStatus==2}}">
										<view class="btn" catchtap="goIntegral">查看</view>
									</block>
									<block wx:if="{{items.activityData.pointBonusStatus==3}}">
										<view class="tips">很遗憾，未领到</view>
									</block>
								</view>
							</view>
						</block>
						<block wx:if="{{items.activityData.loveBonus}}">
							<view class="li {{ items.activityData.loveBonusStatus==3?'disabled':''}}">
								<view class="left">
									<view class="num">{{items.activityData.loveBonus}}</view>
								</view>
								<view class="right">
									<view class="name">{{items.activityData.love_name?items.activityData.love_name:'爱心值'}}</view>
									<block wx:if="{{items.activityData.loveBonusStatus==2}}">
										<view class="btn" catchtap="goLoveindex">查看</view>
									</block>
									<block wx:if="{{items.activityData.loveBonusStatus==3}}">
										<view class="tips">很遗憾，未领到</view>
									</block>
								</view>
							</view>
						</block>
						<block wx:if="{{items.activityData.balanceBonus}}">
							<view class="li {{ items.activityData.balanceBonusStatus==3?'disabled':''}}">
								<view class="left">
									<view class="num">{{items.activityData.balanceBonus}}</view>
								</view>
								<view class="right">
									<view class="name">{{items.activityData.credit2_name?items.activityData.credit2_name:'余额'}}</view>
									<block wx:if="{{items.activityData.balanceBonusStatus==2}}">
										<view class="btn" catchtap="gobalance">查看</view>
									</block>
									<block wx:if="{{items.activityData.balanceBonusStatus==3}}">
										<view class="tips">很遗憾，未领到</view>
									</block>
								</view>
							</view>
						</block>
						<block wx:if="{{items.activityData.packetBonus}}">
							<view class="li {{items.activityData.packetBonusStatus==3?'disabled':''}}">
								<view class="left">
									<view class="num">{{items.activityData.packetBonus}}</view>
								</view>
								<view class="right">
									<view class="name">现金红包</view>
									<block wx:if="{{items.activityData.packetBonusStatus==2}}">
										<view class="btn" catchtap="gobalance">查看</view>
									</block>
									<block wx:if="{{items.activityData.packetBonusStatus==3}}">
										<view class="tips">很遗憾，未领到</view>
									</block>
								</view>
							</view>
						</block>
					</view>
					<view class="drawBtn {{ items.activityData.status==2?'disabled':''}}" catchtap="activityDataBtn" data-id="{{items.activityData.activity_id}}"
					 data-index="{{activitidx}}"> {{ items.activityData.status==2?'已领取':'立即领取'}}
					</view>
				</view>
				<view class="close" data-index="{{activitidx}}" catchtap="showactivityCloseBtn">
					<view class="iconfont icon-close11"></view>
				</view>
			</view>
		</van-popup>
	</block>
	<block wx:for="{{roomMemberContentArray}}" wx:for-index="roomMemberidx" wx:for-item="items" wx:key="roomMemberidx">
		<van-popup custom-style="	width: 620rpx;height: 846rpx;overflow: visible;border-radius: 20rpx" show="{{items.activityData.showactivity}}"
		 position="center" overlay="{{true}}" data-index="{{roomMemberidx}}" bind:close="showactivityCloseBtn_1">
			<view class="marketing_list">
				<view class="marketing_content">
					<view class="title">
						<view class="left">
							<view class="circle"></view>
							<view class="line"></view>
						</view>
						<view class="name">恭喜你获得</view>
						<view class="right">
							<view class="line"></view>
							<view class="circle"></view>
						</view>
					</view>
					<view class="list">
						<block wx:for="{{items.activityData.activityList}}" wx:key="index">
							<view class="li {{ item.status==3?'disabled':''}}">
								<view class="left">
									<view class="num">{{item.coupon_several}}</view>
									<view class="pic">张</view>
								</view>
								<view class="right">
									<view class="name">{{item.coupon_name}}</view>
									<block wx:if="{{item.status==2}}">
										<view class="btn" catchtap="goCoupon">查看</view>
									</block>
									<block wx:if="{{item.status==3}}">
										<view class="tips">很遗憾，未领到</view>
									</block>
								</view>
							</view>
						</block>
						<block wx:if="{{items.activityData.pointNum}}">
							<view class="li {{ items.activityData.pointBonusStatus==3?'disabled':''}}">
								<view class="left">
									<block wx:if="{{items.activityData.pointSet==1}}">
										<view class="num">{{items.activityData.pointLow +' - '+ items.activityData.pointHigh}}</view>
									</block>
									<block wx:else>
										<view class="num">{{items.activityData.pointFixed}}</view>
									</block>
								</view>
								<view class="right">
									<view class="name">{{items.activityData.credit1_name?items.activityData.credit1_name:'积分'}}</view>
									<block wx:if="{{items.activityData.pointBonusStatus==2}}">
										<view class="btn" catchtap="goIntegral">查看</view>
									</block>
									<block wx:if="{{items.activityData.pointBonusStatus==3}}">
										<view class="tips">很遗憾，未领到</view>
									</block>
								</view>
							</view>
						</block>
						<block wx:if="{{items.activityData.loveNum}}">
							<view class="li {{ items.activityData.loveBonusStatus==3?'disabled':''}}">
								<view class="left">
									<block wx:if="{{items.activityData.loveSet==1}}">
										<view class="num">{{items.activityData.loveLow +' - '+ items.activityData.loveHigh}}</view>
									</block>
									<block wx:else>
										<view class="num">{{items.activityData.loveFixed}}</view>
									</block>
								</view>
								<view class="right">
									<view class="name">{{items.activityData.love_name?items.activityData.love_name:'爱心值'}}</view>
									<block wx:if="{{items.activityData.loveBonusStatus==2}}">
										<view class="btn" catchtap="goLoveindex">查看</view>
									</block>
									<block wx:if="{{items.activityData.loveBonusStatus==3}}">
										<view class="tips">很遗憾，未领到</view>
									</block>
								</view>
							</view>
						</block>
						<block wx:if="{{items.activityData.balanceNum}}">
							<view class="li {{ items.activityData.balanceBonusStatus==3?'disabled':''}}">
								<view class="left">
									<block wx:if="{{items.activityData.balanceSet==1}}">
										<view class="num">{{items.activityData.balanceLow +' - '+ items.activityData.balanceHigh}}</view>
									</block>
									<block wx:else>
										<view class="num">{{items.activityData.balanceFixed}}</view>
									</block>
								</view>
								<view class="right">
									<view class="name">{{items.activityData.credit2_name?items.activityData.credit2_name:'余额'}}</view>
									<block wx:if="{{items.activityData.balanceBonusStatus==2}}">
										<view class="btn" catchtap="gobalance">查看</view>
									</block>
									<block wx:if="{{items.activityData.balanceBonusStatus==3}}">
										<view class="tips">很遗憾，未领到</view>
									</block>
								</view>
							</view>
						</block>
						<block wx:if="{{items.activityData.packetNum}}">
							<view class="li {{items.activityData.packetBonusStatus==3?'disabled':''}}">
								<view class="left">
									<view class="left">
										<block wx:if="{{items.activityData.packeSet==1}}">
											<view class="num">{{items.activityData.packeLow +' - '+ items.activityData.packeHigh}}</view>
										</block>
										<block wx:else>
											<view class="num">{{items.activityData.packeFixed}}</view>
										</block>
									</view>
								</view>
								<view class="right">
									<view class="name">现金红包</view>
									<block wx:if="{{items.activityData.packetBonusStatus==2}}">
										<view class="btn" catchtap="gobalance">查看</view>
									</block>
									<block wx:if="{{items.activityData.packetBonusStatus==3}}">
										<view class="tips">很遗憾，未领到</view>
									</block>
								</view>
							</view>
						</block>
					</view>
					<view class="drawBtn {{ items.activityData.status==2?'disabled':''}}" catchtap="roomMemberBtn" data-id="{{items.activityData.activity_id}}"
					 data-index="{{roomMemberidx}}"> {{ items.activityData.status==2?'已领取':'立即领取'}}
					</view>
				</view>
				<view class="close" data-index="{{roomMemberidx}}" catchtap="showactivityCloseBtn_1">
					<view class="iconfont icon-close11"></view>
				</view>
			</view>
		</van-popup>
	</block>
	<view class="lose_tips" wx:if="{{showavticeFail}}">
		<view class="lose_content">
			<view class="top">
				<view class="iconfont icon-close11"></view>
			</view>
			<view class="center">
				<view class="tips">很遗憾！</view>
				<view class="title">没有领到...</view>
			</view>
			<view class="button" catchtap="showavticeFailBtn">我知道了</view>
		</view>
	</view>
	<van-popup custom-style="	width: 571rpx;height: 426rpx;background-color: #ffffff;border-radius: 31rpx;" show="{{wechatpayShow}}"
	 position="center" overlay="{{true}}" bind:close="wechatpayShowCloseBtn">
		<view class="wechatpayContent">
			<view class="title">打赏</view>
			<view class="pay">余额不足,可使用微信支付</view>
			<view class="ul">
				<view class="li">
					<view class="left">
						<view class="iconfont icon-card_weixin"></view>
						<view class="payName">微信支付</view>
					</view>
					<view class="right">
						<view class="iconfont icon-all_xuanze"></view>
					</view>
				</view>
			</view>
			<view class="wechatpaybtn" catchtap="usewechatpay">支付</view>
			<view class="iconfont icon-close11" catchtap="wechatpayShowCloseBtn"></view>
		</view>
	</van-popup>
	<van-popup custom-style="	width: 750rpx;height: 469rpx;background-color: #ffffff;border-radius: 50rpx 50rpx 0rpx 0rpx;overflow: auto;"
	 show="{{moreShowBol}}" position="bottom" overlay="{{true}}" bind:close="moreShowCloseBtn">
		<view class="moreContent">
			<view class="li" wx:for="{{roomData.diy_option}}" wx:key="index" catchtap="gooption" data-index="{{index}}">
				<view class="top">
					<image src="{{item.image}}" mode='aspectFill' />
				</view>
				<view class="bottom">{{item.title}}</view>
			</view>
		</view>
	</van-popup>
	<canvas canvas-id="bubble" style="width:60px;height:260px;position: absolute;right: 120rpx;z-index:10;{{playerType=='video'?'bottom: 170rpx;':'bottom: 98rpx;'}}"></canvas>
	<canvas canvas-id="myCanvas" style='width: {{canvasWidth}}px;height: {{canvasHeight}}px;position: absolute;z-index: -1;left: -6000px;top: -6000px;'
	 bindtap="saveShareImg" />
	<van-popup custom-style="height: 400rpx;background-color: #ffffff;border-top-left-radius:34rpx;border-top-right-radius:34rpx;"
	 show="{{passwordShow}}" position="bottom" overlay="{{true}}" bind:close="passwordShowClose">
		<view class="passwordContent">
			<view class="title">请输入直播间密码</view>
			<view class="content">
				<view class="left">
					<input type="text" password="{{permissionsShow}}" value="{{passwordVal}}" placeholder="请输入密码" bind:input="passwordValInp" />
				</view>
				<view class="right" catchtap="permissionsShowBtn">
					<block wx:if="{{permissionsShow}}">
						<van-icon name="closed-eye" />
					</block>
					<block wx:else>
						<van-icon name="eye-o" />
					</block>
				</view>
			</view>
			<view class="btn" catchtap="passwordLiveBtn">确认</view>
		</view>
	</van-popup>

	<van-popup show="{{ showPosterWord }}" custom-style="padding:12px;" position="bottom" bind:close="onClosePosterWord" class="posterWord">
		<view class="h2">自定义分享语</view>
		<van-field
			value="{{ diyPosterWord }}"
			type="textarea"
			custom-style="background: #f6f6f6;margin-bottom: 0.875rem;font-size:12px;"
			placeholder="请输入分享语"
			autosize
			show-word-limit
			rows="3"
			maxlength="120"
			bind:change="changePosterWord"
		/>
		<van-button type="warning" round  block bind:click="makePoster">生成海报</van-button>
	</van-popup>
</view>
