<!--pages/diet/measuret.wxml-->
<view class="card">
<view style="width:100%;height:100%;position:absolute;background-color:#999;z-index:9999;top:0;left:0;opacity:0.5;" wx:if="{{show}}"></view>
<view class="title">
<text class="time">录入时间:{{toDay}}</text>
<text bindtap="saveFoodlist" class="my_apport">确认记录</text>
</view>
<view class="measuret">
<view class="measuret_title" hover-stop-propagation="true">
<label class="checkbox">
<checkbox value="cb" checked="true" color="#68bcfa"/>表示已添加
</label>
<label class="checkbox">
<checkbox value="cb" checked="true" color="#ed7d31" />表示爱吃
</label>
</view>
<view class="measuret_body" wx:if="{{hospitalId!=666668}}">
<checkbox-group bindchange="foodClick">
<view class="section section_gap" wx:for="{{foodList}}" wx:for-index="$index" wx:for-item="item">
<view class="body-view">
<checkbox type="checkbox" value="{{foodListNames[$index]}}1" checked="{{item.add}}" color="#68bcfa" />
<checkbox type="checkbox" value="{{foodListNames[$index]}}2" disabled = "{{item.add == 0}}" checked="{{item.love}}" color="#ed7d31" />
</view>
<view class="section__title">{{foodListNames[$index]}}</view>
</view>
</checkbox-group>
</view>
<view class="measuret_body" wx:if="{{hospitalId==666668}}">
<view style="font-size: 26rpx;">六月龄膳食调查</view>
<checkbox-group bindchange="foodClick1">
<view class="section section_gap" wx:for="{{foodList1}}" wx:for-index="$index" wx:for-item="item">
<view class="body-view">
<checkbox type="checkbox" value="{{foodListNames1[$index]}}11" checked="{{item.add}}" color="#68bcfa" />
<checkbox type="checkbox" value="{{foodListNames1[$index]}}21" disabled = "{{item.add == 0}}" checked="{{item.love}}" color="#ed7d31" />
</view>
<view class="section__title">{{foodListNames1[$index]}}</view>
</view>
</checkbox-group>
<view style="font-size: 26rpx;">七月龄膳食调查</view>
<checkbox-group bindchange="foodClick1">
<view class="section section_gap" wx:for="{{foodList2}}" wx:for-index="$index" wx:for-item="item">
<view class="body-view">
<checkbox type="checkbox" value="{{foodListNames2[$index]}}12" checked="{{item.add}}" color="#68bcfa" />
<checkbox type="checkbox" value="{{foodListNames2[$index]}}22" disabled = "{{item.add == 0}}" checked="{{item.love}}" color="#ed7d31" />
</view>
<view class="section__title">{{foodListNames2[$index]}}</view>
</view>
</checkbox-group>
<view style="font-size: 26rpx;">八月龄膳食调查</view>
<checkbox-group bindchange="foodClick1">
<view class="section section_gap" wx:for="{{foodList3}}" wx:for-index="$index" wx:for-item="item">
<view class="body-view">
<checkbox type="checkbox" value="{{foodListNames3[$index]}}13" checked="{{item.add}}" color="#68bcfa" />
<checkbox type="checkbox" value="{{foodListNames3[$index]}}23" disabled = "{{item.add == 0}}" checked="{{item.love}}" color="#ed7d31" />
</view>
<view class="section__title">{{foodListNames3[$index]}}</view>
</view>
</checkbox-group>
<view style="color: #fff;">1</view>
<view style="font-size: 26rpx;">九月龄膳食调查</view>
<checkbox-group bindchange="foodClick1">
<view class="section section_gap" wx:for="{{foodList4}}" wx:for-index="$index" wx:for-item="item">
<view class="body-view">
<checkbox type="checkbox" value="{{foodListNames4[$index]}}14" checked="{{item.add}}" color="#68bcfa" />
<checkbox type="checkbox" value="{{foodListNames4[$index]}}24" disabled = "{{item.add == 0}}" checked="{{item.love}}" color="#ed7d31" />
</view>
<view class="section__title">{{foodListNames4[$index]}}</view>
</view>
</checkbox-group>
</view>
</view>
<view style="clear:both"></view>
</view>
<view class="my_apport" bindtap="getBabyNutritionList" style="margin: 5px auto;position: relative;width: 120px;">
查看历史报告
</view>
<scroll-view scroll-y="true" style="pointer-events:none" wx:if="{{hospitalId==666668}}">
<view class="card" wx:for="{{array}}" wx:for-item="item">
<view class="title">
<text class="time">录入时间:{{item.createTime||yyyy/mm/dd}}</text>
</view>
<view class="measuret_body list">
<view style="font-size: 26rpx;">六月龄膳食调查</view>
<view class="section section_gap" wx:for="{{item.diets1}}" wx:for-index="$index" wx:for-item="item">
<view class="body-view">
<checkbox type="checkbox" checked="{{item.add}}" color="#68bcfa" />
<checkbox type="checkbox" checked="{{item.love}}" color="#ed7d31" />
</view>
<view class="section__title">{{foodListNames1[$index]}}</view>
</view>
<view style="font-size: 26rpx;">七月龄膳食调查</view>
<view class="section section_gap" wx:for="{{item.diets2}}" wx:for-index="$index" wx:for-item="item">
<view class="body-view">
<checkbox type="checkbox" checked="{{item.add}}" color="#68bcfa" />
<checkbox type="checkbox" checked="{{item.love}}" color="#ed7d31" />
</view>
<view class="section__title">{{foodListNames2[$index]}}</view>
</view>
<view style="color: #fff;"> 1</view>
<view style="font-size: 26rpx;">八月龄膳食调查</view>
<view class="section section_gap" wx:for="{{item.diets3}}" wx:for-index="$index" wx:for-item="item">
<view class="body-view">
<checkbox type="checkbox" checked="{{item.add}}" color="#68bcfa" />
<checkbox type="checkbox" checked="{{item.love}}" color="#ed7d31" />
</view>
<view class="section__title">{{foodListNames3[$index]}}</view>
</view>
<view style="color: #fff;"> 1</view>
<view style="font-size: 26rpx;">九月龄膳食调查</view>
<view class="section section_gap" wx:for="{{item.diets4}}" wx:for-index="$index" wx:for-item="item">
<view class="body-view">
<checkbox type="checkbox" checked="{{item.add}}" color="#68bcfa" />
<checkbox type="checkbox" checked="{{item.love}}" color="#ed7d31" />
</view>
<view class="section__title">{{foodListNames4[$index]}}</view>
</view>
</view>
<view style="clear:both"></view>
</view>
</scroll-view>
<scroll-view scroll-y="true" style="pointer-events:none" wx:if="{{hospitalId!=666668}}">
<view class="card" wx:for="{{array}}" wx:for-item="item">
<view class="title">
<text class="time">录入时间:{{item.createTime||yyyy/mm/dd}}</text>
</view>
<view class="measuret_body list">
<view class="section section_gap" wx:for="{{item.diets}}" wx:for-index="$index" wx:for-item="item">
<view class="body-view">
<checkbox type="checkbox" checked="{{item.add}}" color="#68bcfa" />
<checkbox type="checkbox" checked="{{item.love}}" color="#ed7d31" />
</view>
<view class="section__title">{{foodListNames[$index]}}</view>
</view>
</view>
<view style="clear:both"></view>
</view>
</scroll-view>