简历上传,pdf简历下载

This commit is contained in:
2026-04-03 17:52:07 +08:00
parent 821a950df2
commit a39835be01
25 changed files with 2076 additions and 301 deletions
@@ -11,6 +11,7 @@
display: flex;
align-items: center;
justify-content: center;
font-size: 0.14rem;
// 遮罩层
&__overlay {
@@ -38,6 +38,13 @@
color: #fff;
}
// Logo 图片
&__logo-img {
width: 1.32rem;
height: 0.34rem;
display: block;
}
&__menu {
display: flex;
flex-direction: column;
+7
View File
@@ -55,3 +55,10 @@
font-size: 14px !important;
}
}
// ==================== Element Plus Loading 品牌色覆盖 ====================
.el-loading-spinner {
.circular .path {
stroke: #4FC2C9 !important;
}
}
+218 -65
View File
@@ -20,15 +20,17 @@
position: sticky;
top: 0;
z-index: 50;
background: rgba(255, 255, 255, 0.7);
backdrop-filter: blur(100px);
border-bottom: 1px solid rgba(243, 244, 246, 0.5);
// 导航内容容器 — 居中 12rem 宽
&__inner {
width: 12rem;
margin: 0 auto;
height: 0.8rem;
height: 0.68rem;
padding: 0.2rem;
box-sizing: border-box;
border-radius: 40px;
background: #FFFFFF;
border: 0.01rem solid #FFFFFF;
display: flex;
align-items: center;
justify-content: space-between;
@@ -49,11 +51,18 @@
letter-spacing: -0.01rem;
}
// Logo 图片
&__logo-img {
width: 1.32rem;
height: 0.34rem;
display: block;
}
// 导航右侧 CTA 按钮
&__btn {
padding: 0.1rem 0.32rem;
border-radius: 9999px;
background: $accent;
background: #111;
color: #fff;
font-size: 0.14rem;
line-height: 0.2rem;
@@ -61,7 +70,7 @@
border: none;
cursor: pointer;
transition: background 0.2s;
&:hover { background: $accent-hover; }
&:hover { }
}
}
@@ -70,9 +79,41 @@
background: #fff;
position: relative;
overflow: hidden;
font-size: 0.14rem;
background: radial-gradient(49.26% 24.58% at 46% 0%, #CEF0F2 0%, #FFFFFF 100%);
// 背景色块 — 顶部
&__orb {
position: absolute;
border-radius: 3.5rem;
filter: blur(1.2rem);
pointer-events: none;
z-index: 0;
background: rgba(82, 202, 209, 0.3);
&--top {
left: 40%;
transform: translateX(-50%);
top: -1.2rem;
width: 8rem;
height: 2.2rem;
background: rgba(82, 202, 209, 0.2);
opacity: 0;
}
// 背景色块 — 底部
&--bottom {
left: 40%;
transform: translateX(-50%);
bottom: -2.4rem;
width: 4rem;
height: 2rem;
}
}
// Hero 内容容器 — 左右两栏布局
&__inner {
position: relative;
z-index: 1;
width: 12rem;
margin: 0 auto;
display: flex;
@@ -251,6 +292,9 @@
&__inner {
width: 12rem;
margin: 0 auto;
display: flex;
align-items: center;
justify-content: space-between;
}
// 标题区
@@ -282,7 +326,6 @@
// 单个统计卡片
.stat-card {
flex: 1;
background: #fff;
border-radius: 0.48rem;
padding: 0.5rem;
@@ -311,6 +354,7 @@
.home-jobs-showcase {
padding: 1rem 0;
background: rgba(82, 202, 209, 0.05);
background: linear-gradient(to top, rgba(82, 202, 209, 0.05), rgba(82, 202, 209, 0.0001));
// 内容容器
&__inner {
@@ -388,6 +432,7 @@
border-radius: 0.12rem;
padding: 0.2rem 0.24rem;
min-width: 2.8rem;
text-align: left;
// 公司名 + 时间
&__company {
@@ -451,7 +496,7 @@
gap: 0.12rem;
padding: 0.2rem 0.4rem;
border-radius: 9999px;
background: $btn-dark;
background: #111111;
color: #fff;
font-size: 0.18rem;
line-height: 0.28rem;
@@ -459,8 +504,14 @@
border: none;
cursor: pointer;
transition: background 0.2s;
&:hover { background: $btn-dark-hover; }
svg { flex-shrink: 0; }
&:hover {
//background: $btn-dark-hover;
//background: $btn-dark;
}
svg {
flex-shrink: 0;
color: $btn-dark;
}
}
// 视觉展示区(右侧/左侧)
@@ -470,7 +521,7 @@
display: flex;
align-items: center;
justify-content: center;
background: rgba(82, 202, 209, 0.05);
background: linear-gradient(157.19deg, #E8F8F9 0%, #FBFDF7 100%);
border-radius: 0.48rem;
padding: 0.48rem;
min-height: 3.87rem;
@@ -584,7 +635,7 @@
padding: 0.32rem;
width: 100%;
max-width: 5.6rem;
transform: rotate(-2deg);
//transform: rotate(-2deg);
// 顶部状态栏
&__header {
@@ -659,7 +710,7 @@
&__title {
font-size: 0.14rem;
line-height: 0.2rem;
font-weight: 600;
//font-weight: 600;
color: #111;
margin: 0;
}
@@ -686,6 +737,13 @@
justify-content: center;
// 简历文档
&__doc--border {
background: #F9FDFD;
padding: 0.2rem;
border-radius: 0.25rem;
border: 0.62px solid #FFFFFF;
box-shadow: 0 0.15rem 0.31rem -0.074rem rgba(0, 0, 0, 0.3);
}
&__doc {
width: 2rem;
aspect-ratio: 3/4;
@@ -693,17 +751,18 @@
border: 1.2px dashed #e5e7eb;
border-radius: 0.16rem;
padding: 0.16rem;
}
// ATS 优化徽章
&__badge {
position: absolute;
bottom: -0.1rem;
left: -0.1rem;
background: $btn-dark;
left: -0.12rem;
background: #111111;
color: #fff;
padding: 0.12rem 0.2rem;
border-radius: 0.24rem;
padding: 0.16rem 0.2rem;
border-radius: 0.15rem;
display: flex;
align-items: center;
gap: 0.08rem;
@@ -712,7 +771,6 @@
span {
font-size: 0.09rem;
line-height: 0.09rem;
font-weight: 900;
letter-spacing: 0.01rem;
}
}
@@ -774,6 +832,7 @@
backdrop-filter: blur(56px);
border-radius: 0.32rem;
padding: 0.2rem;
font-size: 0.14rem;
// 奇数列偏移效果
&--offset {
@@ -890,10 +949,44 @@
// ==================== 用户评价区 ====================
.home-testimonials {
padding: 1.2rem 0;
background: rgba(82, 202, 209, 0.03);
backdrop-filter: blur(100px);
overflow: hidden;
position: relative;
// 底层背景色块 — 左上角
&__orb {
position: absolute;
border-radius: 3.5rem;
filter: blur(1.2rem);
pointer-events: none;
z-index: 0;
&--left {
left: -0.11rem;
top: 0.6rem;
width: 5.95rem;
height: 5.95rem;
background: #52CAD1;
}
// 底层背景色块 — 右下角
&--right {
right: -0.5rem;
bottom: 0.5rem;
width: 6rem;
height: 6rem;
background: #6DE5B6;
}
}
// 内容层白色容器 — 半透明白底透出色块
&__container {
position: relative;
z-index: 1;
background: rgba(255, 255, 255, 0.8);
border-radius: 1rem;
backdrop-filter: blur(100px);
padding: 0.8rem 1.2rem 0.6rem;
box-shadow: inset 0 0 0.9rem rgba(255, 255, 255, 0.5);
}
// 标题区
&__header {
@@ -905,6 +998,7 @@
line-height: 0.48rem;
font-weight: 600;
letter-spacing: -0.012rem;
color: #111;
}
p {
@@ -913,56 +1007,84 @@
color: #9ca3af;
letter-spacing: 0.016rem;
text-transform: uppercase;
margin-top: 0.12rem;
margin-top: 0.24rem;
}
}
// 创始人引言卡片
// 评价卡片横向排列
&__cards {
display: flex;
gap: 0.24rem;
justify-content: center;
margin-bottom: 0.48rem;
}
// 创始人引言深色卡片
&__founder {
width: 12rem;
margin: 0 auto 0.8rem;
background: $btn-dark;
color: #fff;
background: #1a1a2e;
border-radius: 0.48rem;
padding: 0.48rem;
padding: 0.48rem 0.6rem;
display: flex;
align-items: center;
position: relative;
overflow: hidden;
margin: 0 auto;
}
// 创始人装饰圆环 SVG
&__founder-decor {
position: absolute;
right: 0;
top: 50%;
transform: translateY(-50%);
width: 4.55rem;
height: 4.55rem;
pointer-events: none;
}
// 创始人内容区
&__founder-content {
display: flex;
align-items: center;
gap: 0.48rem;
position: relative;
overflow: hidden;
z-index: 1;
width: 100%;
}
// 创始人头像
&-img {
width: 1.28rem;
height: 1.28rem;
border-radius: 0.24rem;
background: rgba(255, 255, 255, 0.1);
display: flex;
align-items: center;
justify-content: center;
font-size: 0.6rem;
line-height: 1;
flex-shrink: 0;
}
// 创始人头像
&__founder-img {
width: 1.28rem;
height: 1.28rem;
border-radius: 0.24rem;
object-fit: cover;
flex-shrink: 0;
}
// 创始人文字区
&__founder-text {
flex: 1;
// 引言文字
blockquote {
font-size: 0.24rem;
line-height: 0.39rem;
color: #fff;
margin: 0;
}
// 署名
cite {
display: block;
margin-top: 0.24rem;
font-style: normal;
line-height: 0.28rem;
.cite-name {
font-size: 0.2rem;
color: $accent;
font-weight: 600;
}
.cite-role {
font-size: 0.14rem;
color: #999;
@@ -971,21 +1093,35 @@
}
}
// 评价卡片横向滚动容器
&__scroll {
// 分页小圆点
&__dots {
display: flex;
gap: 0.24rem;
padding: 0 1.2rem;
overflow-x: auto;
&::-webkit-scrollbar { display: none; }
justify-content: center;
gap: 0.1rem;
margin-top: 0.4rem;
}
&__dot {
width: 0.12rem;
height: 0.12rem;
border-radius: 50%;
background: #111;
opacity: 0.3;
cursor: pointer;
transition: opacity 0.3s;
&--active {
opacity: 1;
}
}
}
// 单个评价卡片
.testimonial-card {
flex-shrink: 0;
min-width: 3.71rem;
background: rgba(255, 255, 255, 0.9);
flex: 1;
min-width: 0;
max-width: 3.71rem;
background: #fff;
box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
border-radius: 0.4rem;
padding: 0.3rem;
@@ -995,7 +1131,7 @@
&__quote {
position: absolute;
right: 0.3rem;
top: 0.3rem;
bottom: 0.3rem;
opacity: 0.3;
}
@@ -1020,9 +1156,15 @@
width: 0.48rem;
height: 0.48rem;
border-radius: 50%;
background: linear-gradient(135deg, $accent, #a7f3d0);
object-fit: cover;
border: 2px solid #fff;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
box-shadow: 0 2px 4px -2px rgba(0, 0, 0, 0.1), 0 4px 6px -1px rgba(0, 0, 0, 0.1);
flex-shrink: 0;
}
// 作者信息容器
&__info {
min-width: 0;
}
// 作者姓名
@@ -1217,15 +1359,18 @@
// ==================== 底部 CTA 行动号召 ====================
.home-cta {
padding: 0 1.2rem 1.2rem;
width: 12rem;
margin: 0 auto;
// CTA 内容区
&__inner {
background: $accent;
background: linear-gradient(223.56deg, #52CAD1 0%, #53D9C8 100%);
border-radius: 0.6rem;
padding: 1.28rem 0;
padding: 1.0rem 0;
text-align: center;
position: relative;
overflow: hidden;
line-height: 1;
h2 {
font-size: 0.52rem;
@@ -1239,10 +1384,10 @@
// CTA 按钮
&__btn {
margin-top: 0.4rem;
margin-top: 0.2rem;
padding: 0.24rem 0.64rem;
border-radius: 9999px;
background: $btn-dark;
background: #111;
color: #fff;
font-size: 0.2rem;
line-height: 0.28rem;
@@ -1253,15 +1398,16 @@
z-index: 1;
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
transition: background 0.2s;
&:hover { background: $btn-dark-hover; }
&:hover { background: #111; }
}
}
// ==================== 页脚 ====================
.home-footer {
background: #fff;
background: #111;
border-top: 1px solid #f3f4f6;
padding: 0.8rem 0 0.4rem;
line-height: 1;
// 页脚内容 — 四列横向排列
&__inner {
@@ -1282,7 +1428,7 @@
font-size: 0.16rem;
line-height: 0.24rem;
font-weight: 500;
color: #111;
color: #fff;
margin: 0 0 0.32rem;
}
@@ -1309,9 +1455,17 @@
// Logo
&__logo {
margin-bottom: 0.16rem;
font-size: 0.14rem;
}
// Logo 文字
// Logo 图片
&__logo-img {
width: 1.43rem;
height: 0.355rem;
display: block;
}
// Logo 文字(保留备用)
&__logo-text {
font-size: 0.22rem;
line-height: 0.34rem;
@@ -1331,7 +1485,6 @@
width: 12rem;
margin: 0.6rem auto 0;
text-align: center;
border-top: 1px solid #f3f4f6;
padding-top: 0.4rem;
p {
+8
View File
@@ -615,6 +615,14 @@
}
}
// 暂无数据提示
&__empty {
text-align: center;
padding: 1rem 0;
font-size: 0.14rem;
color: $text-light;
}
// 加载更多提示
&__loading-more {
text-align: center;
+80 -7
View File
@@ -12,6 +12,7 @@
background: $bg-main;
display: flex;
flex-direction: column;
font-size: 0.14rem;
}
&__page-title {
@@ -130,10 +131,11 @@
display: flex;
align-items: center;
justify-content: center;
color: $bg-white;
color: $text-dark;
font-size: 0.18rem;
font-weight: 700;
flex-shrink: 0;
background: $bg-main;
}
&__score-badge {
@@ -317,12 +319,37 @@
margin-bottom: 0;
}
// ---- 编辑按钮(与 ProfilePageContent 一致) ----
&__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;
flex-shrink: 0;
&:hover {
color: $accent;
background: $theme-color;
}
}
&__edit-icon {
width: 0.15rem;
height: 0.15rem;
}
// ---- 教育背景 ----
&__edu-item {
padding: 0.1rem 0;
margin-top: 0.16rem;
padding-left: 0.1rem;
border-left: 2px solid $border-color;
&:not(:last-child) {
border-bottom: 1px solid $border-color;
}
}
@@ -339,12 +366,15 @@
line-height: 1.6;
}
// ---- 工作经 ----
// ---- 工作经 ----
&__exp-item {
padding: 0.1rem 0;
margin-top: 0.16rem;
margin-left: 0.1rem;
padding-left: 0.1rem;
border-left: 2px solid $border-color;
&:not(:last-child) {
border-bottom: 1px solid $border-color;
//border-bottom: 1px solid $border-color;
}
}
@@ -390,4 +420,47 @@
background: $theme-color;
}
}
// ---- 卡片底部问题操作区 ----
&__card-issue {
display: flex;
align-items: center;
justify-content: flex-end;
gap: 0.1rem;
margin-top: 0.18rem;
padding-top: 0.14rem;
}
// 问题类型按钮组(三选一)
&__issue-type-group {
display: flex;
align-items: center;
gap: 0.06rem;
}
// 问题类型按钮
&__issue-type-btn {
font-size: 0.12rem;
border-radius: 0.16rem;
padding: 0.05rem 0.14rem;
cursor: pointer;
transition: all 0.2s;
white-space: nowrap;
border: 1px solid $border-color;
background: $bg-main;
color: $text-light;
&:hover {
border-color: $accent;
color: $accent;
background: $theme-color;
}
// 选中态
&--active {
background: $theme-color;
color: $accent;
border-color: $accent;
}
}
}
+13
View File
@@ -188,3 +188,16 @@
}
}
}
// ==================== 上传简历加载提示 ====================
.resume-upload-loading {
.el-loading-spinner {
.circular .path {
stroke: $accent;
}
.el-loading-text {
color: $accent;
}
}
}