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
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>
|
|
<view class="bg-white" style="height:100rpx;border-bottom:2rpx solid #f3f3f3;padding: 6rpx 0rpx;" wx:if="{{firstShow}}">
|
|
<wux-tabi tab-data="{{proviceList}}" tab-index="{{pIndex}}" line-type="{{1}}" disable="{{requesting}}" scroll="{{true}}" bind:change="onProviceChange"></wux-tabi>
|
|
</view>
|
|
|
|
<scroll-view scroll-y style="height: {{ height - 190 }}rpx;" bind:scrolltolower="fetchList">
|
|
<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: 20%;">纸厂名称</view>
|
|
<view style="width: 36%;text-align: center;">涨跌幅</view>
|
|
<view style="flex: 1;text-align: center;">车辆排队</view>
|
|
<view style="flex: 1;text-align: center">起扣点</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}}"></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>
|