diff --git a/src/components/Sidebar/index.css b/src/components/Sidebar/index.css
index 5179546..0106c89 100644
--- a/src/components/Sidebar/index.css
+++ b/src/components/Sidebar/index.css
@@ -183,7 +183,8 @@
}
.sidebar-retract-wrapper {
- width: 95px;
+ width: 84px;
+
.sidebar-title {
> img {
margin: 0;
@@ -197,12 +198,21 @@
width: 0;
}
}
- .user-info {
- margin-bottom: 41px;
+ .user-info-wrapper {
+ background-color: transparent;
+ width: 100%;
+ justify-content: center;
+
+ .user-avatar {
+ margin-right: 0;
+ width: 40px;
+ height: 40px;
+ }
}
.visitor-count {
display: none;
}
+
.sidebar-menu {
.sidebar-menu-title {
text-align: center;
diff --git a/src/components/Sidebar/index.jsx b/src/components/Sidebar/index.jsx
index 9fd3cbb..4bb3861 100644
--- a/src/components/Sidebar/index.jsx
+++ b/src/components/Sidebar/index.jsx
@@ -3,6 +3,7 @@ import { Statistic } from "@arco-design/web-react";
import { useSelector } from "react-redux";
import IconFont from "@/components/IconFont";
import ICON from "@/assets/images/Sidebar/sidebar_icon.png";
+import ICONRETRACT from "@/assets/images/Sidebar/logo.png";
import BTNICON from "@/assets/images/Sidebar/btn_icon.png";
import routes from "@/routes";
import "./index.css";
@@ -29,7 +30,7 @@ const Sidebar = ({ isCollapsed, setIsCollapsed }) => {
}`}
>
-

+
![]()
{
className="user-avatar"
src="//p1-arco.byteimg.com/tos-cn-i-uwbnlip3yd/3ee5f13fb09879ecb5185e440cef6eb9.png~tplv-uwbnlip3yd-webp.webp"
/>
-
- {studentInfo?.realName}
- 学号:{studentInfo?.id}
-
+ {isCollapsed && (
+
+ {studentInfo?.realName}
+ 学号:{studentInfo?.id}
+
+ )}
{
return (
-
-
+
step1
diff --git a/src/pages/PersonalProfile/index.css b/src/pages/PersonalProfile/index.css
index edc90a5..c8d91fa 100644
--- a/src/pages/PersonalProfile/index.css
+++ b/src/pages/PersonalProfile/index.css
@@ -10,11 +10,13 @@
/* 统一布局系统 */
.unified-profile-layout {
- box-sizing: border-box;
- padding: 20px;
width: 100%;
+ height: 805px;
+ box-sizing: border-box;
+ padding: 0 20px;
display: flex;
justify-content: space-between;
+ margin-top: 20px;
.unified-profile-left {
width: 360px;
diff --git a/src/pages/ProjectLibraryPage/index.css b/src/pages/ProjectLibraryPage/index.css
index fccfe5b..9eb1df2 100644
--- a/src/pages/ProjectLibraryPage/index.css
+++ b/src/pages/ProjectLibraryPage/index.css
@@ -1,12 +1,12 @@
-.user-portfolio-page {
+.project-library-page {
width: 100%;
height: 100%;
box-sizing: border-box;
padding: 20px;
position: relative;
- .user-portfolio-wrapper {
- width: 1120px;
+ .project-library-wrapper {
+ width: 100%;
height: 790px;
background-color: #fff;
border-radius: 8px;
@@ -16,7 +16,7 @@
display: flex;
flex-direction: column;
- .user-portfolio-search-area {
+ .project-library-search-area {
width: 100%;
height: 36px;
@@ -33,7 +33,7 @@
}
}
}
- .user-portfolio-list {
+ .project-library-list {
overflow-y: auto;
box-sizing: border-box;
display: flex;
@@ -42,11 +42,11 @@
flex-wrap: wrap;
padding: 20px 0;
- .user-portfolio-item:nth-child(3n) {
+ .project-library-item:nth-child(3n) {
margin-right: 0;
}
- .user-portfolio-item {
+ .project-library-item {
flex-shrink: 0;
width: 340px;
height: 82px;
@@ -63,7 +63,7 @@
align-items: flex-start;
flex-direction: column;
- .user-portfolio-item-title {
+ .project-library-item-title {
width: 100%;
border: 1px solid #2c7aff;
background-color: #e8f3ff;
diff --git a/src/pages/ProjectLibraryPage/index.jsx b/src/pages/ProjectLibraryPage/index.jsx
index 92a0d6d..265245f 100644
--- a/src/pages/ProjectLibraryPage/index.jsx
+++ b/src/pages/ProjectLibraryPage/index.jsx
@@ -68,9 +68,9 @@ const ProjectLibrary = () => {
};
return (
-
-
-
+
+
+
{
loadMore={fetchProjects}
hasMore={hasMore}
empty={projectList.length === 0}
- className="user-portfolio-list"
+ className="project-library-list"
>
{projectList.map((item) => (
- -
-
{item.description}
+ -
+
{item.description}
{item.name}
handleProjectClick(item)}>详情 >
diff --git a/src/pages/ResumeInterviewPage/index.css b/src/pages/ResumeInterviewPage/index.css
index 24e7fae..eb71470 100644
--- a/src/pages/ResumeInterviewPage/index.css
+++ b/src/pages/ResumeInterviewPage/index.css
@@ -80,7 +80,7 @@
}
.resume-interview-content-item-wrapper {
- width: 1120px;
+ width: 100%;
height: 326px;
box-sizing: border-box;
background-color: #ffffff;