<!--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" bindscrolltolower="lower"	refresher-enabled="true"  class="namebox" wx:if="{{list.length>0}}">
      <van-radio-group value="{{ radio }}" bind:change="onChange">
       <van-swipe-cell right-width="{{ 65 }}" wx:for="{{list}}" wx:key="pathography_id" data-id="{{item.pathography_id}}"  async-close bind:close="onDel">
       <van-cell-group>
        <view class="namecell"  >
          <van-radio  right="leftcon" name="{{item.pathography_id}}" checked-color="#3CC7C0;" wx:if="{{showRadio}}"></van-radio>
           <view class="rightcon" bindtap="goDetail"  data-id="{{item.pathography_id}}" data-index="{{index+1}}">
            <view class="time">{{item.created_at}}</view>
            <view class="disease">
             <view class="sickname"> {{item.disease_class_name}}</view>
             <view class="disease_desc">
              <view class="desctext">{{item.disease_desc}}</view>
             </view>
            </view>
           </view>
      </view>
    </van-cell-group>
    <view slot="right" class="van-swipe-cell__right" >删除</view>
  </van-swipe-cell>
</van-radio-group>
    </scroll-view>
    <view wx:else class="nodata">
      <image src="{{img_host+'/noManage.png'}}"  class="memberimg"></image>
      <view>暂无数据</view>
    </view>
   
  </view>
</view>
<dialog bind:confirm="confirm" showDialog="{{show}}" message="{{message}}"></dialog>