<view class="content"><view class="order-title"><view class="body-title"><view data-event-opts="{{[['tap',[['toBack',['$event']]]]]}}" class="goback-box" bindtap="__e"><image class="goback" src="../../static/icon/fanhui.png" mode></image></view><view class="header">接单中心</view></view><view class="roder-content"><block wx:for="{{maiList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['navGo',[index]]]]]}}" class="{{['left',(currentIndex===index)?'current':'']}}" bindtap="__e">{{''+item.title+''}}<block wx:if="{{currentIndex!=index&&item.content!=0}}"><view class="dian">{{item.content}}</view></block></view></block></view></view><scroll-view class="list-scroll-content" scroll-y="{{true}}" data-event-opts="{{[['scrolltolower',[['loadData',['$event']]]]]}}" bindscrolltolower="__e"><block wx:for="{{maiList[currentIndex].orderList}}" wx:for-item="item" wx:for-index="index"><view class="order-item"><view class="order-top flex"><view class="order-top-left"><image class="order-top-left-image" src="../../static/img/order5.png" mode></image><view class="order-top-left-font">订单信息</view></view><view class="order-top-right">待接单</view></view><view class="order-info flex"><view class="order-info-left">预约时间：</view><view class="order-info-right">{{item.time}}</view></view><view class="order-info flex"><view class="order-info-left">姓名：</view><view class="order-info-right">{{item.name}}</view></view><view class="order-info flex"><view class="order-info-left">性别：</view><view class="order-info-right">{{item.sex==1?'男':'女'}}</view></view><block wx:if="{{currentIndex==0}}"><view class="order-info flex"><view class="order-info-left">代办医院：</view><view class="order-info-right">{{item.hospital}}</view></view></block><block wx:if="{{currentIndex==0}}"><view class="order-info flex"><view class="order-info-left">代办类型：</view><view class="order-info-right">{{item.catename}}</view></view></block><block wx:if="{{currentIndex==1}}"><view class="order-info flex"><view class="order-info-left">医院：</view><view class="order-info-right">{{item.hospital}}</view></view></block><block wx:if="{{currentIndex==1}}"><view class="order-info flex"><view class="order-info-left">陪诊类型：</view><view class="order-info-right">{{item.catename}}</view></view></block><block wx:if="{{currentIndex==1}}"><view class="order-info flex"><view class="order-info-left">陪诊服务：</view><view class="order-info-right">{{item.servicename}}</view></view></block><block wx:if="{{currentIndex==1&&item.issm==2}}"><view class="order-info flex"><view class="order-info-left">接送地址：</view><view class="order-info-right">{{item.transfer_address}}</view></view></block><view class="order-info flex"><view class="order-info-left">备注：</view><view class="order-info-right">{{item.remarks||'无'}}</view></view><view class="order-info flex"><view class="order-info-left">佣金：</view><view class="order-info-price">{{item.commission}}</view></view><view data-event-opts="{{[['tap',[['takeOrder',['$0'],[[['maiList.'+currentIndex+'.orderList','',index]]]]]]]}}" class="order-btn" bindtap="__e"><image class="order-btn-icon" src="../../static/img/order5.png" mode></image><view class="order-btn-font">立即接单</view></view></view></block></scroll-view></view>