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

<view class="page">
  <view class="imgbox">
  <image src="../../static/images/healthy_bg.jpg"  class="bg" mode="widthFix"/>
  <image src="../../static/images/healthy_button.png" class="btn" bind:tap="lookGood"/>
  </view>
  
</view>
<van-popup class="mypop" id="mypop" show="{{true}}" lock-scroll="{{true}}" position="bottom" overlay="{{blockHeight=='1130rpx'?true:false}}" duration="500" z-index="9999" custom-style=" border-radius:8rpx;transition: height 0.5s;height:{{blockHeight}}" bind:close="onClose">
  <view class="popwrper" id="popwrper"  bindtouchstart="touchstart" bindtouchend="touchend" style="height:{{blockHeight}}"  >
    <view class="top">
      <image src="../../static/images/up.png" class="up {{blockHeight=='1130rpx'?'active':''}}"></image>
    </view>
    <view class="popname">
        健康包服务医生
    </view>
    <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}}"  data-price="{{moduleFilter.formatHealthPrcice(item.doctor_inquiry_config)}}">
        <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==8 && itemName.inquiry_price}}">
              <view  class="pricecell">健康包：<text>￥{{itemName.inquiry_price}}</text>
              </view>
              
            </view>
          </view>
        </view>
      </view>
      </view>
  
      <view class="nonedata" wx:else>暂无数据！</view>
      <!-- <view class="viewcell">
        <view class="left">
          <image src="https://img.applets.igandanyiyuan.com/applet/patient/static/home.png"></image>
        </view>
        <view class="right">
          <view class="namebox">
            <view class="name">魏胜昭</view>
            <view class="position"> 教授</view>
            <view class="type">三甲</view>
            <view class="type">可处方</view>
          </view>
          <view class="hospital">首都医科大学佑安医院 <text decode="true">&nbsp;耳鼻科</text></view>
          <view class="goodjob">擅长：治疗耳鼻喉疑难病。比如： 人工关节置换、传导性耳聋、人工晶体植入、肾移···</view>
          <view class="diseaseType">中西医结合</view>
          <view class="detail">
            <view>好评率: <text>5 </text> </view>
            <view>服务患者数: <text>100</text></view>
            <view>平均回复: <text> 0.5h </text></view>
          </view>
          <view class="consultbox">
            <view class="price">公益问诊：<text>￥100</text></view>
            <view class="consult">立即咨询</view>
          </view>
        </view>
      </view> -->
    </scroll-view>
  </view>
    <!-- <view class="infobox" style="margin-top: 32rpx;margin-bottom: 0rpx;padding-bottom: 0;">
      <view class="namebox" style="justify-content: flex-start;">
        <image src="{{doctorDetail.avatar}}" class="head" wx:if="{{doctorDetail.avatar}}" mode="aspectFill"></image>
        <image src="{{img_host+'/doctor_avatar.png'}}" class="head" wx:else></image>
        <view class="namewraper">
          <view class="row">
            <view class="name">{{doctorDetail.user_name}}</view>
           
            <view class="type" wx:if="{{doctorDetail.hospital.hospital_level_name!='未知' && doctorDetail.hospital.hospital_level_name}}">{{doctorDetail.hospital.hospital_level_name}}</view>
            <view class="type" wx:if="{{doctorDetail.multi_point_status==1 && doctorDetail.multi_point_enable==1}}">可处方</view>
          </view>
          <view class="hospital"><text wx:if="{{doctorDetail.doctor_title_name}}" class="doctor_title">{{doctorDetail.doctor_title_name}}</text><text>{{doctorDetail.department_custom_name}}</text></view>
          <view class="hospital">{{doctorDetail.hospital.hospital_name}}</view>
        </view>
      </view>
      <view class="borderbox">
        <view class="goodjob" style="margin-top: 30rpx;">
          擅长：{{doctorDetail.be_good_at}}
        </view>
       
      </view>
      
    </view> -->

  </view>
</van-popup>
<van-dialog
   use-slot
   class="mydailog"
   bind:confirm="goAgree"
  title="温馨提示"
  z-index="9999"
   theme='green'
  show="{{showRight}}"
  confirm-button-color="#3CC7C0"
  cancel-button-text="确定"
>
<view class="slotmsg">
  <view class="rowbox">
     <view class="rowtitle">服务内容:</view>
     <view class="row">
       <view class="rowleft">1、</view>
       <view class="rowright">每个月2次问诊</view>
     </view>
     <view class="row">
       <view class="rowleft">2、</view>
       <view class="rowright">30盒肝爽颗粒(3g*9袋) (每次最多开具10盒)
</view>
     </view>
  </view>
  <view class="rowbox">
     <view class="rowtitle">服务价格:</view>
     <view class="row">
       <view class="rowleft">1、</view>
       <view class="rowright">健康包价格低至1080元起，内所含每月两次问诊，费用低至5折;超出次数需按照原价支付问诊费;</view>
     </view>
     <view class="row">
       <view class="rowleft">2、</view>
       <view class="rowright">健康包内包含30盒肝爽颗粒(3g*9袋)，原价42.8元/盒，健康包内售价为35元/盒，超出30盒的可按38.5元/盒优惠价购买;
</view>
     </view>
     <view class="row">
       <view class="rowleft">3、</view>
       <view class="rowright">赠送全品类药品劵10元
</view>
     </view>
     <view class="row">
       <view class="rowleft">4、</view>
       <view class="rowright">
         <view class="desc">赠送肝胆相照商城优惠劵100元</view>
         <view class="tips">(药品总价满100元方可使用，不可与其他优惠劵叠加使用);</view>
       </view>
     </view>
  </view>
  <view class="rowbox">
     <view class="rowtitle">退款说明:</view>
     <view class="row">
       <view class="rowleft">1、</view>
       <view class="rowright">未使用随时退; </view>
     </view>
     <view class="row">
       <view class="rowleft">2、</view>
       <view class="rowright">
健康包开始使用后如需退款请联系客服，退款不收取任何服务费等额外费用，但不支持部分退款:

</view>
     </view>
     <view class="row">
       <view class="rowleft">3、</view>
       <view class="rowright">药品一经发出，问诊一经接诊，均概不退换;

</view>
     </view>
     <view class="row">
       <view class="rowleft">4、</view>
       <view class="rowright">未消费健康包内容可退款，已消费服务的部分按原价计费，即:已发生的问诊按照问诊时互联网医院显示的价格结算，肝爽颗粒按照原价每盒42.8元结算。
</view>
     </view>
  </view>
</view>
</van-dialog>
