...
|
...
|
@@ -23,6 +23,12 @@ Page(Object.assign({ |
|
|
data: {
|
|
|
actId: 0,
|
|
|
userInfo: {}, // 用户信息
|
|
|
shareInfo: {
|
|
|
default_image: '',
|
|
|
product_name: '',
|
|
|
product_qrCode: '',
|
|
|
product_skn: ''
|
|
|
},
|
|
|
bgStyle: [ // 排队图片
|
|
|
'../../static/images/limit/queue_bg_1.png',
|
|
|
'../../static/images/limit/queue_bg_2.png',
|
...
|
...
|
@@ -75,7 +81,11 @@ Page(Object.assign({ |
|
|
actId: actId
|
|
|
});
|
|
|
this.getQueueList(actId);
|
|
|
this.setData({
|
|
|
shareInfo: Object.assign(this.data.shareInfo, options)
|
|
|
});
|
|
|
}
|
|
|
|
|
|
},
|
|
|
|
|
|
/**
|
...
|
...
|
@@ -88,7 +98,8 @@ Page(Object.assign({ |
|
|
/**
|
|
|
* 生命周期函数--监听页面显示
|
|
|
*/
|
|
|
onShow: function() {
|
|
|
onShow: function(options) {
|
|
|
console.log(options);
|
|
|
if (app.getUid()) {
|
|
|
this.setData({
|
|
|
hideInviteButton: 0
|
...
|
...
|
@@ -131,7 +142,7 @@ Page(Object.assign({ |
|
|
let params = {
|
|
|
FROM: res.from,
|
|
|
SHARE_RESUIL: 0,
|
|
|
TITLE: this.data.productName,
|
|
|
TITLE: this.data.shareInfo.product_name,
|
|
|
DESC: '我在有货限定频道发现一个不错的商品赶快来看看吧!',
|
|
|
PATH: `/pages/product/detail/detail?limitProductCode=${this.data.limitProductCode}&originUid=${app.getUid()}`,
|
|
|
};
|
...
|
...
|
|