You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 line
6.8 KiB

5 years ago
<view data-ref="container" class="my-order _div data-v-3f47a344 vue-ref"><view class="header bg-color-red _div data-v-3f47a344"><view class="picTxt acea-row row-between-wrapper _div data-v-3f47a344"><view class="text _div data-v-3f47a344"><view class="name _div data-v-3f47a344">订单信息</view><view class="_div data-v-3f47a344">{{'累计订单:'+(orderData.orderCount||0)+" 总消费:¥"+(orderData.sumPrice||0)+''}}</view></view></view></view><view class="nav acea-row row-around _div data-v-3f47a344"><view data-event-opts="{{[['tap',[['changeType',[0]]]]]}}" class="{{['item _div data-v-3f47a344',(type===0)?'on':'']}}" bindtap="__e"><view class="_div data-v-3f47a344">待付款</view><view class="num _div data-v-3f47a344">{{orderData.unpaidCount||0}}</view></view><view data-event-opts="{{[['tap',[['changeType',[1]]]]]}}" class="{{['item _div data-v-3f47a344',(type===1)?'on':'']}}" bindtap="__e"><view class="_div data-v-3f47a344">待发货</view><view class="num _div data-v-3f47a344">{{orderData.unshippedCount||0}}</view></view><view data-event-opts="{{[['tap',[['changeType',[2]]]]]}}" class="{{['item _div data-v-3f47a344',(type===2)?'on':'']}}" bindtap="__e"><view class="_div data-v-3f47a344">待收货</view><view class="num _div data-v-3f47a344">{{orderData.receivedCount||0}}</view></view><view data-event-opts="{{[['tap',[['changeType',[3]]]]]}}" class="{{['item _div data-v-3f47a344',(type===3)?'on':'']}}" bindtap="__e"><view class="_div data-v-3f47a344">待评价</view><view class="num _div data-v-3f47a344">{{orderData.evaluatedCount||0}}</view></view><view data-event-opts="{{[['tap',[['changeType',[4]]]]]}}" class="{{['item _div data-v-3f47a344',(type===4)?'on':'']}}" bindtap="__e"><view class="_div data-v-3f47a344">已完成</view><view class="num _div data-v-3f47a344">{{orderData.completeCount||0}}</view></view></view><view class="list _div data-v-3f47a344"><block wx:for="{{$root.l0}}" wx:for-item="order" wx:for-index="orderListIndex" wx:key="orderListIndex"><view class="item _div data-v-3f47a344"><view class="title acea-row row-between-wrapper _div data-v-3f47a344"><view class="acea-row row-middle _div data-v-3f47a344"><block wx:if="{{order.$orig.combinationId>0}}"><label class="sign cart-color acea-row row-center-wrapper _span data-v-3f47a344">拼团</label></block><block wx:if="{{order.$orig.seckillId>0}}"><label class="sign cart-color acea-row row-center-wrapper _span data-v-3f47a344">秒杀</label></block><block wx:if="{{order.$orig.bargainId>0}}"><label class="sign cart-color acea-row row-center-wrapper _span data-v-3f47a344">砍价</label></block><data-format vue-id="{{'3bd0fceb-1-'+orderListIndex}}" data="{{order.$orig.addTime}}" class="data-v-3f47a344" bind:__l="__l"></data-format></view><view class="font-color-red _div data-v-3f47a344">{{order.m0}}</view></view><view data-event-opts="{{[['tap',[['goOrderDetails',['$0'],[[['orderList','',orderListIndex]]]]]]]}}" bindtap="__e" class="_div data-v-3f47a344"><block wx:for="{{order.$orig.cartInfo}}" wx:for-item="cart" wx:for-index="cartInfoIndex" wx:key="cartInfoIndex"><view class="item-info acea-row row-between row-top _div data-v-3f47a344"><view class="pictrue _div data-v-3f47a344"><block wx:if="{{cart.combinationId===0&&cart.bargainId===0&&cart.seckillId===0}}"><image src="{{cart.productInfo.image}}" data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" catchtap="__e" class="_img data-v-3f47a344"></image></block><block wx:else><block wx:if="{{cart.combinationId>0}}"><image src="{{cart.productInfo.image}}" data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" catchtap="__e" class="_img data-v-3f47a344"></image></block><block wx:else><block wx:if="{{cart.bargainId>0}}"><image src="{{cart.productInfo.image}}" data-event-opts="{{[['tap',[['e2',['$event']]]]]}}" catchtap="__e" class="_img data-v-3f47a344"></image></block><block wx:else><block wx:if="{{cart.seckillId>0}}"><image src="{{cart.productInfo.image}}" data-event-opts="{{[['tap',[['e3',['$event']]]]]}}" catchtap="__e" class="_img data-v-3f47a344"></image></block></block></block></block></view><view class