<wxs module="_">

</wxs>
<!--module/health/components/care-scheme/care-scheme.wxml-->
<view class="card-wrapper">
  <view class="constitution-container">
    <view class="card-header constitution-box">
      <t-loading wx:if="{{loading}}" theme="spinner" size="20px" class="loading" />
      <view class="card-title">
        <view>
          <image src="../../assets/icon/icon_treatment@3x.png" class="icon-title" />
        </view>
        <view class="text-title">非药物治疗</view>
      </view>
      <view class="more-link" bindtap="onMore">
      <text class="record">更多记录</text> 
      <t-icon t-class="icon" name="chevron-right-double-s" size="24px" />
      </view>
      <slot name="extra"></slot>
    </view>
    <view class="table-box">
    <view class="nodrug-therapy-list" wx:if="{{offlineTreatmentList.length>0}}">
      <div wx:for="{{offlineTreatmentList}}" wx:key="id" bindtap="onRecord" data-id="{{item.id}}">
        <view class="therapy-card">
          <view class="therapy-title">{{item.conditioningProgramName}}</view>
          <view class="therapy-row">
            <text class="label">下次时间：</text>
            <text style="color:black">{{item.arrangeDate}}</text>
          </view>
          <view class="therapy-row">
            <text class="label">机构：</text>
            <text style="color:black">{{item.conditioningProgramSupplierName}}</text>
          </view>
        </view>
      </div>
    </view>
    <view wx:else class="empty-data">
      暂无数据
    </view>
</view>
  </view>
</view>