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.
54 lines
2.7 KiB
54 lines
2.7 KiB
<!--pages/main/index.wxml-->
|
|
<!-- <scroll-view scroll-y style="height: {{height}}rpx;" lower-threshold="200" bindscrolltolower="fetchMomentList"> -->
|
|
<refresh-view bind:refresh="onRefreshList" height="{{height}}" triggered="{{requesting}}" scrollTop="{{top}}" bind:scrolltolower="fetchMomentList">
|
|
<!----------------------------------------------------帖子列表---------------------------------------------------------------->
|
|
<view class="bg-white list-empty" style="height: {{height}}rpx;" wx:if="{{!vip}}">
|
|
<!-- <image class="img-empty" src="/assets/image/list_empty.png"></image> -->
|
|
<view class="flex" style="margin-bottom:48rpx">
|
|
<text class="cuIcon-info text-blue" style="font-size:42rpx;"></text>
|
|
<view style="width:540rpx;margin-left: 12rpx">
|
|
<view class="text-bold" style="font-size:32rpx;margin-bottom: 12rpx">需要开通会员才能查看纸厂扣点信息</view>
|
|
<text class="text-gray">限时优惠开通会员,获取更多货源、尊享会员权益,买卖更赚钱</text>
|
|
</view>
|
|
</view>
|
|
<wux-button type="positive" size="join" bind:click="toVip">立即开通</wux-button>
|
|
</view>
|
|
<view wx:else>
|
|
<wux-skeleton active wx:if="{{!momentList.length}}">
|
|
<view class="cu-card dynamic no-card" wx:for="{{4}}" wx:key="index">
|
|
<view class="cu-item shadow" style="padding-left:30rpx">
|
|
<view class="cu-list menu-avatar">
|
|
<view class="cu-item" style="justify-content: flex-start;">
|
|
<wux-skeleton-avatar shape="circle" size="large" />
|
|
<view class="content flex-sub">
|
|
<wux-skeleton-paragraph rounded rows="1" wux-class="case2-class" />
|
|
<view class="bg-white" style="height:8rpx"></view>
|
|
<wux-skeleton-paragraph rounded rows="1" wux-class="case-class" />
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<wux-skeleton-paragraph rounded rows="3" wux-class="case3-class" />
|
|
</view>
|
|
</view>
|
|
</wux-skeleton>
|
|
<view wx:else>
|
|
<view wx:for-item="pageItem" wx:for-index="pageIndex" wx:for="{{momentList}}" wx:key="pageIndex">
|
|
<view wx:for="{{pageItem}}" wx:key="index" class="cu-card dynamic no-card">
|
|
<!-- <wux-divider show-text="{{ false }}" wx:if="{{pageIndex != 0 || index != 0 }}"></wux-divider> -->
|
|
<view style="height:16rpx" wx:if="{{pageIndex != 0 || index != 0 }}"></view>
|
|
<article-item item="{{item}}"></article-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>
|
|
</view>
|
|
</refresh-view>
|
|
<!-- </scroll-view> -->
|