Authored by chenl

调整了子分类无法滚动的问题。

... ... @@ -97,13 +97,13 @@ export default class ProductCategoryList extends React.Component {
return (
<View style={styles.container}>
<ListView
contentContainerStyle={styles.leftContentContainer}
style={styles.leftContentContainer}
dataSource={this.dataSourceL.cloneWithRows(categoryFilterList.toArray())}
renderRow={this.leftRenderRow}
scrollsToTop={false}
/>
<ListView
contentContainerStyle={styles.rightContentContainer}
style={styles.rightContentContainer}
dataSource={this.dataSourceR.cloneWithRows(subList.toArray())}
renderRow={this.rightRenderRow}
scrollsToTop={false}
... ... @@ -129,6 +129,7 @@ let styles = StyleSheet.create({
backgroundColor: '#ffffff',
borderTopColor: '#e0e0e0',
borderLeftColor: '#ffffff',
borderBottomColor: '#e0e0e0',
borderWidth: 0.5,
},
leftContentContainer: {
... ... @@ -149,7 +150,6 @@ let styles = StyleSheet.create({
},
rightContentContainer: {
backgroundColor: '#f4f4f4',
height: height - 40 - 44 - 64 - 1,
},
rightRow: {
flexDirection: 'column',
... ...