mecomment.wxml 3.1 KB
<view class="commentlist">
    <picker mode="date" value="{{date}}" start="2015年09月01日" end="2027年09月01日" bindchange="bindpreDateChange">
    <view class="commentlist_item">

        <view class="commentlist_name">预产期</view>
        <view class="commentlist_right">
            <!-- <view class="commentlsit_date">2018年12月19日</view> -->
            <view class="picker commentlsit_date">
                {{pre_date}}
            </view>
            <view class="row">
                <image src="http://bronet.ibaby88.cn/bicon08@2x.png"></image>
            </view>
        </view>

    </view>
    </picker>
    <picker bindchange="bindhostipalChange" value="{{hostipal_index}}" range="{{hospitalarr}}" class="commentlsit_date" range-key='hospital_name'>

    <view class="commentlist_item">
        <view class="commentlist_name">所属医院</view>
        <view class="commentlist_right">
            <!--<view class="commeviewit_date">通州妇幼保健院</view>-->
            <view class="picker commeviewit_date">
                {{hospitalarr[hostipal_index].hospital_name}}
            </view>
            <view class="row">
                <image src="http://bronet.ibaby88.cn/bicon08@2x.png"></image>
            </view>
        </view>
    </view>
    </picker>
    <picker bindchange="binddoctorChange" value="{{hostipal_index}}" range="{{doctorarray}}"  class="commentlsit_date" range-key='name'>
    <view class="commentlist_item">
        <view class="commentlist_name">选择医生</view>
        <view class="commentlist_right">
            <!--<view class="commentlsit_date">请选择</view>-->
            <view class="picker commeviewit_date">
                {{doctorarray[doctor_index].name}}
            </view>
            <view class="row">
                <image src="http://bronet.ibaby88.cn/bicon08@2x.png"></image>
            </view>
        </view>
    </view>
    </picker>
</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="分享您的就医体验,从医生服务态度、医术水平、医德展现等方面客观评价一下你的医生" 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 class="footbtn">
      <button class="lj_sub" bindtap="subform">提交</button>

  </view>

</view>