<view><view class="navbar"><block wx:for="{{tabs}}" wx:for-item="item" wx:for-index="__i0__"><view data-event-opts="{{[['tap',[['selectTab',['$0'],[[['tabs','',__i0__,'id']]]]]]]}}" class="{{['item','','',tabCur==item.id?'on':'']}}" bindtap="__e">{{''+item.name+''}}</view></block></view><view class="card-list"><block wx:for="{{list}}" wx:for-item="item" wx:for-index="__i1__" wx:key="id"><view class="order-box"><view data-event-opts="{{[['tap',[['goDetail',['$0'],[[['list','id',item.id,'id']]]]]]]}}" class="order-header" bindtap="__e"><view>{{item.type_name}}</view><view>{{''+item.status_name+''}}</view></view><view data-event-opts="{{[['tap',[['goDetail',['$0'],[[['list','id',item.id,'id']]]]]]]}}" class="order-info" bindtap="__e"><view class="order-li"><view class="fl">订单号：</view>{{item.order_no+''}}</view><view class="order-li"><view style="justify-content:space-between;display:flex;width:100%;"><view><view class="fl">预约人：</view>{{''+item.accept_name}}</view><block wx:if="{{item.distance>=0}}"><view class="gongli">{{''+item.distance+'/km'}}</view></block></view></view><view class="order-li"><view><view class="fl">手机号：</view><block wx:if="{{item.person_id>0}}"><view>{{item.accept_mobile}}</view></block><block wx:else><view>接单后可看</view></block></view></view><view class="order-li"><view class="fl">预约重量：</view>{{''+item.weight+''}}</view><view class="order-li"><view class="fl">预约时间：</view>{{''+item.order_time+''}}</view><view class="order-li"><view class="fl">预约地址：</view>{{''+item.accept_address+''}}</view></view><view class="footer pb-32"><view data-event-opts="{{[['tap',[['goDetail',['$0'],[[['list','id',item.id,'id']]]]]]]}}" class="btn btn-default" bindtap="__e">详情</view><block wx:if="{{item.status==1&&jiedan_type==1}}"><view data-event-opts="{{[['tap',[['setorder',['$0',2],[[['list','id',item.id,'id']]]]]]]}}" class="btn btn-default" bindtap="__e">接单</view></block><block wx:if="{{item.status==2}}"><view data-event-opts="{{[['tap',[['setorder',['$0',1],[[['list','id',item.id,'id']]]]]]]}}" class="btn btn-default" bindtap="__e">转给他人</view></block><block wx:if="{{item.status==2}}"><view data-event-opts="{{[['tap',[['toshow',['$0'],[[['list','id',item.id,'id']]]]]]]}}" class="btn btn-default" bindtap="__e">点击完成</view></block></view></view></block><block wx:if="{{$root.g0==0}}"><view class="zanwuimg"><image src="../../static/img/null.png" mode="widthFix"></image><view>暂无相关订单</view></view></block></view><lvv-popup class="vue-ref" vue-id="0f23183b-1" position="bottom" data-ref="lvvpopref" bind:__l="__l" vue-slots="{{['default']}}"><view style="width:100%;height:700rpx;background:#F8F8F8;position:absolute;left:0;bottom:0;"><view class="pop-c"><view class="pop-t"><view class="hs-row invoice"><view class="hs-row-hd"><view class="hs-hd-title">完成订单</view></view><view data-event-opts="{{[['tap',[['toclose']]]]}}" class="hs-row-ft" bindtap="__e"><image class="fr icon" src="/static/img/close.png"></image></view></view></view><view class="neirong"><view class="content-top"><view class="hs-box"><view class="hs-row"><view class="hs-row-hd"><view class="hs-hd-title" style="width:100px;">订单金额：</view></view><view class="hs-row-bd" style="width:95%;"><input class="hs-input" type="text" placeholder="请填写金额" data-event-opts="{{[['input',[['__set_model',['','money','$event',[]]]]]]}}" value="{{money}}" bindinput="__e"/></view></view></view></view><view class="button-bottom"><button class="btn btn-success" disabled="{{submitStatus}}" loading="{{submitStatus}}" data-event-opts="{{[['tap',[['setorder',['$0',3],['jiesuan_order_id']]]]]}}" bindtap="__e">完成</button></view></view></view></view></lvv-popup></view>