From 065553f53e742260e1df54d7fdb3f7ec0549b018 Mon Sep 17 00:00:00 2001 From: xuxin <15279969124@163.com> Date: Tue, 9 Jun 2026 14:39:59 +0800 Subject: [PATCH] =?UTF-8?q?=E7=99=BB=E9=99=86=E6=97=B6=E6=B2=A1=E6=9C=89?= =?UTF-8?q?=E7=AE=80=E5=8E=86=E5=85=88=E4=B8=8A=E4=BC=A0=E4=B8=80=E4=BB=BD?= =?UTF-8?q?=E7=AE=80=E5=8E=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/styles/pages/home.scss | 42 +++ src/assets/styles/pages/login.scss | 175 +++++++++++ src/views/Home.vue | 42 ++- src/views/Login.vue | 478 ++++++++++++++++++----------- src/views/Profile.vue | 2 +- 5 files changed, 549 insertions(+), 190 deletions(-) diff --git a/src/assets/styles/pages/home.scss b/src/assets/styles/pages/home.scss index 4f207dd..3456a39 100644 --- a/src/assets/styles/pages/home.scss +++ b/src/assets/styles/pages/home.scss @@ -1418,6 +1418,48 @@ } } + // "还有其他问题"展开后的反馈表单 + &__feedback { + display: flex; + flex-direction: column; + align-items: center; + gap: 0.24rem; + } + + // 文本输入框 + &__textarea { + width: 100%; + min-height: 1.2rem; + padding: 0.2rem; + border-radius: 0.16rem; + border: none; + background: #f5f5f5; + font-size: 0.14rem; + line-height: 0.22rem; + color: #111; + resize: none; + outline: none; + font-family: inherit; + + &::placeholder { + color: #bbb; + } + } + + // 提交按钮 + &__submit { + padding: 0.14rem 0.6rem; + border-radius: 9999px; + background: #111; + color: #fff; + font-size: 0.16rem; + line-height: 0.22rem; + font-weight: 500; + border: none; + cursor: pointer; + transition: background 0.2s; + } + // 悬停态 &:hover { .faq-item__icon { diff --git a/src/assets/styles/pages/login.scss b/src/assets/styles/pages/login.scss index d80f255..7da19e2 100644 --- a/src/assets/styles/pages/login.scss +++ b/src/assets/styles/pages/login.scss @@ -445,3 +445,178 @@ text-decoration: underline; } } + +/* ==================== 简历上传阶段 — 左侧职位卡片面板 ==================== */ +.login-view__left--resume { + position: relative; + overflow: hidden; + padding: 0.4rem; +} + +.login-view__resume-logo { + position: absolute; + top: 0.3rem; + left: 0.4rem; + display: flex; + align-items: center; + gap: 0.12rem; + z-index: 2; +} + +.login-view__job-cards { + position: relative; + width: 100%; + height: 5.5rem; + z-index: 1; +} + +.login-view__job-card { + position: absolute; + display: flex; + align-items: center; + gap: 0.1rem; + padding: 0.1rem 0.16rem; + background: #FFFFFF; + border-radius: 0.1rem; + box-shadow: 0 0.02rem 0.08rem rgba(0, 0, 0, 0.06); + white-space: nowrap; +} + +.login-view__job-card-icon { + display: flex; + align-items: center; + justify-content: center; + width: 0.32rem; + height: 0.32rem; + border-radius: 0.06rem; + font-size: 0.13rem; + font-weight: 700; + flex-shrink: 0; +} + +.login-view__job-card-info { + display: flex; + flex-direction: column; + gap: 0.02rem; +} + +.login-view__job-card-title { + font-size: 0.13rem; + font-weight: 600; + color: #132034; +} + +.login-view__job-card-company { + font-size: 0.11rem; + color: #94A3B8; +} + +.login-view__job-card-salary { + font-size: 0.12rem; + font-weight: 600; + color: #E85635; + margin-left: 0.08rem; +} + +.login-view__resume-slogan { + position: absolute; + bottom: 1.5rem; + left: 0.4rem; + z-index: 2; + + h1 { + font-size: 0.32rem; + font-weight: 700; + color: #132034; + line-height: 0.48rem; + } +} + +/* ==================== 简历上传阶段 — 右侧面板 ==================== */ +.login-view__form-wrap--resume { + width: 4.6rem; + min-height: 4rem; +} + +/* 上传区域 */ +.login-view__upload-area { + width: 100%; + padding: 0.6rem 0.4rem; + border: 1px dashed #E2E8F0; + border-radius: 0.12rem; + background: #FFFFFF; + display: flex; + flex-direction: column; + align-items: center; + gap: 0.12rem; + cursor: pointer; + transition: border-color 0.2s; + + &:hover { + border-color: #12C7BE; + } +} + +.login-view__upload-circle { + width: 0.6rem; + height: 0.6rem; + border-radius: 50%; + background: #E8F8F7; +} + +.login-view__upload-text { + font-size: 0.14rem; + color: #64748B; +} + +.login-view__upload-hint { + font-size: 0.12rem; + color: #94A3B8; +} + +.login-view__file-input { + display: none; +} + +.login-view__upload-btn { + padding: 0.14rem 0.4rem; + background: linear-gradient(90deg, #12C7BE 0%, #06B6D4 100%); + border: none; + border-radius: 0.26rem; + font-size: 0.16rem; + font-weight: 600; + color: #FFFFFF; + cursor: pointer; + transition: opacity 0.2s; + + &:hover { + opacity: 0.9; + } +} + +/* 解析中状态 */ +.login-view__parsing { + display: flex; + flex-direction: column; + justify-content: center; + align-items: flex-start; + width: 100%; + min-height: 3rem; +} + +.login-view__parsing-title { + font-size: 0.32rem; + font-weight: 700; + color: #132034; + margin-bottom: 0.12rem; +} + +.login-view__parsing-subtitle { + font-size: 0.15rem; + color: #64748B; +} + +/* 失败状态标题红色 */ +.login-view__title--error { + color: #12C7BE; +} diff --git a/src/views/Home.vue b/src/views/Home.vue index 140abbf..33a395a 100644 --- a/src/views/Home.vue +++ b/src/views/Home.vue @@ -348,11 +348,10 @@ :key="i" class="faq-item" :class="{ 'faq-item--open': faqOpen === i }" - @click="faqOpen = faqOpen === i ? -1 : i" > -
+
{{ faq.q }} -
+
-

