<scroll-view class="br-10" style="{{'height:'+(scrollHeight+'px')+';'}}" scroll-y="{{true}}"><block wx:for="{{goods}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['orderTap',['$0','$1'],[[['goods','',index,'id']],[['goods','',index,'status']]]]]]]}}" class="w100 br-20 bgff mb-20 pl-20 pr-20" style="padding-bottom:0;" bindtap="__e"><view class="h-80 rowsb rowsm fs-28" style="border-bottom:2rpx solid #f1f1f1;"><view class="f-8 pr-20 one_overflow">{{item.business.busname}}</view><text class="f-2 trt col999">{{status[item.status]}}</text></view><view class="w-670 mt-32 relative" style="overflow:hidden;"><view class="rows"><block wx:for="{{item.goods}}" wx:for-item="goods" wx:for-index="ind" wx:key="ind"><view class="mr-20"><image class="w-166 h-130 br-12" mode="aspectFill" src="{{URL+goods.image}}"></image><view class="fs-24 col666 one_overflow">{{goods.name}}</view></view></block></view><block wx:if="{{item.goods.length>=5}}"><view class="absolute h100 pt-20 w-40 fs-22 col666 zi-2 tct pl-10 pr-10" style="right:0;top:0;background:rgba(255, 255, 255, 0.8);"><text>{{"共"+item.goods.length+"件"}}</text></view></block><view class="pt-20 pb-26 rowsb"><text class="fs-26 col999">{{"订单时间："+item.createtime}}</text><text class="fs-24 col888">合计<text class="fs-32 fw-600 col000">{{"￥"+item.price}}</text></text></view></view><view class="rowsb h-108 rowsm"><view></view><view class="fs-26 tct"><block wx:if="{{item.status=='1'}}"><view class="rowse"><view data-event-opts="{{[['tap',[['cancelOrder',['$0',index],[[['goods','',index,'id']]]]]]]}}" class="br-8 ml-20 w-166 h-64 lh-64" style="border:1rpx solid #D5D5D5;color:#666;" catchtap="__e">取消订单</view><view data-event-opts="{{[['tap',[['orderTap',['$0'],[[['goods','',index,'id']]]]]]]}}" class="br-4 colfff ml-20 w-166 h-64 lh-64" style="background:#91B584;" catchtap="__e">去付款</view></view></block><block wx:if="{{item.status=='2'}}"><view class="rowse"><view data-event-opts="{{[['tap',[['showtt',['已催促，商家正在加急出餐~']]]]]}}" class="br-4 colfff ml-20 w-166 h-64 lh-64" style="background:#91B584;" catchtap="__e">催发货</view></view></block><block wx:if="{{item.status=='3'}}"><view class="rowse"><view data-event-opts="{{[['tap',[['commitGoods',['$0'],[[['goods','',index,'id']]]]]]]}}" class="br-4 colfff ml-20 w-166 h-64 lh-64" style="background:#91B584;" catchtap="__e">确认收货</view></view></block><block wx:if="{{item.status=='4'}}"><view class="rowse"><view data-event-opts="{{[['tap',[['orderTap',['$0'],[[['goods','',index,'id']]]]]]]}}" class="br-4 colfff ml-20 w-166 h-64 lh-64" style="background:#91B584;" catchtap="__e">查看详情</view></view></block></view></view></view></block></scroll-view>