2024-03-22 16:10:50 +08:00

300 lines
17 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<wxs src="../../../../filters/filter.wxs" module="filter" />
<te-nav-bar navbar-data='{{navbarData}}' ></te-nav-bar>
<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="{{static_host}}/applet/doctor/static/images/yishi/doctor_avatar.png" wx:else></image>
<!-- <view class="onlinebox" wx:if="{{is_online==1}}">
<image src="{{static_host}}/applet/doctor/static/images/yishi/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>
<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="wz_tabbox">
<view class="titlebox">
<view class="title">医生服务</view>
</view>
<view class="tabs">
<view class="tab " bindtap="switchTab" data-id="0">
<image wx:if="{{currentData==0 && canTuwen}}" src="{{static_host}}/applet/doctor/static/images/yishi/tuwen_on.png" alt="" class="tabbg on" ></image>
<image wx:elif="{{currentData==0 && !canTuwen}}" src="{{static_host}}/applet/doctor/static/images/yishi/tuwen_disable_on.png" alt="" class="tabbg on" ></image>
<image wx:elif="{{currentData!=0 && canTuwen}}" src="{{static_host}}/applet/doctor/static/images/yishi/tuwen.png" alt="" class="tabbg" ></image>
<image wx:elif="{{currentData!=0 && !canTuwen}}" src="{{static_host}}/applet/doctor/static/images/yishi/tuwen_disable.png" alt="" class="tabbg" ></image>
<view class="typebox" wx:if="{{canTuwen}}">
<view class="name">图文问诊</view>
<view class="pricebox" wx:if="{{hasExpert && !hasFree}}">
<view class="price">¥{{expertInquiry_price}}/次</view>
</view>
<view class="pricebox" wx:if="{{!hasExpert && hasFree}}">
<view class="price">¥{{freePrice}}/次</view>
</view>
<view class="pricebox" wx:if="{{hasExpert && hasFree}}">
<view class="price" wx:if="{{freeAmount>0}}">¥{{freePrice}}/次</view>
<view class="price" wx:if="{{freeAmount<=0 && expertAmount>0}}">¥{{expertInquiry_price}}/次</view>
<view class="price" wx:if="{{freeAmount<=0 && expertAmount<=0}}">¥{{freePrice}}/次</view>
<view class="jiaprice" wx:if="{{expertInquiry_price && current_inquiry_config.inquiry_type==3 && !(freeAmount<=0 && expertAmount>0)}}">¥{{expertInquiry_price}}/次</view>
</view>
<!-- <view class="price">¥{{current_inquiry_config.inquiry_price}}/次</view>
<view class="jiaprice" wx:if="{{expertInquiry_price && current_inquiry_config.inquiry_type==3}}">¥{{expertInquiry_price}}/次</view> -->
</view>
<view class="typebox disable" wx:else>
<view class="name">图文问诊</view>
<view class="price" wx:if="{{expertInquiry_price}}">¥{{expertInquiry_price}}/次</view>
<view class="price" wx:if="{{!(expertInquiry_price && freePrice)}}">暂未开通</view>
</view>
</view>
<view class="tab " bindtap="switchTab" data-id="1">
<image src="{{static_host}}/applet/doctor/static/images/yishi/video_on.png" wx:if="{{currentData==1 && canVideo}}" alt="" class="tabbg on" ></image>
<image wx:elif="{{currentData==1 && !canVideo}}" src="{{static_host}}/applet/doctor/static/images/yishi/video_disable_on.png" alt="" class="tabbg on" ></image>
<image wx:elif="{{currentData!=1 && canVideo}}" src="{{static_host}}/applet/doctor/static/images/yishi/video.png" alt="" class="tabbg" ></image>
<image wx:else src="{{static_host}}/applet/doctor/static/images/yishi/video_disable.png" alt="" class="tabbg" ></image>
<view class="typebox" wx:if="{{canVideo}}">
<view class="name">视频问诊</view>
<view class="price">¥{{videoPrice}}/次</view>
</view>
<view class="typebox disable" wx:else>
<view class="name">视频问诊</view>
<view class="price">暂未开通</view>
</view>
</view>
<view class="tab " bindtap="switchTab" data-id="2">
<image wx:if="{{currentData==2 && canDiffcult}}" src="{{static_host}}/applet/doctor/static/images/yishi/yinan_on.png" alt="" class="tabbg on" ></image>
<image wx:elif="{{currentData==2 && !canDiffcult}}" src="{{static_host}}/applet/doctor/static/images/yishi/yinan_disable_on.png" alt="" class="tabbg on" ></image>
<image wx:elif="{{currentData!=2 && canDiffcult}}" src="{{static_host}}/applet/doctor/static/images/yishi/yinan.png" alt="" class="tabbg" ></image>
<image wx:elif="{{currentData!=2 && !canDiffcult}}" src="{{static_host}}/applet/doctor/static/images/yishi/yinan_disable.png" alt="" class="tabbg" ></image>
<view class="typebox" wx:if="{{canDiffcult}}">
<view class="name">疑难问诊</view>
<view class="price">¥{{yinanPrice}}/次</view>
</view>
<view class="typebox disable" wx:else>
<view class="name">疑难问诊</view>
<view class="price">暂未开通</view>
</view>
</view>
</view>
<swiper current="{{currentData}}" class="swiperbox" bindchange="bindchange" style="height:{{currentData==0?'350rpx':currentData==1?'700rpx':tab3Height+'px'}}">
<swiper-item class="">
<view class="swiper-item">
<image src="{{static_host}}/applet/doctor/static/images/yishi/tuwen_bg.png" class="itembg" style="height:auto;" mode="widthFix" wx:if="{{canTuwen}}"></image>
<image src="{{static_host}}/applet/doctor/static/images/yishi/tuwen_bg_disable.png" class="itembg" style="height:auto;" mode="widthFix" wx:else=""></image>
<view class="itembox">
<view class="title">通过文字、图片、语音进行咨询</view>
<view class="tipbox {{!canTuwen?'active':''}}">
<view class="tipmsg">
<view class="circle tuwen"></view>
<view class="msg">可通过文字、图片、语音等形式和医生进行沟通;</view>
</view>
<view class="tipmsg">
<view class="circle tuwen"></view>
<view class="msg">医生接诊后24小时内10个沟通回合</view>
</view>
<view class="tipmsg">
<view class="circle tuwen"></view>
<view class="msg">医生未接诊平台24小时内自动退款</view>
</view>
<view class="tipmsg">
<view class="circle tuwen"></view>
<view class="msg">医生未回复,可联系平台客服协商进行退款。</view>
</view>
</view>
</view>
</view>
</swiper-item>
<swiper-item>
<view class="swiper-item">
<image src="{{static_host}}/applet/doctor/static/images/yishi/video_bg.png" class="itembg" style="height:auto;" mode="widthFix" wx:if="{{currentData==1 && canVideo}}"></image>
<image src="{{static_host}}/applet/doctor/static/images/yishi/video_bg_disable_on.png" class="itembg" style="height:auto;" mode="widthFix" wx:elif="currentData==1 && !canVideo"></image>
<image src="{{static_host}}/applet/doctor/static/images/yishi/video_bg.png" class="itembg" style="height:auto;" mode="widthFix" wx:elif="currentData!=1 && canVideo"></image>
<image src="{{static_host}}/applet/doctor/static/images/yishi/video_bg_disable.png" class="itembg" style="height:auto;" mode="widthFix" wx:elif="currentData!=1 && !canVideo"></image>
<view class="itembox">
<view class="title">通过视频面对面进行咨询</view>
<view class="tipbox {{!canVideo?'active':''}}">
<view class="tipmsg">
<view class="circle video"></view>
<view class="msg">医生接诊后,主动和就诊人预约视频时间;</view>
</view>
<view class="tipmsg">
<view class="circle video"></view>
<view class="msg">若预约时间因故需要改变,可与医生图文协商时间;</view>
</view>
<view class="tipmsg">
<view class="circle video"></view>
<view class="msg">视频交流服务时长一般为5-10分钟</view>
</view>
<view class="tipmsg">
<view class="circle video"></view>
<view class="msg">医生接诊后48小时内可以通过文字、图片、语音等形式和医生不限制沟通回合数</view>
</view>
<view class="tipmsg">
<view class="circle video"></view>
<view class="msg">医生未接诊平台24小时内自动退款</view>
</view>
<view class="tipmsg">
<view class="circle video"></view>
<view class="msg">医生未回复或未进行视频,可联系平台客服协商进行退款;</view>
</view>
<view class="tipmsg">
<view class="circle video"></view>
<view class="msg">如因您个人原因(忘记时间、迟到、中途断开未在进入视频等情况),咨询费用可能将无法退回,请准时接收医生视频请求;</view>
</view>
<view class="tipmsg">
<view class="circle video"></view>
<view class="msg">视频不支持回放。</view>
</view>
</view>
</view>
</view>
</swiper-item>
<swiper-item>
<view class="swiper-item" id="swiperitem3">
<image src="{{static_host}}/applet/doctor/static/images/yishi/yinan_bg.png" class="itembg" style="height:auto;" mode="widthFix" wx:if="{{canDiffcult}}"></image>
<image src="{{static_host}}/applet/doctor/static/images/yishi/video_bg_disable.png" class="itembg" style="height:auto;" mode="widthFix" wx:else></image>
<view class="itembox">
<view class="title">通过文字、图片、语音进行咨询</view>
<view class="tipbox {{!canDiffcult?'active':''}}">
<view class="tipmsg">
<view class="circle yinan"></view>
<view class="msg">{{service_content}}</view>
</view>
<view class="tipmsg">
<view class="circle yinan"></view>
<view class="msg">{{service_process}}</view>
</view>
<view class="tipmsg">
<view class="circle yinan"></view>
<view class="msg">可通过文字、图片、语音等形式和医生进行沟通;</view>
</view>
<view class="tipmsg">
<view class="circle yinan"></view>
<view class="msg">医生接诊后{{cycle}}天内{{rounds==0?'不限':rounds+'个'}}沟通回合;</view>
</view>
<view class="tipmsg">
<view class="circle yinan"></view>
<view class="msg">医生未接诊平台24小时内自动退款</view>
</view>
<view class="tipmsg">
<view class="circle yinan"></view>
<view class="msg">医生未回复或医生服务不满意,可联系平台客服协商进行退款。</view>
</view>
</view>
</view>
</view>
</swiper-item>
</swiper>
</view>
</view>
<!-- <view class="ask" wx:if="{{(current_inquiry_config && current_inquiry_config.recieveStatus>0) && currentData==0}}" bindtap="handleThrottle" hidden="{{!isFinished}}" data-type="{{currentData}}">立即咨询</view>
<view class="ask" wx:elif="{{canVideo && currentData==1}}" bindtap="handleThrottle" hidden="{{!isFinished}}" data-type="{{currentData}}">立即咨询</view>
<view class="ask" wx:elif="{{canDiffcult && currentData==2}}" bindtap="handleThrottle" hidden="{{!isFinished}}" data-type="{{currentData}}">立即咨询</view>
<view class="noask" bindtap="notAsk" data-type="{{currentData}}" wx:else hidden="{{!isFinished}}">{{currentData==0?'暂不接诊':'暂未开通'}}</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>