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