<view class="foreshow">
	<view class="header" style="{{'background: url('+info.cover+')'}} no-repeat top; background-size: 100%">
	</view>
	<view class="content">
		<view class="member-head">
			<view class="left">
				<image src="{{info.avatar}}" mode='widthFix' />
			</view>
			<view class="right">
				<view class="p name">{{info.nickname}}</view>
				<view style="display: flex;">
					<view class="share p" style="position: relative;">分享<button style="position:absolute;width:100%;height:100%;opacity:0;top: 0;right: 0;"
						 open-type="share"></button></view>
					<view class="build p" catchtap="posterBtn">生成海报</view>
				</view>
			</view>
		</view>
		<view class="number_time">
			<view class="p">距离开播仅剩： </view>
			<view class="p active_time" wx:if="{{!stop}}">
				<text class="span">{{ Day }}</text><text class="em">天</text> <text class="span">{{ Hour }}</text><text class="em">时</text>
				<text class="span">{{ Min }}</text><text class="em">分</text><text class="span">{{ Sec }}</text><text class="em">秒</text>
			</view>
			<view wx:else>已开播</view>
		</view>
		<view class="tipstype">
			<view class="left"></view>
			<view class="center">敬 请 期 待</view>
			<view class="right"></view>
		</view>
		<view class="button" catchtap="showToastBtn">{{isSetNotice?'已订阅':'开播提醒'}}</view>
	</view>
	<!-- <van-popup show="{{show}}" round custom-style="background-color: transparent;border-radius: 30rpx;" position="center" bind:close="showCloseBtn">
		<view class="popup-box" style="border-radius: 30rpx;"  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>
		<view class="close" catchtap="showCloseBtn">
			<view class="iconfont icon-close11"></view>
		</view>
	</van-popup> -->
	<van-popup show="{{show}}" closeable close-on-click-overlay="true" bind:close="showCloseBtn" custom-style="background:none;"
	 class="posterPopup_style" position="bottom">
		<view class="code_box">
			<image wx:if="{{!loadingImg}}" src="{{ithumb}}" mode='widthFix' />
			<view style="text-align: center;background: #fff;line-height:600rpx;border-radius: 30rpx;width: 100%;height: 600rpx;" wx:if="{{loadingImg}}">
				{{loadingMessage}}
			</view>
		</view>
		<view  wx:if="{{loadingImg}}" style="height: 256rpx; width: 100%;"></view>
		<view class="icon_btn" wx:if="{{!loadingImg}}">
			<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 wx:if="{{!loadingImg}}" class="icon_close" style="{{iPnoneBottomBol?'padding-bottom: 34px;':''}}" catchtap="showCloseBtn">取消</view>
	</van-popup>
	<canvas canvas-id="myCanvas" style='width: {{canvasWidth}}px;height: {{canvasHeight}}px;position: absolute;z-index: -1;left: -6000px;top: -6000px;' />
</view>
