...
|
...
|
@@ -48,6 +48,7 @@ class AssociatorGiftContainer extends Component { |
|
|
this._onPressShopCar = this._onPressShopCar.bind(this);
|
|
|
this._onPressCouponItem = this._onPressCouponItem.bind(this);
|
|
|
this._onPressLookDetail = this._onPressLookDetail.bind(this);
|
|
|
this._onHiddenBagTipMessage = this._onHiddenBagTipMessage.bind(this);
|
|
|
}
|
|
|
|
|
|
componentDidMount() {
|
...
|
...
|
@@ -72,6 +73,10 @@ class AssociatorGiftContainer extends Component { |
|
|
this.props.actions.hiddenGiftAlert();
|
|
|
}
|
|
|
|
|
|
_onHiddenBagTipMessage(){
|
|
|
this.props.actions.hiddenBagTipMessage();
|
|
|
}
|
|
|
|
|
|
_onPressCouponItem(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")}"}`;
|
...
|
...
|
@@ -134,7 +139,8 @@ class AssociatorGiftContainer extends Component { |
|
|
couponsBagCnt,
|
|
|
couponsBag,
|
|
|
productList,
|
|
|
drawCouponsBag
|
|
|
drawCouponsBag,
|
|
|
bagTipMessage
|
|
|
} = this.props.associatorGift;
|
|
|
return (
|
|
|
<AssociatorGift
|
...
|
...
|
@@ -150,6 +156,8 @@ class AssociatorGiftContainer extends Component { |
|
|
onPressShopCar={this._onPressShopCar}
|
|
|
onPressCouponItem={this._onPressCouponItem}
|
|
|
onPressLookDetail={this._onPressLookDetail}
|
|
|
bagTipMessage={bagTipMessage}
|
|
|
onHiddenBagTipMessage={this._onHiddenBagTipMessage}
|
|
|
/>
|
|
|
);
|
|
|
}
|
...
|
...
|
|