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}
|
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="取消关注"
|
||||||
backgroundColor={Color.primary}
|
outline={true}
|
||||||
|
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
|
||||||
|
@ -147,22 +150,25 @@ const localStyle = StyleSheet.create({
|
||||||
backgroundColor: 'white'
|
backgroundColor: 'white'
|
||||||
},
|
},
|
||||||
userIcon: {
|
userIcon: {
|
||||||
height: 230,
|
marginTop: 20,
|
||||||
backgroundColor: 'white',
|
backgroundColor: 'white',
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
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