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