211 lines
11 KiB
Plaintext
211 lines
11 KiB
Plaintext
<wxs src="./../../filters/filter.wxs" module="filter" />
|
|
<nav navName="专家详情"></nav>
|
|
<view class="contain">
|
|
|
|
<view class="boxwraper">
|
|
<view class="infobox">
|
|
<view class="namebox">
|
|
<view class="left">
|
|
<image src="{{avatar}}" class="head" wx:if="{{avatar}}" mode="aspectFill"></image>
|
|
<image class="head" src="{{img_host+'/doctor_avatar.png'}}" wx:else></image>
|
|
<view class="onlinebox" wx:if="{{is_online==1}}">
|
|
<image src="../../assets/images/online.gif" mode="" class="icon" style="top:100rpx" />
|
|
</view>
|
|
</view>
|
|
<view class="namewraper">
|
|
<view class="row">
|
|
<view class="name">{{user_name}}</view>
|
|
<view class="type" wx:if="{{hospital.hospital_level_name != '未知'&& hospital.hospital_level_name}}">{{hospital.hospital_level_name}}</view>
|
|
<view class="type" wx:if="{{multi_point_status == 1 && multi_point_enable==1}}">可处方</view>
|
|
</view>
|
|
<view class="hospital" ><text wx:if="{{doctor_title_name}}" class="doctor_title">{{doctor_title_name}}</text><text>{{department_custom_name}}</text></view>
|
|
<view class="hospital">{{hospital.hospital_name}}</view>
|
|
</view>
|
|
<view class="guanzhu" wx:if="{{!follow}}" bindtap="toggleFllow">
|
|
<image src="{{img_host+'/star.png'}}" ></image>
|
|
<text decode="true"> 关注</text>
|
|
</view>
|
|
<view class="guanzhu" wx:else bindtap="toggleFllow">
|
|
<image src="{{img_host+'/star_on.png'}}" ></image>
|
|
<text decode="true"> 关注</text>
|
|
</view>
|
|
</view>
|
|
<view class="descbox">
|
|
<view class="cell">
|
|
<view class="number" wx:if="{{praise_rate>0}}">{{praise_rate}}</view>
|
|
<view class="nodata" wx:else>暂无</view>
|
|
<view class="name">评分</view>
|
|
</view>
|
|
<view class="cell">
|
|
<view class="number" wx:if="{{served_patients_num>0}}">{{served_patients_num}}</view>
|
|
<view class="nodata" wx:else>暂无</view>
|
|
<view class="name">问诊量</view>
|
|
</view>
|
|
<view class="cell">
|
|
<view class="number" wx:if="{{avg_response_time>0}}">{{filter.formatReply(avg_response_time)}}h</view>
|
|
<view class="nodata" wx:else>暂无</view>
|
|
<view class="name">平均回复</view>
|
|
</view>
|
|
<view class="cell">
|
|
<view class="number" wx:if="{{number_of_fans>0}}">{{number_of_fans}}</view>
|
|
<view class="nodata" wx:else>暂无</view>
|
|
<view class="name">关注数</view>
|
|
</view>
|
|
</view>
|
|
<view class="goodjob ellipsis">
|
|
{{brief_introduction}}
|
|
</view>
|
|
<view class="renzhenbox">
|
|
<view class="renzhen {{iden_auth_status==1?'active':''}}">
|
|
<image src="{{img_host+'/renzheng.png'}}" ></image>
|
|
<text>医生信息已认证</text>
|
|
</view>
|
|
<view class="intro" bindtap="showPop">
|
|
<text> 医生简介</text>
|
|
<image src="{{img_host+'/jjarrow.png'}}"></image>
|
|
</view>
|
|
</view>
|
|
|
|
</view>
|
|
<view class="drbox" wx:if="{{current_inquiry_config}}">
|
|
<view class="titlebox">
|
|
<view class="title">医生服务</view>
|
|
<viwe class="tag" wx:if="{{filter.formatYear(days)}}">{{filter.formatYear(days)}}内服务过您</viwe>
|
|
</view>
|
|
<view wx:if="{{current_inquiry_config}}">
|
|
<view class="wentype" wx:if="{{current_inquiry_config.inquiry_type==1}}">
|
|
<image src="{{img_host+'/dr.png'}}"></image>
|
|
<image src="{{img_host+'/gou.png'}}" class="gou"></image>
|
|
<view class="rightbox">
|
|
<view class="name" wx:if="{{current_inquiry_config.inquiry_type==1}}">专家问诊-图文问诊</view>
|
|
<view class="price">¥{{current_inquiry_config.inquiry_price}}</view>
|
|
</view>
|
|
</view>
|
|
<view class="wentype freewenzhen" wx:elif="{{current_inquiry_config.inquiry_type==3}}">
|
|
<image src="{{img_host+'/freeicon.png'}}" ></image>
|
|
<image src="{{img_host+'/huanggou.png'}}" class="gou"></image>
|
|
<view class="rightbox">
|
|
<view class="name">公益问诊-图文问诊</view>
|
|
<view class="pricebox">
|
|
<view class="price">¥{{current_inquiry_config.inquiry_price}}</view>
|
|
<view class="rest">当前剩余名额: {{current_inquiry_config.work_num_day-current_inquiry_config.order_inquiry_count>0?(current_inquiry_config.work_num_day-current_inquiry_config.order_inquiry_count):0}} 个</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="tips" wx:if="{{current_inquiry_config.duration!=0}}">
|
|
<image src="{{img_host+'/duihua.png'}}" ></image>
|
|
<view class="tipcon" wx:if="{{current_inquiry_config.times_number==0}}"><text>1.适合可以耐心等待医生回复的病情咨询</text><text>2.医生接诊后{{current_inquiry_config.duration/60}}小时内不限次数个回合沟通</text></view>
|
|
<view class="tipcon" wx:else><text>1.适合可以耐心等待医生回复的病情咨询</text><text>2.医生接诊后{{current_inquiry_config.duration/60}}小时内{{current_inquiry_config.times_number}}个回合图文沟通</text></view>
|
|
</view>
|
|
|
|
</view>
|
|
<!-- <view wx:for="{{doctor_inquiry_config}}" wx:key="inquiry_config_id">
|
|
<view class="wentype" wx:if="{{item.inquiry_type==1 && !isHide}}">
|
|
<image src="https://img.applets.igandanyiyuan.com/applet/patient/static/dr.png"></image>
|
|
<image src="https://img.applets.igandanyiyuan.com/applet/patient/static/gou.png" class="gou"></image>
|
|
<view class="rightbox">
|
|
<view class="name" wx:if="{{item.inquiry_type==1}}">专家问诊-图文问诊</view>
|
|
<view class="price">¥{{item.inquiry_price}}</view>
|
|
</view>
|
|
</view>
|
|
<view class="wentype freewenzhen" wx:elif="{{item.inquiry_type==3}}">
|
|
<image src="https://img.applets.igandanyiyuan.com/applet/patient/static/freeicon.png"></image>
|
|
<image src="https://img.applets.igandanyiyuan.com/applet/patient/static/huanggou.png" class="gou"></image>
|
|
<view class="rightbox">
|
|
<view class="name">公益问诊-图文问诊</view>
|
|
<view class="pricebox">
|
|
<view class="price">¥{{item.inquiry_price}}</view>
|
|
<view class="rest">当前剩余名额: {{item.work_num_day-item.order_inquiry_count>=0?(item.work_num_day-item.order_inquiry_count):0}} 个</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="tips" wx:if="{{item.duration!=0 && !(item.inquiry_type==1 && isHide)}}">
|
|
<image src="https://img.applets.igandanyiyuan.com/applet/patient/static/duihua.png"></image>
|
|
<view class="tipcon" wx:if="{{times_number==0}}"><text>1.适合可以耐心等待医生回复的病情咨询</text><text>2.医生接诊后{{item.duration/60}}小时内不限次数个回合沟通</text></view>
|
|
<view class="tipcon" wx:else><text>1.适合可以耐心等待医生回复的病情咨询</text><text>2.医生接诊后{{item.duration/60}}小时内{{item.times_number}}个回合图文沟通</text></view>
|
|
</view>
|
|
|
|
</view> -->
|
|
|
|
</view>
|
|
<view class="commentbox" wx:if="{{commentList.length>0}}">
|
|
<view class="titlebox">
|
|
<view class="title">患者评价<text wx:if="{{commentList.length>0}}"> ({{totalComment}})</text></view>
|
|
<view class="more" bindtap="goComment" hidden="{{commentList.length<=0}}">
|
|
<text> 查看更多</text>
|
|
<image src="{{img_host+'/right.png'}}"></image>
|
|
</view>
|
|
</view>
|
|
<view class="listbox" wx:if="{{commentList.length>0}}">
|
|
<view class="list" wx:for="{{commentList}}" wx:key="evaluation_id">
|
|
<view class="namebox">
|
|
<view class="name">{{item.name_mask}}</view>
|
|
<van-rate value="{{item.avg_score}}" size="{{ 18 }}" color="#ed9c00" void-icon="star" void-color="#eee" bind:change="onChange" gutter="2" readonly />
|
|
</view>
|
|
<view class="commment">{{item.content}}</view>
|
|
<view class="date">{{filter.formatDate(item.created_at)}}</view>
|
|
</view>
|
|
</view>
|
|
<!-- <view class="nonedata" wx:else>
|
|
暂无评价!
|
|
</view> -->
|
|
</view>
|
|
</view>
|
|
<!-- <view></view> -->
|
|
<view class="ask" wx:if="{{current_inquiry_config && current_inquiry_config.recieveStatus>0}}" bindtap="handleThrottle" hidden="{{!isFinished}}">图文问诊 ¥{{current_inquiry_config.inquiry_price}}</view>
|
|
<view class="noask" bindtap="notAsk" wx:else hidden="{{!isFinished}}">暂不接诊</view>
|
|
</view>
|
|
<van-popup show="{{ show }}" round position="bottom" custom-style="height:65%" bind:close="onClose" lock-scroll="true">
|
|
<image src="{{img_host+'/closepop.png'}}" class="close" bindtap="onClose"></image>
|
|
<view class="popwrper">
|
|
<view class="infobox" style="padding: 0rpx 52rpx 0rpx;margin-top: 32rpx;margin-bottom: 0rpx;padding-bottom: 0;">
|
|
<view class="namebox" style="justify-content: flex-start;">
|
|
<image src="{{avatar}}" class="head" wx:if="{{avatar}}" mode="aspectFill"></image>
|
|
<image class="head" src="{{img_host+'/doctor_avatar.png'}}" wx:else></image>
|
|
<view class="namewraper">
|
|
<view class="row">
|
|
<view class="name">{{user_name}}</view>
|
|
<view class="type" wx:if="{{hospital.hospital_level_name != '未知'&& hospital.hospital_level_name}}">{{hospital.hospital_level_name}}</view>
|
|
<view class="type" wx:if="{{multi_point_status == 1}}">可处方</view>
|
|
</view>
|
|
<view class="hospital" ><text wx:if="{{doctor_title_name}}" class="doctor_title">{{doctor_title_name}}</text><text>{{department_custom_name}}</text></view>
|
|
<view class="hospital">{{hospital.hospital_name}}</view>
|
|
</view>
|
|
</view>
|
|
<view class="borderbox">
|
|
<view class="rowintro">
|
|
<image src="{{img_host+'/jianjie.png'}}"></image>
|
|
<text>医生简介</text>
|
|
</view>
|
|
<view class="goodjob" style="margin-top: 0rpx;">
|
|
{{brief_introduction}}
|
|
</view>
|
|
<view class="line"></view>
|
|
</view>
|
|
<view class="borderbox" hidden="{{doctor_expertise.length<=0}}">
|
|
<view class="rowintro">
|
|
<image src="{{img_host+'/zhuanchang.png'}}"></image>
|
|
<text>医生专长</text>
|
|
</view>
|
|
<view class="goodat" style="margin-top: 30rpx;">
|
|
<scroll-view class="scroll-view_H" scroll-x="true" style="width: 100%">
|
|
<view class="cell" wx:for="{{doctor_expertise}}" wx:key="expertise_name">{{item.expertise_name}}</view>
|
|
</scroll-view>
|
|
|
|
</view>
|
|
<view class="line"></view>
|
|
</view>
|
|
<view class="borderbox" wx:if="{{doctor_expertise.length>0}}">
|
|
<view class="rowintro">
|
|
<image src="{{img_host+'/shanchang.png'}}" ></image>
|
|
<text>医生擅长</text>
|
|
</view>
|
|
|
|
<view class="goodjob" style="margin-top:20rpx">{{be_good_at}}</view>
|
|
|
|
<view class="line"></view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</van-popup>
|
|
<dialog bind:confirm="confirm" showDialog="{{showDialog}}" message="当前存在有未完成的订单,是否前往该订单?"></dialog> |