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.
40 lines
1.8 KiB
40 lines
1.8 KiB
<!--pages/process/order-list/index.wxml-->
|
|
<cu-custom bgColor="bg-white" isBack="{{true}}">
|
|
<view slot="content">定价列表</view>
|
|
</cu-custom>
|
|
|
|
<refresh-view bind:refresh="onRefreshList" height="{{height}}" triggered="{{requesting}}" scrollTop="{{top}}" bind:scrolltolower="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>
|
|
<van-index-bar index-list="{{null}}" wx:else>
|
|
<view wx:for="{{6}}" wx:key="index">
|
|
<van-index-anchor index="01月13日" />
|
|
<van-cell wx:for="{{4}}" wx:key="index">
|
|
<view slot="title" class="flex flex-justify">
|
|
<view>
|
|
<view class="text-sg text-black">客户名称:刘财顺</view>
|
|
<view class="text-sm text-gray">毛重:2000.00KG</view>
|
|
</view>
|
|
<view class="flex flex-center">
|
|
<van-button plain type="default" custom-style="height:64rpx;width:132rpx" bind:click="cancelOrder">取消
|
|
</van-button>
|
|
<van-button plain type="info" custom-style="margin-left:24rpx;height:64rpx;width:132rpx"
|
|
bind:click="priceOrder">定价</van-button>
|
|
</view>
|
|
</view>
|
|
</van-cell>
|
|
</view>
|
|
</van-index-bar>
|
|
<!--加载更多的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>
|
|
|
|
<van-dialog id="van-dialog" />
|