Authored by chenl

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

@@ -69,6 +69,7 @@ class HomeContainer extends Component { @@ -69,6 +69,7 @@ class HomeContainer extends Component {
69 this.onPressShopFavorite = this.onPressShopFavorite.bind(this); 69 this.onPressShopFavorite = this.onPressShopFavorite.bind(this);
70 this.onPressTitleMore = this.onPressTitleMore.bind(this); 70 this.onPressTitleMore = this.onPressTitleMore.bind(this);
71 this.onClickSort = this.onClickSort.bind(this); 71 this.onClickSort = this.onClickSort.bind(this);
  72 + this.onClickRecommendProduct = this.onClickRecommendProduct.bind(this);
72 this.onLongPressProduct = this.onLongPressProduct.bind(this); 73 this.onLongPressProduct = this.onLongPressProduct.bind(this);
73 this.onPressFindSimilar = this.onPressFindSimilar.bind(this); 74 this.onPressFindSimilar = this.onPressFindSimilar.bind(this);
74 this.onPressDislike = this.onPressDislike.bind(this); 75 this.onPressDislike = this.onPressDislike.bind(this);
@@ -124,6 +125,11 @@ class HomeContainer extends Component { @@ -124,6 +125,11 @@ class HomeContainer extends Component {
124 }); 125 });
125 } 126 }
126 127
  128 + onClickRecommendProduct() {
  129 + this.props.actions.selectedRecommendProduct();
  130 + }
  131 +
  132 +
127 onEndReached() { 133 onEndReached() {
128 InteractionManager.runAfterInteractions(() => { 134 InteractionManager.runAfterInteractions(() => {
129 this.props.actions.fetchHomeFavoriteList(); 135 this.props.actions.fetchHomeFavoriteList();
@@ -257,6 +263,7 @@ class HomeContainer extends Component { @@ -257,6 +263,7 @@ class HomeContainer extends Component {
257 onPressFindSimilar={this.onPressFindSimilar} 263 onPressFindSimilar={this.onPressFindSimilar}
258 onPressDislike={this.onPressDislike} 264 onPressDislike={this.onPressDislike}
259 onPressProductListProduct={this.onPressProductListProduct} 265 onPressProductListProduct={this.onPressProductListProduct}
  266 + onClickRecommendProduct={this.onClickRecommendProduct}
260 /> 267 />
261 </View> 268 </View>
262 ); 269 );