mirror of
https://github.com/timepill/timepill-app.git
synced 2025-06-17 03:09:14 +08:00
Compare commits
3 commits
341b5d5ff7
...
9a78b45018
Author | SHA1 | Date | |
---|---|---|---|
|
9a78b45018 | ||
|
e9317cbbfa | ||
|
daf7a95b1b |
1 changed files with 11 additions and 5 deletions
|
@ -110,14 +110,17 @@ 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="取消关注"
|
||||
backgroundColor={Color.primary}
|
||||
outline={true}
|
||||
color={Color.primary}
|
||||
borderRadius={5}
|
||||
buttonStyle={localStyle.followButton}
|
||||
fontSize={14}
|
||||
onPress={this._onDeleteFollow.bind(this)}
|
||||
/>
|
||||
: null
|
||||
|
@ -147,22 +150,25 @@ const localStyle = StyleSheet.create({
|
|||
backgroundColor: 'white'
|
||||
},
|
||||
userIcon: {
|
||||
height: 230,
|
||||
marginTop: 20,
|
||||
backgroundColor: 'white',
|
||||
alignItems: 'center',
|
||||
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'
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue