Authored by 孙凯

add moreUI review by hongmo

... ... @@ -119,10 +119,12 @@ export default class OutletPageListView extends Component {
return(<ActivityCell resource={rowData} key = {rowID + 'activityList'} onPressProduct={this.props.onPressProduct}/>);
}else if (sectionID == 'activityMore') {
if (rowData == 'more') {
let sourceIcon = require('../../../brandStore/image/filter/brandstore_filter_arrow_down_normal.png');
return(
<TouchableOpacity activeOpacity={1} style={{width: width,height: 50,backgroundColor: 'red'}} onPress={() => {this.setActivityFliter && this.setActivityFliter();}}>
<View style={{width: width,height: 50,backgroundColor: 'red'}}>
<Text>more</Text>
<TouchableOpacity activeOpacity={1} style={styles.more} onPress={() => {this.setActivityFliter && this.setActivityFliter();}}>
<View style={styles.more}>
<Text style={styles.moreText}>更多精彩活动</Text>
<Image source={sourceIcon} style={styles.arrow_down}/>
</View>
</TouchableOpacity>
);
... ... @@ -236,4 +238,19 @@ let styles = StyleSheet.create({
listContainer: {
width: width / 2,
},
more: {
width: width,
height: 50,
backgroundColor: 'gray',
},
moreText: {
color: 'white',
textAlign: 'center',
marginTop: 12,
},
arrow_down: {
width: 20,
height: 20,
alignSelf: 'center',
}
});
... ...