<!--pages/sickManage/sickManage.wxml-->
<nav navName="病情管理"></nav>
<view class="page">
  <view class="hasdata">
    <scroll-view scroll-y="true" bindrefresherrefresh="handleRefresher" class="scrollbox" refresher-triggered="{{isTriggered}}"	refresher-threshold="100"	refresher-enabled="true"  class="namebox" wx:if="{{list.length>0}}">
   
        <view class="namecell" bindtap="goRecord" wx:for="{{list}}" wx:key="family_id" data-id="{{item.family_id}}">
        <view class="namecon">
          <view class="name" >{{item.name}}<text wx:if="{{item.sex==1}}" decode="true">&nbsp;&nbsp;男</text><text wx:elif="{{item.sex==2}}" decode="true">&nbsp;&nbsp;女</text><text wx:else decode="true">&nbsp;&nbsp;未知</text>｜{{item.age}}岁</view>
          <view class="count">共有{{item.count}}份病例</view>
        </view>
        <image src="{{img_host+'/righticon.png'}}" class="righticon"></image>
      </view>
   
    </scroll-view>
    <view class="nodata" wx:else>
      <image src="../../assets/images/noManage.png"  class="memberimg"></image>
      <view class="tips">当前暂未添加任何家庭成员哦~</view>
      <view class="btnbox add nobtn">
        <view class="btn" bindtap="goInfo">添加家庭成员</view>
      </view>
    </view>
    <view class="btnbox add" wx:if="{{list.length>0}}">
      <view class="btn" bindtap="goInfo">+添加家庭成员</view>
    </view>
  </view>
</view>
