daySignIn.wxml 1.6 KB
<!--pages/signIn/daySignIn/daySignIn.wxml-->
<view class='banner_box'>
  <view class='banner_item'>累计天数</view>
  <view class='banner_item'>连续天数</view>
  <view class='banner_item'>最长连续</view>
  <view class='banner_item banner_value'>{{all}}</view>
  <view class='banner_item banner_value'>{{last}}</view>
  <view class='banner_item banner_value'>{{longest}}</view>
</view>
<view class='content_box'>
  <view class='list_info'>稳定血糖,从规律饮食开始!</view>
  <view class="circle_box {{state?'circle_active':''}}" bindtap='signIn'>
    <view>签到</view>
    <view class='time_info'>{{currentTime}}</view>
  </view>
  <view class='list_info'>{{hint}}</view>
</view>
<view class='footer_box'>
  <view class='footer_item'>
    <view>早</view>
    <view>午</view>
    <view>晚</view>
    <view>睡前</view>
  </view>
  <view class='footer_item footer_time'>
    <view class='footer_info'>
      <view>{{morning==null? '未打卡' :morning}}</view>
    </view>
    <view class='footer_info'>
      <view>{{noon==null?'未打卡':noon}}</view>
    </view>
    <view class='footer_info'>
      <view>{{night==null?'未打卡':night}}</view>
    </view>
    <view class='footer_info'>
      <view>{{sleep==null?'未打卡':sleep}}</view>
    </view>
  </view>
</view>
<!-- 弹窗 -->
<view class='mask_box' wx:if='{{popup_state}}'>
  <view class='popuo_box'>
    <view class='popup_title'>温馨提示</view>
    <view class='popup_content'>请确定餐前血糖值已检测</view>
    <view class='popup_btn_box'>
      <view class='popup_btn' bindtap='popupConfirm'>确认</view>
    </view>
  </view>
</view>