<view><view class="card-list"><block wx:for="{{list}}" wx:for-item="item" wx:for-index="__i0__" wx:key="id"><view class="order-box"><view data-event-opts="{{[['tap',[['goDetail',['$0'],[[['list','id',item.id,'id']]]]]]]}}" class="order-header" bindtap="__e"><text>{{item.type_name}}</text></view><view data-event-opts="{{[['tap',[['goDetail',['$0'],[[['list','id',item.id,'id']]]]]]]}}" class="order-box" bindtap="__e"><view class="li"><view class="lr">订单号：</view>{{''+item.order_no+''}}</view><view class="li"><view style="justify-content:space-between;display:flex;width:100%;"><view><view class="lr">预约人：</view>{{''+item.accept_name}}</view><block wx:if="{{item.distance>=0}}"><view class="gongli">{{''+item.distance+'/km'}}</view></block></view></view><view class="li"><view class="lr">手机号：</view><block wx:if="{{item.person_id>0}}"><text>{{item.accept_mobile}}</text></block><block wx:else><text>接单后可看</text></block></view><view class="li"><view class="lr">预约重量：</view><view>{{item.weight}}</view></view><view class="li"><view class="lr">预约时间：</view><view>{{item.order_time}}</view></view><view class="li"><view class="lr">预约地址：</view><view>{{item.accept_address}}</view></view></view><view class="footer"><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></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></view>