From daf7a95b1b059eaa665d85346348ccda028d9a0e Mon Sep 17 00:00:00 2001 From: fatsheep1919 <xuwenyang2005@126.com> Date: Sun, 7 Jun 2020 14:44:51 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=96=E6=B6=88=E5=85=B3=E6=B3=A8=E6=8C=89?= =?UTF-8?q?=E9=92=AE=E8=83=8C=E6=99=AF=E8=89=B2=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/component/userIntro.js | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/component/userIntro.js b/src/component/userIntro.js index 5a9b157..e7bcb48 100644 --- a/src/component/userIntro.js +++ b/src/component/userIntro.js @@ -115,7 +115,8 @@ export default class UserIntro extends Component { : ( followed > 0 ? <Button title="取消关注" - backgroundColor={Color.primary} + outline={true} + color={Color.primary} borderRadius={5} buttonStyle={localStyle.followButton} onPress={this._onDeleteFollow.bind(this)} @@ -153,16 +154,19 @@ const localStyle = StyleSheet.create({ justifyContent: 'center' }, followButton: { - width: 100, - height: 30, + width: 90, + height: 28, marginTop: 20, - marginRight: 3, + marginRight: 5, paddingTop: 5, paddingBottom: 5, + alignItems: 'center', + justifyContent: 'center' }, userTitle: { fontSize: 22, marginTop: 30, + marginRight: 3, fontWeight: 'bold', color: '#000' },