list.wxml 3.7 KB

1
  1. <view class="list"><van-tabs vue-id="2e637200-1" sticky="{{true}}" animated="{{true}}" active="{{active}}" data-event-opts="{{[['^change',[['onChange']]]]}}" data-com-type="wx" bind:change="__e" bind:__l="__l" vue-slots="{{['default']}}"><van-tab vue-id="{{('2e637200-2')+','+('2e637200-1')}}" title="待付款" data-com-type="wx" bind:__l="__l" vue-slots="{{['default']}}"><block wx:for="{{orders.records}}" wx:for-item="order" wx:for-index="index" wx:key="*this"><view><block wx:for="{{order.orderItemDtos}}" wx:for-item="item" wx:for-index="index1" wx:key="index1"><view class="order-list"><van-card vue-id="{{('2e637200-3-'+index+'-'+index1)+','+('2e637200-2')}}" num="{{item.prodCount}}" price="{{item.price}}" desc="{{item.skuName}}" title="{{item.prodName}}" thumb="{{item.pic}}" data-com-type="wx" bind:__l="__l"></van-card></view></block><van-cell vue-id="{{('2e637200-4-'+index)+','+('2e637200-2')}}" center="{{true}}" title="订单号" value="{{order.orderNumber}}" label="{{'¥'+order.actualTotal}}" data-com-type="wx" bind:__l="__l"></van-cell></view></block></van-tab><van-tab vue-id="{{('2e637200-5')+','+('2e637200-1')}}" title="待发货" data-com-type="wx" bind:__l="__l" vue-slots="{{['default']}}"><block wx:for="{{orders.records}}" wx:for-item="order" wx:for-index="index" wx:key="*this"><view><block wx:for="{{order.orderItemDtos}}" wx:for-item="item" wx:for-index="index1" wx:key="index1"><view class="order-list"><van-card vue-id="{{('2e637200-6-'+index+'-'+index1)+','+('2e637200-5')}}" num="{{item.prodCount}}" price="{{item.price}}" desc="{{item.skuName}}" title="{{item.prodName}}" thumb="{{item.pic}}" data-com-type="wx" bind:__l="__l"></van-card></view></block><van-cell vue-id="{{('2e637200-7-'+index)+','+('2e637200-5')}}" center="{{true}}" title="订单号" value="{{order.orderNumber}}" label="{{'¥'+order.actualTotal}}" data-com-type="wx" bind:__l="__l"></van-cell></view></block></van-tab><van-tab vue-id="{{('2e637200-8')+','+('2e637200-1')}}" title="待收货" data-com-type="wx" bind:__l="__l" vue-slots="{{['default']}}"><block wx:for="{{orders.records}}" wx:for-item="order" wx:for-index="index" wx:key="*this"><view data-event-opts="{{[['tap',[['payNow',['$0'],[[['orders.records','',index]]]]]]]}}" bindtap="__e"><block wx:for="{{order.orderItemDtos}}" wx:for-item="item" wx:for-index="index1" wx:key="index1"><view class="order-list"><van-card vue-id="{{('2e637200-9-'+index+'-'+index1)+','+('2e637200-8')}}" num="{{item.prodCount}}" price="{{item.price}}" desc="{{item.skuName}}" title="{{item.prodName}}" thumb="{{item.pic}}" data-com-type="wx" bind:__l="__l"></van-card></view></block><van-cell vue-id="{{('2e637200-10-'+index)+','+('2e637200-8')}}" center="{{true}}" title="订单号" value="{{order.orderNumber}}" label="{{'¥'+order.actualTotal}}" data-com-type="wx" bind:__l="__l"></van-cell></view></block></van-tab><van-tab vue-id="{{('2e637200-11')+','+('2e637200-1')}}" title="待评价" data-com-type="wx" bind:__l="__l" vue-slots="{{['default']}}"><block wx:for="{{orders.records}}" wx:for-item="order" wx:for-index="index" wx:key="*this"><view><block wx:for="{{order.orderItemDtos}}" wx:for-item="item" wx:for-index="index1" wx:key="index1"><view class="order-list"><van-card vue-id="{{('2e637200-12-'+index+'-'+index1)+','+('2e637200-11')}}" num="{{item.prodCount}}" price="{{item.price}}" desc="{{item.skuName}}" title="{{item.prodName}}" thumb="{{item.pic}}" data-com-type="wx" bind:__l="__l"></van-card></view></block><van-cell vue-id="{{('2e637200-13-'+index)+','+('2e637200-11')}}" center="{{true}}" title="订单号" value="{{order.orderNumber}}" label="{{'¥'+order.actualTotal}}" data-com-type="wx" bind:__l="__l"></van-cell></view></block></van-tab></van-tabs></view>