|
|
|
@ -21,7 +21,6 @@ Page({ |
|
|
|
recordInfo: null, |
|
|
|
frist: true |
|
|
|
}, |
|
|
|
|
|
|
|
/** |
|
|
|
* 生命周期函数--监听页面加载 |
|
|
|
*/ |
|
|
|
@ -33,14 +32,12 @@ Page({ |
|
|
|
} |
|
|
|
event.on('EventMessage', this, this.onEvent) |
|
|
|
}, |
|
|
|
|
|
|
|
// 事件处理
|
|
|
|
onEvent: function (message) { |
|
|
|
if (message.what == 112 && this.data.biddingInfo && this.data.biddingInfo.id) { |
|
|
|
this.fetchInfo(this.data.biddingInfo.id) |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
fetchInfo: function(id){ |
|
|
|
if (this.data.type == 1) { |
|
|
|
wx.showLoading({ title: '加载中', mask: true }) |
|
|
|
@ -76,7 +73,6 @@ Page({ |
|
|
|
this.fetchBiddingInfo(result.data.biddingActivity.id) |
|
|
|
wx.hideLoading() |
|
|
|
}).catch(err => { |
|
|
|
//异常回调
|
|
|
|
wx.hideLoading() |
|
|
|
}) |
|
|
|
} |
|
|
|
|