|
@@ -26,7 +26,7 @@ const Me = (props: any) => {
|
|
|
uri: userInfo.avatarUrl,
|
|
|
}}
|
|
|
/>
|
|
|
- <Text>{userInfo.nickName}</Text>
|
|
|
+ <Text style={styles.userName}>{userInfo.nickName}</Text>
|
|
|
</View>
|
|
|
<View style={styles.logOutContain}>
|
|
|
<View style={styles.logOutBtn}>
|
|
@@ -37,9 +37,11 @@ const Me = (props: any) => {
|
|
|
/>
|
|
|
</View>
|
|
|
<View style={styles.tips}>
|
|
|
- <Text>Version 1.0.2|</Text>
|
|
|
- <Text>用户协议|</Text>
|
|
|
- <Text>隐私协议</Text>
|
|
|
+ <Text style={styles.tipsText}>Version 1.0.2</Text>
|
|
|
+ <Text style={styles.tipsText}> | </Text>
|
|
|
+ <Text style={styles.tipsText}>用户协议</Text>
|
|
|
+ <Text style={styles.tipsText}> | </Text>
|
|
|
+ <Text style={styles.tipsText}>隐私协议</Text>
|
|
|
</View>
|
|
|
</View>
|
|
|
</View>
|
|
@@ -96,8 +98,12 @@ const styles = StyleSheet.create({
|
|
|
flex: 1,
|
|
|
alignItems: 'center',
|
|
|
justifyContent: 'space-between',
|
|
|
+ backgroundColor: '#fff',
|
|
|
},
|
|
|
userInfo: {
|
|
|
+ display: 'flex',
|
|
|
+ alignItems: 'center',
|
|
|
+ justifyContent: 'center',
|
|
|
marginTop: 80,
|
|
|
},
|
|
|
userPhoto: {
|
|
@@ -106,6 +112,10 @@ const styles = StyleSheet.create({
|
|
|
height: 100,
|
|
|
borderRadius: 50,
|
|
|
},
|
|
|
+ userName: {
|
|
|
+ fontSize: 18,
|
|
|
+ fontWeight: 'bold',
|
|
|
+ },
|
|
|
logOutContain: {
|
|
|
marginBottom: 30,
|
|
|
},
|
|
@@ -121,6 +131,10 @@ const styles = StyleSheet.create({
|
|
|
flexDirection: 'row',
|
|
|
justifyContent: 'center',
|
|
|
},
|
|
|
+ tipsText: {
|
|
|
+ color: '#B8B',
|
|
|
+ fontSize: 12,
|
|
|
+ },
|
|
|
modalContain: {
|
|
|
width: 300,
|
|
|
height: 165,
|