2025-09-03 13:26:13 +08:00
|
|
|
.job-info-modal-content {
|
2025-09-08 06:13:48 +08:00
|
|
|
max-height: 80vh;
|
2025-09-14 14:23:33 +08:00
|
|
|
max-width: 860px;
|
|
|
|
|
width: 100%;
|
2025-09-03 13:26:13 +08:00
|
|
|
position: relative;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: flex-start;
|
|
|
|
|
background-color: #f2f3f5;
|
2025-09-05 20:46:03 +08:00
|
|
|
background-image: url("@/assets/images/CompanyJobsPage/background.png");
|
2025-09-11 11:34:05 +08:00
|
|
|
background-size: 100% auto;
|
|
|
|
|
background-position: top center;
|
2025-09-05 20:46:03 +08:00
|
|
|
background-repeat: no-repeat;
|
2025-09-03 13:26:13 +08:00
|
|
|
border-radius: 8px;
|
|
|
|
|
box-sizing: border-box;
|
2025-09-08 06:13:48 +08:00
|
|
|
overflow-y: auto;
|
|
|
|
|
overflow-x: hidden;
|
2025-09-03 13:26:13 +08:00
|
|
|
padding: 20px;
|
2025-09-08 06:13:48 +08:00
|
|
|
|
|
|
|
|
/* 自定义滚动条样式 */
|
|
|
|
|
&::-webkit-scrollbar {
|
|
|
|
|
width: 6px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&::-webkit-scrollbar-track {
|
|
|
|
|
background: #f1f1f1;
|
|
|
|
|
border-radius: 3px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&::-webkit-scrollbar-thumb {
|
|
|
|
|
background: #667eea;
|
|
|
|
|
border-radius: 3px;
|
|
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
|
background: #764ba2;
|
|
|
|
|
}
|
|
|
|
|
}
|
2025-09-03 13:26:13 +08:00
|
|
|
|
|
|
|
|
.job-info-modal-search {
|
|
|
|
|
width: 319px;
|
|
|
|
|
height: 36px;
|
|
|
|
|
border: 1px solid #2c7aff;
|
|
|
|
|
|
|
|
|
|
span {
|
|
|
|
|
background-color: #fff;
|
|
|
|
|
}
|
|
|
|
|
input {
|
|
|
|
|
background-color: #fff;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.empty-data-wrapper {
|
|
|
|
|
width: 100%;
|
|
|
|
|
min-height: 555px;
|
|
|
|
|
display: flex;
|
|
|
|
|
}
|
|
|
|
|
.job-info-modal-user-resumes-list {
|
|
|
|
|
width: 100%;
|
2025-09-08 06:13:48 +08:00
|
|
|
min-height: 400px;
|
2025-09-03 13:26:13 +08:00
|
|
|
margin-top: 16px;
|
|
|
|
|
display: grid;
|
|
|
|
|
grid-template-columns: repeat(2, 1fr); /* 每行两列 */
|
|
|
|
|
gap: 20px; /* 网格间距 */
|
2025-09-08 06:13:48 +08:00
|
|
|
justify-items: start; /* 项目左对龁 */
|
|
|
|
|
overflow-y: visible;
|
2025-09-03 13:26:13 +08:00
|
|
|
|
|
|
|
|
.list-item {
|
|
|
|
|
width: 390px;
|
|
|
|
|
height: 100px;
|
|
|
|
|
background-color: #fff;
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
position: relative;
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
padding: 16px 12px;
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
|
|
.list-item-info {
|
|
|
|
|
height: 68px;
|
|
|
|
|
width: 300px;
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: flex-start;
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
|
|
.file-icon {
|
|
|
|
|
width: 68px;
|
|
|
|
|
height: 68px;
|
2025-09-05 20:46:03 +08:00
|
|
|
filter: none !important;
|
|
|
|
|
box-shadow: none !important;
|
2025-09-03 13:26:13 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.file-info {
|
|
|
|
|
width: 220px;
|
|
|
|
|
height: 68px;
|
|
|
|
|
> p {
|
|
|
|
|
text-align: left;
|
|
|
|
|
}
|
|
|
|
|
.file-info-targetPosition {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 28px;
|
|
|
|
|
color: #09090b;
|
|
|
|
|
line-height: 28px;
|
|
|
|
|
font-size: 18px;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.file-info-skills {
|
|
|
|
|
margin-top: 5px;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 21px;
|
|
|
|
|
color: #788089;
|
|
|
|
|
line-height: 21px;
|
|
|
|
|
font-size: 15px;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
overflow: hidden; /* 超出隐藏 */
|
|
|
|
|
white-space: nowrap; /* 禁止换行 */
|
|
|
|
|
text-overflow: ellipsis; /* 文本溢出显示省略号 */
|
|
|
|
|
}
|
2025-09-08 12:59:17 +08:00
|
|
|
|
|
|
|
|
.version-selector {
|
|
|
|
|
margin-top: 8px;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 32px;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
|
|
.arco-select {
|
|
|
|
|
font-size: 12px !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.arco-select-view-single {
|
|
|
|
|
height: 28px !important;
|
|
|
|
|
font-size: 12px !important;
|
|
|
|
|
}
|
|
|
|
|
}
|
2025-09-03 13:26:13 +08:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.info-btn {
|
|
|
|
|
width: 64px;
|
|
|
|
|
height: 28px;
|
|
|
|
|
line-height: 28px;
|
|
|
|
|
text-align: center;
|
|
|
|
|
border-radius: 2px;
|
|
|
|
|
border: 1px solid #2c7aff;
|
|
|
|
|
color: #2c7aff;
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
cursor: pointer;
|
2025-09-05 20:46:03 +08:00
|
|
|
transition: all 0.3s ease;
|
|
|
|
|
background-color: #ffffff;
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
|
background-color: #2c7aff;
|
|
|
|
|
color: #ffffff;
|
|
|
|
|
box-shadow: 0 2px 8px rgba(44, 122, 255, 0.3);
|
|
|
|
|
transform: translateY(-1px);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
|
transform: scale(0.98);
|
|
|
|
|
box-shadow: 0 1px 4px rgba(44, 122, 255, 0.2);
|
|
|
|
|
}
|
2025-09-03 13:26:13 +08:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.job-info-modal-content-position-info {
|
|
|
|
|
width: 100%;
|
2025-09-08 06:13:48 +08:00
|
|
|
min-height: 30px;
|
2025-09-03 13:26:13 +08:00
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: flex-start;
|
|
|
|
|
position: relative;
|
2025-09-08 06:13:48 +08:00
|
|
|
flex-wrap: wrap;
|
|
|
|
|
gap: 10px;
|
2025-09-03 13:26:13 +08:00
|
|
|
|
|
|
|
|
.job-info-modal-content-position-info-position {
|
|
|
|
|
font-size: 20px;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
line-height: 30px;
|
|
|
|
|
color: #1d2129;
|
2025-09-08 06:13:48 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.job-category-tag {
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
padding: 4px 12px;
|
|
|
|
|
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
|
|
|
color: white;
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
border-radius: 12px;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
box-shadow: 0 2px 4px rgba(102, 126, 234, 0.3);
|
2025-09-03 13:26:13 +08:00
|
|
|
}
|
2025-09-11 11:34:05 +08:00
|
|
|
|
|
|
|
|
/* 根据岗位相关标签内容设置不同颜色 */
|
|
|
|
|
.job-category-tag[data-category="专业相关岗位"] {
|
|
|
|
|
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.job-category-tag[data-category="非专业相关岗位"] {
|
|
|
|
|
background: linear-gradient(135deg, #ff6b6b 0%, #feca57 100%);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.job-category-tag[data-category="人才出海岗位"] {
|
|
|
|
|
background: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 100%);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.job-remaining-positions {
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
margin-left: 8px;
|
|
|
|
|
color: #ff4d4f;
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
|
|
|
|
|
.warning-icon {
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
width: 14px;
|
|
|
|
|
height: 14px;
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
background-color: #ff4d4f;
|
|
|
|
|
color: #ffffff;
|
|
|
|
|
font-size: 10px;
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
font-style: normal;
|
|
|
|
|
margin-right: 4px;
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
}
|
|
|
|
|
}
|
2025-09-03 13:26:13 +08:00
|
|
|
|
|
|
|
|
.job-info-modal-content-position-info-num {
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
line-height: 22px;
|
|
|
|
|
color: #ff7d00;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.job-info-modal-content-position-info-salary {
|
|
|
|
|
font-size: 16px;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
line-height: 24px;
|
|
|
|
|
color: #ff7d00;
|
|
|
|
|
position: absolute;
|
|
|
|
|
right: 0;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.job-info-modal-info-tags {
|
|
|
|
|
width: 100%;
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: flex-start;
|
|
|
|
|
align-items: center;
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
margin-top: 10px;
|
|
|
|
|
|
|
|
|
|
.job-info-modal-info-tag {
|
2025-09-11 11:34:05 +08:00
|
|
|
background-color: #ffffff;
|
2025-09-03 13:26:13 +08:00
|
|
|
box-sizing: border-box;
|
|
|
|
|
margin-bottom: 5px;
|
2025-09-11 11:34:05 +08:00
|
|
|
padding: 4px 12px;
|
|
|
|
|
color: #86909c;
|
2025-09-03 13:26:13 +08:00
|
|
|
font-size: 12px;
|
2025-09-11 11:34:05 +08:00
|
|
|
font-weight: 500;
|
|
|
|
|
border-radius: 4px;
|
2025-09-03 13:26:13 +08:00
|
|
|
margin-right: 10px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.job-info-modal-content-position-info-description,
|
|
|
|
|
.job-info-modal-content-position-info-requirements,
|
|
|
|
|
.job-info-modal-content-position-info-companyInfo {
|
|
|
|
|
width: 100%;
|
|
|
|
|
box-sizing: border-box;
|
2025-09-11 14:14:45 +08:00
|
|
|
padding: 16px;
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
background-color: #fff;
|
|
|
|
|
margin: 10px 0;
|
|
|
|
|
border: 1px solid #e5e6eb;
|
2025-09-03 13:26:13 +08:00
|
|
|
|
|
|
|
|
> p {
|
|
|
|
|
width: 100%;
|
|
|
|
|
text-align: left;
|
|
|
|
|
}
|
|
|
|
|
.description-title,
|
|
|
|
|
.requirements-title,
|
|
|
|
|
.companyInfo-title {
|
2025-09-11 14:14:45 +08:00
|
|
|
font-size: 18px;
|
2025-09-03 13:26:13 +08:00
|
|
|
font-weight: 600;
|
2025-09-11 14:14:45 +08:00
|
|
|
line-height: 28px;
|
2025-09-08 06:13:48 +08:00
|
|
|
color: #1d2129;
|
2025-09-11 14:14:45 +08:00
|
|
|
margin-bottom: 12px;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
2025-09-08 06:13:48 +08:00
|
|
|
|
2025-09-11 14:14:45 +08:00
|
|
|
.title-icon {
|
|
|
|
|
width: 20px;
|
|
|
|
|
height: 20px;
|
|
|
|
|
margin-right: 8px;
|
|
|
|
|
object-fit: contain;
|
2025-09-08 06:13:48 +08:00
|
|
|
}
|
2025-09-03 13:26:13 +08:00
|
|
|
}
|
|
|
|
|
|
2025-09-08 06:13:48 +08:00
|
|
|
.description-content {
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
font-weight: 400;
|
2025-09-11 14:14:45 +08:00
|
|
|
line-height: 24px;
|
2025-09-08 06:13:48 +08:00
|
|
|
color: #4e5969;
|
|
|
|
|
text-align: left;
|
|
|
|
|
|
|
|
|
|
.description-item {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: flex-start;
|
2025-09-11 14:14:45 +08:00
|
|
|
margin-bottom: 8px;
|
2025-09-08 06:13:48 +08:00
|
|
|
text-align: left;
|
|
|
|
|
|
|
|
|
|
.description-number {
|
|
|
|
|
display: inline-block;
|
2025-09-11 14:14:45 +08:00
|
|
|
min-width: 20px;
|
2025-09-08 06:13:48 +08:00
|
|
|
font-size: 14px;
|
2025-09-11 14:14:45 +08:00
|
|
|
font-weight: 500;
|
|
|
|
|
color: #1d2129;
|
|
|
|
|
margin-right: 6px;
|
2025-09-08 06:13:48 +08:00
|
|
|
text-align: left;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.description-text {
|
|
|
|
|
flex: 1;
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
font-weight: 400;
|
2025-09-11 14:14:45 +08:00
|
|
|
line-height: 24px;
|
2025-09-08 06:13:48 +08:00
|
|
|
color: #4e5969;
|
|
|
|
|
text-align: left;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
|
margin-bottom: 0;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2025-09-03 13:26:13 +08:00
|
|
|
.companyInfo-content {
|
2025-09-08 06:13:48 +08:00
|
|
|
font-size: 14px;
|
2025-09-03 13:26:13 +08:00
|
|
|
font-weight: 400;
|
|
|
|
|
line-height: 24px;
|
|
|
|
|
color: #4e5969;
|
2025-09-11 14:14:45 +08:00
|
|
|
text-align: left;
|
|
|
|
|
white-space: pre-wrap;
|
|
|
|
|
word-break: break-word;
|
2025-09-03 13:26:13 +08:00
|
|
|
}
|
|
|
|
|
.requirements-content {
|
|
|
|
|
width: 100%;
|
2025-09-08 06:13:48 +08:00
|
|
|
text-align: left;
|
|
|
|
|
|
2025-09-03 13:26:13 +08:00
|
|
|
.requirements-item {
|
2025-09-08 06:13:48 +08:00
|
|
|
display: flex;
|
|
|
|
|
align-items: flex-start;
|
2025-09-11 14:14:45 +08:00
|
|
|
margin-bottom: 8px;
|
2025-09-03 13:26:13 +08:00
|
|
|
text-align: left;
|
2025-09-08 06:13:48 +08:00
|
|
|
|
|
|
|
|
.requirement-number {
|
|
|
|
|
display: inline-block;
|
2025-09-11 14:14:45 +08:00
|
|
|
min-width: 20px;
|
2025-09-08 06:13:48 +08:00
|
|
|
font-size: 14px;
|
2025-09-11 14:14:45 +08:00
|
|
|
font-weight: 500;
|
|
|
|
|
color: #1d2129;
|
|
|
|
|
margin-right: 6px;
|
2025-09-08 06:13:48 +08:00
|
|
|
text-align: left;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.requirement-text {
|
|
|
|
|
flex: 1;
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
font-weight: 400;
|
2025-09-11 14:14:45 +08:00
|
|
|
line-height: 24px;
|
2025-09-08 06:13:48 +08:00
|
|
|
color: #4e5969;
|
|
|
|
|
text-align: left;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
|
margin-bottom: 0;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.requirement-line {
|
|
|
|
|
margin-bottom: 8px;
|
|
|
|
|
padding-left: 16px;
|
|
|
|
|
position: relative;
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
line-height: 22px;
|
2025-09-03 13:26:13 +08:00
|
|
|
color: #4e5969;
|
2025-09-08 06:13:48 +08:00
|
|
|
text-align: left;
|
|
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
|
content: "•";
|
|
|
|
|
position: absolute;
|
|
|
|
|
left: 0;
|
|
|
|
|
color: #667eea;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
|
margin-bottom: 0;
|
|
|
|
|
}
|
2025-09-03 13:26:13 +08:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.job-info-modal-btn {
|
|
|
|
|
width: 120px;
|
|
|
|
|
height: 36px;
|
|
|
|
|
line-height: 36px;
|
|
|
|
|
color: #fff;
|
|
|
|
|
background-color: #2c7aff;
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
align-items: center;
|
|
|
|
|
border-radius: 2px;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
|
|
> i {
|
|
|
|
|
width: 12px;
|
|
|
|
|
height: 12px;
|
|
|
|
|
margin-right: 5px;
|
|
|
|
|
background-image: url("@/assets/images/CompanyJobsPage/btn_icon_2.png");
|
|
|
|
|
background-size: 100% 100%;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
> span {
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
color: #fff;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2025-10-15 15:55:25 +08:00
|
|
|
|
|
|
|
|
/* 公司图片网格布局样式 */
|
|
|
|
|
.company-images-grid {
|
|
|
|
|
margin-top: 16px;
|
|
|
|
|
width: 100%;
|
|
|
|
|
display: grid;
|
|
|
|
|
grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
|
|
|
|
|
gap: 12px;
|
|
|
|
|
max-width: 100%;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 根据图片数量调整列数 */
|
|
|
|
|
.company-images-grid:has(.company-image-item:nth-child(1):last-child) {
|
|
|
|
|
grid-template-columns: 1fr;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.company-images-grid:has(.company-image-item:nth-child(2):last-child) {
|
|
|
|
|
grid-template-columns: repeat(2, 1fr);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.company-images-grid:has(.company-image-item:nth-child(3):last-child) {
|
|
|
|
|
grid-template-columns: repeat(3, 1fr);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.company-images-grid:has(.company-image-item:nth-child(4)) {
|
|
|
|
|
grid-template-columns: repeat(4, 1fr);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.company-image-item {
|
|
|
|
|
position: relative;
|
|
|
|
|
width: 100%;
|
|
|
|
|
aspect-ratio: 4/3;
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
|
|
|
|
transition: all 0.3s ease;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.company-image-item:hover {
|
|
|
|
|
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
|
|
|
|
|
transform: translateY(-4px);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.company-grid-image {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
object-fit: cover;
|
|
|
|
|
display: block;
|
|
|
|
|
transition: transform 0.3s ease;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.company-image-item:hover .company-grid-image {
|
|
|
|
|
transform: scale(1.05);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 图片预览模态框样式 */
|
|
|
|
|
.image-preview-modal {
|
|
|
|
|
position: fixed;
|
|
|
|
|
top: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
right: 0;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
background: rgba(0, 0, 0, 0.9);
|
|
|
|
|
z-index: 10000;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
animation: fadeIn 0.3s ease;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@keyframes fadeIn {
|
|
|
|
|
from {
|
|
|
|
|
opacity: 0;
|
|
|
|
|
}
|
|
|
|
|
to {
|
|
|
|
|
opacity: 1;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.image-preview-content {
|
|
|
|
|
position: relative;
|
|
|
|
|
max-width: 90vw;
|
|
|
|
|
max-height: 90vh;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.image-preview-img {
|
|
|
|
|
max-width: 100%;
|
|
|
|
|
max-height: 90vh;
|
|
|
|
|
object-fit: contain;
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.image-preview-close {
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: -50px;
|
|
|
|
|
right: 0;
|
|
|
|
|
width: 40px;
|
|
|
|
|
height: 40px;
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
background: rgba(255, 255, 255, 0.2);
|
|
|
|
|
color: white;
|
|
|
|
|
border: 2px solid rgba(255, 255, 255, 0.5);
|
|
|
|
|
font-size: 28px;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
transition: all 0.3s ease;
|
|
|
|
|
backdrop-filter: blur(4px);
|
|
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
|
background: rgba(255, 255, 255, 0.3);
|
|
|
|
|
transform: rotate(90deg);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.image-preview-counter {
|
|
|
|
|
position: absolute;
|
|
|
|
|
bottom: -40px;
|
|
|
|
|
left: 50%;
|
|
|
|
|
transform: translateX(-50%);
|
|
|
|
|
background: rgba(255, 255, 255, 0.2);
|
|
|
|
|
color: white;
|
|
|
|
|
padding: 6px 16px;
|
|
|
|
|
border-radius: 16px;
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
backdrop-filter: blur(4px);
|
|
|
|
|
border: 1px solid rgba(255, 255, 255, 0.3);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.image-preview-btn {
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 50%;
|
|
|
|
|
transform: translateY(-50%);
|
|
|
|
|
width: 50px;
|
|
|
|
|
height: 50px;
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
background: rgba(255, 255, 255, 0.2);
|
|
|
|
|
color: white;
|
|
|
|
|
border: 2px solid rgba(255, 255, 255, 0.5);
|
|
|
|
|
font-size: 32px;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
transition: all 0.3s ease;
|
|
|
|
|
backdrop-filter: blur(4px);
|
|
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
|
background: rgba(255, 255, 255, 0.3);
|
|
|
|
|
transform: translateY(-50%) scale(1.1);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
|
transform: translateY(-50%) scale(0.95);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.image-preview-btn-prev {
|
|
|
|
|
left: -70px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.image-preview-btn-next {
|
|
|
|
|
right: -70px;
|
|
|
|
|
}
|