mirror of
https://github.com/timepill/timepill-app.git
synced 2025-04-30 09:59:31 +08:00
取消关注按钮背景色修改
This commit is contained in:
parent
33c030934e
commit
daf7a95b1b
1 changed files with 8 additions and 4 deletions
|
@ -115,7 +115,8 @@ export default class UserIntro extends Component {
|
||||||
: (
|
: (
|
||||||
followed > 0
|
followed > 0
|
||||||
? <Button title="取消关注"
|
? <Button title="取消关注"
|
||||||
backgroundColor={Color.primary}
|
outline={true}
|
||||||
|
color={Color.primary}
|
||||||
borderRadius={5}
|
borderRadius={5}
|
||||||
buttonStyle={localStyle.followButton}
|
buttonStyle={localStyle.followButton}
|
||||||
onPress={this._onDeleteFollow.bind(this)}
|
onPress={this._onDeleteFollow.bind(this)}
|
||||||
|
@ -153,16 +154,19 @@ const localStyle = StyleSheet.create({
|
||||||
justifyContent: 'center'
|
justifyContent: 'center'
|
||||||
},
|
},
|
||||||
followButton: {
|
followButton: {
|
||||||
width: 100,
|
width: 90,
|
||||||
height: 30,
|
height: 28,
|
||||||
marginTop: 20,
|
marginTop: 20,
|
||||||
marginRight: 3,
|
marginRight: 5,
|
||||||
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'
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue