changeBaseInfo.wxml 1.4 KB
<!--pages/changeBaseInfo/changeBaseInfo.wxml-->
<view class='z_container'>
  <!--信息记录  --> 
  <view class='info_box'>
    <view class='info_item'>
      <view>孕妇年龄</view>
      <input class='info_item_input' type='number' value='{{age}}' bindinput='inputAge' />
      <view class='danwei'>岁</view>
    </view> 
    <view class='info_item'>
      <view>孕妇身高</view>
       <input class='info_item_input' type='digit' value='{{height}}' bindinput='inputHeight' />
       <view class='danwei'>cm</view>
    </view> 
    <view class='info_item'>
      <view>孕前体重</view> 
       <input class='info_item_input' type='digit' value='{{pre_weight}}' bindinput='inputWeight' />
       <view class='danwei'>kg</view>
    </view>
    <view class='info_item'>
      <view>末次月经第一天</view>
      <picker mode="date" class='sub_item_input' value="{{date}}" start="{{startDate}}" end="{{endDate}}" bindchange="inputDate">
        <view class="picker">
          <text class='danwei'>{{last_menstruation}}</text>
        </view>
      </picker>
    </view> 
    <view class='info_item'>
      <view>单/双胞胎</view>
      <picker bindchange="bindtaichange" class='sub_item_input' value="{{index}}" range="{{tai}}">
        <view class="picker">
          <text class='danwei'>{{tai[index]}}</text>
        </view>
      </picker>
    </view> 
  </view>
  <view class='save_btn' bindtap='saveBaseInfo'>保存</view>
</view>