<wxs module="_">

</wxs>
<!--module/health/components/care-record/care-record.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_record@2x.png" class="icon-title" />
        </view>
        <view class="text-title">调养记录</view>
      </view>
      <slot name="extra"></slot>
    </view>
    <view class="table-box">
      <view class="table">
        <view class="table-row header">
          <view class="table-cell">开具时间</view>
          <view class="table-cell">服务包名称</view>
        </view>
        <view class="table-row" wx:for="{{careRecordList}}" wx:key="id" bindtap="goDetail" data-id="{{item.id}}" data-name="{{item.conditioningWrapName}}">
          <view class="table-cell">{{item.operateTime}}</view>
          <view class="table-cell">{{item.conditioningWrapName}}</view>
        </view>
      </view>
    </view>
  </view>
</view>