🐞 fix(#1000663#4): 修复我的页面的样式问题

This commit is contained in:
xuan 2022-11-08 19:11:49 +08:00
parent 2f73350e04
commit b64a003277
3 changed files with 5 additions and 4 deletions

View File

@ -38,4 +38,5 @@
} }
.selected { .selected {
color: $color_main; color: $color_main;
font-weight: bold;
} }

View File

@ -86,10 +86,10 @@ page{
align-items: center; align-items: center;
} }
.layoutTitle { .layoutTitle {
padding-left: 16px;
font-size: 32px; font-size: 32px;
font-weight: 600; font-weight: 600;
color: $color_font_one; color: $color_font_one;
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
margin-bottom: 20px; margin-bottom: 20px;
} }

View File

@ -164,7 +164,7 @@ const UserInfo: FC = () => {
return ( return (
<> <>
<LayoutBlock circle> <LayoutBlock circle customStyle={{paddingTop: '10px', paddingBottom: '10px'}}>
<View className={styles.topBar}> <View className={styles.topBar}>
<View className={styles.left}> <View className={styles.left}>
<UserAvatar src={userInfo.userInfo?.avatar_url} /> <UserAvatar src={userInfo.userInfo?.avatar_url} />
@ -180,11 +180,11 @@ const UserInfo: FC = () => {
</View> </View>
</View> </View>
<View className={styles.bottomBar}> <View className={styles.bottomBar}>
<Tag type='primary' size='normal' circle customStyle={{ marginRight: '10px' }}> <Tag type='primary' size='normal' circle>
{userInfo.userInfo.department_name} {userInfo.userInfo.department_name}
</Tag> </Tag>
<Divider direction='vertical'></Divider> <Divider direction='vertical'></Divider>
<Text className={styles.userTitle}>IT-</Text> <Text className={styles.userTitle}></Text>
</View> </View>
</LayoutBlock> </LayoutBlock>
{ {