melist.wxml 4.8 KB
<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>