仓库初始化+岗位相关页面

This commit is contained in:
2026-03-24 21:06:00 +08:00
commit 0468339d23
113 changed files with 18644 additions and 0 deletions
+248
View File
@@ -0,0 +1,248 @@
@use '../variables' as *;
// ==================== 求职助手页面样式 ====================
.agent-page {
min-height: 100vh;
background: $bg-main;
// 主内容区域(左侧导航栏右边的部分)
&__content {
margin-left: 2rem;
flex: 1;
padding: 0.3rem 0.4rem;
overflow-y: auto;
height: 100vh;
box-sizing: border-box;
}
// ==================== 顶部步骤导航条 ====================
&__steps {
display: flex;
align-items: center;
justify-content: center;
gap: 0.06rem;
margin-bottom: 0.36rem;
}
// 单个步骤项
&__step {
display: flex;
align-items: center;
gap: 0.06rem;
padding: 0.06rem 0.14rem;
border-radius: 0.2rem;
cursor: pointer;
transition: all 0.25s ease;
user-select: none;
// 激活态 — 深色背景白色文字
&--active {
background: $text-dark;
.agent-page__step-number {
background: $bg-white;
color: $text-dark;
}
.agent-page__step-label {
color: $bg-white;
}
}
}
// 步骤序号圆圈
&__step-number {
width: 0.22rem;
height: 0.22rem;
border-radius: 50%;
background: $text-light;
color: $bg-white;
display: flex;
align-items: center;
justify-content: center;
font-size: 0.12rem;
font-weight: 600;
flex-shrink: 0;
line-height: 1;
transition: all 0.25s ease;
}
// 步骤文字标签
&__step-label {
font-size: 0.13rem;
color: $text-light;
white-space: nowrap;
transition: all 0.25s ease;
}
// 步骤间分隔箭头
&__step-arrow {
display: flex;
align-items: center;
color: $text-light;
svg {
width: 0.14rem;
height: 0.14rem;
}
}
// ==================== 主体内容区域 — 左右两栏 ====================
&__main {
display: flex;
gap: 0.24rem;
align-items: flex-start;
}
// 左侧说明引导区域
&__left {
width: 4.2rem;
flex-shrink: 0;
}
// 右侧个人档案区域
&__right {
flex: 1;
min-width: 0;
}
// ==================== 左侧引导卡片 ====================
&__intro-card {
background: $bg-white;
border-radius: 0.12rem;
padding: 0.3rem;
}
// 卡片头部:图标 + 标题
&__intro-header {
display: flex;
align-items: flex-start;
gap: 0.12rem;
margin-bottom: 0.2rem;
}
// 用户图标
&__intro-icon {
width: 0.28rem;
height: 0.28rem;
flex-shrink: 0;
color: $text-dark;
margin-top: 0.02rem;
svg {
width: 100%;
height: 100%;
}
}
// 引导标题
&__intro-title {
font-size: 0.16rem;
font-weight: 700;
color: $text-dark;
line-height: 1.5;
margin: 0;
}
// 说明描述文字
&__intro-desc {
font-size: 0.13rem;
color: $text-light;
line-height: 1.7;
margin-bottom: 0.28rem;
padding-left: 0.4rem;
}
// 导入个人资料行
&__import-row {
display: flex;
align-items: center;
gap: 0.1rem;
padding: 0.14rem 0.16rem;
background: $bg-main;
border-radius: 0.08rem;
margin-bottom: 0.28rem;
margin-left: 0.4rem;
}
// 导入图标
&__import-icon {
width: 0.18rem;
height: 0.18rem;
color: $text-dark;
flex-shrink: 0;
svg {
width: 100%;
height: 100%;
}
}
// 导入文字
&__import-text {
font-size: 0.13rem;
color: $text-dark;
font-weight: 500;
}
// 确认并进入按钮
&__confirm-btn {
display: block;
width: 2rem;
height: 0.42rem;
margin-left: 0.4rem;
background: $text-dark;
color: $bg-white;
border: none;
border-radius: 0.21rem;
font-size: 0.14rem;
font-weight: 500;
cursor: pointer;
transition: background 0.25s ease;
line-height: 0.42rem;
text-align: center;
padding: 0;
&:hover {
background: $btn-dark-hover;
}
&:active {
transform: scale(0.98);
}
}
// ==================== 右侧个人档案包裹 ====================
&__profile-wrapper {
background: $bg-main;
border-radius: 0.12rem;
border: 1px solid $border-color;
padding: 0.24rem;
max-height: calc(100vh - 1.4rem);
overflow-y: auto;
// 自定义滚动条
&::-webkit-scrollbar {
width: 4px;
}
&::-webkit-scrollbar-thumb {
background: $border-color;
border-radius: 2px;
}
&::-webkit-scrollbar-track {
background: transparent;
}
}
// 个人档案标题
&__profile-title {
font-size: 0.15rem;
font-weight: 700;
color: $text-dark;
margin-bottom: 0.16rem;
padding-bottom: 0.12rem;
border-bottom: 1px solid $border-color;
}
}
File diff suppressed because it is too large Load Diff
+7
View File
@@ -0,0 +1,7 @@
// Home 页面样式
.home-page {
// 在这里添加 Home 页面的样式
h1{
color: blue;
}
}
+632
View File
@@ -0,0 +1,632 @@
@use '../variables' as *;
// ==================== 岗位详情页 ====================
.job-detail {
&__content {
margin-left: 2rem;
margin-right: 3.2rem;
flex: 1;
padding: 0.12rem 0.56rem 0.12rem 0.18rem;
height: 100vh;
box-sizing: border-box;
overflow: hidden;
background: $bg-main;
display: flex;
flex-direction: column;
}
// ---- 页面标题 ----
&__header {
margin-bottom: 0;
}
&__page-title {
font-size: 0.24rem;
font-weight: 700;
color: $text-dark;
margin: 0;
line-height: 1.1;
}
&__page-subtitle {
font-size: 0.13rem;
color: $text-light;
margin: 0.02rem 0 0 0;
}
// ---- Tab 切换 ----
&__tabs {
display: inline-flex;
align-items: center;
gap: 0.04rem;
margin: 0.1rem 0 0.16rem 0;
background: $bg-white;
border-radius: 0.22rem;
padding: 0.04rem;
}
&__tab {
font-size: 0.13rem;
color: $text-light;
cursor: pointer;
padding: 0.06rem 0.22rem;
border-radius: 0.18rem;
transition: all 0.25s ease;
user-select: none;
font-weight: 500;
&:hover {
color: $text-dark;
background: $theme-color;
}
&--active {
background: $accent;
color: $bg-white;
font-weight: 600;
box-shadow: 0 0.02rem 0.08rem rgba(79, 194, 201, 0.3);
&:hover {
background: $accent-hover;
color: $bg-white;
}
}
}
// ---- 顶部操作栏 ----
&__toolbar {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 0.14rem;
}
&__close-btn {
width: 0.32rem;
height: 0.32rem;
border-radius: 50%;
border: 1px solid $border-color;
background: $bg-white;
color: $text-dark;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.2s;
&:hover {
background: $theme-color;
border-color: $accent;
color: $accent;
}
}
&__close-icon {
width: 0.14rem;
height: 0.14rem;
}
&__toolbar-right {
display: flex;
align-items: center;
gap: 0.1rem;
}
&__tool-btn {
width: 0.32rem;
height: 0.32rem;
border-radius: 50%;
border: 1px solid $border-color;
background: $bg-white;
color: $text-light;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.2s;
&:hover {
color: $accent;
border-color: $accent;
background: $theme-color;
}
}
&__tool-icon {
width: 0.14rem;
height: 0.14rem;
}
&__apply-btn {
background: $btn-dark;
color: $bg-white;
border: none;
border-radius: 0.2rem;
padding: 0.07rem 0.22rem;
font-size: 0.13rem;
font-weight: 500;
cursor: pointer;
transition: background 0.2s;
&:hover {
background: $btn-dark-hover;
}
}
// ---- 内容区域 ----
&__body {
flex: 1;
overflow-y: auto;
display: flex;
flex-direction: column;
gap: 0.14rem;
padding-bottom: 0.4rem;
padding-right: 0.05rem;
}
// ---- 导航 Tab ----
&__nav-tabs {
display: flex;
align-items: center;
gap: 0.2rem;
margin-bottom: 0.04rem;
}
&__nav-tab {
font-size: 0.16rem;
font-weight: 600;
color: $text-light;
cursor: pointer;
padding-bottom: 0.06rem;
border-bottom: 2px solid transparent;
transition: all 0.2s;
&:hover {
color: $text-dark;
}
&--active {
color: $text-dark;
border-bottom-color: $text-dark;
}
}
&__nav-tab-right {
margin-left: auto;
display: flex;
align-items: center;
gap: 0.16rem;
padding-right: 0.05rem;
}
&__link-btn {
font-size: 0.12rem;
color: $text-light;
cursor: pointer;
transition: color 0.2s;
&:hover {
color: $accent;
}
}
// ---- 卡片 ----
&__card {
background: $bg-white;
border-radius: 0.12rem;
padding: 0.22rem 0.24rem;
}
&__card-top {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 0.3rem;
}
&__card-left {
flex: 1;
min-width: 0;
}
// ---- 公司 & 职位头部 ----
&__company-row {
display: flex;
align-items: center;
gap: 0.1rem;
margin-bottom: 0.1rem;
}
&__company-icon {
width: 0.36rem;
height: 0.36rem;
border-radius: 0.08rem;
background: $theme-color;
display: flex;
align-items: center;
justify-content: center;
border: 1px solid $border-color;
flex-shrink: 0;
}
&__company-svg {
width: 0.2rem;
height: 0.2rem;
color: $accent;
}
&__company-name {
font-size: 0.15rem;
font-weight: 600;
color: $text-dark;
}
&__job-title {
font-size: 0.2rem;
font-weight: 700;
color: $text-dark;
margin: 0 0 0.1rem 0;
}
&__job-meta {
display: flex;
align-items: center;
gap: 0.2rem;
flex-wrap: wrap;
}
&__meta-item {
display: flex;
align-items: center;
gap: 0.05rem;
font-size: 0.12rem;
color: $text-light;
}
&__meta-icon {
width: 0.14rem;
height: 0.14rem;
color: $text-light;
flex-shrink: 0;
}
// ---- 匹配度 ----
&__match-area {
display: flex;
flex-direction: column;
align-items: center;
flex-shrink: 0;
}
&__match-ring {
position: relative;
width: 0.72rem;
height: 0.72rem;
display: flex;
align-items: center;
justify-content: center;
}
&__ring-svg {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
&__match-score {
font-size: 0.18rem;
font-weight: 700;
color: $accent-hover;
position: relative;
z-index: 1;
}
&__match-label {
font-size: 0.1rem;
color: $text-light;
margin-top: 0.04rem;
}
&__match-details {
display: flex;
align-items: center;
gap: 0.12rem;
margin-top: 0.12rem;
}
&__match-item {
display: flex;
flex-direction: column;
align-items: center;
gap: 0.03rem;
}
&__match-mini-ring {
position: relative;
width: 0.4rem;
height: 0.4rem;
display: flex;
align-items: center;
justify-content: center;
}
&__mini-ring-svg {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
&__mini-score {
font-size: 0.1rem;
font-weight: 600;
color: $text-dark;
position: relative;
z-index: 1;
}
&__match-item-label {
font-size: 0.09rem;
color: $text-light;
white-space: nowrap;
}
// ---- 优化简历提示条 ----
&__optimize-bar {
display: flex;
align-items: center;
justify-content: space-between;
background: $btn-dark;
color: $bg-white;
border-radius: 0.1rem;
padding: 0.14rem 0.2rem;
font-size: 0.13rem;
}
&__optimize-btn {
background: $bg-white;
color: $text-dark;
border: none;
border-radius: 0.06rem;
padding: 0.07rem 0.18rem;
font-size: 0.12rem;
font-weight: 500;
cursor: pointer;
transition: all 0.2s;
white-space: nowrap;
&:hover {
background: $theme-color;
color: $accent-hover;
}
}
// ---- 描述文本 ----
&__desc-text {
font-size: 0.13rem;
color: $text-dark;
line-height: 1.8;
margin: 0 0 0.12rem 0;
}
// ---- 标签 ----
&__tag-list {
display: flex;
flex-wrap: wrap;
gap: 0.08rem;
}
&__tag {
font-size: 0.12rem;
color: $text-dark;
background: $bg-main;
border: 1px solid $border-color;
border-radius: 0.04rem;
padding: 0.04rem 0.14rem;
transition: all 0.2s;
&:hover {
border-color: $accent;
color: $accent;
background: $theme-color;
}
}
// ---- 区块标题 ----
&__section-title {
font-size: 0.17rem;
font-weight: 700;
color: $text-dark;
margin: 0 0 0.14rem 0;
}
&__section-header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 0.14rem;
.job-detail__section-title {
margin-bottom: 0;
}
}
&__skill-hint {
display: flex;
align-items: center;
gap: 0.04rem;
font-size: 0.11rem;
color: $text-light;
}
&__hint-icon {
width: 0.12rem;
height: 0.12rem;
flex-shrink: 0;
}
// ---- 技能标签 ----
&__skill-tags {
display: flex;
flex-wrap: wrap;
gap: 0.08rem;
margin-bottom: 0.16rem;
}
&__skill-tag {
display: inline-flex;
align-items: center;
gap: 0.04rem;
font-size: 0.12rem;
color: $text-dark;
background: $bg-main;
border: 1px solid $border-color;
border-radius: 0.2rem;
padding: 0.05rem 0.14rem;
transition: all 0.2s;
&--matched {
background: $theme-color;
border-color: $accent;
color: $accent-hover;
}
}
&__skill-close {
width: 0.1rem;
height: 0.1rem;
color: $accent;
cursor: pointer;
}
// ---- 列表 ----
&__list {
font-size: 0.13rem;
color: $text-dark;
line-height: 2;
margin: 0;
padding-left: 0.2rem;
li {
padding-left: 0.04rem;
}
}
// ---- 公司信息 ----
&__company-info {
display: flex;
gap: 0.4rem;
}
&__company-info-left {
flex: 1;
min-width: 0;
}
&__company-header {
display: flex;
align-items: center;
gap: 0.1rem;
margin-bottom: 0.12rem;
}
&__company-logo {
width: 0.36rem;
height: 0.36rem;
border-radius: 50%;
background: $bg-main;
display: flex;
align-items: center;
justify-content: center;
border: 1px solid $border-color;
flex-shrink: 0;
}
&__company-info-name {
font-size: 0.16rem;
font-weight: 600;
color: $text-dark;
}
&__company-desc {
font-size: 0.12rem;
color: $text-dark;
line-height: 1.8;
margin: 0;
}
&__company-info-right {
flex-shrink: 0;
display: flex;
flex-direction: column;
gap: 0.08rem;
}
&__company-meta-item {
font-size: 0.12rem;
color: $text-dark;
line-height: 1.6;
}
&__meta-label {
color: $text-light;
}
&__company-link {
color: $accent;
text-decoration: none;
transition: color 0.2s;
&:hover {
color: $accent-hover;
text-decoration: underline;
}
}
// ---- 融资 ----
&__funding-label {
font-weight: 600;
color: $text-dark;
}
// ---- 最新动态 ----
&__news-list {
display: flex;
gap: 0.14rem;
}
&__news-item {
flex: 1;
background: $bg-main;
border: 1px solid $border-color;
border-radius: 0.08rem;
padding: 0.14rem 0.16rem;
transition: all 0.2s;
&:hover {
border-color: $accent;
background: $theme-color;
}
}
&__news-title {
font-size: 0.13rem;
font-weight: 600;
color: $text-dark;
margin: 0 0 0.06rem 0;
}
&__news-desc {
font-size: 0.11rem;
color: $text-light;
line-height: 1.6;
margin: 0;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
}
+702
View File
@@ -0,0 +1,702 @@
// Jobs 页面样式
// 颜色变量已移至全局 variables.scss
@use '../variables' as *;
.jobs-page {
&__content {
margin-left: 2rem;
margin-right: 3.6rem;
flex: 1;
padding: 0.12rem 0.18rem;
height: 100vh;
box-sizing: border-box;
overflow: hidden;
background: $bg-main;
display: flex;
flex-direction: column;
}
// 页面标题
&__header {
margin-bottom: 0;
}
&__title {
font-size: 0.24rem;
font-weight: 700;
color: $text-dark;
margin: 0 !important;
padding: 0;
line-height: 1.1;
}
&__subtitle {
font-size: 0.13rem;
color: $text-light;
margin: 0.02rem 0 0 0 !important;
padding: 0;
}
// Tab 切换
&__tabs {
display: inline-flex;
align-items: center;
gap: 0.04rem;
margin: 0.06rem 0 0.16rem 0;
background: $bg-white;
border-radius: 0.22rem;
padding: 0.04rem;
}
&__tab {
font-size: 0.13rem;
color: $text-light;
cursor: pointer;
padding: 0.06rem 0.22rem;
border-radius: 0.18rem;
transition: all 0.25s ease;
user-select: none;
font-weight: 500;
&:hover {
color: $text-dark;
background: $theme-color;
}
&--active {
background: $accent;
color: $bg-white;
font-weight: 600;
box-shadow: 0 0.02rem 0.08rem rgba(79, 194, 201, 0.3);
&:hover {
background: $accent-hover;
color: $bg-white;
}
}
}
// 筛选条件外层白色背景条
&__filters-bar {
background: $bg-white;
border-radius: 0.12rem;
padding: 0.14rem 0.18rem;
margin-bottom: 0.2rem;
}
// 筛选条件
&__filters {
display: flex;
align-items: center;
gap: 0.12rem;
}
&__filter-group {
display: flex;
align-items: center;
gap: 0.08rem;
}
&__filter-item {
display: flex;
align-items: center;
gap: 0.04rem;
background: $bg-main;
border: 1px solid #E8E8E8;
border-radius: 0.2rem;
padding: 0.05rem 0.14rem;
color: $text-dark;
font-size: 0.12rem;
cursor: pointer;
transition: all 0.2s ease;
white-space: nowrap;
position: relative;
&:hover {
border-color: $accent;
color: $accent;
background: $theme-color;
}
}
// 工作类型下拉菜单
&__filter-dropdown {
position: absolute;
top: calc(100% + 0.06rem);
left: 0;
background: $bg-white;
border: 1px solid #E8E8E8;
border-radius: 0.08rem;
padding: 0.04rem 0;
box-shadow: 0 0.04rem 0.12rem rgba(0, 0, 0, 0.08);
z-index: 20;
min-width: 100%;
}
// 下拉菜单选项
&__filter-dropdown-item {
padding: 0.06rem 0.16rem;
font-size: 0.12rem;
color: $text-dark;
cursor: pointer;
white-space: nowrap;
transition: all 0.15s;
&:hover {
background: $theme-color;
color: $accent-hover;
}
// 选中态
&--active {
color: $accent;
font-weight: 600;
}
}
&__filter-arrow-icon {
width: 0.1rem;
height: 0.1rem;
color: $text-light;
flex-shrink: 0;
}
&__search-box {
flex: 1;
display: flex;
align-items: center;
background: $bg-white;
border: 1px solid #E8E8E8;
border-radius: 0.2rem;
padding: 0.07rem 0.14rem;
min-width: 1.6rem;
transition: border-color 0.2s ease;
&:focus-within {
border-color: $accent;
}
}
&__search-svg {
width: 0.14rem;
height: 0.14rem;
color: $text-light;
margin-right: 0.08rem;
flex-shrink: 0;
}
&__search-input {
flex: 1;
background: transparent;
border: none;
outline: none;
color: $text-dark;
font-size: 0.12rem;
&::placeholder {
color: $text-light;
}
}
// 职位列表
&__list {
display: flex;
flex-direction: column;
gap: 0.12rem;
flex: 1;
overflow-y: auto;
padding-bottom: 0.2rem;
}
&__job-card {
background: $bg-white;
border-radius: 0.12rem;
padding: 0.16rem 0.14rem;
transition: all 0.25s ease;
border: 0.02rem solid transparent;
cursor: pointer;
&:hover {
box-shadow: 0 0.04rem 0.16rem rgba(0, 0, 0, 0.06);
background: #fbfbfb;
transform: translateY(-0.01rem);
}
&--selected {
border-color: $accent;
background: $selected-color;
box-shadow: 0 0.02rem 0.12rem rgba(79, 194, 201, 0.12);
}
}
&__job-main {
display: flex;
align-items: stretch;
gap: 0.2rem;
}
&__job-left {
flex: 1;
display: flex;
gap: 0.16rem;
min-width: 0;
}
&__job-icon {
width: 0.44rem;
height: 0.44rem;
border-radius: 0.1rem;
background: $theme-color;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
border: 1px solid #E8E8E8;
}
&__company-svg {
width: 0.24rem;
height: 0.24rem;
color: $accent;
}
&__job-info {
flex: 1;
min-width: 0;
}
&__job-title-row {
display: flex;
align-items: center;
justify-content: space-between;
}
&__job-name {
font-size: 0.15rem;
font-weight: 600;
color: $text-dark;
line-height: 1.4;
}
&__job-more {
color: $text-light;
cursor: pointer;
background: none;
border: none;
padding: 0.04rem;
border-radius: 0.04rem;
transition: all 0.2s;
display: flex;
align-items: center;
&:hover {
color: $text-dark;
background: $bg-main;
}
}
&__more-svg {
width: 0.16rem;
height: 0.16rem;
}
&__job-meta {
font-size: 0.12rem;
color: $text-light;
margin-top: 0.04rem;
line-height: 1.4;
}
&__job-dot {
margin: 0 0.04rem;
color: #D9D9D9;
}
&__job-tip {
font-size: 0.11rem;
color: $accent-hover;
background: $theme-color;
border-radius: 0.04rem;
padding: 0.05rem 0.1rem;
margin-top: 0.1rem;
display: inline-flex;
align-items: center;
gap: 0.04rem;
border: 1px solid rgba(79, 194, 201, 0.2);
}
&__tip-svg {
width: 0.12rem;
height: 0.12rem;
flex-shrink: 0;
}
&__job-tags {
display: flex;
gap: 0.08rem;
margin-top: 0.1rem;
flex-wrap: wrap;
}
&__job-tag {
font-size: 0.11rem;
color: #888;
background: $bg-main;
border-radius: 0.04rem;
padding: 0.03rem 0.1rem;
transition: all 0.2s;
&:hover {
color: $accent-hover;
background: $theme-color;
}
}
// 底部操作栏
&__job-actions {
display: flex;
align-items: center;
justify-content: space-between;
margin-top: 0.14rem;
position: relative;
}
&__job-action-left {
display: flex;
align-items: center;
gap: 0.08rem;
}
&__action-icon-btn {
width: 0.28rem;
height: 0.28rem;
border-radius: 50%;
border: none;
background: $bg-main;
color: $text-light;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.2s;
&:hover {
background: $theme-color;
color: $accent;
}
&--liked {
background: #FFF0ED;
color: $danger;
&:hover {
background: #FFE4DE;
}
}
}
&__action-svg {
width: 0.14rem;
height: 0.14rem;
}
&__job-action-right {
display: flex;
align-items: center;
gap: 0.12rem;
}
&__job-helper {
font-size: 0.12rem;
color: $text-light;
cursor: pointer;
transition: color 0.2s;
display: flex;
align-items: center;
gap: 0.04rem;
background: none;
border: none;
padding: 0.04rem 0.08rem;
border-radius: 0.14rem;
&:hover {
color: $accent;
background: $theme-color;
}
}
&__helper-svg {
width: 0.14rem;
height: 0.14rem;
}
&__job-apply-btn {
background: $bg-main;
border: 1px solid #E8E8E8;
border-radius: 0.2rem;
padding: 0.06rem 0.2rem;
color: $text-dark;
font-size: 0.12rem;
cursor: pointer;
transition: all 0.2s;
font-weight: 500;
&:hover {
border-color: $accent;
color: $accent;
background: $theme-color;
}
&--active {
background: $accent;
border-color: $accent;
color: $bg-white;
&:hover {
background: $accent-hover;
border-color: $accent-hover;
}
}
}
// 弹出菜单
&__job-popup {
position: absolute;
right: 0.26rem;
top: -0.64rem;
background: $bg-white;
border: 1px solid #E8E8E8;
border-radius: 0.1rem;
padding: 0.06rem 0;
box-shadow: 0 0.06rem 0.2rem rgba(0, 0, 0, 0.1);
z-index: 10;
}
&__job-popup-item {
padding: 0.08rem 0.2rem;
font-size: 0.12rem;
color: $text-dark;
cursor: pointer;
white-space: nowrap;
transition: all 0.15s;
&:hover {
background: $theme-color;
color: $accent-hover;
}
}
// 匹配度卡片
&__job-match {
width: 1.1rem;
text-align: center;
flex-shrink: 0;
border-radius: 0.12rem;
padding: 0.14rem 0.1rem;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 0.02rem;
transition: all 0.25s ease;
&--high {
background: linear-gradient(135deg, $theme-color 0%, rgba(79, 194, 201, 0.15) 100%);
border: 1px solid rgba(79, 194, 201, 0.25);
}
&--low {
background: $bg-main;
border: 1px solid #E8E8E8;
}
}
&__match-ring {
position: relative;
width: 0.64rem;
height: 0.64rem;
display: flex;
align-items: center;
justify-content: center;
}
&__ring-svg {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
&__match-score {
font-size: 0.18rem;
font-weight: 700;
color: $text-dark;
line-height: 1;
position: relative;
z-index: 1;
}
&__match-label {
font-size: 0.1rem;
color: $text-light;
margin-top: 0.04rem;
}
&__match-level {
font-size: 0.1rem;
color: $text-light;
margin-top: 0.01rem;
}
// 加载更多提示
&__loading-more {
text-align: center;
padding: 0.16rem 0;
font-size: 0.12rem;
color: $text-light;
}
// 高匹配度特殊样式
&__job-match--high &__match-score {
color: $accent-hover;
}
&__job-match--high &__match-level {
color: $accent;
font-weight: 500;
}
}
// ==================== 不感兴趣反馈弹窗 ====================
.dislike-dialog {
// 弹窗圆角
.el-dialog {
border-radius: 0.16rem;
overflow: hidden;
}
// 覆盖 el-dialog 默认 body padding
.el-dialog__body {
padding: 0.12rem;
}
// 标题样式
&__title {
font-size: 0.16rem;
font-weight: 600;
color: $text-dark;
line-height: 1.6;
margin-bottom: 0.2rem;
margin-top: 0.12rem;
// 居中标题(问题反馈弹窗用)
&--center {
text-align: center;
}
}
// 选项列表容器
&__options {
display: flex;
flex-direction: column;
gap: 0.1rem;
margin-bottom: 0.16rem;
}
// 单个选项行
&__option {
display: flex;
align-items: center;
background: $bg-main;
border-radius: 0.08rem;
padding: 0.04rem 0.1rem;
cursor: pointer;
transition: all 0.2s;
border: 1px solid transparent;
&:hover {
border-color: $accent;
background: $theme-color;
}
// 选中态
&--active {
border-color: $accent;
background: $theme-color;
}
// 覆盖 el-radio 默认样式
.el-radio {
margin-right: 0;
width: 100%;
.el-radio__label {
font-size: 0.14rem;
color: $text-dark;
font-weight: 500;
}
}
}
// 补充描述输入框
&__textarea {
.el-textarea__inner {
background: $bg-main;
border: 1px solid $border-color;
border-radius: 0.08rem;
font-size: 0.13rem;
color: $text-dark;
resize: none;
&::placeholder {
color: $text-light;
}
&:focus {
border-color: $accent;
}
}
}
// 底部按钮区域
&__footer {
margin-top: 0.3rem;
display: flex;
gap: 0.16rem;
}
// 按钮通用样式
&__btn {
flex: 1;
padding: 0.12rem 0;
border-radius: 0.08rem;
font-size: 0.14rem;
font-weight: 600;
cursor: pointer;
transition: all 0.2s;
border: none;
// 取消按钮
&--cancel {
background: $bg-main;
color: $text-light;
border: 1px solid $border-color;
&:hover {
color: $text-dark;
border-color: #ccc;
}
}
// 提交按钮
&--submit {
background: $btn-dark;
color: $bg-white;
&:hover {
background: $btn-dark-hover;
}
}
}
}
+87
View File
@@ -0,0 +1,87 @@
.login-dialog {
width: 6rem;
.el-dialog__header {
padding: 0.16rem 0.16rem 0;
margin-right: 0;
}
.el-dialog__body {
padding: 0 0.4rem 0.4rem;
}
}
.login-page {
text-align: center;
.login-title {
font-size: 0.28rem;
font-weight: 700;
color: #1a1a2e;
margin-bottom: 0.4rem;
}
.login-form {
display: flex;
flex-direction: column;
gap: 0.16rem;
}
.login-input {
height: 0.4rem;
.el-input__wrapper {
background-color: #f5f5f7;
border-radius: 0.08rem;
box-shadow: none;
padding: 0.00rem 0.16rem;
}
}
.code-row {
display: flex;
align-items: center;
gap: 0.12rem;
.login-input {
flex: 1;
}
.send-code-btn {
white-space: nowrap;
border-radius: 0.2rem;
padding: 0.08rem 0.2rem;
font-size: 0.14rem;
}
}
.login-btn {
margin-top: 0.16rem;
width: 100%;
height: 0.52rem;
border-radius: 0.26rem;
font-size: 0.18rem;
font-weight: 600;
background-color: #1a1a2e;
border-color: #1a1a2e;
&:hover,
&:focus {
background-color: #2d2d44;
border-color: #2d2d44;
}
}
.register-link {
margin-top: 0.08rem;
font-size: 0.14rem;
color: #666;
a {
color: #409eff;
text-decoration: none;
&:hover {
text-decoration: underline;
}
}
}
}
+135
View File
@@ -0,0 +1,135 @@
@use '../variables' as *;
// ==================== 个人资料页 ====================
.profile-page {
&__content {
margin-left: 2rem;
flex: 1;
padding: 0.12rem 0.36rem;
height: 100vh;
box-sizing: border-box;
overflow-y: auto;
background: $bg-main;
display: flex;
flex-direction: column;
}
// 页面标题区
&__header {
margin-bottom: 0.16rem;
}
&__title {
font-size: 0.2rem;
font-weight: 700;
color: $text-dark;
margin: 0;
display: flex;
align-items: center;
gap: 0.06rem;
}
&__title-tip {
font-size: 0.14rem;
color: $text-light;
cursor: help;
}
&__subtitle {
font-size: 0.12rem;
color: $text-light;
margin: 0.06rem 0 0 0;
line-height: 1.6;
max-width: 5.6rem;
}
// 主体区域
&__body {
display: flex;
gap: 0.24rem;
flex: 1;
min-height: 0;
}
// 右侧边栏
&__sidebar {
padding-left: 0.1rem;
width: 3.0rem;
flex-shrink: 0;
display: flex;
flex-direction: column;
gap: 0.12rem;
}
// 提示卡片
&__tip-card {
background: $btn-dark;
border-radius: 0.12rem;
padding: 0.2rem;
color: $bg-white;
}
&__tip-text {
font-size: 0.13rem;
line-height: 1.7;
margin: 0 0 0.16rem 0;
color: rgba(255, 255, 255, 0.85);
}
&__tip-btn {
display: block;
width: 100%;
background: $bg-white;
color: $text-dark;
border: none;
border-radius: 0.06rem;
padding: 0.08rem 0;
font-size: 0.13rem;
font-weight: 500;
cursor: pointer;
transition: all 0.2s;
text-align: center;
&:hover {
background: $theme-color;
color: $accent-hover;
}
}
// 导航入口
&__nav-entry {
background: $bg-white;
border-radius: 0.12rem;
padding: 0.14rem 0.16rem;
display: flex;
align-items: center;
gap: 0.08rem;
cursor: pointer;
transition: all 0.2s;
&:hover {
box-shadow: 0 0.02rem 0.1rem rgba(0, 0, 0, 0.06);
background: $theme-color;
}
}
&__nav-entry-icon {
font-size: 0.16rem;
flex-shrink: 0;
}
&__nav-entry-text {
flex: 1;
font-size: 0.13rem;
color: $text-dark;
font-weight: 500;
}
&__nav-arrow {
width: 0.14rem;
height: 0.14rem;
color: $text-light;
flex-shrink: 0;
}
}
+393
View File
@@ -0,0 +1,393 @@
@use '../variables' as *;
// ==================== 简历详情页 ====================
.resume-detail {
&__content {
margin-left: 2rem;
flex: 1;
padding: 0.12rem 0.36rem;
height: 100vh;
box-sizing: border-box;
overflow-y: auto;
background: $bg-main;
display: flex;
flex-direction: column;
}
&__page-title {
font-size: 0.24rem;
font-weight: 700;
color: $text-dark;
margin: 0 0 0.16rem 0;
}
// ---- 顶部操作栏 ----
&__toolbar {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 0.16rem;
}
&__toolbar-left {
display: flex;
align-items: center;
gap: 0.12rem;
}
&__back-btn {
width: 0.32rem;
height: 0.32rem;
border-radius: 50%;
border: 1px solid $border-color;
background: $bg-white;
color: $text-dark;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.2s;
&:hover {
background: $theme-color;
border-color: $accent;
color: $accent;
}
}
&__back-icon {
width: 0.14rem;
height: 0.14rem;
}
&__tab-name {
font-size: 0.14rem;
font-weight: 500;
color: $text-dark;
background: $bg-white;
border: 1px solid $border-color;
border-radius: 0.16rem;
padding: 0.05rem 0.16rem;
}
&__toolbar-right {
display: flex;
align-items: center;
gap: 0.1rem;
}
&__tool-btn {
display: flex;
align-items: center;
gap: 0.04rem;
background: none;
border: none;
color: $text-light;
font-size: 0.12rem;
cursor: pointer;
padding: 0.05rem 0.1rem;
border-radius: 0.06rem;
transition: all 0.2s;
white-space: nowrap;
&:hover {
color: $text-dark;
background: $bg-white;
}
&--danger:hover {
color: $danger;
}
}
&__tool-icon {
width: 0.13rem;
height: 0.13rem;
flex-shrink: 0;
}
// ---- 评分区域 ----
&__score-bar {
display: flex;
align-items: center;
justify-content: space-between;
background: $bg-white;
border-radius: 0.12rem;
padding: 0.18rem 0.24rem;
margin-bottom: 0.16rem;
}
&__score-left {
display: flex;
align-items: center;
gap: 0.12rem;
}
&__score-avatar {
width: 0.4rem;
height: 0.4rem;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
color: $bg-white;
font-size: 0.18rem;
font-weight: 700;
flex-shrink: 0;
}
&__score-badge {
font-size: 0.11rem;
font-weight: 600;
color: $bg-white;
background: $accent;
border-radius: 0.1rem;
padding: 0.03rem 0.1rem;
}
&__score-link {
font-size: 0.12rem;
color: $text-light;
background: none;
border: none;
cursor: pointer;
transition: color 0.2s;
&:hover {
color: $accent;
}
}
&__score-right {
display: flex;
align-items: center;
gap: 0.2rem;
}
&__score-item {
text-align: center;
display: flex;
flex-direction: column;
align-items: center;
gap: 0.02rem;
}
&__score-num {
font-size: 0.22rem;
font-weight: 700;
color: $text-dark;
line-height: 1.2;
}
&__score-label {
font-size: 0.1rem;
color: $text-light;
white-space: nowrap;
}
&__diagnose-btn {
background: $btn-dark;
color: $bg-white;
border: none;
border-radius: 0.06rem;
padding: 0.08rem 0.18rem;
font-size: 0.13rem;
font-weight: 500;
cursor: pointer;
transition: background 0.2s;
white-space: nowrap;
&:hover {
background: $btn-dark-hover;
}
}
// ---- 简历主体 ----
&__body {
display: flex;
flex-direction: column;
gap: 0.16rem;
padding-bottom: 0.4rem;
}
&__card {
background: $bg-white;
border-radius: 0.12rem;
padding: 0.24rem;
}
// ---- 个人信息卡片 ----
&__card-header {
display: flex;
align-items: flex-start;
justify-content: space-between;
margin-bottom: 0.16rem;
}
&__user-name {
font-size: 0.2rem;
font-weight: 700;
color: $text-dark;
margin: 0 0 0.04rem 0;
}
&__user-title {
font-size: 0.13rem;
color: $text-light;
margin: 0;
}
&__card-actions {
display: flex;
align-items: center;
gap: 0.08rem;
flex-shrink: 0;
}
&__card-btn {
font-size: 0.12rem;
border-radius: 0.16rem;
padding: 0.06rem 0.16rem;
cursor: pointer;
transition: all 0.2s;
white-space: nowrap;
border: none;
&--outline {
background: $bg-main;
color: $text-dark;
border: 1px solid $border-color;
&:hover {
border-color: $accent;
color: $accent;
background: $theme-color;
}
}
&--dark {
background: $btn-dark;
color: $bg-white;
&:hover {
background: $btn-dark-hover;
}
}
}
// ---- 联系方式 ----
&__contact {
display: flex;
align-items: center;
gap: 0.24rem;
flex-wrap: wrap;
}
&__contact-item {
display: flex;
align-items: center;
gap: 0.06rem;
font-size: 0.12rem;
color: $text-dark;
}
&__contact-icon {
width: 0.14rem;
height: 0.14rem;
color: $text-light;
flex-shrink: 0;
}
// ---- 区块标题 ----
&__section-header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 0.16rem;
}
&__section-title {
font-size: 0.17rem;
font-weight: 700;
color: $text-dark;
margin: 0 0 0.16rem 0;
}
&__section-header &__section-title {
margin-bottom: 0;
}
// ---- 教育背景 ----
&__edu-item {
padding: 0.1rem 0;
&:not(:last-child) {
border-bottom: 1px solid $border-color;
}
}
&__edu-degree {
font-size: 0.14rem;
font-weight: 600;
color: $text-dark;
margin-bottom: 0.04rem;
}
&__edu-meta {
font-size: 0.12rem;
color: $text-light;
line-height: 1.6;
}
// ---- 工作经验 ----
&__exp-item {
padding: 0.1rem 0;
&:not(:last-child) {
border-bottom: 1px solid $border-color;
}
}
&__exp-title {
font-size: 0.14rem;
font-weight: 600;
color: $text-dark;
margin-bottom: 0.04rem;
}
&__exp-meta {
font-size: 0.12rem;
color: $text-light;
margin-bottom: 0.06rem;
}
&__exp-desc {
font-size: 0.12rem;
color: $text-dark;
line-height: 1.6;
margin: 0;
}
// ---- 技能标签 ----
&__skills {
display: flex;
flex-wrap: wrap;
gap: 0.08rem;
}
&__skill-tag {
font-size: 0.12rem;
color: $text-dark;
background: $bg-main;
border: 1px solid $border-color;
border-radius: 0.04rem;
padding: 0.05rem 0.14rem;
transition: all 0.2s;
&:hover {
border-color: $accent;
color: $accent;
background: $theme-color;
}
}
}
+190
View File
@@ -0,0 +1,190 @@
@use '../variables' as *;
// ==================== 简历列表页 ====================
.resume-page {
&__content {
margin-left: 2rem;
flex: 1;
padding: 0.12rem 0.36rem;
height: 100vh;
box-sizing: border-box;
overflow: hidden;
background: $bg-main;
display: flex;
flex-direction: column;
}
&__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: 0.5rem;
}
}
&__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.1rem;
}
&__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.1rem;
color: $text-light;
background: $bg-main;
border: 1px solid $border-color;
border-radius: 0.04rem;
padding: 0.02rem 0.06rem;
white-space: nowrap;
}
// 更多按钮
&__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;
}
// 弹出菜单
&__popup {
position: absolute;
right: 0.3rem;
top: 0.1rem;
background: $bg-white;
border: 1px solid $border-color;
border-radius: 0.1rem;
padding: 0.06rem 0;
box-shadow: 0 0.06rem 0.2rem rgba(0, 0, 0, 0.1);
z-index: 10;
min-width: 1.2rem;
}
&__popup-item {
padding: 0.08rem 0.2rem;
font-size: 0.12rem;
color: $text-dark;
cursor: pointer;
white-space: nowrap;
transition: all 0.15s;
&:hover {
background: $theme-color;
color: $accent-hover;
}
}
}