addWeight.wxml 817 字节
<!--pages/addWeight/addWeight.wxml-->
<view class='z_container'>
  <!--信息记录  -->
  <view class='info_box'>
    <view class='info_item'>
      <view>测量日期</view>
      <!-- <text class='info_item_input'>{{create_date}}</text> -->
      <picker mode="date" class='sub_item_input' value="{{date}}" start="{{startDate}}" end="{{endDate}}" bindchange="inputDate">
        <view class="picker">
          <text class='info_item_input'>{{create_date}}</text>
        </view>
      </picker>
    </view>
    <view class='info_item'>
      <view>测量体重</view>
      <input class='info_item_input' type='digit' bindinput='getWeight' value='' placeholder='请输入当天体重' />
      <view class='danwei'>kg</view>
    </view>
  </view>
  <view class='save_btn' bindtap='addWeight'>保存</view>
</view>