Skip to content

Commit

Permalink
✨ feat:修改信息和更改头像部分完成 修改一下路由
Browse files Browse the repository at this point in the history
  • Loading branch information
eleliauk committed Aug 22, 2024
1 parent cb2f922 commit 9ecc975
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 16 deletions.
3 changes: 2 additions & 1 deletion docs/进度文档.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@
样式还没调好 争取明天调好

### 2024.8.20 syj进度
试了试是true直接跳转到修改个人信息界面

试了试是true直接跳转到修改个人信息界面
应该是可以的 😁
但是感觉请求发的有点太多了 看能不能简化一下捏
但是好像发现了一点问题 就是personalPage正常也要获取头像和昵称的
Expand Down
6 changes: 3 additions & 3 deletions src/components/titleButton/titleButton.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.title-button {
width:202.9rpx;
height:60rpx;
color: #F19900;
width: 202.9rpx;
height: 60rpx;
color: #f19900;
font-size: 32rpx;
}
21 changes: 10 additions & 11 deletions src/pages/editUser/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,32 +13,31 @@
border-radius: 50%;
border: #ffd777 solid 1.81rpx;
}
.nickname-container{
.nickname-container {
display: flex;
}
.nickname-text {
font-size: 32.61rpx;
width: 130.43rpx;
height: 43.48rpx;
}
.nickname{
height: 43.48rpx;
width: 228.26rpx;
.nickname {
height: 43.48rpx;
width: 228.26rpx;
}
.title-container{
.title-container {
display: flex;
}
.cancel-button{
.cancel-button {
width: 300rpx;
height: 81rpx;
background: #F9F9F2;
background: #f9f9f2;
}
.save-button{
.save-button {
width: 300rpx;
height: 81rpx;
background: #F19900;
background: #f19900;
}
.button-container{
.button-container {
display: flex;
}

1 change: 0 additions & 1 deletion src/pages/editUser/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import React, { useEffect, useState } from 'react';

import './index.scss';


// eslint-disable-next-line import/first
import { get } from '@/api/get';
// eslint-disable-next-line import/first
Expand Down

0 comments on commit 9ecc975

Please sign in to comment.