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.0 KiB

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