关注按钮高度调整字号调整

This commit is contained in:
fatsheep1919 2020-06-07 15:21:38 +08:00
parent daf7a95b1b
commit e9317cbbfa

View file

@ -110,6 +110,7 @@ export default class UserIntro extends Component {
color={Color.primary} color={Color.primary}
borderRadius={5} borderRadius={5}
buttonStyle={localStyle.followButton} buttonStyle={localStyle.followButton}
fontSize={14}
onPress={this._onAddFollow.bind(this)} onPress={this._onAddFollow.bind(this)}
/> />
: ( : (
@ -119,6 +120,7 @@ export default class UserIntro extends Component {
color={Color.primary} color={Color.primary}
borderRadius={5} borderRadius={5}
buttonStyle={localStyle.followButton} buttonStyle={localStyle.followButton}
fontSize={14}
onPress={this._onDeleteFollow.bind(this)} onPress={this._onDeleteFollow.bind(this)}
/> />
: null : null
@ -148,7 +150,7 @@ const localStyle = StyleSheet.create({
backgroundColor: 'white' backgroundColor: 'white'
}, },
userIcon: { userIcon: {
height: 230, marginTop: 20,
backgroundColor: 'white', backgroundColor: 'white',
alignItems: 'center', alignItems: 'center',
justifyContent: 'center' justifyContent: 'center'