consultingInfo.wxml 4.4 KB

1
  1. <view class="main data-v-7fc0c690"><view class="list data-v-7fc0c690"><view class="portrait data-v-7fc0c690"><view style="padding-top:20rpx;" class="data-v-7fc0c690"><u-avatar vue-id="5616a6c6-1" src="{{orderInfo.docter.avatar}}" mode="circle" class="data-v-7fc0c690" bind:__l="__l"></u-avatar></view></view><view class="text data-v-7fc0c690"><view class="name data-v-7fc0c690"><view style="margin-right:15rpx;" class="data-v-7fc0c690">{{orderInfo.docter.name}}</view><block wx:for="{{orderInfo.docter.label}}" wx:for-item="itm" wx:for-index="idx" wx:key="*this"><view class="label data-v-7fc0c690">{{itm}}</view></block></view><view class="department data-v-7fc0c690"><text class="data-v-7fc0c690">科室:</text><text style="color:#333333;" class="data-v-7fc0c690">{{orderInfo.docter.office.name}}</text><text style="color:#333333;" class="data-v-7fc0c690">{{orderInfo.docter.qualification.name}}</text></view></view></view><view class="padding-sm bg-white margin-top-sm data-v-7fc0c690"><view class="text-lg text-black text-bold data-v-7fc0c690">订单信息</view><view class="text-gray margin-top-xs padding-tb-xs data-v-7fc0c690"><text class="text-leftstyle data-v-7fc0c690">订单号:</text><text class="font_style data-v-7fc0c690">{{orderInfo.order_sn}}</text></view><view class="text-gray margin-top-xs padding-tb-xs data-v-7fc0c690"><text class="text-leftstyle data-v-7fc0c690">状态:</text><block wx:if="{{orderInfo.order_status==1}}"><text class="font_style data-v-7fc0c690" style="color:rgb(238, 170, 63);">未支付</text></block><block wx:else><block wx:if="{{orderInfo.order_status==2}}"><text class="font_style data-v-7fc0c690" style="color:rgb(238, 170, 63);">待接单</text></block><block wx:else><block wx:if="{{orderInfo.order_status==3}}"><text class="font_style data-v-7fc0c690" style="color:rgb(238, 170, 63);">进行中</text></block><block wx:else><block wx:if="{{orderInfo.order_status==4}}"><text class="font_style data-v-7fc0c690" style="color:rgb(238, 170, 63);">已完成</text></block><block wx:else><block wx:if="{{orderInfo.order_status==5}}"><text class="font_style data-v-7fc0c690" style="color:rgb(238, 170, 63);">已取消</text></block></block></block></block></block></view><view class="text-gray margin-top-xs padding-tb-xs data-v-7fc0c690"><text class="text-leftstyle data-v-7fc0c690">下单时间:</text><text class="font_style data-v-7fc0c690">{{orderInfo.created_at}}</text></view><view class="text-gray margin-top-xs padding-tb-xs data-v-7fc0c690"><text class="text-leftstyle data-v-7fc0c690">结束时间:</text><text class="font_style data-v-7fc0c690">{{orderInfo.order_patient.appoint_end_time}}</text></view><view class="text-gray margin-top-xs padding-tb-xs data-v-7fc0c690"><text class="text-leftstyle data-v-7fc0c690">咨询时长:</text><text class="font_style data-v-7fc0c690"></text></view><view class="text-gray margin-top-xs padding-tb-xs data-v-7fc0c690"><text class="text-leftstyle data-v-7fc0c690">咨询患者:</text><text class="font_style data-v-7fc0c690">{{orderInfo.order_patient.name}}</text></view><view class="text-gray margin-top-xs padding-tb-xs data-v-7fc0c690"><text class="text-leftstyle data-v-7fc0c690">已付款:</text><text class="font_style data-v-7fc0c690">{{"¥"+orderInfo.total_amount/100}}</text></view></view><view class="cu-tabbar-height data-v-7fc0c690"></view><view class="cu-tabbar-height data-v-7fc0c690"></view><block wx:if="{{orderInfo.order_status==4&&orderInfo.product_type==2}}"><view class="cu-bar bg-white tabbar data-v-7fc0c690" style="position:fixed;bottom:0;width:100%;display:flex;justify-content:flex-end;height:108rpx;"><u-button vue-id="5616a6c6-2" shape="circle" custom-style="{{customStyle}}" ripple="{{true}}" class="data-v-7fc0c690" bind:__l="__l" vue-slots="{{['default']}}">咨询会话</u-button><u-button vue-id="5616a6c6-3" shape="circle" custom-style="{{customStyle}}" ripple="{{true}}" class="data-v-7fc0c690" bind:__l="__l" vue-slots="{{['default']}}">评价</u-button><u-button vue-id="5616a6c6-4" shape="circle" custom-style="{{customStylebtn}}" ripple="{{true}}" class="data-v-7fc0c690" bind:__l="__l" vue-slots="{{['default']}}">意见单</u-button></view></block><block wx:else><view class="cu-bar bg-white tabbar data-v-7fc0c690" style="position:fixed;bottom:0;width:100%;"><view data-event-opts="{{[['tap',[['',['$event']]]]]}}" class="submit data-v-7fc0c690" style="background-color:#0B73B9;color:white;" bindtap="__e">{{''+(orderInfo.product_type==1?'回拨':'咨询会话')+''}}</view></view></block></view>