1 line
2.6 KiB
Plaintext
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"><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="{{$root.l1}}" wx:for-item="item" wx:for-index="index" wx:key="index"><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.$orig.coding}}</text><text class="status data-v-0d5a9fc9">{{item.$orig.status_text}}</text></view><view class="item-bg data-v-0d5a9fc9"><block wx:for="{{item.l0}}" 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.$orig.spu_cover}}" mode="widthFix" class="data-v-0d5a9fc9"></image></view><view class="txt data-v-0d5a9fc9"><view class="title data-v-0d5a9fc9">{{item1.$orig.spu_name}}</view><view class="specs clips2 data-v-0d5a9fc9">{{"规格:"+item1.$orig.custom_title}}</view><view class="price flex data-v-0d5a9fc9"><text class="data-v-0d5a9fc9">{{"¥"+item1.g0}}</text><view class="data-v-0d5a9fc9"><text class="data-v-0d5a9fc9">x</text>{{item1.$orig.num}}</view></view></view></view></block></view><view class="total-price flex data-v-0d5a9fc9"><text class="data-v-0d5a9fc9">{{"合计:¥"+item.g1}}</text><block wx:if="{{item.$orig.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.$orig.status=='completed'||item.$orig.status=='closed'}}"><view data-event-opts="{{[['tap',[['buyAgain',[index]]]]]}}" class="btn cur data-v-0d5a9fc9" catchtap="__e">再次购买</view></block></view></view></block></view><block wx:if="{{totalAll==total}}"><view class="data-v-0d5a9fc9"><pitera vue-id="c40c4b46-2" textStr="—— 到底啦 ——" class="data-v-0d5a9fc9" bind:__l="__l"></pitera></view></block><block wx:if="{{!ifLoading&&!orderList.length}}"><nothing-page vue-id="c40c4b46-3" content="还没有相关订单哟(*^▽^*)" class="data-v-0d5a9fc9" bind:__l="__l"></nothing-page></block></view> |