luban-mall/unpackage/dist/dev/mp-weixin/pagesA/order/order.wxml

1 line
2.6 KiB
Plaintext

<view class="data-v-0d5a9fc9"><status-nav vue-id="c40c4b46-1" ifReturn="{{true}}" navBarTitle="订单管理" marginBottom="{{0}}" class="data-v-0d5a9fc9" bind:__l="__l"></status-nav><view class="order-nav flex data-v-0d5a9fc9" style="{{'top:'+(newTop+'px')+';'}}"><block wx:for="{{orderNav}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['changeNav',[index,'$0'],[[['orderNav','',index,'tag']]]]]]]}}" class="{{['item','data-v-0d5a9fc9',activeIndex==index?'cur':'']}}" bindtap="__e">{{item.title}}</view></block></view><view class="order-list data-v-0d5a9fc9"><block wx:for="{{orderList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block wx:if="{{isLoading}}"><view data-event-opts="{{[['tap',[['toDetail',['$0'],[[['orderList','',index,'id']]]]]]]}}" class="order-item data-v-0d5a9fc9" catchtap="__e"><view class="order-code flex data-v-0d5a9fc9"><text class="data-v-0d5a9fc9">{{"订单号:"+item.coding}}</text><text class="status data-v-0d5a9fc9">{{item.status_text}}</text></view><view class="item-bg data-v-0d5a9fc9"><block wx:for="{{item.skus}}" wx:for-item="item1" wx:for-index="index1" wx:key="index1"><view class="item flex data-v-0d5a9fc9"><view class="img data-v-0d5a9fc9"><image src="{{item1.spu_cover}}" mode="widthFix" class="data-v-0d5a9fc9"></image></view><view class="txt data-v-0d5a9fc9"><view class="title data-v-0d5a9fc9">{{item1.spu_name}}</view><view class="specs clips2 data-v-0d5a9fc9">{{"规格:"+item1.custom_title}}</view><view class="price flex data-v-0d5a9fc9"><text class="data-v-0d5a9fc9">{{"¥"+item1.price}}</text><view class="data-v-0d5a9fc9"><text class="data-v-0d5a9fc9">x</text>{{item1.num}}</view></view></view></view></block></view><view class="total-price flex data-v-0d5a9fc9"><text class="data-v-0d5a9fc9">{{"合计:¥"+item.original_price}}</text><block wx:if="{{item.status=='ordered'}}"><view data-event-opts="{{[['tap',[['cancleEv',['$0'],[[['orderList','',index,'coding']]]]]]]}}" class="btn data-v-0d5a9fc9" catchtap="__e">取消订单</view></block><block wx:if="{{item.status=='completed'||item.status=='closed'}}"><view data-event-opts="{{[['tap',[['buyAgain',[index]]]]]}}" class="btn cur data-v-0d5a9fc9" catchtap="__e">再次购买</view></block></view></view></block></block></view><block wx:if="{{total!==0&&totalAll==total}}"><view class="more-txt data-v-0d5a9fc9" style="padding-bottom:40rpx;">—— 到底啦 ——</view></block><block wx:if="{{total==0&&totalAll==total}}"><nothing-page vue-id="c40c4b46-2" content="还没有相关订单哟(*^▽^*)" class="data-v-0d5a9fc9" bind:__l="__l"></nothing-page></block></view>