纸通宝小程序
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.
 

42 lines
2.2 KiB

<view class="bg-white" style="height:90rpx;border-bottom:2rpx solid #f3f3f3" wx:if="{{firstShow}}">
<wux-tabi tab-data="{{tabList}}" tab-index="{{tabIndex}}" line-height="{{3}}" disable="{{requesting}}" scroll="{{false}}" bind:change="onTabChange"></wux-tabi>
</view>
<scroll-view scroll-y style="height: {{ height - 90 }}rpx;" bind:scrolltolower="fetchList">
<view class="bg-white" style="height:100rpx;border-bottom:2rpx solid #f3f3f3;padding: 6rpx 0rpx;">
<wux-tabi tab-data="{{proviceList}}" tab-index="{{pIndex}}" line-type="{{1}}" disable="{{requesting}}" scroll="{{true}}" bind:change="onProviceChange"/>
</view>
<wux-skeleton active wx:if="{{loading}}">
<view class="flex item-content" style="height:{{height - 190}}rpx">
<wux-skeleton-paragraph rounded rows="8" wux-class="case3-class" />
</view>
</wux-skeleton>
<view class="bg-white list-empty" style="height:{{height - 190}}rpx" bindtap="onRefreshList" wx:elif="{{!orderList.length && !loading}}">
<image class="img-empty" src="/assets/image/list_empty.png"></image>
<view class="text-empty">暂无数据,点击重新加载</view>
</view>
<view wx:else>
<view class="bg-white flex flex-center" style="height: 80rpx;padding: 0rpx 32rpx;">
<view style="width: 25%;">纸厂名称</view>
<view style="width: 35%;">涨跌幅</view>
<view style="width: 20%;">车辆排队</view>
<view style="width: 16%;">起扣点</view>
<view style="min-width: 48rpx;height: 24rpx;"><text></text></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 class="bg-white" style="padding: 0rpx 32rpx" wx:if="{{pageIndex != 0 || index != 0 }}">
<wux-divider show-text="{{ false }}"></wux-divider>
</view>
<moment-item item="{{item}}" bind:vip="needVip"></moment-item>
</view>
</view>
<view wx:if="{{form.pageNum > 1}}" style="padding:20rpx">
<wux-divider>
<view class="loadmore">
<text class="icon--refresher" wx:if="{{!finished}}"></text>
<text class="text-sm" style="margin-left:8rpx">{{finished?'到底啦~':'加载中...'}}</text>
</view>
</wux-divider>
</view>
</view>
</scroll-view>