Files
offerpai_web/src/assets/styles/pages/resume.scss
T
2026-06-24 19:03:41 +08:00

295 lines
5.0 KiB
SCSS

@use '../variables' as *;
// ==================== 简历列表页 ====================
.resume-page {
&__content {
margin-left: 2rem;
flex: 1;
padding: 0.12rem 0.36rem;
height: var(--app-height, 100vh);
box-sizing: border-box;
overflow: hidden;
background: $bg-main;
display: flex;
flex-direction: column;
font-size: 0.14rem;
}
&__header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 0.2rem;
}
&__title {
font-size: 0.24rem;
font-weight: 700;
color: $text-dark;
margin: 0;
}
&__upload-btn {
display: flex;
align-items: center;
gap: 0.06rem;
background: $btn-dark;
color: $bg-white;
border: none;
border-radius: 0.2rem;
padding: 0.08rem 0.2rem;
font-size: 0.13rem;
font-weight: 500;
cursor: pointer;
transition: background 0.2s;
&:hover {
background: $btn-dark-hover;
}
}
&__upload-icon {
width: 0.14rem;
height: 0.14rem;
}
// 表格容器
&__table-wrap {
background: $bg-white;
border-radius: 0.12rem;
}
&__table {
width: 100%;
border-collapse: collapse;
}
&__th {
text-align: left;
padding: 0.14rem 0.2rem;
font-size: 0.12rem;
font-weight: 600;
color: $text-dark;
border-bottom: 1px solid $border-color;
white-space: nowrap;
&--action {
width: 2rem;
}
}
&__row {
cursor: pointer;
transition: background 0.15s;
&:hover {
background: $theme-color;
}
&:not(:last-child) {
border-bottom: 1px solid $border-color;
}
}
&__td {
padding: 0.16rem 0.2rem;
font-size: 0.13rem;
color: $text-dark;
vertical-align: middle;
&--action {
position: relative;
text-align: center;
}
}
// 简历名称单元格
&__name-cell {
display: flex;
align-items: center;
gap: 0.06rem;
}
&__avatar {
width: 0.3rem;
height: 0.3rem;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
color: $bg-white;
font-size: 0.13rem;
font-weight: 600;
flex-shrink: 0;
}
&__name {
font-weight: 500;
}
&__default-tag {
font-size: 0.09rem;
color: $accent;
background: #D9F5F0;
border-radius: 0.14rem;
padding: 0.01rem 0.06rem;
padding-bottom: 0.02rem;
white-space: nowrap;
}
// 编辑名称岗位图标按钮
&__edit-btn {
background: none;
border: none;
color: $text-dark;
cursor: pointer;
padding: 0.02rem;
display: flex;
align-items: center;
justify-content: center;
transition: opacity 0.2s;
&:hover {
opacity: 0.6;
}
}
&__edit-icon {
font-size: 0.13rem;
}
// 操作按钮容器
&__actions {
display: flex;
align-items: center;
gap: 0.16rem;
justify-content: flex-end;
}
// 行内操作按钮
&__action-btn {
background: none;
border: none;
font-size: 0.12rem;
color: $text-dark;
cursor: pointer;
padding: 0.04rem 0.08rem;
border-radius: 0.04rem;
white-space: nowrap;
transition: all 0.15s;
&:hover {
color: $accent;
}
// 删除按钮红色
&--delete {
color: #FD6464;
&:hover {
color: #e04545;
}
}
}
// 更多按钮(已移除,保留兼容)
&__more-btn {
background: none;
border: none;
color: $text-light;
cursor: pointer;
padding: 0.04rem;
border-radius: 0.04rem;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.2s;
&:hover {
color: $text-dark;
background: $bg-main;
}
}
&__more-svg {
width: 0.16rem;
height: 0.16rem;
}
// 空状态提示
&__empty {
padding: 0.6rem 0.2rem;
text-align: center;
color: $text-light;
font-size: 0.14rem;
}
}
// ==================== 上传简历加载提示 ====================
.resume-upload-loading {
.el-loading-spinner {
.circular .path {
stroke: $accent;
}
.el-loading-text {
color: $accent;
}
}
}
// ==================== 导出简历弹窗样式修正 ====================
.resume-export-dialog {
font-size: 0.14rem;
.el-dialog__title {
font-size: 16px;
font-weight: 600;
}
.el-dialog__body {
padding: 0.2rem 0.3rem 0.1rem;
}
/* 修正 radio 组件在 100px 基准下的尺寸 */
&__radio-group {
display: flex;
gap: 0.16rem;
.el-radio {
font-size: 14px;
height: auto;
line-height: normal;
.el-radio__inner {
width: 14px;
height: 14px;
}
.el-radio__label {
font-size: 14px;
padding-left: 8px;
}
}
}
.el-dialog__footer {
padding: 0.12rem 0.3rem 0.24rem;
.el-button {
font-size: 13px;
padding: 8px 20px;
border-radius: 6px;
}
.el-button--primary {
background: $btn-dark;
border-color: $btn-dark;
&:hover {
background: $btn-dark-hover;
border-color: $btn-dark-hover;
}
}
}
}