纸通宝SAAS仓库
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.
 

28 lines
1.6 KiB

<!--pages/process/index.wxml-->
<wxs module="formate" src="../../formate.wxs"></wxs>
<refresh-view id="refresh" bind:refresh="onRefreshList" height="{{height}}" bind:loadmore="fetchPapersList">
<view class="list-empty" style="height:{{height}}rpx" wx:if="{{!orderList.length && loading}}">
<view style="margin-bottom:24px">
<van-loading type="spinner" size="32" />
</view>
<view class="text-empty">正在加载</view>
</view>
<view class="bg-white list-empty" style="height:{{height}}rpx;justify-content:flex-start" wx:elif="{{!orderList.length}}">
<image style="height: 294rpx;width: 378rpx;margin-top:160rpx" src="/assets/image/icon-none.png"></image>
<text class="text-bold text-black" style="font-size: 48rpx;margin-top:64rpx">暂无关注</text>
<text class="text-sg" style="margin-top:24rpx">可前往纸厂列表添加关注</text>
<van-button type="info" custom-style="width:360rpx;height:80rpx;border-radius:10rpx;margin-top:36rpx" bind:click="attention">添加关注</van-button>
</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:16rpx" wx:if="{{pageIndex != 0 || index != 0 }}"></view>
<agent-item item="{{item}}"></agent-item>
</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>