...
|
...
|
@@ -163,6 +163,9 @@ Page(Object.assign({ |
|
|
};
|
|
|
} else if (res.from === 'button') {
|
|
|
// 用户点击分享按钮
|
|
|
|
|
|
console.log(`/pages/product/detail/detail?limitProductCode=${this.data.limitProductCode}&originUid=${app.getUid()}&originUnionID=${app.getUnionID()}`);
|
|
|
|
|
|
return {
|
|
|
title: params.TITLE, // 分享标题
|
|
|
desc: params.DESC, // 分享描述
|
...
|
...
|
@@ -268,12 +271,12 @@ Page(Object.assign({ |
|
|
}
|
|
|
|
|
|
this.setData({
|
|
|
productSkn: res.data.productSkn,
|
|
|
productName: res.data.productName,
|
|
|
price: res.data.price,
|
|
|
saleTime: res.data.saleTime,
|
|
|
reminderNum: res.data.reminderNum,
|
|
|
limitProductType: res.data.limitProductType,
|
|
|
productSkn: res.data.productSkn ? res.data.productSkn : '',
|
|
|
productName: res.data.productName ? res.data.productName : '',
|
|
|
price: res.data.price ? res.data.price : '即将开售',
|
|
|
saleTime: res.data.saleTime ? res.data.saleTime : '',
|
|
|
reminderNum: res.data.reminderNum ? res.data.reminderNum : 0,
|
|
|
limitProductType: res.data.limitProductType ? res.data.limitProductType : 4,
|
|
|
showStatus: res.data.showStatus ? res.data.showStatus : 0,
|
|
|
assisLimit: res.data.helpLimit ? res.data.helpLimit : 0,
|
|
|
queueType: res.data.queueType ? res.data.queueType : QUEUE_TYPE.READY,
|
...
|
...
|
|