myorder.wxml 1.5 KB

1
  1. <view class="container"><view class="swiper-box"><scroll-view class="list-scroll-content" scroll-y="{{true}}" data-event-opts="{{[['scrolltolower',[['loadData',['$event']]]]]}}" bindscrolltolower="__e"><block wx:for="{{list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="list_box"><view class="list_center"><view class="list_left"><block wx:if="{{userInfo.type==1}}"><view class="list_name mar-b">{{item.doctor_name}}</view></block><block wx:if="{{userInfo.type==2&&item.type==1||item.type==2}}"><view class="list_name mar-b">{{item.patient_name}}</view></block><block wx:if="{{userInfo.type==2&&item.type==3}}"><view class="list_name mar-b">{{item.organ_name}}</view></block><block wx:if="{{userInfo.type==3}}"><view class="list_name mar-b">{{item.doctor_name}}</view></block><view class="list_address mar-b">{{"医院: "+item.hospital_name}}</view><view class="list_address mar-b">{{"预约方式: "+(item.type==1?'咨询':item.type==2?'预约':'多点执业')}}</view></view><block wx:if="{{item.refund==0}}"><view class="list_right">{{''+(item.status==0?'未支付':item.status==1?'已支付':item.status==2?'已预约':item.status==3?'待确认':item.status==4?'已确认':item.status==5?'已完成':'已评价')+''}}</view></block><block wx:if="{{item.refund!=0}}"><view class="list_right">{{item.refund==1?'退款中':item.status==2?'退款完成':'退款失败'}}</view></block></view></view></block><uni-load-more vue-id="16dfa8ce-1" status="{{loadingType}}" bind:__l="__l"></uni-load-more></scroll-view></view></view>