...
|
...
|
@@ -58,6 +58,7 @@ class BrandContainer extends Component { |
|
|
this._onPressBrandSearchItem = this._onPressBrandSearchItem.bind(this);
|
|
|
this._setBrandData = this._setBrandData.bind(this);
|
|
|
this._setInitialListSize = this._setInitialListSize.bind(this);
|
|
|
this._onPressBrandItem = this._onPressBrandItem.bind(this);
|
|
|
|
|
|
|
|
|
this.subscription = NativeAppEventEmitter.addListener(
|
...
|
...
|
@@ -80,10 +81,14 @@ class BrandContainer extends Component { |
|
|
this.subscription && this.subscription.remove();
|
|
|
}
|
|
|
|
|
|
_onPressSlideItem(data){
|
|
|
_onPressBrandItem(data){
|
|
|
ReactNative.NativeModules.YH_CommonHelper.pushBrandVC(data);
|
|
|
}
|
|
|
|
|
|
_onPressSlideItem(url) {
|
|
|
ReactNative.NativeModules.YH_CommonHelper.jumpWithUrl(url);
|
|
|
}
|
|
|
|
|
|
_onPressFilter(value) {
|
|
|
this.props.actions.setBrandFilter(value);
|
|
|
}
|
...
|
...
|
@@ -209,6 +214,7 @@ class BrandContainer extends Component { |
|
|
onPressBrandSearchItem={this._onPressBrandSearchItem}
|
|
|
setBrandData={this._setBrandData}
|
|
|
setInitialListSize={this._setInitialListSize}
|
|
|
onPressBrandItem={this._onPressBrandItem}
|
|
|
/>
|
|
|
</View>
|
|
|
);
|
...
|
...
|
|