Browse Source

no message

feature/v1.1
xpz2018 5 years ago
parent
commit
8dbe6a7e1a
2 changed files with 3 additions and 3 deletions
  1. 4
      pages/process/order-list/index.js
  2. 2
      pages/process/order-list/index.wxml

4
pages/process/order-list/index.js

@ -8,7 +8,7 @@ const app = getApp()
Page({
// * 页面的初始数据
data: {
height: app.globalData.fragmentHeight,
height: app.globalData.fragmentHeight - 90,
tabIndex: 0,
tabList: [
{id: 0, name: '全部', badge: 0, status: '' },
@ -51,7 +51,7 @@ Page({
}
}
event.on('OrderMessage', this, this.onEvent)
this.setData({ height: app.globalData.fragmentHeight, title: this.data.title })
this.setData({ height: app.globalData.fragmentHeight - 90, title: this.data.title })
this.fetchOrderList()
},
onEvent: function(message){

2
pages/process/order-list/index.wxml

@ -9,7 +9,7 @@
</van-tabs>
</view>
<refresh-view bind:refresh="onRefreshList" height="{{height - 90}}" triggered="{{requesting}}" scrollTop="{{top}}" bind:scrolltolower="fetchOrderList">
<refresh-view bind:refresh="onRefreshList" height="{{height}}" triggered="{{requesting}}" scrollTop="{{top}}" bind:scrolltolower="fetchOrderList">
<view class="list-empty" style="height:{{height}}rpx" wx:if="{{!orderList.length}}">
<view style="margin-bottom:24px" wx:if="{{loading}}">
<van-loading type="spinner" size="32" />

Loading…
Cancel
Save