Browse Source

no message

featrue/v4.5
xpz2018 4 years ago
parent
commit
1848eb023b
2 changed files with 7 additions and 4 deletions
  1. 10
      pages/moment/information/index.wxml
  2. 1
      pages/moment/moment-item/index.js

10
pages/moment/information/index.wxml

@ -8,11 +8,15 @@
</wux-skeleton> </wux-skeleton>
<!-- <refresh-view bind:refresh="onRefreshList" height="{{mHeight}}" triggered="{{requesting}}" bind:scrolltolower="fetchList"> --> <!-- <refresh-view bind:refresh="onRefreshList" height="{{mHeight}}" triggered="{{requesting}}" bind:scrolltolower="fetchList"> -->
<scroll-view scroll-y style="height: {{height - 90}}rpx;" bind:scrolltolower="fetchList"> <scroll-view scroll-y style="height: {{height - 90}}rpx;" bind:scrolltolower="fetchList">
<wux-skeleton active wx:if="{{!orderList.length}}">
<view class="flex item-content">
<wux-skeleton-paragraph rounded rows="16" wux-class="case3-class" />
<wux-skeleton active wx:if="{{loading}}">
<view class="flex item-content" style="height:{{height - 90}}rpx">
<wux-skeleton-paragraph rounded rows="12" wux-class="case3-class" />
</view> </view>
</wux-skeleton> </wux-skeleton>
<view class="bg-white list-empty" style="height:{{height - 90}}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:for-item="pageItem" wx:for-index="pageIndex" wx:for="{{orderList}}" wx:key="pageIndex"> <view wx:for-item="pageItem" wx:for-index="pageIndex" wx:for="{{orderList}}" wx:key="pageIndex">
<view wx:for="{{pageItem}}" wx:key="index"> <view wx:for="{{pageItem}}" wx:key="index">
<info-item item="{{item}}"></info-item> <info-item item="{{item}}"></info-item>

1
pages/moment/moment-item/index.js

@ -25,7 +25,6 @@ Component({
if(this.data.item.isCooperate === 1) { if(this.data.item.isCooperate === 1) {
if(!app.globalData.userInfo || !app.globalData.userInfo.isVIP){ if(!app.globalData.userInfo || !app.globalData.userInfo.isVIP){
event.emit('EventMessage', {what: 223, desc: 'Logout'}) event.emit('EventMessage', {what: 223, desc: 'Logout'})
return return
} }
} }

Loading…
Cancel
Save