Compare commits

..

1 commit

Author SHA1 Message Date
dependabot[bot]
341b5d5ff7
Merge 5eacec446b into 33c030934e 2020-03-14 11:42:14 +00:00

View file

@ -110,17 +110,14 @@ 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)}
/> />
: ( : (
followed > 0 followed > 0
? <Button title="取消关注" ? <Button title="取消关注"
outline={true} backgroundColor={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
@ -150,25 +147,22 @@ const localStyle = StyleSheet.create({
backgroundColor: 'white' backgroundColor: 'white'
}, },
userIcon: { userIcon: {
marginTop: 20, height: 230,
backgroundColor: 'white', backgroundColor: 'white',
alignItems: 'center', alignItems: 'center',
justifyContent: 'center' justifyContent: 'center'
}, },
followButton: { followButton: {
width: 90, width: 100,
height: 28, height: 30,
marginTop: 20, marginTop: 20,
marginRight: 5, marginRight: 3,
paddingTop: 5, paddingTop: 5,
paddingBottom: 5, paddingBottom: 5,
alignItems: 'center',
justifyContent: 'center'
}, },
userTitle: { userTitle: {
fontSize: 22, fontSize: 22,
marginTop: 30, marginTop: 30,
marginRight: 3,
fontWeight: 'bold', fontWeight: 'bold',
color: '#000' color: '#000'
}, },