Files
teach_sys_Demo/src/pages/ProjectLibraryPage/components/ImagePreviewModal/index.css
KQL 9198c67caf feat: 优化教务系统多项功能
主要更新:
1. 项目库功能优化
   - 添加项目效果图点击预览功能,支持图片放大查看和切换
   - 新增ImagePreviewModal组件,提供完整的图片预览体验

2. 企业内推岗位页面改进
   - 右侧岗位面试状态卡片支持点击查看岗位详情
   - 从企业内推岗位库直接导入岗位数据
   - 面试状态查看的岗位详情隐藏投递按钮
   - 岗位要求显示优化,添加数字编号格式

3. 课堂作业板块完善
   - 修复垂直能力课只显示4个单元的问题,现可显示全部12个单元
   - 为"展会主题与品牌定位"课程添加"可试看"标签
   - 调整"可试看"标签位置,避免遮挡课程名称
   - 在全部视图中将"展会主题与品牌定位"课程置顶

4. 课程直播间页面优化
   - 为复合能力课添加文字虚线分割线,与垂直能力课保持一致
   - 删除页面顶部的进度条,简化界面

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-08 11:00:54 +08:00

165 lines
3.0 KiB
CSS

.image-preview-modal {
width: 90vw;
height: 90vh;
max-width: 1200px;
max-height: 800px;
background-color: #1a1a1a;
border-radius: 8px;
display: flex;
flex-direction: column;
position: relative;
}
.image-preview-header {
height: 60px;
padding: 0 20px;
display: flex;
align-items: center;
justify-content: space-between;
background-color: rgba(0, 0, 0, 0.8);
border-radius: 8px 8px 0 0;
}
.image-preview-title {
color: #ffffff;
font-size: 16px;
font-weight: 500;
flex: 1;
}
.image-preview-counter {
color: #ffffff;
font-size: 14px;
margin-right: 20px;
opacity: 0.8;
}
.image-preview-header .close-icon {
width: 24px;
height: 24px;
background-image: url("@/assets/images/Common/close.png");
background-size: 100% 100%;
cursor: pointer;
opacity: 0.8;
transition: opacity 0.3s;
filter: brightness(0) invert(1);
}
.image-preview-header .close-icon:hover {
opacity: 1;
}
.image-preview-container {
flex: 1;
display: flex;
align-items: center;
justify-content: center;
position: relative;
overflow: hidden;
}
.image-preview-content {
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
padding: 20px;
}
.image-preview-image {
max-width: 100%;
max-height: 100%;
object-fit: contain;
border-radius: 4px;
box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}
.image-preview-nav {
position: absolute;
top: 50%;
transform: translateY(-50%);
width: 48px;
height: 48px;
background-color: rgba(0, 0, 0, 0.7);
border: 1px solid rgba(255, 255, 255, 0.2);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
color: #ffffff;
transition: all 0.3s;
z-index: 2;
}
.image-preview-nav:hover {
background-color: rgba(0, 0, 0, 0.9);
border-color: rgba(255, 255, 255, 0.4);
transform: translateY(-50%) scale(1.1);
}
.image-preview-nav-prev {
left: 20px;
}
.image-preview-nav-next {
right: 20px;
}
.image-preview-thumbnails {
height: 80px;
padding: 10px 20px;
background-color: rgba(0, 0, 0, 0.8);
border-radius: 0 0 8px 8px;
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
overflow-x: auto;
}
.image-preview-thumbnails::-webkit-scrollbar {
height: 6px;
}
.image-preview-thumbnails::-webkit-scrollbar-track {
background: rgba(255, 255, 255, 0.1);
border-radius: 3px;
}
.image-preview-thumbnails::-webkit-scrollbar-thumb {
background: rgba(255, 255, 255, 0.3);
border-radius: 3px;
}
.image-preview-thumbnails::-webkit-scrollbar-thumb:hover {
background: rgba(255, 255, 255, 0.5);
}
.image-preview-thumbnail {
width: 60px;
height: 60px;
flex-shrink: 0;
border-radius: 4px;
overflow: hidden;
cursor: pointer;
border: 2px solid transparent;
transition: all 0.3s;
opacity: 0.6;
}
.image-preview-thumbnail:hover {
opacity: 0.9;
}
.image-preview-thumbnail.active {
border-color: #4080ff;
opacity: 1;
}
.image-preview-thumbnail img {
width: 100%;
height: 100%;
object-fit: cover;
}