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 lines
6.8 KiB
1 lines
6.8 KiB
<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="text acea-row row-between _div data-v-3f47a344"><view class="name line2 _div data-v-3f47a344">{{cart.productInfo.storeName}}</view><view class="money _div data-v-3f47a344"><view class="_div data-v-3f47a344">{{'¥'+(cart.productInfo.attrInfo?cart.productInfo.attrInfo.price:cart.productInfo.price)+''}}</view><view class="_div data-v-3f47a344">{{"x"+cart.cartNum}}</view></view></view></view></block></view><view class="totalPrice _div data-v-3f47a344">{{'共'+(order.$orig.cartInfo.length||0)+'件商品,总金额'}}<label class="money font-color-red _span data-v-3f47a344">{{"¥"+order.$orig.payPrice}}</label></view><view class="bottom acea-row row-right row-middle _div data-v-3f47a344"><block wx:if="{{order.$orig._status._type==0}}"><view data-event-opts="{{[['tap',[['cancelOrder',['$0'],[[['orderList','',orderListIndex]]]]]]]}}" class="bnt cancelBnt _div data-v-3f47a344" bindtap="__e">取消订单</view><view data-event-opts="{{[['tap',[['goOrderDetails',['$0'],[[['orderList','',orderListIndex]]]]]]]}}" class="bnt bg-color-red _div data-v-3f47a344" bindtap="__e">立即付款</view></block><block wx:if="{{order.$orig._status._type==1||order.$orig._status._type==9}}"><view data-event-opts="{{[['tap',[['goOrderDetails',['$0'],[[['orderList','',orderListIndex]]]]]]]}}" class="bnt bg-color-red _div data-v-3f47a344" bindtap="__e">查看详情</view></block><block wx:if="{{order.$orig._status._type==2}}"><view data-event-opts="{{[['tap',[['e4',['$event']]]]]}}" class="bnt default _div data-v-3f47a344" bindtap="__e">查看物流</view><view data-event-opts="{{[['tap',[['takeOrder',['$0'],[[['orderList','',orderListIndex]]]]]]]}}" class="bnt bg-color-red _div data-v-3f47a344" bindtap="__e">确认收货</view></block><block wx:if="{{order.$orig._status._type==3}}"><view data-event-opts="{{[['tap',[['goOrderDetails',['$0'],[[['orderList','',orderListIndex]]]]]]]}}" class="bnt bg-color-red _div data-v-3f47a344" bindtap="__e">去评价</view></block><block wx:if="{{order.$orig._status._type===4}}"><view data-event-opts="{{[['tap',[['goOrderDetails',['$0'],[[['orderList','',orderListIndex]]]]]]]}}" class="bnt bg-color-red _div data-v-3f47a344" bindtap="__e">查看订单</view></block></view></view></block></view><block wx:if="{{orderList.length===0&&page>1}}"><view class="noCart _div data-v-3f47a344"><view class="pictrue _div data-v-3f47a344"><image src="{{$VUE_APP_RESOURCES_URL+'/images/noOrder.png'}}" class="_img data-v-3f47a344"></image></view></view></block><loading vue-id="3bd0fceb-2" loaded="{{loaded}}" loading="{{loading}}" class="data-v-3f47a344" bind:__l="__l"></loading><payment vue-id="3bd0fceb-3" types="{{payType}}" balance="{{userInfo.nowMoney}}" value="{{pay}}" data-event-opts="{{[['^checked',[['toPay']]],['^input',[['__set_model',['','pay','$event',[]]]]]]}}" bind:checked="__e" bind:input="__e" class="data-v-3f47a344" bind:__l="__l"></payment></view> |