Authored by chenl

修复被删除的点击事件。review by days。

... ... @@ -69,6 +69,7 @@ class HomeContainer extends Component {
this.onPressShopFavorite = this.onPressShopFavorite.bind(this);
this.onPressTitleMore = this.onPressTitleMore.bind(this);
this.onClickSort = this.onClickSort.bind(this);
this.onClickRecommendProduct = this.onClickRecommendProduct.bind(this);
this.onLongPressProduct = this.onLongPressProduct.bind(this);
this.onPressFindSimilar = this.onPressFindSimilar.bind(this);
this.onPressDislike = this.onPressDislike.bind(this);
... ... @@ -124,6 +125,11 @@ class HomeContainer extends Component {
});
}
onClickRecommendProduct() {
this.props.actions.selectedRecommendProduct();
}
onEndReached() {
InteractionManager.runAfterInteractions(() => {
this.props.actions.fetchHomeFavoriteList();
... ... @@ -257,6 +263,7 @@ class HomeContainer extends Component {
onPressFindSimilar={this.onPressFindSimilar}
onPressDislike={this.onPressDislike}
onPressProductListProduct={this.onPressProductListProduct}
onClickRecommendProduct={this.onClickRecommendProduct}
/>
</View>
);
... ...