<import src="../../utils/util_template.wxml" />
<view class="" wx:if="{{!noData}}">
<!-- <image class="TopBgImage" src=""></image> -->
<!--顶部红色有头像等信息的栏目-->
<view class="TopBar">
<!--头像-->
<view class="circle_bg">
<image src="{{userData.avatar.medium ? userData.avatar.medium : ''}}" background-size="cover"></image>
<text>{{monthText}}</text>
<view class="circle_year">{{yearText}}</view>
</view>
<!--选择器-->
<picker range="{{dateList}}" bindchange="clickDate" value='{{dateIndex}}'>
<image class="circle_click" src="../../source/more_date.png"></image>
</picker>
<image class="icon_left" wx:if="{{isShowLeft}}" bindtap="toBefore" src="../../source/left.png"></image>
<image class="icon_right" wx:if="{{isShowRight}}" bindtap="toAfter" src="../../source/right.png"></image>
<image class="subscribe_bg" wx:if="{{subscribe}}" bindtap="lookSubscribe" src="../../source/yuyue.png" mode="aspectFill"></image>
<!--下方黑色横条-->
<view class="infoBar">
<view class="infoView">
<text class="titleText">出生日期</text>
<text class="timeText">{{userData.birth}}</text>
</view>
<view class="infoView">
<text class="titleText">检查月龄</text>
<text class="timeText">{{todayInfo.monthage ? todayInfo.monthage : '0'}}</text>
<view class="lineView"></view>
</view>
<view class="infoView">
<text class="titleText">健康状况</text>
<text class="timeText">{{wzInfo.highRisk == 1 ? '高危' : '良好'}}</text>
</view>
</view>
<!--下方黑色横条-->
</view>
<!--医院名称横条-->
<view class="hospitalName">{{todayInfo.checkhospital ? todayInfo.checkhospital : '-'}}</view>
<view class="title_banner" style="margin-top:-12px;">检查项目</view>
<view class="report_list_bg">
<scroll-view class="report_list_scroll" scroll-x="true">
<view class="report_list_item_bg">
<navigator class="report_list_item" url="../checkTabList/checkTabList?current_index=0{{'&checkTime=' + yearText + monthText + '&patientId=' + currentPID}}">
<image src="../../source/wenzhenjiancha.png"></image>
<!-- <view class="greenColor report_list_item_dot"></view> -->
<label>问诊检查</label>
</navigator>
</view>
<view class="report_list_item_bg">
<navigator class="report_list_item" url="../checkTabList/checkTabList?current_index=1{{'&checkTime=' + yearText + monthText + '&patientId=' + currentPID}}">
<image src="../../source/erkejiancha.png"></image>
<!-- <view class="greenColor report_list_item_dot"></view> -->
<label>儿科检查</label>
</navigator>
</view>
<view class="report_list_item_bg">
<navigator class="report_list_item" url="../checkTabList/checkTabList?current_index=2{{'&checkTime=' + yearText + monthText + '&patientId=' + currentPID}}">
<image src="../../source/yibanjiancha.png"></image>
<!-- <view class="greenColor report_list_item_dot"></view> -->
<label>一般检查</label>
</navigator>
</view>
<view class="report_list_item_bg">
<navigator class="report_list_item" url="../checkTabList/checkTabList?current_index=3{{'&checkTime=' + yearText + monthText + '&patientId=' + currentPID}}">
<image src="../../source/fuzhujiancha.png"></image>
<!-- <view class="greenColor report_list_item_dot"></view> -->
<label>辅助检查</label>
</navigator>
</view>
</scroll-view>
</view>
<view class="title_banner">检查结果</view>
<view class="check_result_main">
<view class="check_result_doctoe_line">
<view class="check_result_doctoe_line1">
<label class="docotr_name">{{todayInfo.doctorname ? todayInfo.doctorname : '-'}}</label>
</view>
</view>
<view class="check_diagnosis" style="{{isShowOne==false ? 'background: #ffffff;border: 1px solid #E6E6E6;': 'background: #f9fffa;border: 1px solid #CEE2D5;'}}">
<view style="display:flex;width:100%" bindtap="isShowMore" data-index="1">
<label class="check_diagnosis_name">检查诊断</label>
<image class="icon_more" src="{{isShowOne==false ? '../../source/more_bottom.png': '../../source/more_top.png'}}"></image>
</view>
<view class="check_diagnosis_high_risk">
<view style='display:inline-block'>高危因素:</view>
<view class="high_risk_bg">高危</view>
<view class="high_risk_bg">高危</view>
<view class="high_risk_bg">高危高危高危</view>
<view class="high_risk_bg">高危</view>
<view class="high_risk_bg">高危</view>
<view class="high_risk_bg">高危</view>
<view class="high_risk_bg">高危</view>
</view>
<view class="check_diagnosis_bg">
<label wx:if="{{!isShowOne}}" class="check_diagnosis_content_1_line">诊断:{{wzInfo.diagnose[0]}}</label>
<view wx:if="{{isShowOne}}" style="display:flex;width:100%">
<label class="check_diagnosis_content_lines">诊断:{{wzInfo.diagnose}}</label>
</view>
</view>
</view>
<view class="check_diagnosis" style="{{isShowTwo==false ? 'background: #ffffff;border: 1px solid #E6E6E6;': 'background: #f9fffa;border: 1px solid #CEE2D5;'}}">
<view style="display:flex;width:100%" bindtap="isShowMore" data-index="2">
<label class="check_diagnosis_name">处理意见</label>
<image class="icon_more" src="{{isShowTwo==false ? '../../source/more_bottom.png': '../../source/more_top.png'}}"></image>
</view>
<label wx:if="{{!isShowTwo}}" class="check_diagnosis_content_1_line">{{wzInfo.handlSuggest ? wzInfo.handlSuggest : '暂无处理意见'}}</label>
<view wx:if="{{isShowTwo}}" style="display:flex;width:100%">
<label class="check_diagnosis_content_lines">{{wzInfo.handlSuggest}}</label>
</view>
</view>
<view class="check_diagnosis" style="{{isShowThree==false ? 'background: #ffffff;border: 1px solid #E6E6E6;': 'background: #f9fffa;border: 1px solid #CEE2D5;'}}">
<view style="display:flex;width:100%" bindtap="isShowMore" data-index="3">
<label class="check_diagnosis_name">指导意见</label>
<image class="icon_more" src="{{isShowThree==false ? '../../source/more_bottom.png': '../../source/more_top.png'}}"></image>
</view>
<label wx:if="{{!isShowThree}}" class="check_diagnosis_content_1_line">{{wzInfo.guideSuggest ? wzInfo.guideSuggest : '暂无指导意见'}}</label>
<view wx:if="{{isShowThree}}" style="display:flex;width:100%">
<label class="check_diagnosis_content_lines">{{wzInfo.guideSuggest}}</label>
</view>
</view>
</view>
<view style="background:white;height:30px;"></view>
</view>
<!-- {{subscribeDetails.office ? subscribeDetails.office : '-'}} -->
<view class="mask_subscribe_bg" wx:if="{{flag}}">
<view class="mask_subscribe_content">
<view class="mask_subscribe_title">预约信息</view>
<view class="mask_subscribe_time">
<label>预约时间:</label>
<label class="mask_subscribe_content_text">{{subscribeDetails.nextcheck}}</label>
</view>
<view class="mask_subscribe_office">
<label>距预约时间:</label>
<label class="mask_subscribe_content_text">{{subscribeDetails.nextInterval}}</label>
</view>
<view class="mask_subscribe_hospital">
<label>医院名称:</label>
<label class="mask_subscribe_content_text">{{subscribeDetails.checkhospital}}</label>
</view>
<view class="mask_subscribe_content_closeBtn" bindtap="closeMask">知道了</view>
</view>
</view>
<view class="backgroundView" wx:if="{{noData == true}}">
<image class="empty_icon" mode="aspectFit" src="../../source/empty.png"></image>
<view class="empty_text">亲,您的宝宝还没有做过检查哦!</view>
<!-- <view class="empty_back" bindtap="backPage">返回</view> -->
</view>