1 |
- <view class="order"><view class="tab-box"><view data-event-opts="{{[['tap',[['handleTab',[null]]]]]}}" class="{{['tab',query.orderType==null?'active':'']}}" bindtap="__e">全部</view><view data-event-opts="{{[['tap',[['handleTab',['WAIT_PAYMENT']]]]]}}" class="{{['tab',query.orderType=='WAIT_PAYMENT'?'active':'']}}" bindtap="__e">待付款</view><view data-event-opts="{{[['tap',[['handleTab',['WAIT_USE']]]]]}}" class="{{['tab',query.orderType=='WAIT_USE'?'active':'']}}" bindtap="__e">待使用</view><view data-event-opts="{{[['tap',[['handleTab',['APPLY_REFUND']]]]]}}" class="{{['tab',query.orderType=='APPLY_REFUND'?'active':'']}}" bindtap="__e">退款</view></view><block wx:if="{{$root.g0}}"><u-empty vue-id="386bcf8a-1" mode="order" iconSize="200rpx" textSize="28rpx" bind:__l="__l"></u-empty></block><zs-list vue-id="386bcf8a-2" mt="0" status="{{status}}" data-event-opts="{{[['^load',[['loadMore']]]]}}" bind:load="__e" bind:__l="__l" vue-slots="{{['default']}}"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['jump',['$0'],[[['list','',index]]]]]]]}}" class="order-item" bindtap="__e"><view class="top-box"><view class="label">{{''+item.$orig.shopInfo.shopName+''}}</view><view class="status">{{''+item.f0+''}}</view></view><view class="order-box"><zs-img vue-id="{{('386bcf8a-3-'+index)+','+('386bcf8a-2')}}" radius="full" src="{{item.$orig.goodsModelList[0].goodsInfo.goodsPath}}" width="164rpx" height="164rpx" bind:__l="__l"></zs-img><view class="info"><view class="title">{{''+item.$orig.goodsModelList[0].goodsInfo.goodsName+''}}</view><view class="time">{{''+item.g1+''}}</view><view class="price">{{'¥'+item.$orig.payAmount+''}}</view></view></view></view></block></zs-list></view>
|