Browse Source

no message

featrue/v4.5
xpz2018 4 years ago
parent
commit
2d2fdd5408
3 changed files with 4 additions and 7 deletions
  1. 2
      pages/mall/fragment/index.wxml
  2. 5
      pages/moment/fragment/index.js
  3. 4
      pages/moment/information/index.wxml

2
pages/mall/fragment/index.wxml

@ -97,7 +97,7 @@
<wux-button id="moment" outline type="stable" size="small" bind:click="gridTap">查看更多行情</wux-button>
</view>
</view>
<view class="bg-white list-empty" style="height: 480rpx;margin-bottom: 24rpx;border-radius: 0rpx 0rpx 24rpx 24rpx" wx:else>
<view class="bg-white list-empty" style="height: 480rpx;margin-bottom: 48rpx;border-radius: 0rpx 0rpx 24rpx 24rpx" wx:else>
<image class="img-empty" src="/assets/image/list_empty.png"></image>
<view class="text-empty">暂无数据</view>
</view>

5
pages/moment/fragment/index.js

@ -38,6 +38,9 @@ Component({
methods: {
onRestart: function () {
if(!this.data.firstShow){
setTimeout(() => {
this.setData({ tabIndex: 0, tabList: [ '推荐', '关注', '全部' , '资讯'] })
}, 100)
params.date = util.formatDate(new Date(), 'Y-M-D')
}
this.data.firstShow = true
@ -98,12 +101,10 @@ Component({
this.setData({noticeList: this.data.noticeList})
}
}).catch(err => {
console.log(err)
this.data.loopRequesting = false
})
},
handResult: function(record){
console.log(record)
// if(record.latestQuoteTime.indexOf(params.data) < 0){
// return
// }

4
pages/moment/information/index.wxml

@ -1,6 +1,5 @@
<!--pages/message/index.wxml-->
<scroll-view scroll-y style="height: {{height}}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" />
@ -8,9 +7,6 @@
</wux-skeleton>
<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>
<info-item item="{{item}}"></info-item>
</view>
</view>

Loading…
Cancel
Save