Compare commits

...

3 commits

Author SHA1 Message Date
dependabot[bot]
9a78b45018
Merge 5eacec446b into e9317cbbfa 2024-12-03 02:54:53 +00:00
fatsheep1919
e9317cbbfa 关注按钮高度调整字号调整 2020-06-07 15:21:38 +08:00
fatsheep1919
daf7a95b1b 取消关注按钮背景色修改 2020-06-07 14:44:51 +08:00

View file

@ -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'
}, },