list.wxml 5.2 KB

1
  1. <view><van-tabs vue-id="2e637200-1" active="{{active}}" sticky="{{true}}" animated="{{true}}" 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="{{order.records}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view><block wx:for="{{item.orderItemDtos}}" wx:for-item="item1" wx:for-index="index1" wx:key="index1"><view><van-card vue-id="{{('2e637200-3-'+index+'-'+index1)+','+('2e637200-2')}}" num="{{item1.prodCount}}" price="{{item1.price}}" desc="{{item1.skuName}}" title="{{item1.prodName}}" thumb="{{item1.pic}}" data-com-type="wx" bind:__l="__l" vue-slots="{{['footer']}}"><view slot="footer"><van-button vue-id="{{('2e637200-4-'+index+'-'+index1)+','+('2e637200-3-'+index+'-'+index1)}}" size="mini" type="danger" data-event-opts="{{[['^click',[['goPay',['$0'],[[['order.records','',index]]]]]]]}}" data-com-type="wx" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">去付款</van-button></view></van-card><van-cell vue-id="{{('2e637200-5-'+index+'-'+index1)+','+('2e637200-2')}}" border="{{false}}" title="总价" value="{{item.actualTotal}}" data-com-type="wx" bind:__l="__l"></van-cell><van-cell vue-id="{{('2e637200-6-'+index+'-'+index1)+','+('2e637200-2')}}" border="{{false}}" title="单号" value="{{item.orderNumber}}" data-com-type="wx" bind:__l="__l"></van-cell></view></block></view></block><block wx:if="{{order.records.length==0}}"><van-empty vue-id="{{('2e637200-7')+','+('2e637200-2')}}" description="当前内容为空" data-com-type="wx" bind:__l="__l"></van-empty></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="{{order.records}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view><block wx:for="{{item.orderItemDtos}}" wx:for-item="item1" wx:for-index="index1" wx:key="index1"><view><van-card vue-id="{{('2e637200-9-'+index+'-'+index1)+','+('2e637200-8')}}" num="{{item1.prodCount}}" price="{{item1.price}}" desc="{{item1.skuName}}" title="{{item1.prodName}}" thumb="{{item1.pic}}" data-com-type="wx" bind:__l="__l"></van-card><van-cell vue-id="{{('2e637200-10-'+index+'-'+index1)+','+('2e637200-8')}}" border="{{false}}" title="总价" value="{{item.actualTotal}}" data-com-type="wx" bind:__l="__l"></van-cell><van-cell vue-id="{{('2e637200-11-'+index+'-'+index1)+','+('2e637200-8')}}" border="{{false}}" title="单号" value="{{item.orderNumber}}" data-com-type="wx" bind:__l="__l"></van-cell></view></block></view></block><block wx:if="{{order.records.length==0}}"><van-empty vue-id="{{('2e637200-12')+','+('2e637200-8')}}" description="当前内容为空" data-com-type="wx" bind:__l="__l"></van-empty></block></van-tab><van-tab vue-id="{{('2e637200-13')+','+('2e637200-1')}}" title="待收货" data-com-type="wx" bind:__l="__l" vue-slots="{{['default']}}"><block wx:for="{{order.records}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view><block wx:for="{{item.orderItemDtos}}" wx:for-item="item1" wx:for-index="index1" wx:key="index1"><view><van-card vue-id="{{('2e637200-14-'+index+'-'+index1)+','+('2e637200-13')}}" num="{{item1.prodCount}}" price="{{item1.price}}" desc="{{item1.skuName}}" title="{{item1.prodName}}" thumb="{{item1.pic}}" data-com-type="wx" bind:__l="__l"></van-card><van-cell vue-id="{{('2e637200-15-'+index+'-'+index1)+','+('2e637200-13')}}" border="{{false}}" title="总价" value="{{item.actualTotal}}" data-com-type="wx" bind:__l="__l"></van-cell><van-cell vue-id="{{('2e637200-16-'+index+'-'+index1)+','+('2e637200-13')}}" border="{{false}}" title="单号" value="{{item.orderNumber}}" data-com-type="wx" bind:__l="__l"></van-cell></view></block></view></block><block wx:if="{{order.records.length==0}}"><van-empty vue-id="{{('2e637200-17')+','+('2e637200-13')}}" description="当前内容为空" data-com-type="wx" bind:__l="__l"></van-empty></block></van-tab><van-tab vue-id="{{('2e637200-18')+','+('2e637200-1')}}" title="待评价" data-com-type="wx" bind:__l="__l" vue-slots="{{['default']}}"><block wx:for="{{order.records}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view><block wx:for="{{item.orderItemDtos}}" wx:for-item="item1" wx:for-index="index1" wx:key="index1"><view><van-card vue-id="{{('2e637200-19-'+index+'-'+index1)+','+('2e637200-18')}}" num="{{item1.prodCount}}" price="{{item1.price}}" desc="{{item1.skuName}}" title="{{item1.prodName}}" thumb="{{item1.pic}}" data-com-type="wx" bind:__l="__l"></van-card><van-cell vue-id="{{('2e637200-20-'+index+'-'+index1)+','+('2e637200-18')}}" border="{{false}}" title="总价" value="{{item.actualTotal}}" data-com-type="wx" bind:__l="__l"></van-cell><van-cell vue-id="{{('2e637200-21-'+index+'-'+index1)+','+('2e637200-18')}}" border="{{false}}" title="单号" value="{{item.orderNumber}}" data-com-type="wx" bind:__l="__l"></van-cell></view></block></view></block><block wx:if="{{order.records.length==0}}"><van-empty vue-id="{{('2e637200-22')+','+('2e637200-18')}}" description="当前内容为空" data-com-type="wx" bind:__l="__l"></van-empty></block></van-tab></van-tabs></view>