<nav navName="随访包服务医生"></nav>
<wxs src="../../../filters/filter.wxs" module="moduleFilter"></wxs>

<view class="page">
    <view class="scrollwraper">
    <scroll-view scroll-y style="width: 100%;height:100%" 	bindrefresherrefresh="handleRefresher" refresher-triggered="{{isTriggered}}"	refresher-threshold="100"	refresher-enabled="true"  bindscrolltolower="lower"  id="scroller" 	bounces="false">
      <view wx:if="{{doctorList.length>0}}">
        <view class="viewcell" bindtap="goExpertDetail" wx:for="{{doctorList}}" wx:key="doctor_id" data-doctorid="{{item.doctor_id}}" >
        <view class="left">
        
          <image src="{{item.avatar}}" wx:if="{{item.avatar}}" mode="aspectFill"></image>
          <image src="{{img_host+'/doctor_avatar.png'}}"  wx:else></image>
          <view class="onlinebox" wx:if="{{item.user.is_online==1}}">
           <image src="{{img_host+'/online.gif'}}" mode="" class="icon"/>
          </view>
        </view>
        <view class="right">
          <view class="namebox">
            <view class="name">{{item.user_name}}</view>
            <!-- <view class="position" >{{item.doctor_title_name}}</view> -->
            <view class="type" wx:if="{{item.hospital.hospital_level_name != '未知'&& item.hospital.hospital_level_name}}">{{item.hospital.hospital_level_name}}</view>
            <view class="type" wx:if="{{item.multi_point_status == 1 && item.multi_point_enable==1}}">可处方</view>
          </view>
          <view class="hospital"><text class="hospital_name"  wx:if="{{item.doctor_title_name}}">{{item.doctor_title_name}}</text> <text wx:if="{{item.department_custom_name}}">{{item.department_custom_name}}</text></view>
          <view class="hospital"><text class="hospital_name" >{{item.hospital.hospital_name}}</text></view>
          <view class="goodjob" wx:if="{{item.be_good_at}}">擅长：{{item.be_good_at}}</view>
          <view class="diseaseType" wx:for="{{item.doctor_expertise}}" wx:for-item="cell" wx:key="index">{{cell.expertise_name}}</view>
          <view class="detail" wx:if="{{item.is_display_score}}">
            <view>评分: <text wx:if="{{item.praise_rate>0}}">{{item.praise_rate}} </text><text wx:else>暂无</text></view>
            <view>问诊量: <text  wx:if="{{item.served_patients_num>0}}">{{item.served_patients_num}}</text><text wx:else>暂无</text></view>
            <view>平均回复: <text  wx:if="{{item.avg_response_time>0}}"> {{moduleFilter.formatReply(item.avg_response_time)}}h</text><text wx:else>暂无</text></view>
          </view>
          <view class="consultbox">
            <view class="price"  wx:for="{{item.doctor_inquiry_config}}"  wx:for-item="itemName" wx:if="{{itemName.inquiry_type==1 && itemName.inquiry_mode==9 && itemName.inquiry_price}}">
              <view  class="pricecell">随访包：<text>￥{{itemName.inquiry_price}}/月起</text>
              </view>
              
            </view>
          </view>
        </view>
      </view>
      </view>
      <view class="nonedata" wx:else>暂无数据！</view>
    </scroll-view>
  </view>
  
</view>
