<!--packageE/healthy/healthyResult/healthyResult.wxml-->

<healthy-res resultData="{{resultData}}"></healthy-res>




<van-popup show="{{ questionFlag }}" custom-style="background:transparent;">
     <view class="questionWrapper">
          <image class="img" src="{{recommend_tips}}"></image>
		  <view class="closeView">
		  	<view class="close" bindtap="setQuestionFlag">我知道了</view>
		  </view>
     </view>
</van-popup>


<view style="width:100%;height:110rpx;"></view>
<view class="btns">
	<view class="btn btn1" bindtap="resetHealthy">重新测评</view>
	<view class="btn btn2" bindtap="setPosterFlag">分享好友</view>
</view>


<!-- <van-popup show="{{ posterFlag }}"  custom-style="background:transparent;">
     <view class="posterWrapper">
          <image class="img" src="{{poster_url}}"></image>
          <icon bindtap="setPosterFlag" class="close iconfont icon-adsystem_icon_cancle"></icon>
     </view>
</van-popup> -->


<van-popup show="{{posterFlag}}" closeable close-on-click-overlay="true" bind:close="setPosterFlag" custom-style="background:none;"
 class="posterPopup_style" position="bottom">
	<view class="code_box">
		<image wx:if="{{poster_url}}" src="{{poster_url}}" mode='widthFix' />
		<image wx:if="{{!poster_url}}" src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/img_default.png" mode='widthFix' />
	</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='checkWritePotosAlbum'>
			<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/images/poster_save.png" />
			<text>保存海报</text>
		</view>
	</view>
	<!-- 关闭图标 -->
	<view class="icon_close" style="{{iPnoneBottomBol?'padding-bottom: 34px;':''}}" catchtap="setPosterFlag">取消</view>
</van-popup>


