<navigator class="common_fix common_home" wx:if="{{currentPages == 1}}" open-type="reLaunch" url="/pages/home/index" hover-class="none">
  <text class="icon icon-home"></text>
</navigator>
<view class='picker'>
  <view class='selector'>
    <picker bindchange="bindPickerChange" disabled="{{childs.length <= 0}}" value="{{childIndex}}" range-key="name" range="{{childs}}">
      <text wx:if="{{childs.length > 0}}">{{childs[childIndex].name}}</text>
      <text wx:else>还没有儿童</text>
    </picker>
  </view>
  <view class='selector'>
    <picker bindchange="bindPickerActivity" disabled="{{actives.length <= 0}}" value="{{index}}" range="{{actives}}">
      <text wx:if="{{actives.length > 0}}">{{actives[index]}}</text>
      <text wx:else>暂无活动</text>
    </picker>
  </view>
</view>
<view class="time" wx:if="{{months.length > 0}}">
  <scroll-view scroll-x="true" class="scroll-x" scroll-left="{{scrollLeft}}" scroll-with-animation="true">
    <text bindtap='showTab' data-dtype="0" data-deadline="{{item.value}}" data-monthIndex="{{index}}" class="{{datas.monthIndex == index ? 'active':''}}" wx:for-items="{{months}}" wx:key="*this">{{item.text}}</text>
    <text class="time{{datas.monthIndex == months.length ? ' active':''}}" bindtap='showTab' data-dtype="1" data-deadline="" data-monthIndex="{{months.length}}">总结</text>
  </scroll-view>
</view>
<view wx:if="{{info.id != null && datas.dtype == 0}}" class='takeInfo'>
  <view class="score">
		<!-- <view class="subtitleColor h3">{{info.score}}</view> -->
		<view class="font14 text">{{info.deadlineText}}表现</view>
	</view>
  <view class="title">生理情况</view>
  <view class='row font14 mTop5' wx:if="{{datas.dayType == 1}}">
    <text class='col-33'>小便：{{info.urineNum}}次</text>
  </view>
  <view class='row font14 mTop5' wx:else>
    <block wx:if="{{edition==2}}">
      <text class='col-33'>喝水：{{info.drinkNum}}瓶</text>
      <text class='col-33'>体温：{{info.temperature2}}度</text>
      <text class='col-33'>大便：{{info.shitNum==1?'是':'否'}}</text>
    </block>
    <block wx:else>
      <text class='col-33'>体温：{{info.temperature==0?'正常':(info.temperature==1?'低烧':'高烧')}}</text>
      <text class='col-33'>大便：{{info.shitNum}}次</text>
    </block>
  </view>
  <view class="title">生活情况</view>
  <view class='row font14 mTop5' wx:if="{{datas.dayType == 1}}">
    <text class='col-33' wx:if="{{edition==1}}">喝水：{{info.drinkNum}}瓶</text>
    <text class='col-33'>午饭：{{info.lunch == 3 ? '满足':(info.lunch == 2 ? '正常':'较少')}}</text>
  </view>
  <view wx:else>
    <view class='row font14 mTop5'>
      <text class='col-33'>洗澡：{{info.bathe == 1 ? '洗了':'没洗'}}</text>
      <text class='col-33'>洗衣服：{{info.wash == 1 ? '洗了':'没洗'}}</text>
      <text class='col-33'>换内裤：{{info.trouser == 1 ? '换了':'没换'}}</text>
    </view>
    <view class='row font14 mTop5'>
      <text class='col-33'>整理内务：{{info.houseWork == 1 ? '是':'否'}}</text>
      <text class='col-33' wx:if="{{edition==2}}">一人一被：{{info.bathe == 1 ? '是':'否'}}</text>
    </view>
    <view class='row font14 mTop5'>
      <text class='col-66'>吃药：{{info.medicine == 1 ? '吃了':'没吃'}}<text wx:if="{{info.medicine == 1 && info.medicineRemark}}">({{info.medicineRemark}})</text></text>
    </view>
  </view>
  <block wx:if="{{edition == 1}}">
    <view class="title">身体情况</view>
    <view class='mTop5 font14 content' bindlongtap='copy' data-type="remark">{{info.fight == 0 && info.hurt == 0 && info.illness == 0 ? '活动中和小朋友和睦相处，身体无受伤并没有不适情况。'+info.remark:info.remark}}</view>
    <view class="title">活动表现</view>
    <view class='mTop5 font14 content'>对于领队的讲解，{{info.promote == 1 ? '全部接收到':'未完全接收到'}}</view>
    <view class="title">备注</view>
    <view class='mTop5 font14 content' wx:if="{{info.expression}}">{{info.expression}}</view>
  </block>
  <block wx:else>
    <view class="title">备注</view>
    <view class='mTop5 font14 content' bindlongtap='copy' data-type="remark">{{info.remark}}</view>
  </block>
  
  <view class='right font14 content' wx:if="{{info.crtUser}}">领队：{{info.crtUser}}</view>
