changeBaseInfo.wxml
1.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<!--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>