<view class="pages"><view class="status-bar"><view data-event-opts="{{[['tap',[['changestatus',[-1]]]]]}}" class="{{['status-bar-item',params.status==-1?'active':'']}}" bindtap="__e">全部</view><view data-event-opts="{{[['tap',[['changestatus',[0]]]]]}}" class="{{['status-bar-item',params.status==0?'active':'']}}" bindtap="__e">未完成</view><view data-event-opts="{{[['tap',[['changestatus',[1]]]]]}}" class="{{['status-bar-item',params.status==1?'active':'']}}" bindtap="__e">已完成</view></view><mescroll-body class="vue-ref" vue-id="427f6a93-1" down="{{downOption}}" up="{{upOption}}" data-ref="mescrollRef" data-event-opts="{{[['^init',[['mescrollInit']]],['^down',[['downCallback']]],['^up',[['upCallback']]]]}}" bind:init="__e" bind:down="__e" bind:up="__e" bind:__l="__l" vue-slots="{{['default']}}"><view class="orders"><block wx:for="{{orderlist}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['goOrderDetails',['$0'],[[['orderlist','',index,'guid']]]]]]]}}" class="order-item" bindtap="__e"><view class="order-info"><view class="order-info-text"><view class="order-info-text-item">{{"订单编号："+item.orderNo}}</view><view class="order-info-text-item">{{"订单时间："+item.createTime}}</view></view><view class="order-info-status"><block wx:if="{{item.status==0}}"><view data-event-opts="{{[['tap',[['cancelOrder',['$0'],[[['orderlist','',index]]]]]]]}}" class="status" bindtap="__e">取消订单</view></block><block wx:if="{{item.status==0}}"><view class="status topay">待付款</view></block><block wx:if="{{item.orderStatus==1}}"><view class="status">待发货</view></block><block wx:if="{{item.orderStatus==2}}"><view class="status">已发货</view></block><block wx:if="{{item.orderStatus==3}}"><view class="status">已完成</view></block><block wx:if="{{item.orderStatus==4}}"><view class="status">已关闭</view></block><block wx:if="{{item.orderStatus==5}}"><view class="status">失效</view></block></view></view><view class="order-product"><image class="order-product-img" src="{{item.goodsOrderDetailForm[0].goodsImages}}" mode="scaleToFill"></image><view class="order-product-text"><view class="order-product-til">{{''+item.goodsOrderDetailForm.length+"个碳汇产品，共计"+item.orderCarbonAmount+'kg碳汇量'}}</view><view class="order-product-amount"><text class="rmb">¥</text><text class="amount">{{item.orderAmount}}</text></view><view class="order-product-carbon">{{"共"+item.orderCarbonAmount+"kg碳汇量"}}</view><block wx:if="{{item.status==0}}"><view data-event-opts="{{[['tap',[['pay',['$0'],[[['orderlist','',index]]]]]]]}}" class="order-btn topay" catchtap="__e">立即支付</view></block><block wx:if="{{item.status==3}}"><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" data-event-params="{{({item})}}" class="order-btn" catchtap="__e">查看证书</view></block></view></view></view></block></view></mescroll-body><uni-popup class="vue-ref" vue-id="427f6a93-2" type="dialog" data-ref="popup" bind:__l="__l" vue-slots="{{['default']}}"><uni-popup-dialog vue-id="{{('427f6a93-3')+','+('427f6a93-2')}}" type="info" content="{{popupContent}}" duration="{{2000}}" before-close="{{true}}" data-event-opts="{{[['^close',[['closepopup']]],['^confirm',[['confirmpopup']]]]}}" bind:close="__e" bind:confirm="__e" bind:__l="__l"></uni-popup-dialog></uni-popup></view>