feat: 个人消息

This commit is contained in:
jinyaqiu 2025-08-08 16:35:12 +08:00
parent 027e72a364
commit 6efc508fa0
4 changed files with 8 additions and 13 deletions

View File

@ -20,7 +20,7 @@ const StepButton = (props: Props) => {
{isLoading ? ( {isLoading ? (
<ActivityIndicator color="#fff" /> <ActivityIndicator color="#fff" />
) : ( ) : (
<ThemedText style={[styles.buttonText, { color: color ? color : '#FFFFFF' }]}> <ThemedText style={[styles.buttonText, { color: color ? color : '#FFFFFF' }]} size='lg' weight='bold'>
{text} {text}
</ThemedText> </ThemedText>
)} )}

View File

@ -181,7 +181,7 @@ const styles = StyleSheet.create({
zIndex: 99, zIndex: 99,
}, },
title: { title: {
fontSize: 36, fontSize: 32,
lineHeight: 40, lineHeight: 40,
color: '#FFFFFF', color: '#FFFFFF',
textAlign: 'center', textAlign: 'center',

View File

@ -29,7 +29,7 @@ export default function Look(props: Props) {
<ThemedText style={styles.title}> <ThemedText style={styles.title}>
{t('auth.userMessage.look', { ns: 'login' })} {t('auth.userMessage.look', { ns: 'login' })}
</ThemedText> </ThemedText>
<ThemedText style={styles.subtitle}> <ThemedText style={styles.subtitle} type="inter" size="sm" weight="regular">
{t('auth.userMessage.avatarText', { ns: 'login' })} {t('auth.userMessage.avatarText', { ns: 'login' })}
{"\n"} {"\n"}
{t('auth.userMessage.avatorText2', { ns: 'login' })} {t('auth.userMessage.avatorText2', { ns: 'login' })}
@ -55,7 +55,7 @@ export default function Look(props: Props) {
children={ children={
<View style={styles.uploadButton}> <View style={styles.uploadButton}>
<ChoicePhoto /> <ChoicePhoto />
<ThemedText style={styles.uploadButtonText}> <ThemedText style={styles.uploadButtonText} type="sfPro" size="sm" weight="semiBold">
{t('auth.userMessage.choosePhoto', { ns: 'login' })} {t('auth.userMessage.choosePhoto', { ns: 'login' })}
</ThemedText> </ThemedText>
</View> </View>
@ -78,7 +78,7 @@ export default function Look(props: Props) {
color="#4C320C" color="#4C320C"
/> />
</View> </View>
</View> </View >
); );
} }
@ -123,9 +123,7 @@ const styles = StyleSheet.create({
gap: 8, gap: 8,
}, },
uploadButtonText: { uploadButtonText: {
color: '#4C320C', color: '#4C320C'
fontSize: 14,
fontWeight: '600',
}, },
footer: { footer: {
width: '100%', width: '100%',

View File

@ -39,11 +39,11 @@ export default function UserName(props: Props) {
<View style={[styles.inputContainer, { paddingBottom: insets.bottom }]}> <View style={[styles.inputContainer, { paddingBottom: insets.bottom }]}>
<View style={styles.contentContainer}> <View style={styles.contentContainer}>
<View style={styles.titleContainer}> <View style={styles.titleContainer}>
<ThemedText style={styles.titleText}>{t('auth.userMessage.title', { ns: 'login' })}</ThemedText> <ThemedText style={styles.titleText} color="textSecondary" size='xl' weight='bold'>{t('auth.userMessage.title', { ns: 'login' })}</ThemedText>
</View> </View>
<View style={styles.inputWrapper}> <View style={styles.inputWrapper}>
<View style={styles.labelContainer}> <View style={styles.labelContainer}>
<ThemedText style={styles.labelText}>{t('auth.userMessage.username', { ns: 'login' })}</ThemedText> <ThemedText style={styles.labelText} color="textPrimary" type='sfPro' size='sm' weight='bold'>{t('auth.userMessage.username', { ns: 'login' })}</ThemedText>
<ThemedText style={styles.errorText}>{error}</ThemedText> <ThemedText style={styles.errorText}>{error}</ThemedText>
</View> </View>
<TextInput <TextInput
@ -98,9 +98,6 @@ const styles = StyleSheet.create({
fontSize: 20, fontSize: 20,
}, },
titleText: { titleText: {
color: '#4C320C',
fontWeight: '600',
fontSize: 20,
marginBottom: 16, marginBottom: 16,
}, },
inputWrapper: { inputWrapper: {