| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107 |
- <template>
- <view style="height: 100vh;" class="flex flex-direction">
- <!-- 顶部导航栏 -->
- <view class="navbar" :style="{ paddingTop: (12 + statusBarHeight) + 'px' }">
- <view class="navbar-content">
- <view class="navbar-left" @click="goBack">
- <u-icon name="arrow-leftward" size="36" color="#333"></u-icon>
- </view>
- <view class="navbar-title">附件管理</view>
- <view class="navbar-right"></view>
- </view>
- </view>
- <view class="contain flex flex-direction">
- <scroll-view scroll-with-animation scroll-y>
- <view class="usermain-item item-padding" v-for="item in content">
- <view class="usermain-item-title c-flex-center">
- <image
- :src="item.fileType == 'pdf' ? '../../static/images/pdf.svg' : '../../static/images/docx.svg'"
- class="header-icon" mode="aspectFill" />
- </view>
- <view @click="seekDoc(item)" class="fileContent c-flex-center">
- <view class="fileName m-ellipsis">{{ item.attachmentName }}</view>
- <view class="filedesc">{{ item.attachmentSize }}kb 更新于{{ item.createTime }}</view>
- </view>
- <view @click.stop="more(item.resumesAttachmentId)" class="c-flex-center">
- <u-icon name="more-dot-fill"></u-icon>
- </view>
- </view>
- <empty v-if="content.length == 0" />
- </scroll-view>
- </view>
- <view>
- <view class="ai-upload-tip" v-if="content.length != 0">
- <image src="@/static/images/my/ai-logo.png" class="ai-logo"></image>
- <view class="ai-tip-title">Ai简历一键解析,无需手动填写简历</view>
- <view class="step-wrapper">
- <view class="step-item">Step 1 点击简历上传按钮,上传PDF附件简历</view>
- <view class="step-item">Step 2 找到附件简历,点击文件右侧“···”操作键</view>
- <view class="step-img"></view>
- <image src="@/static/images/my/resume-file.png" class="step-file-img"></image>
- <view class="step-item">Step 3 点击"Ai解析”对简历进行一键同步</view>
- </view>
- </view>
- <view class="buttons flex align-center">
- <!-- <view class="button pain" @click="showTipPopup = true">Ai一键解析简历</view> -->
- <view class="button primary" @click="goResumeUpload">简历上传</view>
- <!-- <view class="button primary">
- 简历上传
- <fileSelector title="" allowType=".doc,.docx,.xls,.xlsx,.pdf" @fileSelected="uploadResumes"
- @filesChanged="onFilesChanged" />
- </view> -->
- </view>
- </view>
- <!-- 简历解析确认弹窗 -->
- <view class="popup-container" v-if="showTipPopup" @click="showTipPopup = false">
- <view class="popup-content">
- <view class="popup-title">温馨提示</view>
- <view class="tip-container">
- <view>1-2页简历识别预计耗时1分钟;</view>
- <view>3-5页简历识别预计耗时1-3分钟;</view>
- <view>5页简历以上耗时将会超过5分;</view>
- <view>请您耐心等待!</view>
- </view>
- <image src="@/static/upload-tip.png" class="upload-tip"></image>
- <view class="button-primary" @click.stop="handlUploadFile">知道了</view>
- </view>
- </view>
- <!-- 简历解析加载 -->
- <view class="load-container" v-if="showLoadCard">
- <image src="@/static/loading.gif" class="loading-image" mode="aspectFit"></image>
- </view>
- <!-- 权限说明弹窗 -->
- <u-popup mode="top" ref="permission">
- <view class="popup-content">
- <view class="popup-text-permission">选择/拍摄照片需要相机/相册权限,用于上传用户头像</view>
- </view>
- </u-popup>
- <!-- 同步解析简历数据 -->
- <u-popup v-model="showResumesAnalysis" mode="bottom" border-radius="14" :mask-close-able="false">
- <view class="resume-popup">
- <view class="close-button flex align-center justify-center" @click="showResumesAnalysis = false">
- <u-icon name="close" color="#fff" size="22" />
- </view>
- <view class="title">从附件简历中解析出<text>{{ validInfoCount }}段</text>有效信息</view>
- <view class="tip">无需手动填写,可直接添加到在线简历中</view>
- <view class="info-list">
- <view class="info-item flex align-center" v-for="(item, index) in analysisList" :key="index">
- <view class="label">{{ item.title }}</view>
- <view class="border"></view>
- <view class="content">{{ item.value }}</view>
- </view>
- </view>
- <view class="button" @click="handleSync">立即同步</view>
- </view>
- </u-popup>
- </view>
- </template>
- <script>
- import configdata from '../../common/config.js';
- import navBar from "@/components/nav-bar/index.vue";
- // 引入组件
- import fileSelector from '@/uni_modules/zhouquan-fileSelector/components/zhouquan-fileSelector/file-selector.vue';
- import empty from '../../components/empty.vue'
- // #ifdef APP-PLUS
- import { chooseFileFromModule } from '@/uni_modules/sr-file-choose'
- // #endif
- let AIResumeData = {}
- export default {
- components: {
- navBar,
- fileSelector,
- empty
- },
- data() {
- return {
- statusBarHeight: 0, // 状态栏高度
- phone: '',
- weChatNum: '',//微信号
- email: '',//接收简历邮箱
- selectedCompany: '深圳市汉瑞国际猎头服务有限公司', // 我的公司
- selectedPosition: '人事总监', // 我的职务
- avatar: '../../static/logo.png',
- userName: '',
- nickName: '',
- userId: '',
- realName: '',
- weChatId: "",
- password: '',
- platform: '',
- createTime: '',
- money: '',
- jiFen: '',
- status: '',
- zhiFuBao: '',
- zhiFuBaoName: '',
- sex: 1,
- age: 0,
- content: [],
- showLoadCard: false,
- showResumesAnalysis: false,
- validInfoCount: 0, // 有效信息数量
- analysisList: [
- {
- title: '基本信息',
- value: '',
- },
- {
- title: '工作经历',
- value: '',
- },
- {
- title: '教育经历',
- value: '',
- },
- {
- title: '个人优势',
- value: '',
- },
- ],
- loading: false,
- showTipPopup: false,
- showWXUploadBtn: false
- };
- },
- computed: {
- phoneWithMask() {
- if (this.phone && this.phone.length >= 11) {
- return this.phone.substring(0, 3) + '******' + this.phone.substring(9);
- }
- return this.phone || '请设置手机号';
- }
- },
- onLoad(e) {
- // 获取状态栏高度
- let systemInfo = uni.getSystemInfoSync();
- this.statusBarHeight = systemInfo.statusBarHeight || 0;
- },
- onShow() {
- this.getUserInfo()
- this.getWXUploadConfigData()
- },
- methods: {
- // 返回上一页
- goBack() {
- uni.navigateBack();
- },
- // 修改手机号
- modifyPhone() {
- console.log('点击修改手机号,当前手机号:', this.phone);
- const url = `/pages/my/userphone?currentPhone=${this.phone}`;
- console.log('跳转路径:', url);
- uni.navigateTo({
- url: url,
- });
- },
- // 选择公司
- selectCompany() {
- uni.navigateTo({
- url: '/pages/my/myCompany'
- });
- },
- // 选择职务
- selectPosition() {
- // 这里可以跳转到职务选择页面或显示职务选择弹窗
- console.log('选择职务');
- },
- onChooseAvatar(e) {
- let that = this;
- let token = uni.getStorageSync('token');
- uni.uploadFile({
- url: this.$Request.config("APIHOST1") +
- '/alioss/upload', //真实的接口地址
- filePath: e.detail.avatarUrl,
- header: {
- token: token
- },
- name: 'file',
- success: uploadFileRes => {
- let url = JSON.parse(uploadFileRes.data);
- that.avatar = url.data
- uni.hideLoading();
- }
- });
- },
- goResumeUpload(){
- uni.navigateTo({
- url: '/pages/my/resumeUpload'
- })
- },
- getUserInfo() {
- this.$Request.get("/app/resumes/getAttachment").then(res => {
- if (res.code == 0) {
- res.data.forEach(function (item) {
- const ext = item.attachmentName.split('.').pop().toLowerCase();
- item.fileType = ext
- })
- this.content = res.data
- }
- uni.hideLoading();
- });
- },
- // 保存
- uploadResumes(e) {
- var that = this
- console.log(e.path)
- const validExtensions = ['pdf', 'doc', 'docx'];
- const ext = e.name.split('.').pop().toLowerCase();
- if (!validExtensions.includes(ext)) {
- this.$queue.showToast('仅支持PDF/DOC/DOCX格式')
- return;
- }
- uni.getFileInfo({
- filePath: e.path,
- success: (info) => {
- console.log('文件大小:', info.size); // 单位:字节
- let attachment_size = (info.size / 1024).toFixed(1)
- that.$queue.uploadFile(e.path, function (path) {
- if (path)
- that.$Request.postJson("/app/resumes/saveAttachment", {
- attachmentAddress: path,
- attachmentName: e.name,
- attachmentSize: attachment_size
- }).then(res => {
- if (res.code === 0) {
- that.getUserInfo()
- uni.$emit('updateAttachmentList')
- } else {
- uni.showToast({
- title: res.msg,
- icon: "none"
- })
- }
- })
- else
- that.$queue.showToast('文件上传失败')
- })
- },
- fail: (err) => {
- console.error('获取失败', err);
- }
- });
- },
- more(id) {
- uni.showActionSheet({
- itemList: ["AI解析", "删除"],
- itemColor: "#3273db",
- success: res => {
- if (res.tapIndex == 0) {
- let [resume] = this.content.filter(item => item.resumesAttachmentId == id)
- if (resume) {
- this.analyserResumeByUrl(resume?.attachmentAddress)
- } else {
- this.$queue.showToast('获取简历失败')
- }
- } else if (res.tapIndex == 1) {
- this.deleteAttachment(id)
- }
- },
- fail(res) {
- console.log(res.errMsg);
- },
- });
- },
- handleWeChatUpload() {
- plus.share.getServices(res => {
- let weixinService = null;
- for (let i in res) {
- if (res[i].id === 'weixin') {
- weixinService = res[i];
- break;
- }
- }
- console.log('weixinService :>> ', weixinService);
- const userId = uni.getStorageSync('userId')
- if (weixinService) {
- weixinService.launchMiniProgram({
- id: 'gh_854ab5288c2d',
- path: `/pages/index/index?userId=${userId}`,
- type: 0 // 小程序版本类型:0-正式版;1-测试版;2-体验版
- });
- } else {
- console.log('未安装微信或获取微信服务失败');
- }
- });
- },
- deleteAttachment(id) {
- var that = this;
- uni.showModal({
- title: '提示',
- content: '确定删除?',
- success(res) {
- if (res.confirm) {
- that.$Request.postJson("/app/resumes/deleteAttachment", {
- resumesAttachmentId: id
- }).then(res => {
- if (res.code === 0) {
- var info = that.content.filter(function (item) {
- return item.resumesAttachmentId != id;
- });
- that.content = info
- uni.$emit('updateAttachmentList')
- } else {
- uni.showToast({
- title: res.msg,
- icon: "none"
- })
- }
- })
- } else if (res.cancel) {
- console.log('用户点击取消')
- }
- }
- })
- },
- onFilesChanged(e) {
- console.log(e)
- },
- seekDoc(it) {
- //#ifdef APP-PLUS
- uni.downloadFile({
- url: it.attachmentAddress,
- success: function (res) {
- var filePath = res.tempFilePath;
- uni.openDocument({
- filePath: filePath,
- showMenu: true,
- success: function (res) {
- console.log('打开文档成功');
- }
- });
- }
- });
- return;
- //#endif
- uni.navigateTo({
- url: '/pages/index/webView?url=' + it.attachmentAddress + '&title=' + it.attachmentName
- });
- },
- // 附件一键识别
- handlUploadFile() {
- if (this.content.length >= 3) {
- this.showTipPopup = false
- this.$queue.showToast('最多保存三张附件简历,请删除后再试')
- return
- }
-
- // #ifdef APP-PLUS
- chooseFileFromModule({
- complete: res => {
- let path = res.path
- let name = res.name
- let fileType = ''
- // 如果没有name,默认为:截取最后一个/之后的内容
- if (!name) {
- let lastIndex = path.lastIndexOf('/');
- if (lastIndex !== -1) {
- name = path.substring(lastIndex + 1);
- } else {
- name = Math.random().toString(36).substr(2) + Date.now();
- }
- }
- // 使用 lastIndexOf 方法找到最后一个 . 的位置
- let lastDotIndex = name.lastIndexOf('.');
- if (lastDotIndex !== -1) {
- fileType = name.substring(lastDotIndex + 1);
- } else {
- console.log('文件路径中没有 .');
- }
- let file = {
- size: res.size,
- path,
- fileType,
- name
- }
- this.uploadAndAnalysisResumes(file)
- }
- })
- // #endif
- // #ifdef H5
- uni.chooseFile({
- count: 1,
- success: res => {
- this.uploadAndAnalysisResumes({
- path: res.tempFilePaths[0],
- name: 'file'
- })
- }
- })
- // #endif
- },
- // 上传解析简历
- uploadAndAnalysisResumes(file) {
- this.showTipPopup = false
- this.showLoadCard = true
- this.$queue.uploadFiles({
- url: '/app/resumes/resumesAnalysisPlus',
- path: file.path,
- name: 'file',
- timeout: 480000,
- hideUploadTask: true
- }, (res) => {
- if (!res) {
- this.showModal('解析失败,请稍后重试')
- this.stopLoadStatus()
- return
- }
- if (res.code == 0 && res.data) {
- // 识别前,先清空数据
- this.clearResumeData()
- this.setAiResumesAnalysis(JSON.parse(res.data))
-
- this.getUserInfo()
- } else {
- this.showModal(res?.msg || '解析失败,请稍后重试')
- }
-
- this.stopLoadStatus()
- })
- },
- stopLoadStatus() {
- this.showLoadCard = false
- },
- // 获取简历解析数据
- setAiResumesAnalysis(data) {
- AIResumeData = data || {}
- if (data) {
- this.showResumesAnalysis = true
- // 基本信息
- if (data.name || data.age || data.email) {
- this.validInfoCount++
- let dataArray = []
- if (data.name) {
- dataArray.push(data.name)
- }
- if (data.age) {
- dataArray.push(data.age)
- }
- if (data.email) {
- dataArray.push(data.email)
- }
- this.analysisList[0].value = dataArray.join('、')
- }
-
- // 工作经历
- if (data.workExperience?.length) {
- this.validInfoCount++
- let dataArray = data.workExperience.map(item => item.company)
- this.analysisList[1].value = dataArray.join('、')
- }
-
- // 教育经历
- if (data.education?.length) {
- this.validInfoCount++
- let dataArray = data.education.map(item => item.school)
- this.analysisList[2].value = dataArray.join('、')
- }
-
- // 个人优势
- if (data.selfEvaluation) {
- this.validInfoCount++
- this.analysisList[3].value = data.selfEvaluation
- }
- }
- },
-
- // 同步简历数据
- handleSync() {
- if (this.loading) return
-
- uni.showLoading({ title: '同步中' })
- this.loading = true
- this.$Request
- .postJson('/app/resumes/syncResumess', AIResumeData)
- .then(res => {
- if (res.code === 0) {
- this.showResumesAnalysis = false
- this.$queue.showToast('同步成功')
- } else {
- this.$queue.showToast('同步失败')
- }
- })
- .finally(() => {
- this.loading = false
- uni.hideLoading()
- })
- },
-
- // 清空数据
- clearResumeData() {
- this.analysisList.forEach(item => {
- item.value = ''
- })
- },
-
- showModal(content) {
- uni.showModal({
- title: '提示',
- content,
- showCancel: false
- })
- },
-
- // 通过文件地址解析简历
- analyserResumeByUrl(filePath) {
- this.showLoadCard = true
- this.$Request.getT('/app/resumes/resumesAnalysisAttach', {
- filePath
- }, null, 480000, true).then(res => {
- if (!res) {
- this.showModal('解析失败,请稍后重试')
- this.stopLoadStatus()
- return
- }
- if (res.code == 0 && res.data) {
- // 识别前,先清空数据
- this.clearResumeData()
- this.setAiResumesAnalysis(JSON.parse(res.data))
-
- this.getUserInfo()
- } else {
- this.showModal(res?.msg || '解析失败,请稍后重试')
- }
-
- this.stopLoadStatus()
- }).catch(err => {
- this.showModal('解析失败,请稍后重试')
- this.stopLoadStatus()
- })
- },
-
- // 获取微信上传配置数据
- getWXUploadConfigData() {
- this.$Request.getT('/app/dict/list', {
- type: '小程序入口'
- }).then(res => {
- if (res.code == 0 && res.data?.length > 0) {
- this.showWXUploadBtn = res.data[0].code == '开'
- }
- })
- }
- },
- // userphone(){
- // uni.navigateTo({
- // url:'/pages/my/userphone'
- // })
- // }
- };
- </script>
- <style lang="scss" scoped>
- page {
- /* background: #f6f6f6; */
- }
- .navbar {
- padding: 24rpx 32rpx 20rpx 32rpx;
- background: #fff;
- .navbar-content {
- display: flex;
- align-items: center;
- justify-content: space-between;
- height: 60rpx;
- .navbar-left {
- width: 60rpx;
- height: 60rpx;
- display: flex;
- align-items: center;
- justify-content: center;
- }
- .navbar-title {
- color: rgba(23, 23, 37, 1);
- font-family: DM Sans;
- font-size: 36rpx;
- font-weight: 700;
- line-height: 52rpx;
- letter-spacing: 0%;
- text-align: center;
- }
- .navbar-right {
- width: 60rpx;
- height: 60rpx;
- }
- }
- }
- button::after {
- border: none;
- background-color: none;
- }
- button {
- position: relative;
- display: block;
- margin-left: auto;
- margin-right: auto;
- padding-left: 0px;
- padding-right: 0px;
- box-sizing: border-box;
- text-decoration: none;
- line-height: 1.35;
- overflow: hidden;
- color: #666666;
- /* background-color: #fff; */
- background-color: rgba(255, 255, 255, 0) !important;
- width: 100%;
- height: 100%;
- }
- .contain {
- flex: 1;
- scroll-view {
- height: 100%;
- }
- }
- .usermain-item {
- display: flex;
- justify-content: space-between;
- margin: 0 40rpx;
- padding: 30rpx 0;
- // border-bottom: 1rpx solid rgba(229, 229, 229, 0.3);
- background: #fff;
- .fileContent {
- width: 85%;
- margin: 0 20rpx;
- }
- .fileName {
- color: #222;
- font-size: 32rpx;
- }
- .filedesc {
- margin-top: 10rpx;
- font-size: 24rpx;
- }
- .c-flex-center {
- align-self: center;
- color: #aaa;
- flex-shrink: 0;
- }
- }
- .usermain-item-title {
- color: rgba(31, 44, 55, 1);
- font-family: DM Sans;
- font-size: 28rpx;
- font-weight: 500;
- line-height: 44rpx;
- text-align: left;
- .header-icon {
- width: 50rpx;
- height: 50rpx;
- display: block;
- }
- }
- .usermain-item.item-padding {
- /* padding: 0; */
- }
- .cu-form-group {
- padding: 0;
- background: #ffffff;
- text-align: right;
- }
- .cu-form-group input {
- background: #ffffff;
- font-size: 28rpx;
- /* color: #fff; */
- }
- /* 姓名字段样式 - 参考basicInfo.vue */
- .usermain-item .form-label {
- color: rgba(31, 44, 55, 1);
- font-family: DM Sans;
- font-size: 32rpx;
- font-weight: 500;
- line-height: 44rpx;
- letter-spacing: 0.5%;
- text-align: left;
- display: flex;
- align-items: center;
- margin-bottom: 16rpx;
- }
- .usermain-item .required-mark {
- color: #FF3B30;
- font-size: 36rpx;
- font-weight: 600;
- margin-right: 8rpx;
- }
- .usermain-item .cu-form-group {
- background: transparent;
- text-align: left;
- padding: 0;
- }
- .usermain-item .cu-form-group input {
- width: 100%;
- height: 68rpx;
- font-size: 28rpx;
- border: 1rpx solid rgba(227, 231, 236, 1);
- border-radius: 44rpx;
- color: rgba(23, 23, 37, 1);
- padding: 0 32rpx;
- background: #ffffff;
- font-family: DM Sans;
- font-weight: 400;
- }
- .usermain-item .cu-form-group input::placeholder {
- color: rgba(155, 155, 155, 1);
- font-size: 28rpx;
- }
- /* 联系方式样式 */
- .contact-structure {
- border-bottom: none !important;
- }
- .contact-wrapper {
- display: flex;
- align-items: center;
- justify-content: space-between;
- padding: 0;
- margin-top: 8rpx;
- }
- .phone-display {
- color: rgba(23, 23, 37, 1);
- font-family: DM Sans;
- font-size: 28rpx;
- font-weight: 400;
- line-height: 40rpx;
- letter-spacing: 0.5%;
- }
- .modify-link {
- color: rgba(24, 144, 255, 1);
- font-family: DM Sans;
- font-size: 28rpx;
- font-weight: 400;
- line-height: 40rpx;
- letter-spacing: 0.5%;
- cursor: pointer;
- text-decoration: none;
- }
- .modify-link:active {
- opacity: 0.7;
- }
- /* 头像编辑图标样式 */
- .avatar-wrapper {
- position: relative;
- display: inline-block;
- }
- .edit-avatar-icon {
- position: absolute;
- bottom: 10rpx;
- right: 2rpx;
- width: 24rpx;
- height: 24rpx;
- // background: #fff;
- border-radius: 50%;
- display: flex;
- align-items: center;
- justify-content: center;
- box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.1);
- }
- .avatar-button {
- position: relative;
- padding: 0;
- margin: 0;
- background: transparent;
- border: none;
- }
- .buttons {
- padding: 40rpx 40rpx 60rpx;
- .button {
- position: relative;
- flex: 1;
- height: 80rpx;
- line-height: 80rpx;
- text-align: center;
- border-radius: 80rpx;
- &:first-child {
- margin-right: 16rpx;
- }
- }
- .pain {
- color: rgba(1, 107, 246, 1);
- background: rgba(1, 107, 246, 0.1);
- }
- .primary {
- color: #fff;
- background: linear-gradient(90.00deg, rgba(13, 39, 247, 1),rgba(19, 193, 234, 1));
- }
- ::v-deep .main {
- position: absolute;
- left: 0;
- top: 0;
- width: 100%;
- height: 100%;
- padding: 0;
- .upload-area {
- margin: 0;
- background: transparent;
- }
- }
- }
- /* 选择器样式 - 参考workExperience页面 */
- .form-input-selector {
- width: 100%;
- height: 68rpx;
- padding: 0 40rpx;
- border: 1px solid rgba(227, 231, 236, 1);
- border-radius: 24px;
- background: rgba(255, 255, 255, 1);
- display: flex;
- align-items: center;
- justify-content: space-between;
- cursor: pointer;
- transition: all 0.2s ease;
- .placeholder {
- color: #999999;
- font-family: DM Sans;
- font-size: 28rpx;
- font-weight: 400;
- line-height: 40rpx;
- }
- text {
- color: rgba(23, 23, 37, 1);
- font-family: DM Sans;
- font-size: 28rpx;
- font-weight: 400;
- line-height: 40rpx;
- }
- }
- .arrow-down {
- color: rgba(96, 98, 102, 1);
- font-size: 24rpx;
- font-weight: 400;
- transform: scale(1.5);
- }
- .selector-group:active {
- background: #f5f7fa !important;
- transform: scale(0.99);
- }
- .white-btn {
- width: 600rpx;
- font-size: 32rpx;
- text-align: center;
- color: #016bf6;
- background-color: #fff;
- border-radius: 88rpx;
- margin: 32rpx auto 0;
- }
- .load-container {
- position: fixed;
- left: 0;
- top: 0;
- width: 100%;
- height: 100%;
- display: flex;
- align-items: center;
- justify-content: center;
- background: rgba(0, 0, 0, 1);
- .loading-image {
- width: 100%;
- height: 100%;
- }
- }
- // 解析简历popup
- .resume-popup {
- position: relative;
- padding: 70rpx 40rpx 40rpx;
- .title {
- font-size: 40rpx;
- font-weight: 700;
- line-height: 52rpx;
- color: #333;
- margin-bottom: 12rpx;
- text {
- color: #016bf6;
- }
- }
- .tip {
- font-size: 28rpx;
- line-height: 36rpx;
- color: #999999;
- }
- .info-list {
- .info-item {
- box-sizing: border-box;
- border: 1px solid rgba(242, 242, 242, 1);
- border-radius: 6px;
- background: rgba(250, 250, 250, 1);
- padding: 26rpx 24rpx;
- margin-top: 40rpx;
- .label {
- font-size: 28rpx;
- font-weight: 500;
- line-height: 1;
- color: rgba(51, 51, 51, 1);
- }
- .border {
- width: 1px;
- height: 20rpx;
- margin: 0 20rpx;
- background: rgba(234, 234, 234, 1);
- }
- .content {
- flex: 1;
- width: 0;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- color: rgba(153, 153, 153, 1);
- font-size: 28rpx;
- line-height: 1;
- }
- }
- }
- .button {
- width: 600rpx;
- height: 88rpx;
- border-radius: 88rpx;
- background: linear-gradient(90.00deg, rgba(13, 39, 247, 1),rgba(19, 193, 234, 1));
- font-size: 32rpx;
- font-weight: 500;
- line-height: 88rpx;
- text-align: center;
- color: #fff;
- margin: 60rpx auto 0;
- }
- .close-button {
- position: absolute;
- top: 30rpx;
- right: 40rpx;
- width: 40rpx;
- height: 40rpx;
- border-radius: 40rpx;
- background: rgba(230, 230, 230, 1);
- }
- }
- // ai解析提示弹窗
- .ai-upload-tip {
- border-radius: 20rpx;
- background: rgba(255, 255, 255, 1);
- margin: 50rpx 50rpx 40rpx;
- box-shadow: 0 0 30rpx rgba(0, 0, 0, 0.1);
- padding: 60rpx 70rpx;
- .ai-logo {
- display: block;
- width: 172rpx;
- height: 172rpx;
- margin: 0 auto;
- }
- .ai-tip-title {
- text-align: center;
- font-size: 28rpx;
- font-weight: bold;
- line-height: 56rpx;
- background-image: linear-gradient(90.00deg, rgba(13, 39, 247, 1),rgba(19, 193, 234, 1));
- -webkit-background-clip: text;
- color: transparent;
- background-clip: text;
- margin: 40rpx 0 32rpx;
- }
- .step-item {
- color: rgba(1, 107, 246, 1);
- font-size: 24rpx;
- font-weight: 400;
- line-height: 30rpx;
- margin-bottom: 20rpx;
- }
- .step-file-img {
- display: block;
- width: 496rpx;
- height: 82rpx;
- margin-bottom: 20rpx;
- }
- }
- // 简历解析提示弹窗
- .popup-container {
- position: fixed;
- left: 0;
- top: 0;
- width: 100vw;
- height: 100vh;
- display: flex;
- align-items: center;
- justify-content: center;
- background: rgba(0, 0, 0, 0.4);
- .popup-content {
- padding: 40rpx 0;
- border-radius: 20rpx;
- background: #fff;
- .popup-title {
- font-size: 32rpx;
- font-weight: 600;
- line-height: 56rpx;
- color: rgba(16, 24, 40, 1);
- text-align: center;
- margin-bottom: 20rpx;
- }
- .tip-container {
- padding: 0 130rpx;
- color: rgba(96, 96, 96, 1);
- font-size: 28rpx;
- line-height: 36rpx;
- }
- .upload-tip {
- display: block;
- width: 654rpx;
- height: 802rpx;
- }
- .button-primary {
- height: 80rpx;
- border-radius: 80rpx;
- text-align: center;
- color: #fff;
- font-size: 32rpx;
- line-height: 80rpx;
- margin: 0 40rpx;
- background: linear-gradient(90.00deg, rgba(13, 39, 247, 1),rgba(19, 193, 234, 1));
- }
- }
- }
- </style>
|