1
This commit is contained in:
@@ -17,52 +17,7 @@
|
||||
overflow-y: auto;
|
||||
padding: 15px;
|
||||
|
||||
// 头部操作栏
|
||||
.header_section {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 10px 0 20px;
|
||||
margin-bottom: 20px;
|
||||
|
||||
.back_button {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
background: transparent;
|
||||
border: none;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
cursor: pointer;
|
||||
|
||||
.back_icon {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
}
|
||||
}
|
||||
|
||||
.page_title {
|
||||
font-family: 'PingFang SC';
|
||||
font-weight: 600;
|
||||
font-size: 18px;
|
||||
line-height: 1.4em;
|
||||
color: #000000;
|
||||
}
|
||||
|
||||
.save_button {
|
||||
background: transparent;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
|
||||
.save_text {
|
||||
font-family: 'PingFang SC';
|
||||
font-weight: 600;
|
||||
font-size: 16px;
|
||||
line-height: 1.4em;
|
||||
color: #000000;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// 头像编辑区域
|
||||
.avatar_section {
|
||||
@@ -71,6 +26,7 @@
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
margin-bottom: 30px;
|
||||
margin-top: 98px;
|
||||
|
||||
.avatar_container {
|
||||
position: relative;
|
||||
|
||||
@@ -152,19 +152,6 @@ const EditProfilePage: React.FC = () => {
|
||||
</View>
|
||||
) : (
|
||||
<>
|
||||
{/* 头部操作栏 */}
|
||||
<View className="header_section">
|
||||
<Button className="back_button" onClick={handle_back}>
|
||||
<Image
|
||||
className="back_icon"
|
||||
src={require('../../../static/detail/icon-arrow-left.svg')}
|
||||
/>
|
||||
</Button>
|
||||
<Text className="page_title">编辑资料</Text>
|
||||
<Button className="save_button" onClick={handle_save}>
|
||||
<Text className="save_text">保存</Text>
|
||||
</Button>
|
||||
</View>
|
||||
|
||||
{/* 头像编辑区域 */}
|
||||
<View className="avatar_section">
|
||||
@@ -173,7 +160,7 @@ const EditProfilePage: React.FC = () => {
|
||||
<View className="avatar_overlay">
|
||||
<Image
|
||||
className="upload_icon"
|
||||
src={require('../../../static/publishBall/icon-upload.svg')}
|
||||
src={require('../../../static/userinfo/icon_upload.svg')}
|
||||
/>
|
||||
</View>
|
||||
</View>
|
||||
|
||||
Reference in New Issue
Block a user