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.
41 lines
2.3 KiB
41 lines
2.3 KiB
<!--pages/process/order-list/index.wxml-->
|
|
<cu-custom bgColor="bg-white" isBack="{{true}}">
|
|
<view slot="content">选择代卖单</view>
|
|
</cu-custom>
|
|
|
|
<refresh-view id="refresh" bind:refresh="onRefreshList" height="{{height}}" bind:loadmore="fetchOrderList">
|
|
<view class="list-empty" style="height:{{height}}rpx" wx:if="{{!orderList.length}}">
|
|
<view style="margin-bottom:24px" wx:if="{{loading}}">
|
|
<van-loading type="spinner" size="32" />
|
|
</view>
|
|
<image class="img-empty" src="/assets/image/list_empty.png" wx:else></image>
|
|
<view class="text-empty">{{loading? '正在加载' : '暂无数据'}}</view>
|
|
</view>
|
|
<view wx:for-item="pageItem" wx:for-index="pageIndex" wx:for="{{orderList}}" wx:key="pageIndex">
|
|
<view wx:for="{{pageItem}}" wx:key="index">
|
|
<view style="height:20rpx" wx:if="{{pageIndex != 0 || index != 0 }}"></view>
|
|
<view class="bg-white flex" style="border-bottom:2rpx solid #f3f3f3;padding: 20rpx 32rpx">
|
|
<van-image use-loading-slot width="72rpx" height="72rpx" round lazy-load src="{{ item.logoImg || '/assets/image/icon_logo.png' }}">
|
|
<image class="image-load" slot="loading" src="/assets/image/icon_logo.png"></image>
|
|
</van-image>
|
|
<view style="margin-left:16rpx">
|
|
<view class="text-sg text-black">{{item.paperMillName}}</view>
|
|
<view class="text-sm text-gray">下单时间:{{item.createTime}}</view>
|
|
</view>
|
|
</view>
|
|
<van-cell clickable center is-link center wx:for-item="orderItem" wx:for-index="oindex" wx:for="{{item.orderItems}}" wx:key="oindex">
|
|
<view slot="title" class="flex {{ itemId != orderItem.id || 'text-blue'}}" data-page="{{pageIndex}}" data-index="{{index}}" data-oindex="{{oindex}}" bindtap="lookItem">
|
|
<text class="text-sg text-bold">车牌号码:{{orderItem.plateNumber}}</text>
|
|
<text class="text-sg text-bold" style="margin-left: 32rpx">「{{orderItem.paperCategoryName}}」</text>
|
|
</view>
|
|
</van-cell>
|
|
</view>
|
|
</view>
|
|
<!--加载更多的UI-->
|
|
<van-divider content-position="center" wx:if="{{ form.pageNum > 1}}" custom-style="padding:0rpx 120rpx">
|
|
<van-loading type="spinner" size="16" wx:if="{{!finished}}" />
|
|
<text class="text-sm" style="margin-left:8rpx">{{finished?'到底啦~':'加载中...'}}</text>
|
|
</van-divider>
|
|
</refresh-view>
|
|
|
|
<notification id="qn-notification" />
|