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.
34 lines
1.8 KiB
34 lines
1.8 KiB
<!--pages/process/index.wxml-->
|
|
<wxs module="formate" src="../../formate.wxs"></wxs>
|
|
|
|
<van-tabs sticky active="{{tabIndex}}" color="#008AFF" bind:change="onTabChange" line-height="2px" swipe-threshold="5">
|
|
<van-tab wx:for="{{tabList}}" wx:key="index" title="{{item}}" disabled="{{requesting}}" title-style="color:{{tabIndex==index?'#008AFF':'#333333'}}"></van-tab>
|
|
</van-tabs>
|
|
|
|
<refresh-view id="refresh" bind:refresh="onRefreshList" height="{{height}}" bind:loadmore="fetchPapersList">
|
|
<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:if="{{hasActivity && !loading && orderList.length}}" bindtap="toAbility">
|
|
<van-image use-loading-slot width="750rpx" height="160rpx" src="https://img.imgdb.cn/item/603f4f7e360785be54c19c1d.png">
|
|
<view class="image-load" slot="loading">
|
|
<van-loading type="spinner" size="32" />
|
|
</view>
|
|
</van-image>
|
|
</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>
|