Authored by 张丽霞

红人店铺筛选,review 孙凯

@@ -95,7 +95,7 @@ export default class BrandProductMoreFilter extends React.Component { @@ -95,7 +95,7 @@ export default class BrandProductMoreFilter extends React.Component {
95 <View style={[styles.container, style]}> 95 <View style={[styles.container, style]}>
96 <View style={styles.line}/> 96 <View style={styles.line}/>
97 <ListView 97 <ListView
98 - contentContainerStyle={[styles.contentContainer, style]} 98 + contentContainerStyle={styles.contentContainer}
99 enableEmptySections={true} 99 enableEmptySections={true}
100 dataSource={this.dataSource.cloneWithRows(this.state.filters)} 100 dataSource={this.dataSource.cloneWithRows(this.state.filters)}
101 renderRow={this._renderRow} 101 renderRow={this._renderRow}
@@ -219,7 +219,7 @@ export default class RedBrand extends Component { @@ -219,7 +219,7 @@ export default class RedBrand extends Component {
219 219
220 let needShowToast = this.props.receiveCouponResult.isNeedShow; 220 let needShowToast = this.props.receiveCouponResult.isNeedShow;
221 let showToastMessage = this.props.receiveCouponResult.showMessage; 221 let showToastMessage = this.props.receiveCouponResult.showMessage;
222 - 222 + let brandFilterContainerHeight = fliter == '2' ? 84 : 40;
223 return ( 223 return (
224 <View style={styles.container}> 224 <View style={styles.container}>
225 <ListView 225 <ListView
@@ -268,6 +268,7 @@ export default class RedBrand extends Component { @@ -268,6 +268,7 @@ export default class RedBrand extends Component {
268 268
269 {productList.isMoreFilter ? 269 {productList.isMoreFilter ?
270 <BrandProductMoreFilter 270 <BrandProductMoreFilter
  271 + style={{top:brandFilterContainerHeight}}
271 productList={productList} 272 productList={productList}
272 onPressCloseMoreFilter={this.props.onPressCloseMoreFilter} 273 onPressCloseMoreFilter={this.props.onPressCloseMoreFilter}
273 onPressMoreFilter={this.props.onPressMoreFilter} 274 onPressMoreFilter={this.props.onPressMoreFilter}