<view><view class="w100 h-340"><scroll-view class="rows rowsm" style="max-width:750rpx;white-space:nowrap;" scroll-x="true"><view class="rows rowsm h-80 w100 rowsa bgff"><block wx:for="{{list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['onSels',[index,'$0'],[[['list','',index,'id']]]]]]]}}" class="{{['rows','rowsl','rowsm','rowsc',ids==item.id?'fw-b fs-32':'fs-30']}}" bindtap="__e"><text>{{item.name}}</text><block wx:if="{{ids==item.id}}"><view class="w-88 h-8 mt-10 bg br-10"></view></block></view></block></view></scroll-view><scroll-view style="height:calc(100vh - 120rpx);" scroll-y="true"><block wx:if="{{$root.g0>0}}"><view class="w100 rows rowsm rowsc rowsl mt-20"><block wx:for="{{$root.l1}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="w-710 p-all-20 bgff br-20 mb-20 rows rowsl"><view class="w100 rows rowsb h-80 rowsm mb-20" style="border-bottom:1rpx solid #f5f5f5;"><text class="fs-26">{{"订单时间："+item.$orig.createtime}}</text><block wx:if="{{item.$orig.status==-1}}"><text class="fs-26 col">已取消</text></block><block wx:if="{{item.$orig.status==0}}"><text class="fs-26 col">待付款</text></block><block wx:if="{{item.$orig.status==1}}"><text class="fs-26 col">待发货</text></block><block wx:if="{{item.$orig.status==2}}"><text class="fs-26 col">待收货</text></block><block wx:if="{{item.$orig.status==3}}"><text class="fs-26 col">待评价</text></block><block wx:if="{{item.$orig.status==4}}"><text class="fs-26 col">已完成</text></block></view><scroll-view style="max-height:350rpx;" scroll-y="true"><block wx:for="{{item.l0}}" wx:for-item="itm" wx:for-index="indexs" wx:key="indexs"><view class="rows mb-20"><image class="w-180 h-180 br-20 mr-20" src="{{itm.g1}}" mode="aspectFill"></image><view class="rows rowsl rowsb w100 h-180"><view class="fw-b col333 fs-28">{{itm.$orig.shop_name}}</view><view class="rows rowsm"><text class="col666 fs-28">{{"x"+itm.$orig.num}}</text></view><text class="fs-20 fw-b" style="color:#F8222A;">{{"￥"+itm.$orig.price}}</text></view></view></block></scroll-view><view class="w100 h-80 rows rowsb rowsm" style="border-top:1rpx dashed #f5f5f5;"><view class="rows rowsm"><text class="fs-24 col333">{{"合计:￥"+item.$orig.total_amount}}</text></view><view class="rows rowsm"><block wx:if="{{item.$orig.status==0}}"><view data-event-opts="{{[['tap',[['open',['$0'],[[['orders','',index,'order_number']]]]]]]}}" class="w-130 h-58 rows rowsc rowsm bg br-100 fs-28 colfff mr-20" bindtap="__e">去支付</view></block><block wx:if="{{item.$orig.status==0}}"><view data-event-opts="{{[['tap',[['cancelOrder',['$0'],[[['orders','',index,'id']]]]]]]}}" class="w-160 h-58 rows rowsc rowsm bg br-100 fs-28 colfff" bindtap="__e">取消订单</view></block><block wx:if="{{item.$orig.status==2}}"><view data-event-opts="{{[['tap',[['deliveryOrder',['$0'],[[['orders','',index,'id']]]]]]]}}" class="w-160 h-58 rows rowsc rowsm bg br-100 fs-28 ml-20 colfff" bindtap="__e">确认收货</view></block><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" data-event-params="{{({item:item.$orig})}}" class="w-160 h-58 rows rowsc rowsm colfff bg br-100 fs-28 ml-20" bindtap="__e">查看详情</view></view></view></view></block></view></block><block wx:else><view class="w100 rows rowsc h-600 rowsm"><image class="w-436 h-366" src="/static/other/5.png" mode></image></view></block></scroll-view></view><uni-popup class="vue-ref" vue-id="7729ca78-1" type="bottom" is-mask-click="{{false}}" safe-area="{{false}}" data-ref="popup" bind:__l="__l" vue-slots="{{['default']}}"><view class="w100 p-all-24 bgff"><text class="fs-30 fw-b">选择支付方式</text><view class="w100 rows rowsm rowsl"><view class="w-710 bgff br-20 p-all-24"><view class="rows rowsl"><block wx:for="{{payList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['selpay',['$0'],[[['payList','',index]]]]]]]}}" class="w100 rows rowsm rowsb mt-20" bindtap="__e"><view class="rows rowsm"><image class="w-72 h-72 mr-20" src="{{item.icon}}" mode></image><text class="fs-28 col333">{{item.name}}</text></view><image class="w-36 h-36 mr-15" src="{{item.status?'/static/images/03_qou.png':'/static/images/03_w.png'}}" mode></image></view></block></view></view></view><view class="w100 rows rowsm rowsa"><view data-event-opts="{{[['tap',[['close',['$event']]]]]}}" class="w-300 h-80 rowsm rows rowsc col br-100 fs-28" style="border:2rpx solid #F8222A;" bindtap="__e">取消</view><view data-event-opts="{{[['tap',[['create',['$event']]]]]}}" class="w-300 h-80 bg rowsm rows rowsc colfff br-100 fs-28" bindtap="__e">确定</view></view><view class="w100 h-30"></view></view></uni-popup></view>