{{ faq.a }}

+ + +
@@ -539,13 +552,24 @@ const testimonials = [ { text: '“满分!特别是网申自动填写,不仅可以一键填写,还能快速定制简历内容,完美匹配岗位要求,毕设求职两不误,真心推荐。”', name: '张同学', school: '中国人民大学', avatar: studentAvatar2 }, ] +/** 用户反馈输入内容 */ +const faqFeedbackText = ref('') + +/** 提交用户反馈 */ +function submitFaqFeedback() { + if (!faqFeedbackText.value.trim()) return + // TODO: 对接后端反馈接口 + faqFeedbackText.value = '' + faqOpen.value = -1 +} + /** 常见问题列表 — q: 问题, a: 答案,点击可展开/收起 */ const faqs = [ - { q: '这个平台与其他求职网站有什么不同?', a: 'Offer派专注于大学生校招场景,利用AI技术实现智能岗位匹配、一键自动网申、岗位定制简历和内推人脉直通,让求职效率提升80%以上。' }, - { q: '平台会分享我的个人信息吗?', a: '绝对不会。我们严格遵守隐私保护法规,您的个人信息仅用于岗位匹配和简历投递,不会分享给任何第三方。' }, - { q: '如何收费?', a: '基础功能完全免费,包括岗位浏览、AI匹配和求职助手。高级功能如一键批量投递、定制简历等提供会员订阅服务。' }, - { q: '平台的岗位来源是什么?', a: '我们的岗位信息来自各大企业官方校招渠道、合作高校就业中心以及企业HR直接发布,确保信息真实可靠。' }, - { q: '支持哪些企业?', a: '目前已覆盖互联网、金融、制造、快消等行业的数千家企业,包括字节跳动、腾讯、阿里巴巴、华为等头部企业。' }, + { q: '这个平台与其他求职平台有什么不同?', a: '不同于BOSS直聘等传统平台的“手动式”求职,Offer派如同一位经验丰富的职业导师,通过AI能力搭建智能工具,自动处理简历优化、岗位匹配、申请投递等环节,大幅度提升你的求职效率。' }, + { q: '平台如何保障我的个人信息安全?', a: 'Offer派高度重视你的隐私安全。未经你明确同意,我们绝不会将你的个人信息提供给任何第三方。你的所有数据仅用于在平台内为你提供AI智能岗位匹配、简历优化等个性化求职服务。' }, + { q: '平台可以免费使用吗?', a: 'Offer派为所有用户免费开放3天会员权益,帮你省心省力找工作。3天后,依然可以免费使用各项功能,但有使用次数限制。如果你需要不受限制地使用所有功能,更快更高效地获得Offer,建议您升级为付费会员,让求职效率翻倍。' }, + { q: '平台的岗位来源是什么?', a: 'Offer派的岗位来自上万家企业的官方招聘网站,同时聚合了各大主流平台的最新职位——你不需要在多个网站之间来回切换,就能一站式搜罗全网高质量的工作机会。此外,我们会持续筛查每一则新发布的职位,及时剔除虚假信息,帮你避“坑”,为你提供真实靠谱的岗位信息。' }, + { q: '还有其他问题?', a: '' }, ] // ==================== 底部筛选区:行业/地区/岗位选择器 ==================== diff --git a/src/views/Login.vue b/src/views/Login.vue index e03a086..5865a0f 100644 --- a/src/views/Login.vue +++ b/src/views/Login.vue @@ -1,154 +1,158 @@ diff --git a/src/views/Profile.vue b/src/views/Profile.vue index 296798d..381ef83 100644 --- a/src/views/Profile.vue +++ b/src/views/Profile.vue @@ -10,7 +10,7 @@ @save="handleSaveEdit" /> - +