</view>
<view wx:elif="{{info && datas.dtype == 1}}" class="takeInfo">
  <view class="score">
    <text class="font14">{{info.deadlineStart}}-{{info.deadlineEnd}}记录总结</text>
  </view>
  <view class='title'>生理情况</view>
  <block wx:if="{{edition==2}}">
    <view class='ui-course-content ec-canvas'>
    <view class="form_title">喝水情况：</view>
      <ec-canvas id="mychart" canvas-id="mychart-line" ec="{{ ec }}" wx:if="{{info.ydrinkArr.length>0}}"></ec-canvas>
    </view>
    <view class='ui-course-content ec-canvas'>
    <view class="form_title">体温情况：</view>
      <ec-canvas id="mychart1" canvas-id="mychart-line" ec="{{ ec }}" wx:if="{{info.ytemperatureArr.length>0}}"></ec-canvas>
    </view>
  </block>
  <block wx:else>
    <view class='mTop5 font14 content'>体温情况：{{info.temperatureMsg || ''}}</view>
  </block>
  <view class='mTop5 font14 content'>{{info.shitMsg || ''}}</view>
  
  <!-- <view class='mTop5 font14 content'>
    {{info.lifeInfo != undefined && info.lifeInfo.temperature1 == 0 && info.lifeInfo.temperature2 == 0 ? '体温'+(info.lifeInfo.temperature0 || "")+'天均正常；':(info.lifeInfo != undefined ? '体温'+(info.lifeInfo.temperature0 || "")+'天正常，'+(info.lifeInfo.temperature1 || "")+'天低烧，'+(info.lifeInfo.temperature2 || "")+'天高烧；':'')}}{{info.lifeInfo != undefined && info.lifeInfo.shit_num ? '大便累计'+info.lifeInfo.shit_num+'次。':''}}
  </view> -->
  <view class='title'>生活情况</view>
  <view class='mTop5 font14 content'>
    <view wx:for="{{info.lifeMsg}}" wx:key="*this">{{item}}</view>
  </view>
  <!-- <view class='mTop5 font14 content'>
    {{info.lifeInfo != undefined && info.lifeInfo.bathe0 > 0 && info.lifeInfo.bathe1 > 0 ? info.lifeInfo.bathe1+'天已洗澡，'+info.lifeInfo.bathe0+'天未洗，':(info.lifeInfo != undefined && info.lifeInfo.bathe0 == 0 && info.lifeInfo.bathe1 > 0 ? info.lifeInfo.bathe1+'天均已洗澡，':(info.lifeInfo != undefined && info.lifeInfo.bathe0 > 0 && info.lifeInfo.bathe1 == 0 ? info.lifeInfo.bathe0+'天未洗，':''))}}
    {{info.lifeInfo != undefined && info.lifeInfo.wash0 > 0 && info.lifeInfo.wash1 > 0 ? info.lifeInfo.wash1+'天已洗衣服，'+info.lifeInfo.wash0+'天未洗衣服，':(info.lifeInfo != undefined && info.lifeInfo.wash0 == 0 && info.lifeInfo.wash1 > 0 ? info.lifeInfo.wash1+'天均已洗衣服，':(info.lifeInfo != undefined && info.lifeInfo.wash0 > 0 && info.lifeInfo.bathe1 == 0 ? info.lifeInfo.wash0+'天未洗衣服，':''))}}
		{{info.lifeInfo != undefined && info.lifeInfo.trouser0 > 0 && info.lifeInfo.trouser1 > 0 ? info.lifeInfo.trouser1+'天换内裤，'+info.lifeInfo.trouser0+'天未换，':(info.lifeInfo != undefined && info.lifeInfo.trouser0 == 0 && info.lifeInfo.trouser1 > 0 ? info.lifeInfo.trouser1+'天均换内裤，':(info.lifeInfo != undefined && info.lifeInfo.trouser0 > 0 && info.lifeInfo.trouser1 == 0 ? info.lifeInfo.trouser0+'天未换，':''))}}
		{{info.lifeInfo != undefined && info.lifeInfo.house_work0 > 0 && info.lifeInfo.house_work1 > 0 ? info.lifeInfo.house_work1+'天整理内务，'+info.lifeInfo.house_work0+'天未整理，':(info.lifeInfo != undefined && info.lifeInfo.house_work0 == 0 && info.lifeInfo.house_work1 > 0 ? info.lifeInfo.house_work1+'天均整理内务，':(info.lifeInfo != undefined && info.lifeInfo.house_work0 > 0 && info.lifeInfo.house_work1 == 0 ? info.lifeInfo.house_work0+'天未整理，':''))}}
		{{info.lifeInfo != undefined && info.lifeInfo.medicine0 > 0 && info.lifeInfo.medicine1 > 0 ? info.lifeInfo.medicine1+'天吃药，'+info.lifeInfo.medicine0+'天未吃药。':(info.lifeInfo != undefined && info.lifeInfo.medicine0 == 0 && info.lifeInfo.medicine1 > 0 ? info.lifeInfo.medicine1+'天均吃药。':(info.lifeInfo != undefined && info.lifeInfo.medicine0 > 0 && info.lifeInfo.medicine1 == 0 ? info.lifeInfo.medicine0+'天未吃药。':''))}}
  </view> -->
  <view class='title'>身体情况总结</view>
  <view class="mTop5 font14 content" bindlongtap='copy' data-type="{{info.remark}}" wx:if="{{info.remark}}">{{info.remark}}</view>
  <view class='title'>活动表现总结</view>
  <view class='mTop5 font14 content' bindlongtap='copy' data-type="{{info.expression }}" wx:if="{{info.expression}}">
    <view class="expression">{{info.expression}}</view>
  </view>
  <!-- <view class='mTop5 font14 content' bindlongtap='copy' data-type="s_expression">
    <view wx:for-items="{{info.expressionList}}" wx:key="*this" class='mTop5'>
      <text class='subtitleColor'>{{item.deadline}}：</text>{{item.expression}}
    </view>
    <view class='mTop5'><text class='subtitleColor' wx:if="{{info.s_expression}}">总结：</text>{{info.s_expression}}</view>
  </view> -->
</view>
<view class='noData' wx:else><text class="icon icon-info"></text><text>暂无记录\n有问题请联系宝大大！</text></view>
