Authored by 王海元

增加跳转(优惠券管理页,优惠券商品池页) --review by 孙凯

... ... @@ -73,11 +73,16 @@ class AssociatorGiftContainer extends Component {
}
_onPressCouponItem(data){
console.log(data);
let url = `http://m.yohobuy.com?openby:yohobuy={"action":"go.couponProductList",
"params":{"coupon_id":"${data.get("id")}","coupon_code":"${data.get("couponCode")}"}, "coupon_title":"${data.get("couponName")}"}`;
ReactNative.NativeModules.YH_CommonHelper.jumpWithUrl(url);
this.props.actions.hiddenGiftAlert();
}
_onPressLookDetail(){
console.log('_onPressLookDetail');
let url = `http://m.yohobuy.com?openby:yohobuy={"action":"go.coupon","params":{}}`;
ReactNative.NativeModules.YH_CommonHelper.jumpWithUrl(url);
this.props.actions.hiddenGiftAlert();
}
_onPressShopCar(product_skn,prd_id,pos_id,isGlobal) {
... ...