UI优化更新:面试模拟、简历面试、项目库、求职策略等多个页面改进
主要更新: - 面试模拟页:移除上滑查看评价,添加渐进式评分(72→81→89) - 简历面试页:添加岗位头像、标签背景、面试题加粗等视觉优化 - 项目库页:添加"我完成的项目库"板块,增加hover效果 - 求职策略详情页:优化圆柱体和矩形对齐,添加CSV岗位数据,调整批次文字位置 - 企业岗位列表页:添加返回按钮功能 - 全局:统一岗位级别术语(普通岗/技术骨干岗/储备干部岗) 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -36,7 +36,7 @@ const Sidebar = ({ isCollapsed, setIsCollapsed }) => {
|
||||
<img
|
||||
alt="avatar"
|
||||
className="user-avatar"
|
||||
src="//p1-arco.byteimg.com/tos-cn-i-uwbnlip3yd/3ee5f13fb09879ecb5185e440cef6eb9.png~tplv-uwbnlip3yd-webp.webp"
|
||||
src={studentInfo?.avatar || "//p1-arco.byteimg.com/tos-cn-i-uwbnlip3yd/3ee5f13fb09879ecb5185e440cef6eb9.png~tplv-uwbnlip3yd-webp.webp"}
|
||||
/>
|
||||
{isCollapsed && (
|
||||
<div className="user-info">
|
||||
@@ -48,8 +48,8 @@ const Sidebar = ({ isCollapsed, setIsCollapsed }) => {
|
||||
<Statistic
|
||||
className="visitor-count"
|
||||
groupSeparator
|
||||
value={125670}
|
||||
prefix="访客总数:"
|
||||
value={87}
|
||||
prefix="HR访问量:"
|
||||
/>
|
||||
<ul className="sidebar-menu">
|
||||
{routes
|
||||
@@ -62,7 +62,9 @@ const Sidebar = ({ isCollapsed, setIsCollapsed }) => {
|
||||
?.map((j) => (
|
||||
<li
|
||||
className={
|
||||
location.pathname === j.path
|
||||
location.pathname === j.path ||
|
||||
(j.path === '/company-jobs' && location.pathname === '/company-jobs-list') ||
|
||||
(j.path === '/job-strategy' && location.pathname === '/job-strategy-detail')
|
||||
? "sidebar-menu-item-active sidebar-menu-item"
|
||||
: "sidebar-menu-item"
|
||||
}
|
||||
@@ -71,7 +73,13 @@ const Sidebar = ({ isCollapsed, setIsCollapsed }) => {
|
||||
>
|
||||
<IconFont
|
||||
className="sidebar-menu-icon"
|
||||
src={location.pathname === j.path ? j.active : j.default}
|
||||
src={
|
||||
location.pathname === j.path ||
|
||||
(j.path === '/company-jobs' && location.pathname === '/company-jobs-list') ||
|
||||
(j.path === '/job-strategy' && location.pathname === '/job-strategy-detail')
|
||||
? j.active
|
||||
: j.default
|
||||
}
|
||||
/>
|
||||
<span className="sidebar-menu-text">{j.name}</span>
|
||||
</li>
|
||||
@@ -86,4 +94,4 @@ const Sidebar = ({ isCollapsed, setIsCollapsed }) => {
|
||||
);
|
||||
};
|
||||
|
||||
export default Sidebar;
|
||||
export default Sidebar;
|
||||
Reference in New Issue
Block a user