<view class="sharePopup" wx:if="{{showDialog}}">
	<view class="shareDialog">
    	<image src="../../../image/share_bg.png" class="share_bg"></image>
    	<image src="../../../image/close_icon.png" class="close_icon" bindtap="onCloseDialog"></image>
		<view class="shareInfo">
			<view class="shareInfo___top">{{tip_title}}</view>
			<view class="shareInfo___bottom" wx:if="{{tip_num > 0}}">还有<text class="num">{{tip_num}}</text>位好友待邀请</view>
			<view class="shareInfo___bottom" wx:if="{{tip_num == 0}}">已经最优惠啦！</view>
		</view>
		<view class="shareList">
			<block wx:for="{{5}}" wx:key="index">
				<view class="shareItem">
					<image src="{{invitess[index].avatar}}" class="user_placeholder" wx:if="{{invitess.length > index}}"></image>
					<image src="../../../image/user_placeholder.png" class="user_placeholder" wx:if="{{invitess.length <= index && policy.length > index}}"></image>
					<view class="shareName" wx:if="{{policy.length > index && policy[index].discount > 0}}">补{{policy[index].discount}}元</view>
					<view class="shareName" wx:if="{{policy.length <= index || policy[index].discount == 0}}"></view>					
				</view>
			</block>			
		</view>
		<view class="shareBtns">
			<button open-type="share" class="btn-rechargeNow" data-shareInfo="{{shareModel}}">
				<image src="/image/icons/wx.png"></image>
				<text>微信好友邀请</text>
			</button>
			<button class="btn-rechargeNow"  catchtap="onShareFriends">
				<image src="/image/icons/circle.png" style="height:28rpx"></image>
				<text>分享朋友圈</text>
			</button>
		</view>
		<view class="faceToFace" catchtap="onShareFace">
			<image src="/image/icons/Group18@2x.png" style="width:26rpx; height:25rpx"></image>
			<text>面对面扫码邀请</text>
			<image src="/image/icons/Path@2x.png" style="width:12rpx; height:22rpx"></image>
		</view>
	</view>
	<showImage wx:if="{{showRCode}}" imageUrl="{{mini_code}}" bind:closeDialog="onCloseMiniDialog" />
</view>