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.5 KiB
1 lines
6.5 KiB
<view data-ref="container" class="my-order data-v-0af6720d vue-ref"><view class="header bg-color-red data-v-0af6720d"><view class="picTxt acea-row row-between-wrapper data-v-0af6720d"><view class="text data-v-0af6720d"><view class="name data-v-0af6720d">订单信息</view><view class="data-v-0af6720d">{{'累计订单:'+(orderData.orderCount||0)+" 总消费:¥"+(orderData.sumPrice||0)+''}}</view></view></view></view><view class="nav acea-row row-around data-v-0af6720d"><view data-event-opts="{{[['tap',[['changeType',[0]]]]]}}" class="{{['item data-v-0af6720d',(type===0)?'on':'']}}" bindtap="__e"><view class="data-v-0af6720d">待付款</view><view class="num data-v-0af6720d">{{orderData.unpaidCount||0}}</view></view><view data-event-opts="{{[['tap',[['changeType',[1]]]]]}}" class="{{['item data-v-0af6720d',(type===1)?'on':'']}}" bindtap="__e"><view class="data-v-0af6720d">待发货</view><view class="num data-v-0af6720d">{{orderData.unshippedCount||0}}</view></view><view data-event-opts="{{[['tap',[['changeType',[2]]]]]}}" class="{{['item data-v-0af6720d',(type===2)?'on':'']}}" bindtap="__e"><view class="data-v-0af6720d">待收货</view><view class="num data-v-0af6720d">{{orderData.receivedCount||0}}</view></view><view data-event-opts="{{[['tap',[['changeType',[3]]]]]}}" class="{{['item data-v-0af6720d',(type===3)?'on':'']}}" bindtap="__e"><view class="data-v-0af6720d">待评价</view><view class="num data-v-0af6720d">{{orderData.evaluatedCount||0}}</view></view><view data-event-opts="{{[['tap',[['changeType',[4]]]]]}}" class="{{['item data-v-0af6720d',(type===4)?'on':'']}}" bindtap="__e"><view class="data-v-0af6720d">已完成</view><view class="num data-v-0af6720d">{{orderData.completeCount||0}}</view></view></view><view class="list data-v-0af6720d"><block wx:for="{{$root.l0}}" wx:for-item="order" wx:for-index="orderListIndex" wx:key="orderListIndex"><view class="item data-v-0af6720d"><view class="title acea-row row-between-wrapper data-v-0af6720d"><view class="acea-row row-middle data-v-0af6720d"><block wx:if="{{order.$orig.combinationId>0}}"><text class="sign cart-color acea-row row-center-wrapper data-v-0af6720d">拼团</text></block><block wx:if="{{order.$orig.seckillId>0}}"><text class="sign cart-color acea-row row-center-wrapper data-v-0af6720d">秒杀</text></block><block wx:if="{{order.$orig.bargainId>0}}"><text class="sign cart-color acea-row row-center-wrapper data-v-0af6720d">砍价</text></block><data-format vue-id="{{'1-'+orderListIndex}}" data="{{order.$orig.addTime}}" class="data-v-0af6720d" bind:__l="__l"></data-format></view><view class="font-color-red data-v-0af6720d">{{order.m0}}</view></view><view data-event-opts="{{[['tap',[['goOrderDetails',['$0'],[[['orderList','',orderListIndex]]]]]]]}}" bindtap="__e" class="data-v-0af6720d"><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 data-v-0af6720d"><view class="pictrue data-v-0af6720d"><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-0af6720d"></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-0af6720d"></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-0af6720d"></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-0af6720d"></image></block></block></block></block></view><view class="text acea-row row-between data-v-0af6720d"><view class="name line2 data-v-0af6720d">{{cart.productInfo.storeName}}</view><view class="money data-v-0af6720d"><view class="data-v-0af6720d">{{'¥'+(cart.productInfo.attrInfo?cart.productInfo.attrInfo.price:cart.productInfo.price)+''}}</view><view class="data-v-0af6720d">{{"x"+cart.cartNum}}</view></view></view></view></block></view><view class="totalPrice data-v-0af6720d">{{'共'+(order.$orig.cartInfo.length||0)+'件商品,总金额'}}<text class="money font-color-red data-v-0af6720d">{{"¥"+order.$orig.payPrice}}</text></view><view class="bottom acea-row row-right row-middle data-v-0af6720d"><block wx:if="{{order.$orig._status._type==0}}"><view data-event-opts="{{[['tap',[['cancelOrder',['$0'],[[['orderList','',orderListIndex]]]]]]]}}" class="bnt cancelBnt data-v-0af6720d" bindtap="__e">取消订单</view><view data-event-opts="{{[['tap',[['goOrderDetails',['$0'],[[['orderList','',orderListIndex]]]]]]]}}" class="bnt bg-color-red data-v-0af6720d" 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 data-v-0af6720d" bindtap="__e">查看详情</view></block><block wx:if="{{order.$orig._status._type==2}}"><view data-event-opts="{{[['tap',[['e4',['$event']]]]]}}" class="bnt default data-v-0af6720d" bindtap="__e">查看物流</view><view data-event-opts="{{[['tap',[['takeOrder',['$0'],[[['orderList','',orderListIndex]]]]]]]}}" class="bnt bg-color-red data-v-0af6720d" 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 data-v-0af6720d" 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 data-v-0af6720d" bindtap="__e">查看订单</view></block></view></view></block></view><block wx:if="{{orderList.length===0&&page>1}}"><view class="noCart data-v-0af6720d"><view class="pictrue data-v-0af6720d"><image src="{{$VUE_APP_RESOURCES_URL+'/images/noOrder.png'}}" class="data-v-0af6720d"></image></view></view></block><loading vue-id="2" loaded="{{loaded}}" loading="{{loading}}" class="data-v-0af6720d" bind:__l="__l"></loading><payment vue-id="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-0af6720d" bind:__l="__l"></payment></view> |