Authored by 孙凯

xiugai UI bug review by daiqiang

... ... @@ -71,7 +71,7 @@ export default class Brand extends Component {
if (this.state.showFooter) {
return <Image
style={styles.bottomImage}
resizeMode= {'center'}
resizeMode= {'contain'}
source={require('../../images/brand/shared_bottom.png')}
/>;
}
... ...
... ... @@ -141,17 +141,15 @@ export default class BrandCell extends Component{
<View style={styles.right}>
<TouchableOpacity
activeOpacity={1}
style={styles.optTouch}
onPress={this.props.onPressLike}
>
<View><Image style={styles.optIcon} resizeMode= {'center'} source={heartIcon} /></View>
<View style={styles.optTouch}><Image style={styles.optIcon} resizeMode= {'contain'} source={heartIcon} /></View>
</TouchableOpacity>
<TouchableOpacity
activeOpacity={1}
style={styles.optTouch}
onPress={this.props.onPressHome}
>
<Image style={styles.optIcon} resizeMode={'center'} source={homeIcon} />
<View style={styles.optTouch}><Image style={styles.optIcon} resizeMode= {'contain'} source={homeIcon} /></View>
</TouchableOpacity>
</View>
</View>
... ... @@ -229,10 +227,12 @@ let styles = StyleSheet.create({
optTouch: {
width: 44,
height: 44,
alignItems: 'center',
justifyContent: 'center',
},
optIcon: {
width: 38,
height: 38,
width: 17,
height: 17,
},
rowContainer: {
width: 113,
... ...