仓库初始化+岗位相关页面
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -0,0 +1,187 @@
|
||||
.ai-chat {
|
||||
width: 3.6rem;
|
||||
height: 100vh;
|
||||
background: #f3f4f6;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
box-sizing: border-box;
|
||||
position: fixed;
|
||||
right: 0;
|
||||
top: 0;
|
||||
border-left: 1px solid #e5e7eb;
|
||||
|
||||
&__banner {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
background: linear-gradient(135deg, #4FC2C9 0%, #42A8B3 100%);
|
||||
color: #fff;
|
||||
padding: 0.1rem 0.16rem;
|
||||
font-size: 0.13rem;
|
||||
cursor: pointer;
|
||||
border-radius: 0.2rem;
|
||||
margin: 0.15rem;
|
||||
height: 0.41rem;
|
||||
}
|
||||
|
||||
&__banner-arrow {
|
||||
font-size: 0.16rem;
|
||||
padding-bottom: 0.05rem;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
&__header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.1rem;
|
||||
padding: 0.16rem;
|
||||
border-bottom: 1px solid #e5e7eb;
|
||||
}
|
||||
|
||||
&__avatar {
|
||||
width: 0.4rem;
|
||||
height: 0.4rem;
|
||||
border-radius: 50%;
|
||||
background: #e5e7eb;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 0.2rem;
|
||||
}
|
||||
|
||||
&__info {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
&__name {
|
||||
font-size: 0.16rem;
|
||||
font-weight: 600;
|
||||
color: #1a1a2e;
|
||||
}
|
||||
|
||||
&__desc {
|
||||
font-size: 0.12rem;
|
||||
color: #6b7280;
|
||||
margin-top: 0.02rem;
|
||||
}
|
||||
|
||||
&__messages {
|
||||
flex: 1;
|
||||
overflow-y: auto;
|
||||
padding: 0.16rem;
|
||||
}
|
||||
|
||||
&__msg {
|
||||
margin-bottom: 0.12rem;
|
||||
display: flex;
|
||||
|
||||
&--ai {
|
||||
justify-content: flex-start;
|
||||
}
|
||||
|
||||
&--user {
|
||||
justify-content: flex-end;
|
||||
}
|
||||
}
|
||||
|
||||
&__msg-bubble {
|
||||
border-radius: 0.1rem;
|
||||
padding: 0.12rem 0.14rem;
|
||||
font-size: 0.13rem;
|
||||
line-height: 1.6;
|
||||
max-width: 85%;
|
||||
}
|
||||
|
||||
&__msg--ai &__msg-bubble {
|
||||
background: #fff;
|
||||
border: 1px solid #e5e7eb;
|
||||
color: #374151;
|
||||
}
|
||||
|
||||
&__msg--user &__msg-bubble {
|
||||
background: #f0f3f6;
|
||||
color: #1a1a2e;
|
||||
}
|
||||
|
||||
&__msg-title {
|
||||
font-weight: 600;
|
||||
font-size: 0.14rem;
|
||||
margin-bottom: 0.06rem;
|
||||
color: #1a1a2e;
|
||||
}
|
||||
|
||||
&__msg-text {
|
||||
color: #6b7280;
|
||||
font-size: 0.12rem;
|
||||
}
|
||||
|
||||
&__quick-questions {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.08rem;
|
||||
margin-top: 0.12rem;
|
||||
}
|
||||
|
||||
&__quick-item {
|
||||
background: #fff;
|
||||
border: 1px solid #e5e7eb;
|
||||
border-radius: 0.08rem;
|
||||
padding: 0.1rem 0.14rem;
|
||||
color: #6b7280;
|
||||
font-size: 0.12rem;
|
||||
cursor: pointer;
|
||||
transition: background 0.2s;
|
||||
|
||||
&:hover {
|
||||
background: #f9fafb;
|
||||
color: #374151;
|
||||
}
|
||||
}
|
||||
|
||||
&__input-area {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.08rem;
|
||||
padding: 0.12rem 0.16rem;
|
||||
border-top: 1px solid #e5e7eb;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
&__input {
|
||||
flex: 1;
|
||||
background: #f3f4f6;
|
||||
border: 1px solid #e5e7eb;
|
||||
border-radius: 0.06rem;
|
||||
padding: 0.1rem 0.12rem;
|
||||
color: #1a1a2e;
|
||||
font-size: 0.12rem;
|
||||
outline: none;
|
||||
|
||||
&::placeholder {
|
||||
color: #9ca3af;
|
||||
}
|
||||
|
||||
&:focus {
|
||||
border-color: #9ca3af;
|
||||
}
|
||||
}
|
||||
|
||||
&__send-btn {
|
||||
width: 0.36rem;
|
||||
height: 0.36rem;
|
||||
border-radius: 50%;
|
||||
background: #1a1a2e;
|
||||
border: none;
|
||||
color: #fff;
|
||||
font-size: 0.16rem;
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
transition: background 0.2s;
|
||||
|
||||
&:hover {
|
||||
background: #2e3142;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
// HelloWorld 组件样式
|
||||
.hello-world {
|
||||
// 在这里添加 HelloWorld 组件的样式
|
||||
}
|
||||
@@ -0,0 +1,307 @@
|
||||
// ========================================
|
||||
// 行业选择器组件样式(分栏联动版)
|
||||
// 全局 1rem = 100px,表单元素用固定 height 控制
|
||||
// 颜色统一使用 variables.scss 变量
|
||||
// ========================================
|
||||
@use '../variables' as *;
|
||||
|
||||
.industry-selector {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
|
||||
// ==================== 触发按钮 ====================
|
||||
&__trigger {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.04rem;
|
||||
background: $bg-main;
|
||||
border: 1px solid $border-color;
|
||||
border-radius: 0.2rem;
|
||||
padding: 0.05rem 0.14rem;
|
||||
color: $text-dark;
|
||||
font-size: 0.12rem;
|
||||
line-height: 1;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s ease;
|
||||
white-space: nowrap;
|
||||
max-width: 2rem;
|
||||
|
||||
&:hover {
|
||||
border-color: $accent;
|
||||
color: $accent;
|
||||
background: $theme-color;
|
||||
}
|
||||
}
|
||||
|
||||
// 触发按钮文字(超长省略)
|
||||
&__display {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
max-width: 1.6rem;
|
||||
}
|
||||
|
||||
// 下拉箭头图标
|
||||
&__arrow {
|
||||
width: 0.1rem;
|
||||
height: 0.1rem;
|
||||
color: $text-light;
|
||||
flex-shrink: 0;
|
||||
transition: transform 0.2s;
|
||||
|
||||
&--open {
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
}
|
||||
|
||||
// ==================== 下拉面板 ====================
|
||||
&__panel {
|
||||
position: absolute;
|
||||
top: calc(100% + 0.06rem);
|
||||
left: 0;
|
||||
width: 3.6rem;
|
||||
background: $bg-white;
|
||||
border: 1px solid $border-color;
|
||||
border-radius: 0.1rem;
|
||||
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
|
||||
z-index: 100;
|
||||
padding: 0.1rem;
|
||||
}
|
||||
|
||||
// ==================== 选中区(已选标签) ====================
|
||||
&__selected-area {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.06rem;
|
||||
margin-bottom: 0.1rem;
|
||||
max-height: 0.8rem;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
// 单个已选标签
|
||||
&__tag {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 0.03rem;
|
||||
height: 0.22rem;
|
||||
background: $theme-color;
|
||||
border: 1px solid rgba(79, 194, 201, 0.3);
|
||||
border-radius: 0.04rem;
|
||||
padding: 0 0.08rem;
|
||||
font-size: 0.11rem;
|
||||
line-height: 0.22rem;
|
||||
color: $accent-hover;
|
||||
white-space: nowrap;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
// 标签关闭按钮
|
||||
&__tag-close {
|
||||
width: 0.1rem;
|
||||
height: 0.1rem;
|
||||
cursor: pointer;
|
||||
color: $accent;
|
||||
flex-shrink: 0;
|
||||
transition: color 0.15s;
|
||||
|
||||
&:hover {
|
||||
color: $danger;
|
||||
}
|
||||
}
|
||||
|
||||
// ==================== 搜索框 ====================
|
||||
&__search-wrap {
|
||||
margin-bottom: 0.08rem;
|
||||
}
|
||||
|
||||
&__search {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 0.3rem;
|
||||
box-sizing: border-box;
|
||||
border: 1px solid $border-color;
|
||||
border-radius: 0.06rem;
|
||||
padding: 0 0.1rem;
|
||||
font-size: 0.12rem;
|
||||
line-height: 0.3rem;
|
||||
color: $text-dark;
|
||||
outline: none;
|
||||
background: $bg-main;
|
||||
margin: 0;
|
||||
transition: border-color 0.2s;
|
||||
|
||||
&::placeholder {
|
||||
color: $text-light;
|
||||
line-height: 0.3rem;
|
||||
}
|
||||
|
||||
&:focus {
|
||||
border-color: $accent;
|
||||
background: $bg-white;
|
||||
}
|
||||
}
|
||||
|
||||
// ==================== 搜索结果列表 ====================
|
||||
&__search-results {
|
||||
max-height: 2rem;
|
||||
overflow-y: auto;
|
||||
border: 1px solid $border-color;
|
||||
border-radius: 0.06rem;
|
||||
background: $bg-white;
|
||||
}
|
||||
|
||||
// 搜索结果单行
|
||||
&__search-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
height: 0.3rem;
|
||||
padding: 0 0.1rem;
|
||||
font-size: 0.12rem;
|
||||
line-height: 0.3rem;
|
||||
color: $text-dark;
|
||||
cursor: pointer;
|
||||
transition: all 0.15s;
|
||||
|
||||
&:hover {
|
||||
background: $theme-color;
|
||||
color: $accent-hover;
|
||||
}
|
||||
|
||||
& + & {
|
||||
border-top: 1px solid $border-color;
|
||||
}
|
||||
}
|
||||
|
||||
// 搜索无结果提示
|
||||
&__search-empty {
|
||||
padding: 0.1rem;
|
||||
font-size: 0.12rem;
|
||||
line-height: 1;
|
||||
color: $text-light;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
// 选中勾图标
|
||||
&__check {
|
||||
width: 0.12rem;
|
||||
height: 0.12rem;
|
||||
color: $accent;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
// ==================== 分栏联动选择区 ====================
|
||||
&__columns {
|
||||
display: flex;
|
||||
border: 1px solid $border-color;
|
||||
border-radius: 0.06rem;
|
||||
overflow: hidden;
|
||||
height: 2.4rem;
|
||||
}
|
||||
|
||||
// 单栏通用样式
|
||||
&__col {
|
||||
overflow-y: auto;
|
||||
height: 100%;
|
||||
|
||||
// 左栏:一级行业列表
|
||||
&--left {
|
||||
width: 1.2rem;
|
||||
flex-shrink: 0;
|
||||
border-right: 1px solid $border-color;
|
||||
background: $bg-main;
|
||||
}
|
||||
|
||||
// 右栏:二级行业列表
|
||||
&--right {
|
||||
flex: 1;
|
||||
background: $bg-white;
|
||||
}
|
||||
}
|
||||
|
||||
// 栏内每一行
|
||||
&__col-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
height: 0.32rem;
|
||||
padding: 0 0.1rem;
|
||||
font-size: 0.12rem;
|
||||
line-height: 0.32rem;
|
||||
color: $text-dark;
|
||||
cursor: pointer;
|
||||
transition: all 0.15s;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
|
||||
&:hover {
|
||||
background: $theme-color;
|
||||
color: $accent-hover;
|
||||
}
|
||||
|
||||
// 左栏当前激活项
|
||||
&--active {
|
||||
background: $bg-white;
|
||||
color: $accent;
|
||||
font-weight: 600;
|
||||
// 左侧加一条品牌色竖线
|
||||
box-shadow: inset 3px 0 0 $accent;
|
||||
}
|
||||
|
||||
// 右栏已选中项
|
||||
&--selected {
|
||||
color: $accent;
|
||||
background: $theme-color;
|
||||
}
|
||||
}
|
||||
|
||||
// 右栏空状态提示
|
||||
&__col-empty {
|
||||
padding: 0.2rem 0.1rem;
|
||||
font-size: 0.12rem;
|
||||
line-height: 1;
|
||||
color: $text-light;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
// ==================== 底部操作按钮 ====================
|
||||
&__actions {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
margin-top: 0.1rem;
|
||||
gap: 0.1rem;
|
||||
}
|
||||
|
||||
&__btn {
|
||||
flex: 1;
|
||||
height: 0.3rem;
|
||||
border-radius: 0.06rem;
|
||||
font-size: 0.12rem;
|
||||
line-height: 0.3rem;
|
||||
cursor: pointer;
|
||||
border: 1px solid $border-color;
|
||||
transition: all 0.2s;
|
||||
|
||||
&--reset {
|
||||
background: $bg-main;
|
||||
color: $text-dark;
|
||||
|
||||
&:hover {
|
||||
border-color: $text-light;
|
||||
color: $text-dark;
|
||||
}
|
||||
}
|
||||
|
||||
&--confirm {
|
||||
background: $accent;
|
||||
color: $bg-white;
|
||||
border-color: $accent;
|
||||
|
||||
&:hover {
|
||||
background: $accent-hover;
|
||||
border-color: $accent-hover;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,315 @@
|
||||
// ========================================
|
||||
// 岗位选择器组件样式(三栏联动版)
|
||||
// 全局 1rem = 100px,表单元素用固定 height 控制
|
||||
// 颜色统一使用 variables.scss 变量
|
||||
// 风格与行业选择器保持一致
|
||||
// ========================================
|
||||
@use '../variables' as *;
|
||||
|
||||
.job-category-selector {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
|
||||
// ==================== 触发按钮 ====================
|
||||
&__trigger {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.04rem;
|
||||
background: $bg-main;
|
||||
border: 1px solid $border-color;
|
||||
border-radius: 0.2rem;
|
||||
padding: 0.05rem 0.14rem;
|
||||
color: $text-dark;
|
||||
font-size: 0.12rem;
|
||||
line-height: 1;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s ease;
|
||||
white-space: nowrap;
|
||||
max-width: 2rem;
|
||||
|
||||
&:hover {
|
||||
border-color: $accent;
|
||||
color: $accent;
|
||||
background: $theme-color;
|
||||
}
|
||||
}
|
||||
|
||||
// 触发按钮文字(超长省略)
|
||||
&__display {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
max-width: 1.6rem;
|
||||
}
|
||||
|
||||
// 下拉箭头图标
|
||||
&__arrow {
|
||||
width: 0.1rem;
|
||||
height: 0.1rem;
|
||||
color: $text-light;
|
||||
flex-shrink: 0;
|
||||
transition: transform 0.2s;
|
||||
|
||||
&--open {
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
}
|
||||
|
||||
// ==================== 下拉面板 ====================
|
||||
&__panel {
|
||||
position: absolute;
|
||||
top: calc(100% + 0.06rem);
|
||||
left: 0;
|
||||
width: 4.8rem;
|
||||
background: $bg-white;
|
||||
border: 1px solid $border-color;
|
||||
border-radius: 0.1rem;
|
||||
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
|
||||
z-index: 100;
|
||||
padding: 0.1rem;
|
||||
}
|
||||
|
||||
// ==================== 选中区(已选标签) ====================
|
||||
&__selected-area {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.06rem;
|
||||
margin-bottom: 0.1rem;
|
||||
max-height: 0.8rem;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
// 单个已选标签
|
||||
&__tag {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 0.03rem;
|
||||
height: 0.22rem;
|
||||
background: $theme-color;
|
||||
border: 1px solid rgba(79, 194, 201, 0.3);
|
||||
border-radius: 0.04rem;
|
||||
padding: 0 0.08rem;
|
||||
font-size: 0.11rem;
|
||||
line-height: 0.22rem;
|
||||
color: $accent-hover;
|
||||
white-space: nowrap;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
// 标签关闭按钮
|
||||
&__tag-close {
|
||||
width: 0.1rem;
|
||||
height: 0.1rem;
|
||||
cursor: pointer;
|
||||
color: $accent;
|
||||
flex-shrink: 0;
|
||||
transition: color 0.15s;
|
||||
|
||||
&:hover {
|
||||
color: $danger;
|
||||
}
|
||||
}
|
||||
|
||||
// ==================== 搜索框 ====================
|
||||
&__search-wrap {
|
||||
margin-bottom: 0.08rem;
|
||||
}
|
||||
|
||||
&__search {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 0.3rem;
|
||||
box-sizing: border-box;
|
||||
border: 1px solid $border-color;
|
||||
border-radius: 0.06rem;
|
||||
padding: 0 0.1rem;
|
||||
font-size: 0.12rem;
|
||||
line-height: 0.3rem;
|
||||
color: $text-dark;
|
||||
outline: none;
|
||||
background: $bg-main;
|
||||
margin: 0;
|
||||
transition: border-color 0.2s;
|
||||
|
||||
&::placeholder {
|
||||
color: $text-light;
|
||||
line-height: 0.3rem;
|
||||
}
|
||||
|
||||
&:focus {
|
||||
border-color: $accent;
|
||||
background: $bg-white;
|
||||
}
|
||||
}
|
||||
|
||||
// ==================== 搜索结果列表 ====================
|
||||
&__search-results {
|
||||
max-height: 2rem;
|
||||
overflow-y: auto;
|
||||
border: 1px solid $border-color;
|
||||
border-radius: 0.06rem;
|
||||
background: $bg-white;
|
||||
}
|
||||
|
||||
// 搜索结果单行
|
||||
&__search-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
height: 0.3rem;
|
||||
padding: 0 0.1rem;
|
||||
font-size: 0.12rem;
|
||||
line-height: 0.3rem;
|
||||
color: $text-dark;
|
||||
cursor: pointer;
|
||||
transition: all 0.15s;
|
||||
|
||||
&:hover {
|
||||
background: $theme-color;
|
||||
color: $accent-hover;
|
||||
}
|
||||
|
||||
& + & {
|
||||
border-top: 1px solid $border-color;
|
||||
}
|
||||
}
|
||||
|
||||
// 搜索无结果提示
|
||||
&__search-empty {
|
||||
padding: 0.1rem;
|
||||
font-size: 0.12rem;
|
||||
line-height: 1;
|
||||
color: $text-light;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
// 选中勾图标
|
||||
&__check {
|
||||
width: 0.12rem;
|
||||
height: 0.12rem;
|
||||
color: $accent;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
// ==================== 三栏联动选择区 ====================
|
||||
&__columns {
|
||||
display: flex;
|
||||
border: 1px solid $border-color;
|
||||
border-radius: 0.06rem;
|
||||
overflow: hidden;
|
||||
height: 2.4rem;
|
||||
}
|
||||
|
||||
// 单栏通用样式
|
||||
&__col {
|
||||
overflow-y: auto;
|
||||
height: 100%;
|
||||
|
||||
// 左栏:一级分类
|
||||
&--left {
|
||||
width: 1.2rem;
|
||||
flex-shrink: 0;
|
||||
border-right: 1px solid $border-color;
|
||||
background: $bg-main;
|
||||
}
|
||||
|
||||
// 中栏:二级分类
|
||||
&--mid {
|
||||
width: 1.4rem;
|
||||
flex-shrink: 0;
|
||||
border-right: 1px solid $border-color;
|
||||
background: $bg-white;
|
||||
}
|
||||
|
||||
// 右栏:三级分类(末级可选中)
|
||||
&--right {
|
||||
flex: 1;
|
||||
background: $bg-white;
|
||||
}
|
||||
}
|
||||
|
||||
// 栏内每一行
|
||||
&__col-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
height: 0.32rem;
|
||||
padding: 0 0.1rem;
|
||||
font-size: 0.12rem;
|
||||
line-height: 0.32rem;
|
||||
color: $text-dark;
|
||||
cursor: pointer;
|
||||
transition: all 0.15s;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
|
||||
&:hover {
|
||||
background: $theme-color;
|
||||
color: $accent-hover;
|
||||
}
|
||||
|
||||
// 左栏/中栏当前激活项
|
||||
&--active {
|
||||
background: $bg-white;
|
||||
color: $accent;
|
||||
font-weight: 600;
|
||||
box-shadow: inset 3px 0 0 $accent;
|
||||
}
|
||||
|
||||
// 右栏已选中项
|
||||
&--selected {
|
||||
color: $accent;
|
||||
background: $theme-color;
|
||||
}
|
||||
}
|
||||
|
||||
// 栏内空状态提示
|
||||
&__col-empty {
|
||||
padding: 0.2rem 0.1rem;
|
||||
font-size: 0.12rem;
|
||||
line-height: 1;
|
||||
color: $text-light;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
// ==================== 底部操作按钮 ====================
|
||||
&__actions {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
margin-top: 0.1rem;
|
||||
gap: 0.1rem;
|
||||
}
|
||||
|
||||
&__btn {
|
||||
flex: 1;
|
||||
height: 0.3rem;
|
||||
border-radius: 0.06rem;
|
||||
font-size: 0.12rem;
|
||||
line-height: 0.3rem;
|
||||
cursor: pointer;
|
||||
border: 1px solid $border-color;
|
||||
transition: all 0.2s;
|
||||
|
||||
&--reset {
|
||||
background: $bg-main;
|
||||
color: $text-dark;
|
||||
|
||||
&:hover {
|
||||
border-color: $text-light;
|
||||
color: $text-dark;
|
||||
}
|
||||
}
|
||||
|
||||
&--confirm {
|
||||
background: $accent;
|
||||
color: $bg-white;
|
||||
border-color: $accent;
|
||||
|
||||
&:hover {
|
||||
background: $accent-hover;
|
||||
border-color: $accent-hover;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,145 @@
|
||||
@use '../variables' as *;
|
||||
|
||||
.job-goal-dialog {
|
||||
.el-dialog__header {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.el-dialog__body {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
&__header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.12rem;
|
||||
padding: 0.2rem 0.24rem 0.16rem;
|
||||
}
|
||||
|
||||
&__close-btn {
|
||||
background: none;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
color: $text-dark;
|
||||
font-size: 0.16rem;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 0.04rem;
|
||||
border-radius: 0.04rem;
|
||||
transition: background 0.2s;
|
||||
|
||||
&:hover {
|
||||
background: $bg-main;
|
||||
}
|
||||
}
|
||||
|
||||
&__title {
|
||||
font-size: 0.16rem;
|
||||
font-weight: 700;
|
||||
color: $text-dark;
|
||||
}
|
||||
|
||||
&__section {
|
||||
padding: 0.12rem 0.24rem;
|
||||
}
|
||||
|
||||
&__label {
|
||||
font-size: 0.14rem;
|
||||
font-weight: 600;
|
||||
color: $text-dark;
|
||||
margin-bottom: 0.12rem;
|
||||
}
|
||||
|
||||
&__tags {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.08rem;
|
||||
margin-bottom: 0.1rem;
|
||||
}
|
||||
|
||||
&__tag {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 0.06rem;
|
||||
background: $bg-main;
|
||||
border: 1px solid $border-color;
|
||||
border-radius: 0.16rem;
|
||||
padding: 0.05rem 0.12rem;
|
||||
font-size: 0.13rem;
|
||||
color: $text-dark;
|
||||
}
|
||||
|
||||
&__tag-close {
|
||||
cursor: pointer;
|
||||
font-size: 0.12rem;
|
||||
color: $text-light;
|
||||
transition: color 0.2s;
|
||||
|
||||
&:hover {
|
||||
color: $danger;
|
||||
}
|
||||
}
|
||||
|
||||
&__select {
|
||||
width: 100%;
|
||||
|
||||
.el-select__wrapper {
|
||||
background: $bg-main;
|
||||
border-radius: 0.08rem;
|
||||
box-shadow: none;
|
||||
border: 1px solid $border-color;
|
||||
}
|
||||
}
|
||||
|
||||
&__type-group {
|
||||
display: flex;
|
||||
gap: 0.12rem;
|
||||
}
|
||||
|
||||
&__type-btn {
|
||||
flex: 1;
|
||||
padding: 0.1rem 0;
|
||||
border: 1px solid $border-color;
|
||||
border-radius: 0.2rem;
|
||||
background: $bg-white;
|
||||
color: $text-dark;
|
||||
font-size: 0.13rem;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s;
|
||||
|
||||
&:hover {
|
||||
border-color: $text-light;
|
||||
}
|
||||
|
||||
&--active {
|
||||
background: $text-light;
|
||||
border-color: $text-light;
|
||||
color: $bg-white;
|
||||
font-weight: 500;
|
||||
}
|
||||
}
|
||||
|
||||
&__footer {
|
||||
padding: 0.3rem 0.24rem 0.24rem;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
&__save-btn {
|
||||
width: 60%;
|
||||
padding: 0.12rem 0;
|
||||
background: $btn-dark;
|
||||
color: $bg-white;
|
||||
border: none;
|
||||
border-radius: 0.24rem;
|
||||
font-size: 0.16rem;
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
transition: background 0.2s;
|
||||
|
||||
&:hover {
|
||||
background: $btn-dark-hover;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,77 @@
|
||||
@use '../variables' as *;
|
||||
|
||||
.job-page-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;
|
||||
}
|
||||
|
||||
&__tabs {
|
||||
display: flex;
|
||||
justify-content: flex-start;
|
||||
align-items: center;
|
||||
gap: 0.04rem;
|
||||
margin: 0.1rem 0 0.16rem 0;
|
||||
background: $bg-white;
|
||||
border-radius: 0.22rem;
|
||||
padding: 0.04rem;
|
||||
}
|
||||
|
||||
&__goal-btn {
|
||||
font-size: 0.18rem;
|
||||
font-weight: 700;
|
||||
color: $text-dark;
|
||||
background: none;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
padding: 0.04rem 0.16rem;
|
||||
white-space: nowrap;
|
||||
transition: color 0.2s;
|
||||
margin-left: auto;
|
||||
|
||||
&:hover {
|
||||
color: $accent-hover;
|
||||
}
|
||||
}
|
||||
|
||||
&__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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,242 @@
|
||||
// 会员购买弹窗样式
|
||||
@use '../variables' as *;
|
||||
|
||||
// 遮罩层
|
||||
.member-dialog-overlay {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
background: $overlay-bg;
|
||||
z-index: 2000;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.member-dialog {
|
||||
background: $bg-white;
|
||||
border-radius: 0.2rem;
|
||||
width: 8.4rem;
|
||||
max-height: 90vh;
|
||||
overflow-y: auto;
|
||||
padding: 0.36rem 0.4rem;
|
||||
position: relative;
|
||||
box-shadow: 0 0.1rem 0.4rem rgba(0, 0, 0, 0.15);
|
||||
|
||||
// 关闭按钮
|
||||
&__close {
|
||||
position: absolute;
|
||||
top: 0.16rem;
|
||||
right: 0.2rem;
|
||||
font-size: 0.18rem;
|
||||
color: $text-light;
|
||||
cursor: pointer;
|
||||
transition: color 0.2s;
|
||||
z-index: 1;
|
||||
|
||||
&:hover {
|
||||
color: $text-dark;
|
||||
}
|
||||
}
|
||||
|
||||
// 顶部标语
|
||||
&__slogan {
|
||||
text-align: center;
|
||||
font-size: 0.22rem;
|
||||
font-weight: 700;
|
||||
color: $btn-dark;
|
||||
margin-bottom: 0.3rem;
|
||||
letter-spacing: 0.01rem;
|
||||
}
|
||||
|
||||
// ==================== 套餐卡片区域 ====================
|
||||
&__plans {
|
||||
display: flex;
|
||||
gap: 0.2rem;
|
||||
margin-bottom: 0.32rem;
|
||||
}
|
||||
|
||||
&__plan-card {
|
||||
flex: 1;
|
||||
border: 1px solid $border-color;
|
||||
border-radius: 0.14rem;
|
||||
padding: 0.22rem 0.2rem;
|
||||
cursor: pointer;
|
||||
transition: all 0.25s ease;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
|
||||
&:hover {
|
||||
border-color: $accent;
|
||||
box-shadow: 0 0.04rem 0.16rem rgba(79, 194, 201, 0.12);
|
||||
}
|
||||
|
||||
// 选中态 — 中间卡片高亮
|
||||
&--active {
|
||||
border-color: $btn-dark;
|
||||
background: $btn-dark;
|
||||
color: $bg-white;
|
||||
box-shadow: 0 0.06rem 0.24rem rgba(26, 26, 46, 0.2);
|
||||
|
||||
.member-dialog__plan-name,
|
||||
.member-dialog__plan-original,
|
||||
.member-dialog__plan-price-num,
|
||||
.member-dialog__plan-price-unit {
|
||||
color: $bg-white;
|
||||
}
|
||||
|
||||
.member-dialog__plan-btn {
|
||||
background: $accent;
|
||||
color: $bg-white;
|
||||
border-color: $accent;
|
||||
|
||||
&:hover {
|
||||
background: $accent-hover;
|
||||
border-color: $accent-hover;
|
||||
}
|
||||
}
|
||||
|
||||
.member-dialog__plan-discount {
|
||||
background: rgba(255, 255, 255, 0.2);
|
||||
color: $bg-white;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&__plan-name {
|
||||
font-size: 0.15rem;
|
||||
font-weight: 600;
|
||||
color: $text-dark;
|
||||
margin-bottom: 0.06rem;
|
||||
}
|
||||
|
||||
&__plan-original {
|
||||
font-size: 0.11rem;
|
||||
color: $text-light;
|
||||
text-decoration: line-through;
|
||||
margin-bottom: 0.08rem;
|
||||
}
|
||||
|
||||
&__plan-price {
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
gap: 0.02rem;
|
||||
margin-bottom: 0.16rem;
|
||||
}
|
||||
|
||||
&__plan-price-num {
|
||||
font-size: 0.28rem;
|
||||
font-weight: 700;
|
||||
color: $text-dark;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
&__plan-price-unit {
|
||||
font-size: 0.12rem;
|
||||
color: $text-dark;
|
||||
}
|
||||
|
||||
&__plan-discount {
|
||||
font-size: 0.1rem;
|
||||
background: $theme-color;
|
||||
color: $accent;
|
||||
border-radius: 0.1rem;
|
||||
padding: 0.02rem 0.08rem;
|
||||
margin-left: 0.06rem;
|
||||
font-weight: 600;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
&__plan-btn {
|
||||
width: 100%;
|
||||
padding: 0.1rem 0;
|
||||
border-radius: 0.2rem;
|
||||
font-size: 0.13rem;
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s;
|
||||
border: 1px solid $border-color;
|
||||
background: $bg-main;
|
||||
color: $text-dark;
|
||||
text-align: center;
|
||||
|
||||
&:hover {
|
||||
border-color: $accent;
|
||||
color: $accent;
|
||||
background: $theme-color;
|
||||
}
|
||||
}
|
||||
|
||||
// ==================== 权益对比区域 ====================
|
||||
&__benefits {
|
||||
display: flex;
|
||||
gap: 0.16rem;
|
||||
}
|
||||
|
||||
&__benefit-col {
|
||||
flex: 1;
|
||||
border: 1px solid $border-color;
|
||||
border-radius: 0.12rem;
|
||||
padding: 0.2rem 0.18rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.14rem;
|
||||
|
||||
// 中间列特殊样式
|
||||
&--center {
|
||||
border-color: rgba(79, 194, 201, 0.3);
|
||||
background: linear-gradient(180deg, $theme-color 0%, $bg-white 100%);
|
||||
}
|
||||
}
|
||||
|
||||
&__benefit-title {
|
||||
font-size: 0.14rem;
|
||||
font-weight: 600;
|
||||
color: $text-dark;
|
||||
padding-bottom: 0.1rem;
|
||||
border-bottom: 1px solid $border-color;
|
||||
|
||||
// 会员权益标题强调色
|
||||
&--accent {
|
||||
color: $accent;
|
||||
border-bottom-color: rgba(79, 194, 201, 0.3);
|
||||
}
|
||||
}
|
||||
|
||||
&__benefit-item {
|
||||
font-size: 0.12rem;
|
||||
color: #555;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.08rem;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
&__benefit-badge {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-width: 0.36rem;
|
||||
height: 0.2rem;
|
||||
background: $btn-dark;
|
||||
color: $bg-white;
|
||||
border-radius: 0.04rem;
|
||||
font-size: 0.1rem;
|
||||
font-weight: 600;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
&__benefit-other {
|
||||
font-size: 0.12rem;
|
||||
color: $text-light;
|
||||
margin-top: auto;
|
||||
padding-top: 0.12rem;
|
||||
border-top: 1px solid $border-color;
|
||||
}
|
||||
|
||||
&__benefit-highlight {
|
||||
font-weight: 700;
|
||||
color: $text-dark;
|
||||
margin-left: 0.12rem;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,498 @@
|
||||
@use '../variables' as *;
|
||||
@use 'sass:color';
|
||||
|
||||
// ==================== 个人资料编辑抽屉 ====================
|
||||
|
||||
// 遮罩层
|
||||
.profile-drawer-overlay {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
background: $overlay-bg;
|
||||
z-index: 2000;
|
||||
}
|
||||
|
||||
// 抽屉主体 — 固定在右侧,占满屏幕高度
|
||||
// 重置 font-size + line-height 避免 html font-size:100px 导致行高撑大间距
|
||||
.profile-drawer {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
right: 0;
|
||||
width: 6.2rem;
|
||||
height: 100vh;
|
||||
background: $bg-white;
|
||||
z-index: 2001;
|
||||
box-shadow: -0.04rem 0 0.2rem rgba(0, 0, 0, 0.1);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
font-size: 14px;
|
||||
line-height: 1.5;
|
||||
|
||||
// 顶部栏
|
||||
&__header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.1rem;
|
||||
padding: 0.16rem 0.2rem;
|
||||
border-bottom: 1px solid $border-color;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
&__close-btn {
|
||||
background: none;
|
||||
border: none;
|
||||
padding: 0.04rem;
|
||||
cursor: pointer;
|
||||
color: $text-dark;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
border-radius: 0.04rem;
|
||||
transition: all 0.2s;
|
||||
|
||||
&:hover {
|
||||
color: $accent;
|
||||
background: $theme-color;
|
||||
}
|
||||
}
|
||||
|
||||
&__close-icon {
|
||||
width: 0.16rem;
|
||||
height: 0.16rem;
|
||||
}
|
||||
|
||||
&__title {
|
||||
font-size: 0.16rem;
|
||||
font-weight: 700;
|
||||
color: $text-dark;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
// 表单内容区 — 中间可滚动
|
||||
&__body {
|
||||
flex: 1;
|
||||
overflow-y: auto;
|
||||
padding: 0.2rem 0.2rem 3rem;
|
||||
|
||||
// 地区选择器下拉面板提升层级,避免被其他元素遮挡
|
||||
.region-selector__panel {
|
||||
z-index: 2100;
|
||||
}
|
||||
}
|
||||
|
||||
// 单个字段
|
||||
&__field {
|
||||
margin-bottom: 0.18rem;
|
||||
}
|
||||
|
||||
&__label {
|
||||
font-size: 0.13rem;
|
||||
font-weight: 600;
|
||||
color: $text-dark;
|
||||
margin-bottom: 0.06rem;
|
||||
}
|
||||
|
||||
&__required {
|
||||
color: $danger;
|
||||
margin-right: 0.02rem;
|
||||
}
|
||||
|
||||
&__input {
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
padding: 0.1rem 0.14rem;
|
||||
font-size: 0.13rem;
|
||||
color: $text-dark;
|
||||
background: $bg-main;
|
||||
border: 1px solid transparent;
|
||||
border-radius: 0.06rem;
|
||||
outline: none;
|
||||
transition: all 0.2s;
|
||||
|
||||
&::placeholder {
|
||||
color: $text-light;
|
||||
}
|
||||
|
||||
&:focus {
|
||||
border-color: $accent;
|
||||
background: $bg-white;
|
||||
}
|
||||
}
|
||||
|
||||
// 多行文本输入框(经历描述等)
|
||||
&__textarea {
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
padding: 0.1rem 0.14rem;
|
||||
font-size: 0.13rem;
|
||||
color: $text-dark;
|
||||
background: $bg-main;
|
||||
border: 1px solid transparent;
|
||||
border-radius: 0.06rem;
|
||||
outline: none;
|
||||
transition: all 0.2s;
|
||||
resize: vertical;
|
||||
font-family: inherit;
|
||||
line-height: 1.6;
|
||||
|
||||
&::placeholder {
|
||||
color: $text-light;
|
||||
}
|
||||
|
||||
&:focus {
|
||||
border-color: $accent;
|
||||
background: $bg-white;
|
||||
}
|
||||
|
||||
// 矮版 textarea — 用于分段描述,右侧留出删除按钮空间
|
||||
&--short {
|
||||
padding-right: 0.36rem;
|
||||
}
|
||||
}
|
||||
|
||||
// ==================== 描述段落编辑 ====================
|
||||
|
||||
// 单条描述段落容器 — textarea + 右侧删除按钮
|
||||
&__desc-item {
|
||||
position: relative;
|
||||
margin-bottom: 0.08rem;
|
||||
}
|
||||
|
||||
// 描述段落内的删除按钮(叉号)
|
||||
&__desc-remove {
|
||||
position: absolute;
|
||||
right: 0.18rem;
|
||||
top: 0.08rem;
|
||||
background: none;
|
||||
border: none;
|
||||
padding: 0.02rem;
|
||||
cursor: pointer;
|
||||
color: $text-light;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
border-radius: 0.03rem;
|
||||
transition: all 0.2s;
|
||||
|
||||
&:hover {
|
||||
color: $danger;
|
||||
}
|
||||
}
|
||||
|
||||
&__desc-remove-icon {
|
||||
width: 0.12rem;
|
||||
height: 0.12rem;
|
||||
}
|
||||
|
||||
// 小号新增按钮 — 用于"新增一段描述"
|
||||
&__add-btn--small {
|
||||
font-size: 0.11rem;
|
||||
padding: 0.04rem 0.12rem;
|
||||
margin-top: 0.04rem;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
// 空状态占位
|
||||
&__empty {
|
||||
text-align: center;
|
||||
padding: 0.6rem 0;
|
||||
}
|
||||
|
||||
&__empty-text {
|
||||
font-size: 0.14rem;
|
||||
color: $text-light;
|
||||
}
|
||||
|
||||
// ==================== 教育经历模块 ====================
|
||||
|
||||
// 单条教育经历卡片
|
||||
&__edu-card {
|
||||
padding-bottom: 0.2rem;
|
||||
margin-bottom: 0.2rem;
|
||||
border-bottom: 1px solid $border-color;
|
||||
|
||||
&:last-of-type {
|
||||
border-bottom: none;
|
||||
}
|
||||
}
|
||||
|
||||
// 教育经历标题栏
|
||||
&__edu-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
margin-bottom: 0.14rem;
|
||||
}
|
||||
|
||||
// 序号标识
|
||||
&__edu-index {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.06rem;
|
||||
font-size: 0.14rem;
|
||||
font-weight: 600;
|
||||
color: $text-dark;
|
||||
}
|
||||
|
||||
&__edu-index-icon {
|
||||
width: 0.1rem;
|
||||
height: 0.1rem;
|
||||
color: $accent;
|
||||
}
|
||||
|
||||
// 删除按钮
|
||||
&__edu-delete {
|
||||
background: none;
|
||||
border: none;
|
||||
padding: 0.04rem;
|
||||
cursor: pointer;
|
||||
color: $text-light;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
border-radius: 0.04rem;
|
||||
transition: all 0.2s;
|
||||
|
||||
&:hover {
|
||||
color: $danger;
|
||||
background: rgba($danger, 0.06);
|
||||
}
|
||||
}
|
||||
|
||||
&__edu-delete-icon {
|
||||
width: 0.15rem;
|
||||
height: 0.15rem;
|
||||
}
|
||||
|
||||
// 横排字段容器(学院+专业、学历+GPA、入学+毕业时间)
|
||||
&__row {
|
||||
display: flex;
|
||||
gap: 0.12rem;
|
||||
}
|
||||
|
||||
// 半宽字段
|
||||
&__field--half {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
// 下拉选择器包裹(带箭头图标)
|
||||
&__select-wrap {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
&__select-wrap &__input {
|
||||
padding-right: 0.3rem;
|
||||
}
|
||||
|
||||
&__select-arrow {
|
||||
position: absolute;
|
||||
right: 0.1rem;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
width: 0.12rem;
|
||||
height: 0.12rem;
|
||||
color: $text-light;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
// 新增教育经历按钮
|
||||
&__add-btn {
|
||||
text-align: center;
|
||||
background: none;
|
||||
border: 1px solid $border-color;
|
||||
border-radius: 0.2rem;
|
||||
padding: 0.06rem 0.16rem;
|
||||
font-size: 0.12rem;
|
||||
color: $text-dark;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s;
|
||||
margin-top: 0.04rem;
|
||||
|
||||
&:hover {
|
||||
border-color: $accent;
|
||||
color: $accent;
|
||||
}
|
||||
}
|
||||
|
||||
&__add-icon {
|
||||
font-size: 0.14rem;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
// ==================== 日期选择器样式覆盖 ====================
|
||||
// Element Plus 的 el-date-picker 在 html font-size:100px 下需要用 px 还原
|
||||
|
||||
&__date-picker {
|
||||
width: 100% !important;
|
||||
|
||||
.el-input__wrapper {
|
||||
background: $bg-main !important;
|
||||
border: 1px solid transparent !important;
|
||||
border-radius: 6px !important;
|
||||
box-shadow: none !important;
|
||||
padding: 4px 12px !important;
|
||||
font-size: 13px !important;
|
||||
line-height: 1.5 !important;
|
||||
height: auto !important;
|
||||
|
||||
&:hover {
|
||||
border-color: $border-color !important;
|
||||
}
|
||||
|
||||
&.is-focus {
|
||||
border-color: $accent !important;
|
||||
background: $bg-white !important;
|
||||
}
|
||||
}
|
||||
|
||||
.el-input__inner {
|
||||
font-size: 13px !important;
|
||||
color: $text-dark !important;
|
||||
height: auto !important;
|
||||
line-height: 1.5 !important;
|
||||
|
||||
&::placeholder {
|
||||
color: $text-light !important;
|
||||
}
|
||||
}
|
||||
|
||||
.el-input__prefix,
|
||||
.el-input__suffix {
|
||||
font-size: 14px !important;
|
||||
}
|
||||
|
||||
.el-input__icon {
|
||||
width: 14px !important;
|
||||
height: 14px !important;
|
||||
font-size: 14px !important;
|
||||
}
|
||||
}
|
||||
|
||||
// ==================== 技能模块 ====================
|
||||
|
||||
// 技能标签列表容器
|
||||
&__skills-list {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.08rem;
|
||||
margin-bottom: 0.2rem;
|
||||
min-height: 0.4rem;
|
||||
}
|
||||
|
||||
// 单个技能标签
|
||||
&__skill-tag {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 0.06rem;
|
||||
padding: 0.06rem 0.1rem 0.06rem 0.14rem;
|
||||
background: $bg-main;
|
||||
border-radius: 0.16rem;
|
||||
font-size: 0.13rem;
|
||||
color: $text-dark;
|
||||
transition: all 0.2s;
|
||||
|
||||
&:hover {
|
||||
background: color.adjust($bg-main, $lightness: -3%);
|
||||
}
|
||||
}
|
||||
|
||||
// 技能标签文本
|
||||
&__skill-text {
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
// 技能标签删除按钮
|
||||
&__skill-remove {
|
||||
background: none;
|
||||
border: none;
|
||||
padding: 0.02rem;
|
||||
cursor: pointer;
|
||||
color: $text-light;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
border-radius: 50%;
|
||||
transition: all 0.2s;
|
||||
|
||||
&:hover {
|
||||
color: $danger;
|
||||
background: rgba($danger, 0.1);
|
||||
}
|
||||
}
|
||||
|
||||
&__skill-remove-icon {
|
||||
width: 0.12rem;
|
||||
height: 0.12rem;
|
||||
}
|
||||
|
||||
// 底部保存按钮
|
||||
&__footer {
|
||||
padding: 0.16rem 0.2rem;
|
||||
border-top: 1px solid $border-color;
|
||||
text-align: center;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
&__save-btn {
|
||||
width: 2.0rem;
|
||||
padding: 0.1rem 0;
|
||||
font-size: 0.14rem;
|
||||
font-weight: 600;
|
||||
color: $bg-white;
|
||||
background: $btn-dark;
|
||||
border: none;
|
||||
border-radius: 0.24rem;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s;
|
||||
|
||||
&:hover {
|
||||
background: $btn-dark-hover;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// ==================== 过渡动画 ====================
|
||||
|
||||
// 日期选择器弹出面板样式覆盖(teleport 到 body,需在全局作用域)
|
||||
.profile-drawer-date-popper {
|
||||
font-size: 14px !important;
|
||||
line-height: 1.5 !important;
|
||||
|
||||
.el-date-picker {
|
||||
font-size: 14px !important;
|
||||
}
|
||||
|
||||
.el-picker-panel__body {
|
||||
font-size: 14px !important;
|
||||
}
|
||||
|
||||
.el-date-picker__header {
|
||||
font-size: 14px !important;
|
||||
}
|
||||
|
||||
.el-month-table td .cell {
|
||||
font-size: 13px !important;
|
||||
padding: 8px 0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
// 遮罩层淡入淡出
|
||||
.profile-drawer-overlay-enter-active,
|
||||
.profile-drawer-overlay-leave-active {
|
||||
transition: opacity 0.3s ease;
|
||||
}
|
||||
|
||||
.profile-drawer-overlay-enter-from,
|
||||
.profile-drawer-overlay-leave-to {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
// 抽屉滑入滑出
|
||||
.profile-drawer-slide-enter-active,
|
||||
.profile-drawer-slide-leave-active {
|
||||
transition: transform 0.3s ease;
|
||||
}
|
||||
|
||||
.profile-drawer-slide-enter-from,
|
||||
.profile-drawer-slide-leave-to {
|
||||
transform: translateX(100%);
|
||||
}
|
||||
@@ -0,0 +1,165 @@
|
||||
@use '../variables' as *;
|
||||
|
||||
.profile-page-content {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.16rem;
|
||||
padding-bottom: 0.4rem;
|
||||
|
||||
// 卡片通用
|
||||
&__card {
|
||||
background: $bg-white;
|
||||
border-radius: 0.12rem;
|
||||
padding: 0.2rem 0.24rem;
|
||||
}
|
||||
|
||||
&__card-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
margin-bottom: 0.14rem;
|
||||
}
|
||||
|
||||
&__card-title {
|
||||
font-size: 0.16rem;
|
||||
font-weight: 700;
|
||||
color: $text-dark;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
&__edit-btn {
|
||||
background: none;
|
||||
border: none;
|
||||
color: $text-light;
|
||||
cursor: pointer;
|
||||
padding: 0.04rem;
|
||||
border-radius: 0.04rem;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
transition: all 0.2s;
|
||||
|
||||
&:hover {
|
||||
color: $accent;
|
||||
background: $theme-color;
|
||||
}
|
||||
}
|
||||
|
||||
&__edit-icon {
|
||||
width: 0.15rem;
|
||||
height: 0.15rem;
|
||||
}
|
||||
|
||||
// 个人信息
|
||||
&__info-name {
|
||||
font-size: 0.18rem;
|
||||
font-weight: 600;
|
||||
color: $text-dark;
|
||||
margin-bottom: 0.12rem;
|
||||
}
|
||||
|
||||
&__info-contacts {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.16rem;
|
||||
margin-bottom: 0.06rem;
|
||||
}
|
||||
|
||||
&__contact-item {
|
||||
font-size: 0.12rem;
|
||||
color: #555;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.04rem;
|
||||
}
|
||||
|
||||
// 通用 section item
|
||||
&__section-item {
|
||||
padding: 0.12rem 0;
|
||||
|
||||
&:not(:last-child) {
|
||||
border-bottom: 1px solid $border-color;
|
||||
}
|
||||
}
|
||||
|
||||
&__item-row {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
&__item-left {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
&__item-title {
|
||||
font-size: 0.14rem;
|
||||
font-weight: 600;
|
||||
color: $text-dark;
|
||||
margin-bottom: 0.03rem;
|
||||
}
|
||||
|
||||
&__item-sub {
|
||||
font-size: 0.12rem;
|
||||
color: #666;
|
||||
margin-bottom: 0.02rem;
|
||||
}
|
||||
|
||||
&__item-date {
|
||||
font-size: 0.11rem;
|
||||
color: $accent;
|
||||
margin-bottom: 0.04rem;
|
||||
}
|
||||
|
||||
&__item-period {
|
||||
font-size: 0.11rem;
|
||||
color: $text-light;
|
||||
white-space: nowrap;
|
||||
flex-shrink: 0;
|
||||
margin-left: 0.12rem;
|
||||
}
|
||||
|
||||
&__item-desc {
|
||||
font-size: 0.12rem;
|
||||
color: #666;
|
||||
line-height: 1.6;
|
||||
margin: 0.06rem 0 0 0;
|
||||
}
|
||||
|
||||
&__item-list {
|
||||
margin: 0.08rem 0 0 0;
|
||||
padding-left: 0.16rem;
|
||||
list-style: disc;
|
||||
|
||||
li {
|
||||
font-size: 0.12rem;
|
||||
color: #555;
|
||||
line-height: 1.8;
|
||||
}
|
||||
}
|
||||
|
||||
// 标签(技能 / 证书)
|
||||
&__tags {
|
||||
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.16rem;
|
||||
padding: 0.05rem 0.16rem;
|
||||
transition: all 0.2s;
|
||||
|
||||
&:hover {
|
||||
border-color: $accent;
|
||||
color: $accent;
|
||||
background: $theme-color;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,311 @@
|
||||
// ========================================
|
||||
// 地区选择器组件样式(分栏联动,支持二栏/三栏)
|
||||
// 全局 1rem = 100px,表单元素用固定 height 控制
|
||||
// 颜色统一使用 variables.scss 变量
|
||||
// 风格与行业/岗位选择器保持一致
|
||||
// ========================================
|
||||
@use '../variables' as *;
|
||||
|
||||
.region-selector {
|
||||
position: relative;
|
||||
//display: inline-block;
|
||||
|
||||
// ==================== 触发按钮 ====================
|
||||
&__trigger {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.04rem;
|
||||
background: $bg-main;
|
||||
border: 1px solid $border-color;
|
||||
border-radius: 0.2rem;
|
||||
padding: 0.05rem 0.14rem;
|
||||
color: $text-dark;
|
||||
font-size: 0.12rem;
|
||||
line-height: 1;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s ease;
|
||||
white-space: nowrap;
|
||||
max-width: 2rem;
|
||||
|
||||
&:hover {
|
||||
border-color: $accent;
|
||||
color: $accent;
|
||||
background: $theme-color;
|
||||
}
|
||||
}
|
||||
|
||||
&__display {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
max-width: 1.6rem;
|
||||
}
|
||||
|
||||
&__arrow {
|
||||
width: 0.1rem;
|
||||
height: 0.1rem;
|
||||
color: $text-light;
|
||||
flex-shrink: 0;
|
||||
transition: transform 0.2s;
|
||||
|
||||
&--open {
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
}
|
||||
|
||||
// ==================== 下拉面板 ====================
|
||||
&__panel {
|
||||
position: absolute;
|
||||
top: calc(100% + 0.06rem);
|
||||
left: 0;
|
||||
width: 4.2rem;
|
||||
background: $bg-white;
|
||||
border: 1px solid $border-color;
|
||||
border-radius: 0.1rem;
|
||||
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
|
||||
z-index: 100;
|
||||
padding: 0.1rem;
|
||||
|
||||
// level=2 时只有两栏,面板收窄
|
||||
&--two-col {
|
||||
width: 3rem;
|
||||
}
|
||||
}
|
||||
|
||||
// ==================== 选中区 ====================
|
||||
&__selected-area {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.06rem;
|
||||
margin-bottom: 0.1rem;
|
||||
max-height: 0.8rem;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
&__tag {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 0.03rem;
|
||||
height: 0.22rem;
|
||||
background: $theme-color;
|
||||
border: 1px solid rgba(79, 194, 201, 0.3);
|
||||
border-radius: 0.04rem;
|
||||
padding: 0 0.08rem;
|
||||
font-size: 0.11rem;
|
||||
line-height: 0.22rem;
|
||||
color: $accent-hover;
|
||||
white-space: nowrap;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
&__tag-close {
|
||||
width: 0.1rem;
|
||||
height: 0.1rem;
|
||||
cursor: pointer;
|
||||
color: $accent;
|
||||
flex-shrink: 0;
|
||||
transition: color 0.15s;
|
||||
|
||||
&:hover {
|
||||
color: $danger;
|
||||
}
|
||||
}
|
||||
|
||||
// ==================== 搜索框 ====================
|
||||
&__search-wrap {
|
||||
margin-bottom: 0.08rem;
|
||||
}
|
||||
|
||||
&__search {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 0.3rem;
|
||||
box-sizing: border-box;
|
||||
border: 1px solid $border-color;
|
||||
border-radius: 0.06rem;
|
||||
padding: 0 0.1rem;
|
||||
font-size: 0.12rem;
|
||||
line-height: 0.3rem;
|
||||
color: $text-dark;
|
||||
outline: none;
|
||||
background: $bg-main;
|
||||
margin: 0;
|
||||
transition: border-color 0.2s;
|
||||
|
||||
&::placeholder {
|
||||
color: $text-light;
|
||||
line-height: 0.3rem;
|
||||
}
|
||||
|
||||
&:focus {
|
||||
border-color: $accent;
|
||||
background: $bg-white;
|
||||
}
|
||||
}
|
||||
|
||||
// ==================== 搜索结果 ====================
|
||||
&__search-results {
|
||||
max-height: 2rem;
|
||||
overflow-y: auto;
|
||||
border: 1px solid $border-color;
|
||||
border-radius: 0.06rem;
|
||||
background: $bg-white;
|
||||
}
|
||||
|
||||
&__search-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
height: 0.3rem;
|
||||
padding: 0 0.1rem;
|
||||
font-size: 0.12rem;
|
||||
line-height: 0.3rem;
|
||||
color: $text-dark;
|
||||
cursor: pointer;
|
||||
transition: all 0.15s;
|
||||
|
||||
&:hover {
|
||||
background: $theme-color;
|
||||
color: $accent-hover;
|
||||
}
|
||||
|
||||
& + & {
|
||||
border-top: 1px solid $border-color;
|
||||
}
|
||||
}
|
||||
|
||||
&__search-empty {
|
||||
padding: 0.1rem;
|
||||
font-size: 0.12rem;
|
||||
line-height: 1;
|
||||
color: $text-light;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
&__check {
|
||||
width: 0.12rem;
|
||||
height: 0.12rem;
|
||||
color: $accent;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
// ==================== 分栏联动选择区 ====================
|
||||
&__columns {
|
||||
display: flex;
|
||||
border: 1px solid $border-color;
|
||||
border-radius: 0.06rem;
|
||||
overflow: hidden;
|
||||
height: 2.4rem;
|
||||
}
|
||||
|
||||
&__col {
|
||||
overflow-y: auto;
|
||||
height: 100%;
|
||||
|
||||
&--left {
|
||||
width: 1.1rem;
|
||||
flex-shrink: 0;
|
||||
border-right: 1px solid $border-color;
|
||||
background: $bg-main;
|
||||
}
|
||||
|
||||
&--mid {
|
||||
width: 1.2rem;
|
||||
flex-shrink: 0;
|
||||
border-right: 1px solid $border-color;
|
||||
background: $bg-white;
|
||||
|
||||
// level=2 时中栏是最后一栏,撑满剩余空间且去掉右边框
|
||||
&:last-child {
|
||||
flex: 1;
|
||||
border-right: none;
|
||||
}
|
||||
}
|
||||
|
||||
&--right {
|
||||
flex: 1;
|
||||
background: $bg-white;
|
||||
}
|
||||
}
|
||||
|
||||
&__col-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
height: 0.32rem;
|
||||
padding: 0 0.1rem;
|
||||
font-size: 0.12rem;
|
||||
line-height: 0.32rem;
|
||||
color: $text-dark;
|
||||
cursor: pointer;
|
||||
transition: all 0.15s;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
|
||||
&:hover {
|
||||
background: $theme-color;
|
||||
color: $accent-hover;
|
||||
}
|
||||
|
||||
&--active {
|
||||
background: $bg-white;
|
||||
color: $accent;
|
||||
font-weight: 600;
|
||||
box-shadow: inset 3px 0 0 $accent;
|
||||
}
|
||||
|
||||
&--selected {
|
||||
color: $accent;
|
||||
background: $theme-color;
|
||||
}
|
||||
}
|
||||
|
||||
&__col-empty {
|
||||
padding: 0.2rem 0.1rem;
|
||||
font-size: 0.12rem;
|
||||
line-height: 1;
|
||||
color: $text-light;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
// ==================== 底部操作按钮 ====================
|
||||
&__actions {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
margin-top: 0.1rem;
|
||||
gap: 0.1rem;
|
||||
}
|
||||
|
||||
&__btn {
|
||||
flex: 1;
|
||||
height: 0.3rem;
|
||||
border-radius: 0.06rem;
|
||||
font-size: 0.12rem;
|
||||
line-height: 0.3rem;
|
||||
cursor: pointer;
|
||||
border: 1px solid $border-color;
|
||||
transition: all 0.2s;
|
||||
|
||||
&--reset {
|
||||
background: $bg-main;
|
||||
color: $text-dark;
|
||||
|
||||
&:hover {
|
||||
border-color: $text-light;
|
||||
color: $text-dark;
|
||||
}
|
||||
}
|
||||
|
||||
&--confirm {
|
||||
background: $accent;
|
||||
color: $bg-white;
|
||||
border-color: $accent;
|
||||
|
||||
&:hover {
|
||||
background: $accent-hover;
|
||||
border-color: $accent-hover;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,451 @@
|
||||
@use '../variables' as *;
|
||||
|
||||
// ==================== 设置弹窗 ====================
|
||||
.settings-dialog-overlay {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
background: $overlay-bg;
|
||||
z-index: 2000;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.settings-dialog {
|
||||
position: relative;
|
||||
width: 8.6rem;
|
||||
height: 6.2rem;
|
||||
background: $bg-white;
|
||||
border-radius: 0.12rem;
|
||||
display: flex;
|
||||
overflow: hidden;
|
||||
box-shadow: 0 0.04rem 0.2rem rgba(0, 0, 0, 0.15);
|
||||
|
||||
&__close {
|
||||
position: absolute;
|
||||
top: 0.12rem;
|
||||
right: 0.16rem;
|
||||
font-size: 0.16rem;
|
||||
color: $text-light;
|
||||
cursor: pointer;
|
||||
z-index: 1;
|
||||
transition: color 0.2s;
|
||||
|
||||
&:hover {
|
||||
color: $text-dark;
|
||||
}
|
||||
}
|
||||
|
||||
// 左侧导航
|
||||
&__sidebar {
|
||||
width: 2.0rem;
|
||||
background: $bg-main;
|
||||
padding: 0.2rem 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex-shrink: 0;
|
||||
height: 100%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
&__nav {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
&__nav-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.08rem;
|
||||
padding: 0.12rem 0.2rem;
|
||||
font-size: 0.14rem;
|
||||
color: $text-dark;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s;
|
||||
border-left: 0.03rem solid transparent;
|
||||
font-weight: 500;
|
||||
|
||||
&:hover {
|
||||
background: $bg-white;
|
||||
color: $accent;
|
||||
}
|
||||
|
||||
&--active {
|
||||
background: $bg-white;
|
||||
color: $accent;
|
||||
border-left-color: $accent;
|
||||
font-weight: 600;
|
||||
}
|
||||
}
|
||||
|
||||
&__nav-icon {
|
||||
font-size: 0.16rem;
|
||||
flex-shrink: 0;
|
||||
width: 0.18rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
// 底部操作
|
||||
&__bottom-actions {
|
||||
margin-top: auto;
|
||||
padding: 0.16rem 0.2rem 0.08rem;
|
||||
border-top: 1px solid $border-color;
|
||||
}
|
||||
|
||||
&__bottom-btn {
|
||||
display: block;
|
||||
width: 100%;
|
||||
background: none;
|
||||
border: none;
|
||||
text-align: left;
|
||||
padding: 0.1rem 0;
|
||||
font-size: 0.13rem;
|
||||
color: $text-dark;
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
transition: color 0.2s;
|
||||
|
||||
&:hover {
|
||||
color: $accent;
|
||||
}
|
||||
|
||||
&--active {
|
||||
color: $accent;
|
||||
}
|
||||
|
||||
&--danger:hover {
|
||||
color: $danger;
|
||||
}
|
||||
}
|
||||
|
||||
// 右侧内容区
|
||||
&__content {
|
||||
flex: 1;
|
||||
padding: 0.24rem 0.32rem;
|
||||
min-width: 0;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
&__content-title {
|
||||
font-size: 0.22rem;
|
||||
font-weight: 700;
|
||||
color: $text-dark;
|
||||
margin: 0 0 0.24rem 0;
|
||||
}
|
||||
|
||||
// ===== 账号与安全 =====
|
||||
&__section {
|
||||
margin-bottom: 0.28rem;
|
||||
}
|
||||
|
||||
&__section-label {
|
||||
font-size: 0.14rem;
|
||||
font-weight: 600;
|
||||
color: $text-dark;
|
||||
margin-bottom: 0.06rem;
|
||||
}
|
||||
|
||||
&__section-value {
|
||||
font-size: 0.16rem;
|
||||
color: #555;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
&__danger-section {
|
||||
margin-top: 0.32rem;
|
||||
}
|
||||
|
||||
&__danger-title {
|
||||
font-size: 0.15rem;
|
||||
font-weight: 700;
|
||||
color: $text-dark;
|
||||
margin-bottom: 0.06rem;
|
||||
}
|
||||
|
||||
&__danger-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
&__danger-desc {
|
||||
font-size: 0.13rem;
|
||||
color: #666;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
&__danger-btn {
|
||||
background: $bg-main;
|
||||
border: 1px solid $border-color;
|
||||
border-radius: 0.06rem;
|
||||
padding: 0.07rem 0.16rem;
|
||||
font-size: 0.13rem;
|
||||
color: $text-dark;
|
||||
cursor: pointer;
|
||||
white-space: nowrap;
|
||||
transition: all 0.2s;
|
||||
|
||||
&:hover {
|
||||
border-color: $danger;
|
||||
color: $danger;
|
||||
}
|
||||
}
|
||||
|
||||
// ===== 会员 =====
|
||||
&__member-card {
|
||||
background: $bg-white;
|
||||
border: 1px solid $border-color;
|
||||
border-radius: 0.1rem;
|
||||
padding: 0.2rem 0.24rem;
|
||||
margin-bottom: 0.24rem;
|
||||
}
|
||||
|
||||
&__member-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
margin-bottom: 0.1rem;
|
||||
}
|
||||
|
||||
&__member-title-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.1rem;
|
||||
}
|
||||
|
||||
&__member-name {
|
||||
font-size: 0.16rem;
|
||||
font-weight: 700;
|
||||
color: $text-dark;
|
||||
}
|
||||
|
||||
&__member-badge {
|
||||
background: $accent;
|
||||
color: $bg-white;
|
||||
font-size: 0.11rem;
|
||||
padding: 0.02rem 0.08rem;
|
||||
border-radius: 0.1rem;
|
||||
}
|
||||
|
||||
&__member-terms {
|
||||
font-size: 0.12rem;
|
||||
color: $accent;
|
||||
cursor: pointer;
|
||||
text-decoration: underline;
|
||||
|
||||
&:hover {
|
||||
color: $accent-hover;
|
||||
}
|
||||
}
|
||||
|
||||
&__member-info-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
&__member-price {
|
||||
font-size: 0.13rem;
|
||||
color: #555;
|
||||
|
||||
span {
|
||||
margin-left: 0.12rem;
|
||||
color: $text-light;
|
||||
}
|
||||
}
|
||||
|
||||
&__member-manage-btn {
|
||||
background: $bg-main;
|
||||
border: 1px solid $border-color;
|
||||
border-radius: 0.06rem;
|
||||
padding: 0.07rem 0.16rem;
|
||||
font-size: 0.13rem;
|
||||
color: $text-dark;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s;
|
||||
|
||||
&:hover {
|
||||
border-color: $accent;
|
||||
color: $accent;
|
||||
}
|
||||
}
|
||||
|
||||
&__member-issue {
|
||||
text-align: center;
|
||||
padding: 0.2rem 0;
|
||||
}
|
||||
|
||||
&__member-issue-title {
|
||||
font-size: 0.15rem;
|
||||
font-weight: 600;
|
||||
color: $text-dark;
|
||||
margin-bottom: 0.1rem;
|
||||
}
|
||||
|
||||
&__member-issue-desc {
|
||||
font-size: 0.12rem;
|
||||
color: #666;
|
||||
line-height: 1.8;
|
||||
margin-bottom: 0.16rem;
|
||||
max-width: 5.0rem;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
&__member-issue-actions {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
gap: 0.16rem;
|
||||
}
|
||||
|
||||
&__member-issue-btn {
|
||||
background: $bg-white;
|
||||
border: 1px solid $border-color;
|
||||
border-radius: 0.06rem;
|
||||
padding: 0.08rem 0.24rem;
|
||||
font-size: 0.13rem;
|
||||
color: $text-dark;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s;
|
||||
|
||||
&:hover {
|
||||
border-color: $accent;
|
||||
color: $accent;
|
||||
}
|
||||
}
|
||||
|
||||
// ===== 岗位更新提醒 =====
|
||||
&__reminder-block {
|
||||
margin-bottom: 0.28rem;
|
||||
}
|
||||
|
||||
&__reminder-block-title {
|
||||
font-size: 0.16rem;
|
||||
font-weight: 700;
|
||||
color: $text-dark;
|
||||
margin-bottom: 0.14rem;
|
||||
}
|
||||
|
||||
&__reminder-target {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
&__reminder-tags {
|
||||
display: flex;
|
||||
gap: 0.1rem;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
&__reminder-tag {
|
||||
display: inline-block;
|
||||
padding: 0.06rem 0.16rem;
|
||||
font-size: 0.13rem;
|
||||
color: $text-dark;
|
||||
background: $bg-main;
|
||||
border: 1px solid $border-color;
|
||||
border-radius: 0.04rem;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
&__reminder-edit-btn {
|
||||
background: $bg-white;
|
||||
border: 1px solid $border-color;
|
||||
border-radius: 0.06rem;
|
||||
padding: 0.07rem 0.2rem;
|
||||
font-size: 0.13rem;
|
||||
color: $text-dark;
|
||||
font-weight: 500;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s;
|
||||
white-space: nowrap;
|
||||
|
||||
&:hover {
|
||||
border-color: $accent;
|
||||
color: $accent;
|
||||
}
|
||||
}
|
||||
|
||||
&__reminder-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 0.2rem;
|
||||
}
|
||||
|
||||
&__reminder-info {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
&__reminder-label {
|
||||
font-size: 0.14rem;
|
||||
color: $text-dark;
|
||||
font-weight: 600;
|
||||
margin-bottom: 0.06rem;
|
||||
}
|
||||
|
||||
&__reminder-desc {
|
||||
font-size: 0.13rem;
|
||||
color: #666;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
// ===== 弹窗 =====
|
||||
&__dialog-content {
|
||||
font-size: 0.13rem;
|
||||
color: #555;
|
||||
line-height: 1.8;
|
||||
max-height: 4.0rem;
|
||||
overflow-y: auto;
|
||||
padding: 0.1rem 0;
|
||||
}
|
||||
|
||||
&__dialog-section {
|
||||
margin-bottom: 0.16rem;
|
||||
|
||||
h4 {
|
||||
font-size: 0.14rem;
|
||||
color: $text-dark;
|
||||
margin: 0 0 0.06rem 0;
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 0;
|
||||
font-size: 0.12rem;
|
||||
color: #666;
|
||||
line-height: 1.8;
|
||||
}
|
||||
}
|
||||
|
||||
// ===== 隐私协议 =====
|
||||
&__privacy-content {
|
||||
font-size: 0.13rem;
|
||||
color: #555;
|
||||
line-height: 1.8;
|
||||
}
|
||||
|
||||
&__privacy-section {
|
||||
margin-bottom: 0.2rem;
|
||||
|
||||
h4 {
|
||||
font-size: 0.15rem;
|
||||
font-weight: 700;
|
||||
color: $text-dark;
|
||||
margin: 0 0 0.1rem 0;
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 0 0 0.08rem 0;
|
||||
font-size: 0.13rem;
|
||||
color: #555;
|
||||
line-height: 1.8;
|
||||
text-align: justify;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,257 @@
|
||||
@use '../variables' as *;
|
||||
|
||||
.side-nav {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
width: 2rem;
|
||||
height: 100vh;
|
||||
background: #1a1a2e;
|
||||
color: #fff;
|
||||
padding: 0.2rem 0.12rem;
|
||||
box-sizing: border-box;
|
||||
position: fixed;
|
||||
left: 0;
|
||||
top: 0;
|
||||
|
||||
&__header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.08rem;
|
||||
padding: 0.1rem 0.08rem;
|
||||
margin-bottom: 0.2rem;
|
||||
}
|
||||
|
||||
&__avatar {
|
||||
width: 0.36rem;
|
||||
height: 0.36rem;
|
||||
border-radius: 50%;
|
||||
background: #2e3142;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 0.18rem;
|
||||
}
|
||||
|
||||
&__logo-text {
|
||||
font-size: 0.16rem;
|
||||
font-weight: 600;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
&__menu {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.04rem;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
&__item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.08rem;
|
||||
padding: 0.1rem 0.12rem;
|
||||
border-radius: 0.14rem;
|
||||
color: #9598ab;
|
||||
text-decoration: none;
|
||||
cursor: pointer;
|
||||
transition: background 0.2s, color 0.2s;
|
||||
font-size: 0.14rem;
|
||||
|
||||
&:hover {
|
||||
background: rgba(255, 255, 255, 0.05);
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
&--active {
|
||||
background: #1F2937;
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
|
||||
&__item-icon {
|
||||
width: 0.2rem;
|
||||
height: 0.2rem;
|
||||
object-fit: contain;
|
||||
}
|
||||
|
||||
&__item-label {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
&__badge {
|
||||
background: #e85635;
|
||||
color: #fff;
|
||||
font-size: 0.1rem;
|
||||
padding: 0.02rem 0.06rem;
|
||||
border-radius: 0.2rem;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
&__footer {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.04rem;
|
||||
border-top: 1px solid #2e3142;
|
||||
padding-top: 0.12rem;
|
||||
}
|
||||
}
|
||||
|
||||
.side-nav__dialog-overlay {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
background: $overlay-bg;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
z-index: 1000;
|
||||
}
|
||||
|
||||
.side-nav__dialog {
|
||||
background: $bg-white;
|
||||
border-radius: 0.12rem;
|
||||
width: 4rem;
|
||||
max-width: 90vw;
|
||||
box-shadow: 0 0.04rem 0.2rem rgba(0, 0, 0, 0.15);
|
||||
}
|
||||
|
||||
.side-nav__dialog-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 0.16rem 0.2rem;
|
||||
border-bottom: 1px solid $border-color;
|
||||
font-size: 0.16rem;
|
||||
font-weight: 600;
|
||||
color: $text-dark;
|
||||
}
|
||||
|
||||
.side-nav__dialog-close {
|
||||
cursor: pointer;
|
||||
color: $text-light;
|
||||
font-size: 0.16rem;
|
||||
|
||||
&:hover {
|
||||
color: $text-dark;
|
||||
}
|
||||
}
|
||||
|
||||
.side-nav__dialog-body {
|
||||
padding: 0.2rem;
|
||||
font-size: 0.14rem;
|
||||
color: $text-dark;
|
||||
}
|
||||
|
||||
// 反馈弹窗
|
||||
.feedback-dialog {
|
||||
padding: 0.28rem 0.24rem;
|
||||
width: 4.83rem;
|
||||
|
||||
&__title {
|
||||
font-size: 0.2rem;
|
||||
font-weight: 700;
|
||||
color: $text-dark;
|
||||
margin-bottom: 0.24rem;
|
||||
}
|
||||
|
||||
&__section {
|
||||
margin-bottom: 0.2rem;
|
||||
}
|
||||
|
||||
&__label {
|
||||
font-size: 0.14rem;
|
||||
font-weight: 600;
|
||||
color: $text-dark;
|
||||
margin-bottom: 0.12rem;
|
||||
}
|
||||
|
||||
&__options {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.08rem;
|
||||
}
|
||||
|
||||
&__option {
|
||||
padding: 0.08rem 0.16rem;
|
||||
background: $bg-main;
|
||||
border-radius: 0.08rem;
|
||||
font-size: 0.14rem;
|
||||
color: $text-dark;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s;
|
||||
border: 1px solid transparent;
|
||||
|
||||
&:hover {
|
||||
background: $theme-color;
|
||||
border-color: $accent;
|
||||
}
|
||||
|
||||
&--active {
|
||||
background: $theme-color;
|
||||
border-color: $accent;
|
||||
color: $accent-hover;
|
||||
}
|
||||
}
|
||||
|
||||
&__textarea {
|
||||
width: 100%;
|
||||
padding: 0.12rem 0.14rem;
|
||||
background: $bg-main;
|
||||
border: 1px solid transparent;
|
||||
border-radius: 0.08rem;
|
||||
font-size: 0.13rem;
|
||||
color: $text-dark;
|
||||
resize: none;
|
||||
outline: none;
|
||||
box-sizing: border-box;
|
||||
font-family: inherit;
|
||||
transition: border-color 0.2s;
|
||||
|
||||
&::placeholder {
|
||||
color: $text-light;
|
||||
}
|
||||
|
||||
&:focus {
|
||||
border-color: $accent;
|
||||
}
|
||||
}
|
||||
|
||||
&__actions {
|
||||
display: flex;
|
||||
gap: 0.12rem;
|
||||
margin-top: 0.24rem;
|
||||
}
|
||||
|
||||
&__btn {
|
||||
flex: 1;
|
||||
padding: 0.12rem 0;
|
||||
border-radius: 0.24rem;
|
||||
font-size: 0.14rem;
|
||||
font-weight: 500;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s;
|
||||
border: 1px solid $border-color;
|
||||
|
||||
&--cancel {
|
||||
background: $bg-white;
|
||||
color: $text-dark;
|
||||
|
||||
&:hover {
|
||||
background: $bg-main;
|
||||
}
|
||||
}
|
||||
|
||||
&--submit {
|
||||
background: $btn-dark;
|
||||
color: $bg-white;
|
||||
border-color: $btn-dark;
|
||||
|
||||
&:hover {
|
||||
background: $btn-dark-hover;
|
||||
border-color: $btn-dark-hover;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,55 @@
|
||||
// 样式统一入口文件
|
||||
|
||||
// 页面样式
|
||||
@use './pages/home.scss';
|
||||
@use './pages/agent.scss';
|
||||
@use './pages/jobs.scss';
|
||||
@use './pages/resume.scss';
|
||||
@use './pages/resume-detail.scss';
|
||||
@use './pages/job-detail.scss';
|
||||
@use './pages/profile.scss';
|
||||
@use './pages/login.scss';
|
||||
|
||||
// 组件样式
|
||||
@use './components/hello-world.scss';
|
||||
@use './components/side-nav.scss';
|
||||
@use './components/ai-chat.scss';
|
||||
@use './components/job-page-header.scss';
|
||||
@use './components/job-goal-dialog.scss';
|
||||
@use './components/settings-dialog.scss';
|
||||
@use './components/member-dialog.scss';
|
||||
@use './components/profile-edit-drawer.scss';
|
||||
@use './components/industry-selector.scss';
|
||||
@use './components/job-category-selector.scss';
|
||||
@use './components/region-selector.scss';
|
||||
|
||||
// 全局样式(优先级最高)
|
||||
@use './auto.scss';
|
||||
|
||||
// ==================== Element Plus 组件 rem 适配修正 ====================
|
||||
// 项目 html font-size: 100px,导致 Element Plus 内部 rem 单位被放大
|
||||
// 以下对常用弹出类组件强制使用 px 单位还原正常尺寸
|
||||
|
||||
// ElMessage 提示条
|
||||
.el-message {
|
||||
font-size: 14px !important;
|
||||
padding: 10px 16px !important;
|
||||
min-width: 300px !important;
|
||||
border-radius: 8px !important;
|
||||
|
||||
.el-message__icon {
|
||||
font-size: 16px !important;
|
||||
margin-right: 8px !important;
|
||||
width: 16px !important;
|
||||
height: 16px !important;
|
||||
}
|
||||
|
||||
.el-message__content {
|
||||
font-size: 14px !important;
|
||||
line-height: 1.4 !important;
|
||||
}
|
||||
|
||||
.el-message__closeBtn {
|
||||
font-size: 14px !important;
|
||||
}
|
||||
}
|
||||
@@ -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
@@ -0,0 +1,7 @@
|
||||
// Home 页面样式
|
||||
.home-page {
|
||||
// 在这里添加 Home 页面的样式
|
||||
h1{
|
||||
color: blue;
|
||||
}
|
||||
}
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
// ========================================
|
||||
// 全局颜色规格 — 项目统一色彩体系
|
||||
// ========================================
|
||||
|
||||
// 主题色 — 用于高亮背景、选中态等
|
||||
$theme-color: #F6FCFC;
|
||||
|
||||
// 选中态背景色
|
||||
$selected-color: #F6FCFC;
|
||||
|
||||
// 页面主背景色
|
||||
$bg-main: #F3F4F5;
|
||||
|
||||
// 白色背景(卡片、输入框等)
|
||||
$bg-white: #FFFFFF;
|
||||
|
||||
// 深色文字(标题、正文)
|
||||
$text-dark: #000000;
|
||||
|
||||
// 浅色文字(副标题、占位符、辅助信息)
|
||||
$text-light: #BFBFBF;
|
||||
|
||||
// 强调色 / 品牌色
|
||||
$accent: #4FC2C9;
|
||||
|
||||
// 强调色悬停态
|
||||
$accent-hover: #42A8B3;
|
||||
|
||||
// 危险色 / 警告色(删除、错误等)
|
||||
$danger: #E85635;
|
||||
|
||||
// 分割线颜色
|
||||
$border-color: #E8E8E8;
|
||||
|
||||
// 遮罩层背景
|
||||
$overlay-bg: rgba(0, 0, 0, 0.5);
|
||||
|
||||
// 按钮深色背景(确认提交等)
|
||||
$btn-dark: #1A1A2E;
|
||||
|
||||
// 按钮深色悬停态
|
||||
$btn-dark-hover: #2E3142;
|
||||
Reference in New Issue
Block a user