melist.wxml
4.8 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
<view class="melisthead">
恭喜!恭喜!祝小宝贝健康成长,平安快乐!
</view>
<view class="commentlist">
<view class="commentlist_item">
<view class="commentlist_name">预产期</view>
<view class="commentlist_right">
<!--<view class="commentlsit_date">2018年12月19日</view>-->
<picker mode="date" value="{{date}}" start="2015年09月01日" end="2027年09月01日" bindchange="bindDateChange">
<view class="picker commentlsit_date">
{{childbirth_date}}
</view>
</picker>
<view class="row">
<image src="http://bronet.ibaby88.cn/bicon08@2x.png"></image>
</view>
</view>
</view>
<view class="commentlist_item">
<view class="commentlist_name">分娩医院</view>
<view class="commentlist_right">
<view class="picker hos" wx:if="{{showhosname}}" bindtap="hidhosname">
{{hosname}}
</view>
<!--<view class="commentlsit_date">通州妇幼保健院</view>-->
<picker bindchange="binddoctorChange" value="{{hostipal_index}}" range="{{doctorarray}}" class="commentlsit_date" range-key='hospital_name' wx:else>
<view class="picker">
{{doctorarray[hostipal_index].hospital_name}}
</view>
</picker>
<view class="row">
<image src="http://bronet.ibaby88.cn/bicon08@2x.png"></image>
</view>
</view>
</view>
<view class="commentlist_item">
<view class="commentlist_name">宝宝出生日期</view>
<view class="commentlist_right">
<!--<view class="commentlsit_date">2018年12月19日</view>-->
<picker mode="date" value="{{date}}" start="2015年09月01日" end="2027年09月01日" bindchange="bindchildChange">
<view class="picker commentlsit_date">
{{buildchild_date}}
</view>
</picker>
<view class="row">
<image src="http://bronet.ibaby88.cn/bicon08@2x.png"></image>
</view>
</view>
</view>
<view class="commentlist_item">
<view class="commentlist_name">宝宝出生体重</view>
<view class="commentlist_right">
<!--<view class="commentlsit_date">请填写</view>-->
<!--<picker bindchange="bindkiloChange" value="{{kilo_index}}" range="{{kiloarray}}" class="commentlsit_date" range-key='name'>-->
<!--<view class="picker">-->
<!--{{kiloarray[kilo_index].name}}-->
<!--</view>-->
<!--</picker>-->
<!--<input placeholder="请填写" class="commentlsit_date">-->
<input placeholder="单位克, 如3200" class="commentlsit_date enterkilo" bindinput="enterkilo" value="{{kilo}}"/>
<!--<view class="row">-->
<!--<image src="http://bronet.ibaby88.cn/bicon08@2x.png"></image>-->
<!--</view>-->
</view>
</view>
</view>
<view class="birth_list">
<view class="birth_item {{birth==1?'birth_item_active':''}}" bindtap="normalbirth">顺产</view>
<view class="birth_item {{birth==2?'birth_item_active':''}}" bindtap="caesareanbirth">宫剖产</view>
<view class="birth_item {{sex==1?'birth_item_active':''}}" bindtap="boy">男宝</view>
<view class="birth_item {{sex==2?'birth_item_active':''}}" bindtap="girl">女宝</view>
</view>
<view class="doctor_review">
<view class="doctor_review_name">经验分享</view>
<view class="sub_doctor_review ">
<view class="selectpublish" bindtap="selectsny">
<text class="iconfont icon-xuanzekuanghou" wx:if="{{select}}"></text>
<text class="iconfont icon-xuanzekuang " wx:else></text>
</view>
<view class="sub_review">匿名发表</view>
</view>
</view>
<view class="entercomment">
<textarea class="entertext" placeholder="分享一下您的分娩经历,如住院准备、分娩过程、医院配置、费用、和医护服务态度,等。记录您的孕期美好时光,将好运传递给更多孕妈~" value="{{doctorcomment}}" bindinput="entercomment" maxlength="{{maxlength}}"/>
</view>
<!--选择图片-->
<view class="choseimg">
<view>
<view class="selectpic" wx:for="{{img}}" wx:key="">
<image src="{{item}}"></image>
<div class="iconfont icon-chahao del" bindtap="delpic" data-id="{{index}}"></div>
</view>
</view>
<view class="selectpic" bindtap="uploadImage" wx:if="{{img.length<5}}">
<image src="http://bronet.ibaby88.cn/bicon33@2x.png"></image>
</view>
</view>
<view class="footbtn">
<button class="lj_sub" bindtap='subform'>提交</button>
</view>