doctortail.wxml 4.9 KB
<import src="../../../wxParse/wxParse.wxml"/>

<view class="doctor_box">
    <view class="doctor_item_list">
        <view class="doctoritem_img">
            <image src="{{doctordetail.avatar}}"></image>
        </view>
        <view class="doctor_lsit">
            <view class="doctor_type">
                <view class="type_name1">{{doctordetail.name}}</view>
                <view class="professional">
                    <view class="host_name1">{{doctordetail.title}}</view>
                    <view class="type_name2">{{doctordetail.position}}</view>
                </view>
                <view class="professiona2">
                    <view class="host_name"  wx:for="{{doctordetail.new_field}}" wx:key="">{{item}}</view>
                   
                </view>


            </view>
            <view class="doctor_date_lsit">
                <view class="doctor_date" wx:for="{{doctordetail.worktime_name}}" wx:key="">{{item}}</view>

            </view>
        </view>

        <view class="mecomment" bindtap="commentdoctor" data-doctorid="{{doctordetail.doctor_id}}" data-personhospitalid="{{doctordetail.hospital_id}}">我要点评</view>

    </view>

</view>
<!--个人简介-->
<view class="process record">
    <view class="use">
        <view class="use_img">
            <image src="http://bronet.ibaby88.cn/bicon32@2x.png"></image>
        </view>
        <view class="use_name">个人简介</view>
    </view>
    <view class="record_text">
        <view class="process_explain">
           <!-- {{doctordetail.profile}} -->
            <template is="wxParse" data="{{wxParseData:article.nodes}}"/>
        </view>

    </view>



</view>
<!--用户点评-->
<view class="user_comment">
    <view class="use use_comment suinotes">
        <view class="new_left">
            <view class="use_img">
                <image src="http://bronet.ibaby88.cn/bicon11@2x.png"></image>
            </view>
            <view class="use_name">用户点评</view>
        </view>
        <view class="mew_right">
             <view class="new {{status==1?'new_active':''}}" bindtap="new">最新</view>
            <view class="new {{status==2?'new_active':''}}" bindtap="hot">最热</view>
        </view>
    </view>

    <view wx:if="{{commentdoctorlist.length==0}}" class="nodata">暂无数据</view>

    <view class="commentdoctorlist" wx:else>
      <view class="essaysitem" bindtap="commentdoctordetail" wx:for="{{commentdoctorlist}}" data-id="{{item.id}}" wx:key="">
      <view class="essays_content user_essays_content">
        <view class="essays_content_img">
          <image src="{{item.avatar}}"></image>
        </view>


        <view class="essays_content_text">
          <view class="user_comment_name">
            <view class="essays_name">{{item.user_nickname}}</view>
            <view class="user_comment_hostpital">{{item.hospital_name}}</view>
          </view>

          <view class="essays_date">{{item.auto}}时点评</view>
          <view class="essays_date">{{item.auto_generate}}</view>
          <view class="essays_text">
            <view class="editword">{{item.content_text}}</view>

            <view vx:if="item.content_imgs.length!=0">
              <view class="edit_img small_img" wx:if="{{item.content_imgs.length>1}}">
                <view class="edit_small_img" wx:for="{{item.content_imgs}}" wx:key="">
                  <image src="{{item}}"></image>
                </view>
              </view>
              <view class="edit_img" wx:else>
                <view class="edit_big_img" wx:for="{{item.content_imgs}}" wx:key="">
                  <image src="{{item}}"></image>
                </view>

              </view>
            </view>
          </view>

          <view class="user_bottom">
            <view class="user_date">{{item.create_time}}</view>
            <view class="user_lsit_img">
              <view class="startouch" catchtap="collect" data-id="{{item.id}}">
                <view class="user_img thumb_star" wx:if="{{item.ifCollect==false}}">
                  <image src="http://bronet.ibaby88.cn/bicon28@2x.png"></image>
                </view>
                <view class="user_img thumb_star" wx:if="{{item.ifCollect==true}}">
                  <image src="http://bronet.ibaby88.cn/bicon29@2x.png"></image>
                </view>
              </view>

              <view class="thumb">
                <view class="iscllect" catchtap="touchstar" data-id="{{item.id}}">
                  <view class="user_img" wx:if="{{item.ifTouch==false}}">
                    <image src="http://bronet.ibaby88.cn/bicon30@2x.png"></image>
                  </view>
                  <view class="user_img" wx:if="{{item.ifTouch==true}}">
                    <image src="http://bronet.ibaby88.cn/bicon31@2x.png"></image>
                  </view>
                </view>

                <text class="thumb_num">{{item.touch_num}}</text>
              </view>

            </view>

          </view>
        </view>

      </view>

    </view>
    </view>



</view>