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.
31 lines
1.3 KiB
31 lines
1.3 KiB
<!--pages/message/index.wxml-->
|
|
<scroll-view scroll-y style="height: {{height}}rpx;" bind:scrolltolower="fetchList">
|
|
<wux-skeleton active wx:if="{{loading}}">
|
|
<view class="flex item-content">
|
|
<wux-skeleton-paragraph rounded rows="12" wux-class="case3-class" />
|
|
</view>
|
|
</wux-skeleton>
|
|
<view class="bg-white list-empty" style="height:{{height}}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 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>
|
|
<!--加载更多的UI-->
|
|
<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>
|