...
|
...
|
@@ -66,16 +66,13 @@ class GroupPurchaseDetailContainer extends Component { |
|
|
didTouchButton(resource){
|
|
|
let pageGo = resource.pageGo ? resource.pageGo : 0;
|
|
|
let { activityId } = this.props.groupPurchaseDetail;
|
|
|
this.props.actions.showShareView(true);
|
|
|
|
|
|
return;
|
|
|
if(pageGo == 1) {
|
|
|
this.props.actions.showShareView(true);
|
|
|
}else if (pageGo == 2) {
|
|
|
}else if (pageGo == 3) {
|
|
|
this.props.actions.showShareView(true);
|
|
|
}else if (pageGo == 4 || pageGo == 5 || pageGo == 7 || pageGo == 6) {
|
|
|
let url = `http://m.yohobuy.com?openby:yohobuy={"action":"go.activitytemplate","params":{"actionType":"2", "activityId":"${activityId}"}}`;
|
|
|
let url = 'http://m.yohobuy.com?openby:yohobuy={"action":"go.activitytemplate","params":{"actionType":"2", "activityId":"${activityId}"}}';
|
|
|
ReactNative.NativeModules.YH_CommonHelper.jumpWithUrl(url);
|
|
|
}
|
|
|
}
|
...
|
...
|
@@ -88,8 +85,8 @@ return; |
|
|
|
|
|
goComment() {
|
|
|
console.log('goComment');
|
|
|
// https://m.yohobuy.com/activity/feature/1555.html?nodownload=1&title=友货规则
|
|
|
// ReactNative.NativeModules.YH_CommonHelper.jumpWithUrl(url);
|
|
|
let url = 'https://m.yohobuy.com/activity/feature/1555.html?nodownload=1&title=友货规则';
|
|
|
ReactNative.NativeModules.YH_CommonHelper.goLinkUrl(url);
|
|
|
}
|
|
|
|
|
|
showShareView(show){
|
...
|
...
|
|