<view class="container data-v-145310c5"><view class="bg data-v-145310c5"><image src="https://zccy.liuniu946.com/static/img/cart-bg.png" mode class="data-v-145310c5"></image></view><view class="navbar data-v-145310c5"><block wx:for="{{navList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['navChoose',[index]]]]]}}" class="{{['nav-item','data-v-145310c5',(index==navIc)?'navC':'']}}" bindtap="__e">{{item.text}}</view></block></view><swiper class="swiper-box data-v-145310c5" current="{{navIc}}" duration="300" data-event-opts="{{[['change',[['changeTab',['$event']]]]]}}" bindchange="__e"><block wx:for="{{$root.l2}}" wx:for-item="tabItem" wx:for-index="tabIndex" wx:key="tabIndex"><swiper-item class="tab-content data-v-145310c5"><scroll-view class="scroll-y data-v-145310c5" scroll-y="true"><block wx:for="{{tabItem.l1}}" wx:for-item="i" wx:for-index="__i0__" wx:key="id"><view data-event-opts="{{[['tap',[['goToOrderDetail',['$0'],[[['navList','',tabIndex],['orderList','id',i.$orig.id]]]]]]]}}" class="order-item data-v-145310c5" bindtap="__e"><view class="i-td data-v-145310c5"><view class="td-left data-v-145310c5">{{"订单编号："+i.$orig.order_id}}</view><view class="td-right data-v-145310c5">{{i.$orig.stateTip}}</view></view><block wx:for="{{i.l0}}" wx:for-item="item" wx:for-index="index"><view class="goods-box data-v-145310c5"><view class="goods-left flex data-v-145310c5"><image class="goods-img data-v-145310c5" src="{{item.$orig.productInfo.image||'../../static/error/errorImage.jpg'}}"></image><view class="goods-name data-v-145310c5"><view class="p clamp2 data-v-145310c5">{{item.$orig.productInfo.store_name}}</view><view class="span data-v-145310c5">{{i.$orig.shipping_type==1?'送货上门':'到店自提'}}</view></view></view><view class="goods-price data-v-145310c5"><view class="data-v-145310c5">{{"￥"+item.m0}}</view><view class="num data-v-145310c5">{{"x"+item.$orig.cart_num}}</view><view class="_br data-v-145310c5"></view></view></view></block><view class="i-td data-v-145310c5"><view class="td-left data-v-145310c5"></view><view class="i-bottom data-v-145310c5">{{'共计'+i.$orig.total_num+'件商品'}}<text class="data-v-145310c5">{{"合计 ￥"+i.$orig.pay_price}}</text>{{'( '+(i.$orig.pay_postage*1+i.$orig.pay_postage_sh*1>0?'含物流费用￥'+(i.$orig.pay_postage*1+i.$orig.pay_postage_sh*1)+'，':'免邮，')+' 不含押金)'}}</view></view><block wx:if="{{tabItem.$orig.state==0}}"><view class="btn-box data-v-145310c5"><view data-event-opts="{{[['tap',[['qxzf',['$0'],[[['navList','',tabIndex],['orderList','id',i.$orig.id]]]]]]]}}" class="btn data-v-145310c5" catchtap="__e">取消支付</view><view data-event-opts="{{[['tap',[['ljzf',['$0'],[[['navList','',tabIndex],['orderList','id',i.$orig.id]]]]]]]}}" class="btn data-v-145310c5" catchtap="__e">立即支付</view></view></block><block wx:if="{{tabItem.$orig.state==1}}"><view class="btn-box data-v-145310c5"><block wx:if="{{i.$orig.store_id!=0}}"><view data-event-opts="{{[['tap',[['sqth',['$0'],[[['navList','',tabIndex],['orderList','id',i.$orig.id]]]]]]]}}" class="btn data-v-145310c5" catchtap="__e">申请退款</view></block><block wx:if="{{i.$orig.store_id==0&&i.$orig.gift_uid==0}}"><view data-event-opts="{{[['tap',[['sqth',['$0'],[[['navList','',tabIndex],['orderList','id',i.$orig.id]]]]]]]}}" class="btn data-v-145310c5" catchtap="__e">申请退款</view></block><block wx:if="{{i.$orig.shipping_type==2}}"><view class="data-v-145310c5"><block wx:if="{{i.$orig.gift_uid==0||i.$orig.gift_uid==userInfo.uid}}"><view data-event-opts="{{[['tap',[['showCode',['$0'],[[['navList','',tabIndex],['orderList','id',i.$orig.id]]]]]]]}}" class="btn data-v-145310c5" catchtap="__e">查看券码</view></block></view></block></view></block><block wx:if="{{tabItem.$orig.state==2}}"><view class="btn-box data-v-145310c5"><block wx:if="{{i.$orig.shipping_type==1}}"><view data-event-opts="{{[['tap',[['orderTake',['$0','$1'],[[['navList','',tabIndex],['orderList','id',i.$orig.id]],'index']]]]]}}" class="btn data-v-145310c5" catchtap="__e">确认收货</view></block><block wx:if="{{i.$orig.shipping_type==2}}"><view class="data-v-145310c5"><block wx:if="{{i.$orig.gift_uid==0||i.$orig.gift_uid==userInfo.uid}}"><view data-event-opts="{{[['tap',[['showCode',['$0'],[[['navList','',tabIndex],['orderList','id',i.$orig.id]]]]]]]}}" class="btn data-v-145310c5" catchtap="__e">查看券码</view></block></view></block></view></block></view></block></scroll-view></swiper-item></block></swiper></view>