|
|
|
<view data-ref="container" class="my-order data-v-01edf37b vue-ref"><view class="nav acea-row row-around data-v-01edf37b"><view data-event-opts="{{[['tap',[['changeType',[0]]]]]}}" class="{{['item data-v-01edf37b',(type===0)?'on':'']}}" bindtap="__e"><view class="data-v-01edf37b">待付款</view></view><view data-event-opts="{{[['tap',[['changeType',[1]]]]]}}" class="{{['item data-v-01edf37b',(type===1)?'on':'']}}" bindtap="__e"><view class="data-v-01edf37b">待发货</view></view><view data-event-opts="{{[['tap',[['changeType',[2]]]]]}}" class="{{['item data-v-01edf37b',(type===2)?'on':'']}}" bindtap="__e"><view class="data-v-01edf37b">待收货</view></view><view data-event-opts="{{[['tap',[['changeType',[3]]]]]}}" class="{{['item data-v-01edf37b',(type===3)?'on':'']}}" bindtap="__e"><view class="data-v-01edf37b">待评价</view></view><view data-event-opts="{{[['tap',[['changeType',[4]]]]]}}" class="{{['item data-v-01edf37b',(type===4)?'on':'']}}" bindtap="__e"><view class="data-v-01edf37b">已完成</view></view></view><view class="list data-v-01edf37b"><block wx:for="{{$root.l0}}" wx:for-item="order" wx:for-index="orderListIndex" wx:key="orderListIndex"><view class="item data-v-01edf37b"><view class="title acea-row row-between-wrapper data-v-01edf37b"><view class="acea-row row-middle data-v-01edf37b">{{'订单号 '+orderList[0].orderId+''}}</view><view class="state data-v-01edf37b">{{order.m0}}</view></view><view data-event-opts="{{[['tap',[['goOrderDetails',['$0'],[[['orderList','',orderListIndex]]]]]]]}}" bindtap="__e" class="data-v-01edf37b"><block wx:for="{{order.$orig.cartInfo}}" wx:for-item="cart" wx:for-index="cartInfoIndex" wx:key="cartInfoIndex"><view class="item-info acea-row-nowrap row-between row-top data-v-01edf37b"><view class="pictrue data-v-01edf37b"><block wx:if="{{cart.combinationId===0&&cart.bargainId===0&&cart.seckillId===0}}"><image src="{{cart.productInfo.image}}" data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" data-event-params="{{({cart})}}" catchtap="__e" class="data-v-01edf37b"></image></block><block wx:else><block wx:if="{{cart.combinationId>0}}"><image src="{{cart.productInfo.image}}" data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" data-event-params="{{({cart})}}" catchtap="__e" class="data-v-01edf37b"></image></block><block wx:else><block wx:if="{{cart.bargainId>0}}"><image src="{{cart.productInfo.image}}" data-event-opts="{{[['tap',[['e2',['$event']]]]]}}" data-event-params="{{({cart})}}" catchtap="__e" class="data-v-01edf37b"></image></block><block wx:else><block wx:if="{{cart.seckillId>0}}"><image src="{{cart.productInfo.image}}" data-event-opts="{{[['tap',[['e3',['$event']]]]]}}" data-event-params="{{({cart})}}" catchtap="__e" class="data-v-01edf37b"></image></block></block></block></block></view><view class="text acea-row row-between data-v-01edf37b"><view class="name data-v-01edf37b"><view class="line1 data-v-01edf37b">{{cart.productInfo.storeName}}</view><view class="money acea-row row-column data-v-01edf37b"><view class="cart-num data-v-01edf37b">{{"数量x"+cart.cartNum}}</view><block wx:if="{{order.$orig.payType!='integral'}}"><view class="money-txt data-v-01edf37b">{{'¥'+(cart.productInfo.attrInfo?cart.productInfo.attrInfo.price:cart.productInfo.price)+''}}</view></block><block wx:if="{{order.$orig.payType=='integral'}}"><view class="money-txt data-v-01edf37b">{{''+order.$orig.payIntegral+'积分'}}</view></block></view></view></view></view></block></view><view class="totalPrice data-v-01edf37b">{{'共'+(order.$orig.cartInfo.length||0)+'件商品,总金额'}}<block wx:if="{{order.$orig.payType!='integral'}}"><text class="money data-v-01edf37b">{{"¥"+order.$orig.payPrice}}</text></block><block wx:if="{{order.$orig.payType=='integral'}}"><text class="money data-v-01edf37b">{{order.$orig.payIntegral+"积分"}}</text></block></view><view class="bottom acea-row row-right row-middle data-v-01edf37b"><block wx:if="{{order.$orig._status._type==0}}"><view data-event-opts="{{[['tap',[['cancelOrder',['$0'],[[['orderList','',orderListIndex]]]]]]]}}" class="bnt cancelBnt dat
|