<!--module/diet/pages/delivery-address/delivery-address.wxml-->
<t-navbar title="打卡记录" left-arrow />
<scroll-view class="page-scroll__container" type="list" scroll-y style="{{containerStyle}}">
<view class="punch-card-container">
  <view class="calendar-header">
    <text class="calendar-title">{{currentDate}}</text>
  </view>
  <view class="calendar-legend">
    <view class="legend-item"><view class="dot blue"></view>打卡完成</view>
    <view class="legend-item"><view class="dot red"></view>本项目未打卡</view>
    <view class="legend-item"><view class="dot yellow"></view>其他项目未打卡</view>
  </view>
  <calendar
    bind:onSelect="onSelect"
  />
</view>
</scroll-view>

<view style="height: {{container.safeBottomOffset}}px;flex: none;"></view>
