<!--pages/weightReport/weightReport.wxml-->
<view wx:if="{{info&&0 === isShow}}">
<view class='top_bar'>
<view>膳食营养报告<text style="float:right;margin-right:15px;font-size:15px;font-weight:500;margin-top:10px;">{{recordTime}}</text></view>
<view class='top_bar_text'>
<text>{{info}}</text>
</view>
</view>
<view class='collectionView'>
<view bindtap="godetails" data-id="1" class='cell'>
<view class='cell_img'><view>“</view></view>
<view class='cell_title'>儿童基本信息</view>
<view class='cell_checkDetail'>查看详情</view>
</view>
<view bindtap="godetails" data-id="2" class='cell'>
<view class='cell_img'><view>“</view></view>
<view class='cell_title'>喂养指南</view>
<view class='cell_checkDetail'>查看详情</view>
</view>
<view bindtap="godetails" data-id="3" class='cell'>
<view class='cell_img'><view>“</view></view>
<view class='cell_title'>膳食结构</view>
<view class='cell_checkDetail'>查看详情</view>
</view>
<view bindtap="godetails" data-id="4" class='cell'>
<view class='cell_img'><view>“</view></view>
<view class='cell_title'>一日喂养参考</view>
<view class='cell_checkDetail'>查看详情</view>
</view>
<view bindtap="godetails" data-id="5" class='cell'>
<view class='cell_img'><view>“</view></view>
<view class='cell_title'>一周喂养参考</view>
<view class='cell_checkDetail'>查看详情</view>
</view>
<view bindtap="godetails" data-id="6" class='cell'>
<view class='cell_img'><view>“</view></view>
<view class='cell_title' wx:if="{{hospitalId=='216'}}">菜谱推荐</view>
<view class='cell_title' wx:if="{{hospitalId!='216'}}">食谱推荐</view>
<view class='cell_checkDetail'>查看详情</view>
</view>
<view bindtap="godetails" data-id="7" class='cell'>
<view class='cell_img'><view>“</view></view>
<view class='cell_title'>辅食添加建议</view>
<view class='cell_checkDetail'>查看详情</view>
</view>
<view bindtap="godetails" data-id="8" class='cell'>
<view class='cell_img'><view>“</view></view>
<view class='cell_title'>挑食建议</view>
<view class='cell_checkDetail'>查看详情</view>
</view>
<view bindtap="godetails" data-id="9" class='cell'>
<view class='cell_img'><view>“</view></view>
<view class='cell_title'>进食行为建议</view>
<view class='cell_checkDetail'>查看详情</view>
</view>
<view bindtap="godetails" data-id="10" class='cell'>
<view class='cell_img'><view>“</view></view>
<view class='cell_title'>喂养常见问题及处理</view>
<view class='cell_checkDetail'>查看详情</view>
</view>
</view>
</view>
<view class="white-block" wx:if="{{1 === isShow}}">
<view class='top_title'>
<image></image>
<text>儿童基本信息</text>
</view>
<view class='info_card'>
<view class='info_card_title'>姓名</view>
<view class='info_card_content'>{{printDataS.userInfo.babyName}}</view>
<view class='info_card_title'>就诊卡</view>
<view class='info_card_content'>{{printDataS.userInfo.vcCardNo}}</view>
<view class='info_card_title'>性别</view>
<view class='info_card_content'>{{printDataS.userInfo.babySex}}</view>
<view class='info_card_title'>月龄</view>
<view class='info_card_content'>{{printDataS.userInfo.monthAge}}</view>
<view class='info_card_title'>所需热量</view>
<view class='info_card_content'>{{printDataS.userInfo.kaul}}</view>
</view>
<view class='weightInfo_card'>
<view class='weightInfo_item'>
<view class='weightInfo_item_text'>{{printDataS.userInfo.height}}</view>
<view class='weightInfo_item_unit'>测量身长(高)</view>
</view>
<view class='weightInfo_item'>
<view class='weightInfo_item_text'>{{printDataS.userInfo.weight}}</view>
<view class='weightInfo_item_unit'>测量体重</view>
</view>
<view class='weightInfo_item'>
<view class='weightInfo_item_text'>{{printDataS.userInfo.bmi}}</view>
<view class='weightInfo_item_unit'>BMI</view>
</view>
</view>
<!-- <view style='margin-right:20px;margin-left:20px;' wx:if="{{info.risk}}">
<view style='font-weight=555;font-size: 15px;color: #261F0C;margin-top:40px;'>高危因素</view>
<view class='risk_view' style='margin-top:25px'>
<text class='risk_view_item' wx:for="{{info.riskArr}}" style='margin-right:10px;margin-top:5px'>{{item}}</text>
</view>
</view> -->
<view class="my_apport" bindtap="goBack" > 返回 </view>
</view>
<view class="white-block" wx:if="{{2 === isShow}}">
<view class='top_title'>
<image></image>
<text>喂养指南</text>
</view>
<view wx:if="{{printDataS.feedingGuide}}">
<view>{{printDataS.userInfo.totalSuggest}}</view>
<view wx:for="{{printDataS.feedingGuide}}" wx:for-index="key" wx:for-item="val">
<text style="font-weight: bold"></text>{{val}}
</view>
</view>
<view class="my_apport" bindtap="goBack" > 返回 </view>
</view>
<view class="white-block" wx:if="{{3 === isShow}}">
<view class='top_title'>
<image></image>
<text>膳食结构</text>
</view>
<view wx:if="{{printDataS.dietStructure}}" >
<view wx:for="{{printDataS.dietStructure}}" wx:for-item="fstjItem">
<text style="font-weight: bold"></text>{{fstjItem}}
</view>
</view>
<view class="my_apport" bindtap="goBack" > 返回 </view>
</view>
<view class="white-block" wx:if="{{4 === isShow}}">
<view class='top_title'>
<image></image>
<text>一日喂养参考</text>
</view>
<view>
<view wx:if="{{printDataS.oneDayRecipes}}" wx:for="{{printDataS.oneDayRecipes}}" wx:for-item="item">
<view>{{item}}</view>
</view>
<table wx:if="{{printDataS.breakfast}}" class="caca-table" style="width: 100%;">
<tr>
<th>早餐</th>
<td style="height: 16mm;padding:0">
<table style=" width:100%;border-collapse: collapse;">
<tr style="padding-left: 2mm" wx:for="{{printDataS.breakfast}}">
<td style="width:30mm;border:1px solid #fff; padding:0.5mm 2mm; height:10mm">{{item.split(':')[0]}}</td>
<td style="border:1px solid #fff; padding:0.5mm 2mm; height:10mm">{{item.split(':')[1]}}</td>
</tr>
</table>
<view style="padding-left: 2mm" wx:for="{{printDataS.breakfast}}">
</view>
</td>
</tr>
<tr>
<th>早加餐</th>
<td style="height: 16mm;padding:0">
<table style=" width:100%;border-collapse: collapse;">
<tr style="padding-left: 2mm" wx:for="{{printDataS.breakfastAdd}}">
<td style="width:30mm;border:1px solid #fff; padding:0.5mm 2mm; height:10mm">{{item.split(':')[0]}}</td>
<td style="border:1px solid #fff; padding:0.5mm 2mm; height:10mm">{{item.split(':')[1]}}</td>
</tr>
</table>
<view style="padding-left: 2mm" wx:for="{{printDataS.breakfastAdd}}">
</view>
</td>
</tr>
<tr>
<th>午餐</th>
<td style="height: 16mm;padding:0">
<table style=" width:100%;border-collapse: collapse;">
<tr style="padding-left: 2mm" wx:for="{{printDataS.lunch}}">
<td style="width:30mm;border:1px solid #fff; padding:0.5mm 2mm; height:10mm">{{item.split(':')[0]}}</td>
<td style="border:1px solid #fff; padding:0.5mm 2mm; height:10mm">{{item.split(':')[1]}}</td>
</tr>
</table>
<view style="padding-left: 2mm" wx:for="{{printDataS.lunch}}">
</view>
</td>
</tr>
<tr>
<th>午加餐</th>
<td style="height: 16mm;padding:0">
<table style=" width:100%;border-collapse: collapse;">
<tr style="padding-left: 2mm" wx:for="{{printDataS.lunchAdd}}">
<td style="width:30mm;border:1px solid #fff; padding:0.5mm 2mm; height:10mm">{{item.split(':')[0]}}</td>
<td style="border:1px solid #fff; padding:0.5mm 2mm; height:10mm">{{item.split(':')[1]}}</td>
</tr>
</table>
<view style="padding-left: 2mm" wx:for="{{printDataS.lunchAdd}}">
</view>
</td>
</tr>
<tr>
<th>晚餐</th>
<td style="height: 16mm;padding:0">
<table style=" width:100%;border-collapse: collapse;">
<tr style="padding-left: 2mm" wx:for="{{printDataS.dinner}}">
<td style="width:30mm;border:1px solid #fff; padding:0.5mm 2mm; height:10mm">{{item.split(':')[0]}}</td>
<td style="border:1px solid #fff; padding:0.5mm 2mm; height:10mm">{{item.split(':')[1]}}</td>
</tr>
</table>
<view style="padding-left: 2mm" wx:for="{{printDataS.dinner}}">
</view>
</td>
</tr>
<tr>
<th>晚加餐</th>
<td style="height: 16mm;padding:0">
<table style=" width:100%;border-collapse: collapse;">
<tr style="padding-left: 2mm" wx:for="{{printDataS.dinnerAdd}}">
<td style="width:30mm;border:1px solid #fff; padding:0.5mm 2mm; height:10mm">{{item.split(':')[0]}}</td>
<td style="border:1px solid #fff; padding:0.5mm 2mm; height:10mm">{{item.split(':')[1]}}</td>
</tr>
</table>
<view style="padding-left: 2mm" wx:for="{{printDataS.dinnerAdd}}">
</view>
</td>
</tr>
</table>
</view>
<view class="my_apport" bindtap="goBack" > 返回 </view>
</view>
<view class="white-block" wx:if="{{5 === isShow}}">
<view class='top_title'>
<image></image>
<text>一周喂养参考</text>
</view>
<view>
<table class="caca-table" wx:if="{{printDataS.mondays}}" style="margin:0 auto;box-shadow: none;">
<tr>
<th>时间</th>
<th>周一</th>
<th>周二</th>
<th>周三</th>
<th>周四</th>
<th>周五</th>
<th>周六</th>
<th>周日</th>
</tr>
<tr wx:for="{{printDataS.mondays}}">
<td>{{item[0]}}</td>
<td>{{printDataS.mondays[$index][1]}}</td>
<td>{{printDataS.tuesdays[$index][1]}}</td>
<td>{{printDataS.wednesdays[$index][1]}}</td>
<td>{{printDataS.thursdays[$index][1]}}</td>
<td>{{printDataS.fridays[$index][1]}}</td>
<td>{{printDataS.saturdays[$index][1]}}</td>
<td>{{printDataS.sundays[$index][1]}}</td>
</tr>
</table>
<table class="caca-table" wx:if="{{printDataS.monday}}" style="margin:0 auto;box-shadow: none;">
<tr>
<th>时间</th>
<th>周一</th>
<th>周二</th>
<th>周三</th>
<th>周四</th>
<th>周五</th>
<th>周六</th>
<th>周日</th>
</tr>
<tr wx:for="{{printDataS.monday}}">
<td>{{item.split(':')[0]}}</td>
<td>{{printDataS.monday[$index].split(':')[1]}}</td>
<td>{{printDataS.tuesday[$index].split(':')[1]}}</td>
<td>{{printDataS.wednesday[$index].split(':')[1]}}</td>
<td>{{printDataS.thursday[$index].split(':')[1]}}</td>
<td>{{printDataS.friday[$index].split(':')[1]}}</td>
<td>{{printDataS.saturday[$index].split(':')[1]}}</td>
<td>{{printDataS.sunday[$index].split(':')[1]}}</td>
</tr>
</table>
</view>
<view class="my_apport" bindtap="goBack" > 返回 </view>
</view>
<view class="white-block" wx:if="{{6 === isShow}}">
<view class='top_title'>
<image></image>
<text wx:if="{{hospitalId=='216'}}">菜谱推荐</text>
<text wx:if="{{hospitalId!='216'}}">食谱推荐</text>
</view>
<view wx:if="{{printDataS.recommendRecipes}}" >
<view wx:for="{{printDataS.recommendRecipes}}" wx:for-item="yszlItem">
<text style="font-weight: bold"></text>{{yszlItem}}
</view>
</view>
<view class="my_apport" bindtap="goBack" > 返回 </view>
</view>
<view class="white-block" wx:if="{{7 === isShow}}">
<view class='top_title'>
<image></image>
<text>辅食添加建议</text>
</view>
<view wx:if="{{printDataS.doctorSuggests}}">
<view wx:for="{{printDataS.doctorSuggests}}" wx:for-item="fstjItem">
<view wx:for="{{fstjItem}}" wx:for-item="ojbk">
<text style="font-weight: bold"></text>{{ojbk}}
</view>
</view>
</view>
<view class="my_apport" bindtap="goBack" > 返回 </view>
</view>
<view class="white-block" wx:if="{{8 === isShow}}">
<view class='top_title'>
<image></image>
<text>挑食建议</text>
</view>
<view wx:if="{{printDataS.suggests}}" >
<view wx:for="{{printDataS.suggests}}" wx:for-item="tsItem">
<text style="font-weight: bold"></text>{{tsItem}}
</view>
</view>
<view class="my_apport" bindtap="goBack" > 返回 </view>
</view>
<view class="white-block" wx:if="{{9 === isShow}}">
<view class='top_title'>
<image></image>
<text>进食行为建议</text>
</view>
<view wx:if="{{printDataS.feedSuggest}}" >
<view wx:for="{{printDataS.feedSuggest}}" wx:for-index="key" wx:for-item="val">
<text style="font-weight: bold"></text>{{val}}
</view>
</view>
<view class="my_apport" bindtap="goBack" > 返回 </view>
</view>
<view class="white-block" wx:if="{{10 === isShow}}">
<view class='top_title'>
<image></image>
<text>喂养常见问题及处理</text>
</view>
<view wx:if="{{printDataS.feedHandle}}">
<view wx:for="{{printDataS.feedHandle}}" wx:for-index="key" wx:for-item="val">
<text style="font-weight: bold"></text>{{val}}
</view>
</view>
<view class="my_apport" bindtap="goBack" > 返回 </view>
</view>