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