<!--pages/clockIn/index.wxml-->
<view class="clockin">
  <view class="new-time">{{newTime}}</view>

  <view class="clockin-item" wx:for="{{list}}">
    <view class="item-top">
      <text>{{item.medicine_time}}</text>
      <t-tag class="margin-16" variant="light" theme="success">已完成</t-tag>
    </view>
    <view wx:for="{{item.detail}}" wx:for-item="detail" class="item-bottom">

      <view class="medicine-name">{{detail.name}}</view>
      <view class="dose">{{detail.dose}} {{detail.time}}</view>
        <t-button bindtap="clockIn" theme="primary"  block>打卡</t-button>
      </view>
  </view>
</view> 
<view class="footer-example">
    <text bindtap="toRecord">历史服药记录 ></text>
  </view>