mirror of
https://github.com/timepill/timepill-app.git
synced 2025-06-17 11:19:13 +08:00
Compare commits
1 commit
9a78b45018
...
341b5d5ff7
Author | SHA1 | Date | |
---|---|---|---|
|
341b5d5ff7 |
1 changed files with 5 additions and 11 deletions
|
@ -110,17 +110,14 @@ export default class UserIntro extends Component {
|
|||
color={Color.primary}
|
||||
borderRadius={5}
|
||||
buttonStyle={localStyle.followButton}
|
||||
fontSize={14}
|
||||
onPress={this._onAddFollow.bind(this)}
|
||||
/>
|
||||
: (
|
||||
followed > 0
|
||||
? <Button title="取消关注"
|
||||
outline={true}
|
||||
color={Color.primary}
|
||||
backgroundColor={Color.primary}
|
||||
borderRadius={5}
|
||||
buttonStyle={localStyle.followButton}
|
||||
fontSize={14}
|
||||
onPress={this._onDeleteFollow.bind(this)}
|
||||
/>
|
||||
: null
|
||||
|
@ -150,25 +147,22 @@ const localStyle = StyleSheet.create({
|
|||
backgroundColor: 'white'
|
||||
},
|
||||
userIcon: {
|
||||
marginTop: 20,
|
||||
height: 230,
|
||||
backgroundColor: 'white',
|
||||
alignItems: 'center',
|
||||
justifyContent: 'center'
|
||||
},
|
||||
followButton: {
|
||||
width: 90,
|
||||
height: 28,
|
||||
width: 100,
|
||||
height: 30,
|
||||
marginTop: 20,
|
||||
marginRight: 5,
|
||||
marginRight: 3,
|
||||
paddingTop: 5,
|
||||
paddingBottom: 5,
|
||||
alignItems: 'center',
|
||||
justifyContent: 'center'
|
||||
},
|
||||
userTitle: {
|
||||
fontSize: 22,
|
||||
marginTop: 30,
|
||||
marginRight: 3,
|
||||
fontWeight: 'bold',
|
||||
color: '#000'
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue