...
|
...
|
@@ -118,16 +118,18 @@ class GroupPurchaseDetailContainer extends Component { |
|
|
}
|
|
|
let membershipItems = productDetail.membershipItems;
|
|
|
let resource = membershipItems ? membershipItems[0]: null;
|
|
|
|
|
|
let lackNum = productDetail ? productDetail.lackNum : 0;
|
|
|
if (!resource) {
|
|
|
return;
|
|
|
}
|
|
|
let productIcon = 'https://cdn.yoho.cn/20180207/group/22.png';//resource.productIcon ? getSlicedUrl(resource.productIcon,50*DEVICE_WIDTH_RATIO, 40*DEVICE_WIDTH_RATIO, 2) : '';
|
|
|
let productIcon = resource.productIcon ? getSlicedUrl(resource.productIcon,150*DEVICE_WIDTH_RATIO, 120*DEVICE_WIDTH_RATIO, 2) : '';
|
|
|
let miniProgramPath = '/pages/groupPurchase/groupPurchaseResult?activity_id=' + activityId + '&group_no=' + groupNo;
|
|
|
|
|
|
let productGroupPrice = resource.productGroupPrice;
|
|
|
let productName = resource.productName;
|
|
|
let title = '【还差' + lackNum + '人】' + productGroupPrice + '拼' + productName;
|
|
|
this.props.actions.showShareView(false);
|
|
|
let param = {
|
|
|
title: 'Hey homie!快来跟我一起下单',
|
|
|
title: title,
|
|
|
image: productIcon,
|
|
|
shareUrl: '',
|
|
|
miniProgramPath,
|
...
|
...
|
|