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

<view data-ref="container" class="my-order data-v-a71ec916 vue-ref"><view class="nav acea-row row-around data-v-a71ec916"><view data-event-opts="{{[['tap',[['changeType',[0]]]]]}}" class="{{['item data-v-a71ec916',(type===0)?'on':'']}}" bindtap="__e"><view class="data-v-a71ec916">待付款</view></view><view data-event-opts="{{[['tap',[['changeType',[1]]]]]}}" class="{{['item data-v-a71ec916',(type===1)?'on':'']}}" bindtap="__e"><view class="data-v-a71ec916">待发货</view></view><view data-event-opts="{{[['tap',[['changeType',[2]]]]]}}" class="{{['item data-v-a71ec916',(type===2)?'on':'']}}" bindtap="__e"><view class="data-v-a71ec916">待收货</view></view><view data-event-opts="{{[['tap',[['changeType',[3]]]]]}}" class="{{['item data-v-a71ec916',(type===3)?'on':'']}}" bindtap="__e"><view class="data-v-a71ec916">待评价</view></view><view data-event-opts="{{[['tap',[['changeType',[4]]]]]}}" class="{{['item data-v-a71ec916',(type===4)?'on':'']}}" bindtap="__e"><view class="data-v-a71ec916">已完成</view></view></view><view class="list data-v-a71ec916"><block wx:for="{{$root.l0}}" wx:for-item="order" wx:for-index="orderListIndex" wx:key="orderListIndex"><view class="item data-v-a71ec916"><view class="title acea-row row-between-wrapper data-v-a71ec916"><view class="acea-row row-middle data-v-a71ec916">{{'订单号 '+orderList[0].orderId+''}}</view><view class="state data-v-a71ec916">{{order.m0}}</view></view><view data-event-opts="{{[['tap',[['goOrderDetails',['$0'],[[['orderList','',orderListIndex]]]]]]]}}" bindtap="__e" class="data-v-a71ec916"><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-a71ec916"><view class="pictrue data-v-a71ec916"><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-a71ec916"></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-a71ec916"></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-a71ec916"></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-a71ec916"></image></block></block></block></block></view><view class="text acea-row row-between data-v-a71ec916"><view class="name data-v-a71ec916"><view class="line1 data-v-a71ec916">{{cart.productInfo.storeName}}</view><view class="money acea-row row-column data-v-a71ec916"><view class="cart-num data-v-a71ec916">{{"数量x"+cart.cartNum}}</view><block wx:if="{{order.$orig.payType!='integral'}}"><view class="money-txt data-v-a71ec916">{{'¥'+(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-a71ec916">{{''+order.$orig.payIntegral+'积分'}}</view></block></view></view></view></view></block></view><view class="totalPrice data-v-a71ec916">{{'共'+(order.$orig.cartInfo.length||0)+'件商品,总金额'}}<block wx:if="{{order.$orig.payType!='integral'}}"><text class="money data-v-a71ec916">{{"¥"+order.$orig.payPrice}}</text></block><block wx:if="{{order.$orig.payType=='integral'}}"><text class="money data-v-a71ec916">{{order.$orig.payIntegral+"积分"}}</text></block></view><view class="bottom acea-row row-right row-middle data-v-a71ec916"><block wx:if="{{order.$orig._status._type==0}}"><view data-event-opts="{{[['tap',[['cancelOrder',['$0'],[[['orderList','',orderListIndex]]]]]]]}}" class="bnt cancelBnt data-v-a71ec916" bindtap="__e">取消订单</view><view data-event-opts="{{[['tap',[['goOrderDetails',['$0'],[[['orderList','',orderListIndex]]]]]]]}}" class="bnt bg-color-red data-v-a71ec916" 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-a71ec916" bindtap="__e">查看详情</view></block><block wx:if="{{order.$orig._status._type==2}}"><view data-event-opts="{{[['tap',[['goLogistics',['$0'],[[['orderList','',orderListIndex]]]]]]]}}" class="bnt default data-v-a71ec916" bindtap="__e">查看物流</view><view data-event-opts="{{[['tap',[['takeOrder',['$0'],[[['orderList','',orderListIndex]]]]]]]}}" class="bnt bg-color-red data-v-a71ec916" 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-a71ec916" 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-a71ec916" bindtap="__e">查看订单</view></block></view></view></block></view><block wx:if="{{orderList.length===0&&page>1}}"><view class="noCart data-v-a71ec916"><view class="pictrue data-v-a71ec916"><image src="https://download.cyjyyjy.com/no-order2.png" class="data-v-a71ec916"></image></view></view></block><loading vue-id="3bd0fceb-1" loaded="{{loaded}}" loading="{{loading}}" class="data-v-a71ec916" bind:__l="__l"></loading><payment vue-id="3bd0fceb-2" 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-a71ec916" bind:__l="__l"></payment></view>