|
|
@ -18,7 +18,6 @@ Component({ |
|
|
* 页面的初始数据 |
|
|
* 页面的初始数据 |
|
|
*/ |
|
|
*/ |
|
|
data: { |
|
|
data: { |
|
|
kg: app.globalData.kg, |
|
|
|
|
|
mHeight: app.globalData.fragmentHeight - 90, |
|
|
mHeight: app.globalData.fragmentHeight - 90, |
|
|
loading: true, |
|
|
loading: true, |
|
|
requesting: false, |
|
|
requesting: false, |
|
|
@ -60,7 +59,7 @@ Component({ |
|
|
this.setData({ hasActivity: result.data }) |
|
|
this.setData({ hasActivity: result.data }) |
|
|
}) |
|
|
}) |
|
|
} |
|
|
} |
|
|
this.setData({mHeight: app.globalData.safeFragmentHeight - 190, kg: app.globalData.kg }) |
|
|
|
|
|
|
|
|
this.setData({mHeight: app.globalData.safeFragmentHeight - 190 }) |
|
|
this.fetchPapersList() |
|
|
this.fetchPapersList() |
|
|
} |
|
|
} |
|
|
this.data.firstShow = true |
|
|
this.data.firstShow = true |
|
|
@ -73,8 +72,6 @@ Component({ |
|
|
if (message.what == 10 && app.globalData.isVIP == 1) { |
|
|
if (message.what == 10 && app.globalData.isVIP == 1) { |
|
|
// this.setData({ token: app.globalData.token })
|
|
|
// this.setData({ token: app.globalData.token })
|
|
|
// this.onRefreshList()
|
|
|
// this.onRefreshList()
|
|
|
} else if(message.what == 1001){ |
|
|
|
|
|
this.setData({ kg: app.globalData.kg }) |
|
|
|
|
|
} else if(message.what == 888){ |
|
|
} else if(message.what == 888){ |
|
|
this.setData({ orderList: [], tabIndex: this.data.tabIndex, ['form.pageNum']: 1, loading: true, finished: false }) |
|
|
this.setData({ orderList: [], tabIndex: this.data.tabIndex, ['form.pageNum']: 1, loading: true, finished: false }) |
|
|
this.fetchPapersList() |
|
|
this.fetchPapersList() |
|
|
|