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

<view class="banner">
     <swiper class="bannerSwiper" indicator-dots="{{true}}" indicator-color="rgba(255,255,255,0.5)" indicator-active-color="rgba(255,255,255,1)">
        <swiper-item class="bannerSwiperItem" wx:for="{{evaluationData.rotation}}">
             <image src="{{item}}"></image>
        </swiper-item>
      </swiper>
</view>


<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>


<!-- <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="{{ explainFlag }}"  custom-style="background:transparent;">
     <view class="explainWrapper">
          <view class="explainTextWrapper">
               <view class="explainTextTitle">协议说明</view>
               <view class="explainTextContent">
                   <rich-text nodes="{{evaluationData.evaluation_agreement}}"></rich-text>
               </view>
          </view>
          <icon bindtap="setExplainFlag" class="close iconfont icon-adsystem_icon_cancle"></icon>
     </view>
</van-popup>


<view class="opts">
    <!-- <view class="item item1" bindtap="setPosterFlag">
         <icon class="iconfont icon-jk_haibao"></icon>
         <text>海报</text>
    </view> -->
    <view class="item item1" bindtap="gotoRecord">
         <icon class="iconfont icon-jk_record"></icon>
         <text>测评记录</text>
    </view>
    <view class="item item3" bindtap="gotoPaper">
         <text>立即测评</text>
    </view>
</view>

<view class="agreement" wx:if="{{evaluationData.is_evaluation_agreement==1}}">
    <van-checkbox
          value="{{ agreement }}"
          checked-color="#3ecc9c"
          shape="square"
          icon-size="55rpx"
          bind:change="onChange">
               <text catchtap="setExplainFlag">测评协议</text>
     </van-checkbox>
</view>






