Files
jiaowu-test/src/pages/JobStrategyDetailPage/index.css
KQL 00e8cebfe3 feat: 多项功能优化和bug修复
- 修复mockData.js语法错误,恢复项目正常运行
- 优化求职策略详情页拖拽功能,修复重复bug和保存逻辑
- 更新岗位级别名称:初级→普通岗,中级→技术骨干岗,高级→储备干部岗
- 更新个人档案学习时长:我的273小时(100%),班级平均231小时
- 面试模拟页面添加视频锁定界面和背景图片
- 简历面试页面更新模板数据,添加更多岗位简历模板
- React版本降级至18.3.1解决兼容性问题
2025-09-06 10:06:19 +08:00

233 lines
5.3 KiB
CSS

.job-strategy-detail-page {
width: 100%;
height: 100%;
box-sizing: border-box;
padding: 20px;
user-select: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
/* 禁止所有图片的拖拽和选中 */
img {
user-select: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
-webkit-user-drag: none;
-khtml-user-drag: none;
-moz-user-drag: none;
-o-user-drag: none;
pointer-events: none;
}
/* 禁止所有文本选中 */
* {
user-select: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
}
/* 返回按钮样式 */
.back-button-wrapper {
position: absolute;
top: 30px;
left: 30px;
z-index: 10;
}
.back-button {
display: flex;
align-items: center;
gap: 8px;
padding: 8px 16px;
background-color: #ffffff;
border: 1px solid #e5e6eb;
border-radius: 6px;
cursor: pointer;
pointer-events: auto;
transition: all 0.3s ease;
font-size: 14px;
font-weight: 500;
color: #4e5969;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
&:hover {
background-color: #f7f8fa;
border-color: #2c7aff;
color: #2c7aff;
transform: translateX(-2px);
box-shadow: 0 4px 8px rgba(44, 122, 255, 0.15);
}
&:active {
transform: scale(0.98) translateX(-2px);
}
.back-icon {
font-size: 18px;
line-height: 1;
font-weight: 600;
}
.back-text {
font-size: 14px;
}
}
.job-strategy-detail-wrapper {
width: 100%;
height: 100%;
border-radius: 16px;
background-image: linear-gradient(180deg, #d7e5ff, #eff4fb);
box-sizing: border-box;
padding: 20px;
border: 2px solid #fff;
display: flex;
justify-content: flex-start;
align-items: center;
flex-direction: column;
position: relative;
.job-strategy-detail-header {
position: absolute;
top: 20px;
left: 50%;
transform: translateX(-50%);
width: 310px;
height: 50px;
display: flex;
justify-content: space-around;
align-items: center;
background-color: #fff;
border-radius: 25px;
box-sizing: border-box;
padding: 10px;
z-index: 5;
.nav-item {
color: #86909c;
background-color: #f4f7f9;
font-size: 14px;
font-weight: 700;
width: 140px;
height: 34px;
line-height: 34px;
cursor: pointer;
border-radius: 25px;
transition: all 0.3s ease;
display: flex;
align-items: center;
justify-content: center;
gap: 6px;
padding: 0 12px;
&:hover {
background-color: #e8f3ff;
}
.nav-icon {
width: 16px;
height: 16px;
background-size: contain;
background-repeat: no-repeat;
background-position: center;
display: inline-block;
flex-shrink: 0;
}
.nav-text {
font-size: 14px;
font-weight: 700;
white-space: nowrap;
}
/* 优先目标岗位图标 */
.target-icon {
background-image: url("https://ddcz-1315997005.cos.ap-nanjing.myqcloud.com/static/img/teach_sys_icon/recuUY5qlmzVhH.png");
}
/* 曲线就业方案图标 */
.curved-icon {
background-image: url("https://ddcz-1315997005.cos.ap-nanjing.myqcloud.com/static/img/teach_sys_icon/recuVUShwMZfFm.png");
}
}
.item-active {
background-color: #0077ff !important;
color: #fff !important;
/* 选中状态的优先目标岗位图标 */
.target-icon {
background-image: url("https://ddcz-1315997005.cos.ap-nanjing.myqcloud.com/static/img/teach_sys_icon/recuUY5s6knA9u.png");
}
/* 选中状态的曲线就业方案图标 */
.curved-icon {
background-image: url("https://ddcz-1315997005.cos.ap-nanjing.myqcloud.com/static/img/teach_sys_icon/recuVUSJS109uJ.png");
}
}
}
.job-strategy-detail-content {
width: 100%;
height: calc(100% - 80px);
position: relative;
overflow-y: auto;
margin-top: 80px;
}
}
.job-strategy-detail-body {
width: 100%;
height: 100%;
border-radius: 16px;
background-image: linear-gradient(180deg, #d7e5ff, #eff4fb);
box-sizing: border-box;
padding: 20px;
border: 2px solid #fff;
display: flex;
justify-content: flex-start;
align-items: center;
flex-direction: column;
.job-strategy-detail-header {
width: 310px;
height: 50px;
display: flex;
justify-content: space-around;
align-items: center;
background-color: #fff;
border-radius: 25px;
box-sizing: border-box;
padding: 10px;
> div {
color: #86909c;
background-color: #f4f7f9;
font-size: 14px;
font-weight: 700;
width: 140px;
height: 34px;
line-height: 34px;
text-align: center;
cursor: pointer;
border-radius: 25px;
}
.item-active {
background-color: #f2f3f5;
color: #fff;
background-color: #0077ff;
}
}
}
.job-strategy-detail-content {
width: 100%;
height: 100%;
position: relative;
}
}