Authored by 孙凯

add fromPage review by daiqiang

... ... @@ -83,11 +83,12 @@ class GroupPurchaseDetailContainer extends Component {
shareSnapshootAction(shareType,url) {
let fromPage = Platform.OS === 'android' ? 'aFP_GroupPurchaseDetail' : 'iFP_GroupPurchaseDetail';
let param = {
shareType,
imageUrl: url,
fromPage,
}
ReactNative.NativeModules.YH_CommonHelper.shareImageToWXMini(param);
this.props.actions.showSnapshootShare(false);
}
... ... @@ -127,12 +128,15 @@ class GroupPurchaseDetailContainer extends Component {
let productGroupPrice = resource.productGroupPrice;
let productName = resource.productName;
let title = '【还差' + lackNum + '人】' + productGroupPrice + '拼' + productName;
let fromPage = Platform.OS === 'android' ? 'aFP_GroupPurchaseDetail' : 'iFP_GroupPurchaseDetail';
this.props.actions.showShareView(false);
let param = {
title: title,
image: productIcon,
shareUrl: '',
miniProgramPath,
fromPage,
}
ReactNative.NativeModules.YH_CommonHelper.shareWXMiniProgram(param);
}
... ...