expert.wxml 5.7 KB

1
  1. <view class="container"><view class="top"></view><view class="user-box"><image src="{{list.photo||'/static/error/missing-face.png'}}"></image><view class="user-right"><view class="user-name">{{list.name}}</view><view class="user-address">{{'职位:'+(list.doctor_level==1?"医师":list.doctor_level==2?"主治医师":list.doctor_level==3?"副主任医师":"主任医师")+''}}</view><view class="user-address">{{"医院:"+list.hospital_info.name}}</view><view class="user-num">评分:<text>{{list.score}}</text></view></view></view><view class="list-box"><view class="item-box"><view class="icon-box flex_item"><view class="left-icon"></view><view class="left-tit">擅长领域</view></view><view class="left-txt">{{list.good_at||'暂无数据'}}</view></view><view class="item-box"><view class="icon-box flex_item"><view class="left-icon"></view><view class="left-tit">背景介绍</view></view><view class="left-txt">{{list.introduction||'暂无数据'}}</view></view><view class="item-box"><view class="icon-box flex_item"><view class="left-icon"></view><view class="flex left-box"><view class="left-tit">问诊评论</view><view data-event-opts="{{[['tap',[['Tomore',['$event']]]]]}}" class="more" bindtap="__e">查看更多<text class="iconfont iconenter"></text></view></view></view><block wx:if="{{list.comment_list==''}}"><view class="left-txt">暂无数据</view></block><block wx:for="{{list.comment_list}}" wx:for-item="ls" wx:for-index="index" wx:key="index"><block wx:if="{{list.comment_list!=''}}"><view class="ask-list flex_item"><image class="ask-img" src="{{ls.avatar||'/static/error/missing-face.png'}}"></image><view class="ask-txt ellipsis">{{ls.comment}}</view></view></block></block></view><block wx:if="{{show}}"><view class="pay-type-list dots"><block wx:if="{{userInfo.type!=3}}"><view data-event-opts="{{[['tap',[['changeDoctor',[2]]]]]}}" class="type-item1" bindtap="__e"><view class="row-1"><view class="con"><text class="tit">预约</text></view><label class="radio"><radio value="" color="#FC4141" checked="{{DoctorType==2}}"></radio></label></view><view class="row-2">提供无限次麻醉咨询及围术期麻醉相关服务</view></view></block><block wx:if="{{userInfo.type!=3}}"><view data-event-opts="{{[['tap',[['changeDoctor',[1]]]]]}}" class="type-item1" bindtap="__e"><view class="row-1"><view class="con"><text class="tit">咨询</text></view><label class="radio"><radio value="" color="#FC4141" checked="{{DoctorType==1}}"></radio></label></view><view class="row-2">仅提供麻醉咨询,20次图文交互后结束服务</view></view></block><block wx:if="{{userInfo.type==3}}"><view data-event-opts="{{[['tap',[['changeDoctor',[3]]]]]}}" class="type-item flex_item" bindtap="__e"><view class="con"><text class="tit">外出预约</text></view><label class="radio"><radio value="" color="#FC4141" checked="{{DoctorType1==3}}"></radio></label></view></block></view></block><block wx:if="{{show}}"><view data-event-opts="{{[['tap',[['open',['$event']]]]]}}" class="sub-bottom" bindtap="__e">确定</view></block></view><uni-popup class="vue-ref" vue-id="3487fa96-1" type="center" data-ref="popup" bind:__l="__l" vue-slots="{{['default']}}"><view class="popup"><image class="img" mode="widthFix" src="../../static/img/img24.png"></image><view class="row"><block wx:if="{{DoctorType==1&&userInfo.type==1}}"><view class="row-1">确认咨询该医生?</view></block><block wx:if="{{DoctorType==2&&userInfo.type==1}}"><view class="row-1">确认预约该医生?</view></block><block wx:if="{{userInfo.type==3&&DoctorType1==3}}"><view class="row-1">确认预约该医生?</view></block><view class="row-2"><text style="color:#DE504C;">{{"¥"+pay_price}}</text></view><block wx:if="{{DoctorType==1&&userInfo.type==1}}"><button data-event-opts="{{[['tap',[['payopen',['$event']]]]]}}" class="row-3 flex" bindtap="__e">马上咨询</button></block><block wx:if="{{DoctorType==2&&userInfo.type==1}}"><button data-event-opts="{{[['tap',[['payopen',['$event']]]]]}}" class="row-3 flex" bindtap="__e">马上预约</button></block><block wx:if="{{userInfo.type==3&&DoctorType1==3}}"><button data-event-opts="{{[['tap',[['payopen',['$event']]]]]}}" class="row-3 flex" bindtap="__e">马上预约</button></block></view></view><view data-event-opts="{{[['tap',[['close',['$event']]]]]}}" class="close_icon" bindtap="__e"><image src="../../static/img/img016.png"></image></view></uni-popup><uni-popup class="vue-ref" vue-id="3487fa96-2" type="bottom" data-ref="popup1" bind:__l="__l" vue-slots="{{['default']}}"><view class="payment"><view data-event-opts="{{[['tap',[['payclose']]]]}}" class="first flex " bindtap="__e"><text class="word">选择支付方式</text><image src="../../static/img/img25.png"></image></view><view class="pay-type-list"><view data-event-opts="{{[['tap',[['changePayType',[1]]]]]}}" class="type-item b-b" bindtap="__e"><view class="img"><image class="yue" src="../../static/img/img26.png"></image></view><view class="con"><text class="tit">微信支付</text></view><label class="radio"><radio value="" color="#FC4141" checked="{{payType==1}}"></radio></label></view><view data-event-opts="{{[['tap',[['changePayType',[2]]]]]}}" class="type-item flex_item" bindtap="__e"><view class="img"><image class="yue" src="../../static/img/img017.png"></image></view><view class="con"><text class="tit">余额支付</text></view><label class="radio"><radio value="" color="#FC4141" checked="{{payType==2}}"></radio></label></view></view><view class="one"></view><view class="Third flex"><view class="two1"><text class="two1-1 ">合计:</text><text class="two1-2">¥</text><text class="two1-2 size">{{pay_price}}</text></view><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="{{['two2',(payLoding)?'clickbg':'']}}" catchtap="__e"><text>立即支付</text></view></view></view></uni-popup></view>