onlineResume.vue 37 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492
  1. <template>
  2. <view class="online-resume" :class="{ pb : scene == 1 }">
  3. <navBar title="在线简历" />
  4. <view class="page-content">
  5. <!-- 用户信息区域 -->
  6. <view class="user-profile">
  7. <view class="avatar-container" @click="goToBasicInfo">
  8. <image
  9. :src="detail.userEntity && detail.userEntity.avatar ? detail.userEntity.avatar : '../../static/images/logo.jpg'"
  10. class="user-avatar" mode="aspectFill"></image>
  11. </view>
  12. <view class="user-name">{{ detail.userEntity && detail.userEntity.userName || '匿名' }}</view>
  13. <view class="user-info">
  14. <text v-if="detail.workExpTimes">{{ detail.workExpTimes }}经验</text>
  15. <text v-if="detail.userEntity && detail.userEntity.age">· {{ detail.userEntity.age }}岁</text>
  16. <text v-if="detail.degree">· {{ detail.degree }}</text>
  17. <text v-if="detail.userEntity && detail.userEntity.sex">· {{ detail.userEntity && detail.userEntity.sex == 1 ? '男' : '女' }}</text>
  18. </view>
  19. <view class="contact-info">
  20. <view class="contact-item">
  21. <image src="../../static/images/index/phone.svg" style="width: 24rpx;height: 24rpx;" mode="">
  22. </image>
  23. <text class="contact-text">{{ detail.resumesPhone }}</text>
  24. </view>
  25. <view class="contact-item">
  26. <image src="../../static/images/index/wx.svg" style="width: 24rpx;height: 24rpx;" mode="">
  27. </image>
  28. <text class="contact-text">{{ detail.userEntity && detail.userEntity.weChatNum }}</text>
  29. </view>
  30. </view>
  31. </view>
  32. <!-- 内容区域 -->
  33. <view class="content-section">
  34. <!-- 个人信息 -->
  35. <view class="common-section section-item">
  36. <view class="section-header">
  37. <view class="section-title">个人信息</view>
  38. <!-- 右侧编辑按钮 -->
  39. <view @click="toUserInfo">
  40. <image class="edit-icon"
  41. src="../../static/images/index/Combined-Shape.svg"
  42. style="width: 48rpx; height: 48rpx;"
  43. mode=""
  44. />
  45. </view>
  46. </view>
  47. <view class="section-content">
  48. <view class="availability">
  49. <text class="status-text">{{ detail.resumeList && detail.resumeList.resumesStatus ? statusList[detail.resumeList.resumesStatus].text : statusList[0].text }}</text>
  50. </view>
  51. <view class="content">
  52. <view class="title">我的优势</view>
  53. <view class="content-text">
  54. <text>{{ detail.resumeList && detail.resumeList.adv }}</text>
  55. </view>
  56. </view>
  57. <view class="content">
  58. <view class="title">我的技能</view>
  59. <view class="badge-content">
  60. <template v-if="detail.skills && detail.skills.length">
  61. <view class="badge" v-for="(skill, index) in detail.skills" :key="index">{{ skill.skillName }}</view>
  62. </template>
  63. <view class="badge" v-else>请选择职业技能标签</view>
  64. </view>
  65. </view>
  66. </view>
  67. </view>
  68. <!-- 个人优势 -->
  69. <!-- <view class="common-section section-item">
  70. <view class="section-header">
  71. <view class="section-title">个人优势</view>
  72. <view @click="toggleEdit">
  73. <template v-if="isEditing">
  74. <text class="save-btn">保存</text>
  75. </template>
  76. <template v-else>
  77. <image class="edit-icon"
  78. src="../../static/images/index/Combined-Shape.svg"
  79. style="width: 48rpx; height: 48rpx;"
  80. mode=""
  81. />
  82. </template>
  83. </view>
  84. </view>
  85. <view class="advantage-content">
  86. <textarea
  87. ref="advInput"
  88. :disabled="!isEditing"
  89. auto-height
  90. placeholder="请输入个人优势"
  91. v-model="detail.resumeList && detail.resumeList.adv"
  92. @blur="setResume"
  93. ></textarea>
  94. </view>
  95. </view> -->
  96. <!-- 是否对外展示简历 -->
  97. <view class="common-section flex justify-between align-center">
  98. <view class="text-tip-box">
  99. <view class="title">是否对外展示简历</view>
  100. <view class="tip">求职期望至少有1条且完善总分数高于60分,我们将进行简历推荐,请充分填写简历</view>
  101. </view>
  102. <async-switch v-model="showChecked" :async-change="updateIsRecommend"></async-switch>
  103. </view>
  104. <!-- 求职期望卡片 -->
  105. <view class="common-section expectation-card">
  106. <view class="card-header">
  107. <view class="header-left">
  108. <image src="../../static/images/index/lingdai.svg" class="header-icon" />
  109. <text class="header-title">求职期望</text>
  110. </view>
  111. <text class="progress-text"><text class="progress-text-light">{{ detail.intentions && detail.intentions.length }}</text>/3
  112. </text>
  113. </view>
  114. <view class="job-list">
  115. <view @longpress="commonDelete(item.intentionId, 'intentions')"
  116. @click="addExpectation(item.intentionId)" class="job-item"
  117. v-for="(item, index) in detail.intentions">
  118. <view class="job-info">
  119. <view>
  120. <text class="job-title">{{ item.ruleClassifyName }}<text class="sub-title">{{ item.citys }}</text></text>
  121. <view @click.stop="goToPreferenceSetting(item)">
  122. <view class="preference-btn">
  123. <text>设置跨境标签</text>
  124. </view>
  125. <u-icon name="arrow-right" color="rgba(29, 33, 41, 1)" size="28"></u-icon>
  126. </view>
  127. </view>
  128. <text class="job-details">{{ item.salaryRange }}・{{ item.industry || '不限' }}</text>
  129. </view>
  130. </view>
  131. </view>
  132. <view class="add-expectation-btn" v-if="showAddJobBtn" @click="addExpectation('')">
  133. <text>添加求职期望</text>
  134. </view>
  135. </view>
  136. <!-- 工作经历 -->
  137. <view class="common-section work-experience-section">
  138. <view class="section-header">
  139. <view class="section-title">工作经历</view>
  140. <view class="edit-icon" @click="goToWorkExperience('')">
  141. <image src="../../static/images/index/Combined-Shape.svg"
  142. style="width: 48rpx;height: 48rpx;" mode=""></image>
  143. </view>
  144. </view>
  145. <view class="experience-list">
  146. <template v-if="showExperienceData.length">
  147. <view class="experience-item" v-for="item in showExperienceData" @click.stop="goToWorkExperience(item.workExpId)">
  148. <view class="company-title flex justify-between">
  149. <view>
  150. <text class="company-name">{{ item.companyName }}</text>
  151. <text class="company-type"> • {{ setCompanyType(item.type) }}</text>
  152. </view>
  153. <text style="width: 60px; text-align: right;">编辑</text>
  154. </view>
  155. <view class="experience-content">
  156. <view class="experience-box" v-for="it in item.workExpDetails">
  157. <view class="job-header flex justify-between align-center">
  158. <view class="job-name">{{ it.position }}</view>
  159. <view class="job-time">{{ it.startTime }}-{{ it.endTime }}</view>
  160. </view>
  161. <!-- 工作内容 -->
  162. <view class="job-content" v-if="it.workContent">{{ it.workContent }}</view>
  163. <!-- 技能标签 -->
  164. <view class="skill-tags">
  165. <view class="tag" v-for="skill in it.skills">{{ skill }}</view>
  166. </view>
  167. </view>
  168. <!-- <view class="flex align-center justify-between">
  169. <view style="color: #78828a;font-size: 22rpx;">不对该公司展示</view>
  170. <u-switch v-model="item.isShield" @change="changeIsDisplay(item)"></u-switch>
  171. </view> -->
  172. </view>
  173. <!-- <view @click.stop="commonDelete(item.workExpId, 'workExps')">
  174. <image src="../../static/images/index/delete.svg" class="delete-icon" />
  175. </view> -->
  176. </view>
  177. </template>
  178. <!-- 默认样式 -->
  179. <view class="experience-item" v-else>
  180. <view class="company-title">
  181. <text class="company-name">公司名称</text>
  182. <text class="company-type"> • 业务类型</text>
  183. </view>
  184. <view class="experience-content">
  185. <view class="experience-box">
  186. <view class="job-header flex justify-between align-center">
  187. <view class="job-name">职位</view>
  188. <view class="job-time">就职时间</view>
  189. </view>
  190. <!-- 工作内容 -->
  191. <view class="job-content">请填写您的工作内容</view>
  192. <!-- 技能标签 -->
  193. <view class="skill-tags">
  194. <view class="tag">请选择您的跨境标签</view>
  195. </view>
  196. </view>
  197. </view>
  198. </view>
  199. </view>
  200. </view>
  201. <view class="show-all-experience-btn" v-if="showAllExperienceBtn && !showAllExpToggle" @click="showAllExperience">展开全部工作经历</view>
  202. <!-- 教育经历 -->
  203. <view class="common-section education-section">
  204. <view class="section-header">
  205. <view class="section-title">教育经历</view>
  206. <view class="edit-icon" @click="goToEducationExperience('')">
  207. <image src="../../static/images/index/Combined-Shape.svg"
  208. style="width: 48rpx;height: 48rpx;" mode=""></image>
  209. </view>
  210. </view>
  211. <view class="education-list">
  212. <template v-if="detail.eduList && detail.eduList.length">
  213. <view class="education-item" @click.stop="goToEducationExperience(item.eduId)"
  214. v-for="(item, index) in detail.eduList">
  215. <view class="education-content">
  216. <view class="school-name flex justify-between">
  217. <text>{{ item.school }}</text>
  218. <text style="width: 60px; text-align: right;">编辑</text>
  219. </view>
  220. <view class="degree-info">{{ item.degree }} • {{ item.profession }} •
  221. {{ new Date(item.startTime).getFullYear() }}-{{ new Date(item.endTime).getFullYear() }}
  222. </view>
  223. <view class="education-description">
  224. {{ item.detail }}
  225. </view>
  226. </view>
  227. <!-- <view @click.stop="commonDelete(item.eduId, 'eduList')">
  228. <image src="../../static/images/index/delete.svg" class="delete-icon" />
  229. </view> -->
  230. </view>
  231. </template>
  232. <view class="education-item" v-else>
  233. <view class="education-content">
  234. <view class="school-name">学校名称</view>
  235. <view class="degree-info">学历 • 专业 • 在校时间</view>
  236. <view class="education-description">请填写您的教育经历</view>
  237. </view>
  238. </view>
  239. </view>
  240. </view>
  241. <!-- 资质证书 -->
  242. <view class="common-section certificate-section">
  243. <view class="section-header">
  244. <view class="section-title">资质证书</view>
  245. <view class="edit-icon" @click="goToCertificate">
  246. <image src="../../static/images/index/Combined-Shape.svg"
  247. style="width: 48rpx;height: 48rpx;" mode=""></image>
  248. </view>
  249. </view>
  250. <view class="skill-tags">
  251. <view class="tag" v-for="(certificate, index) in detail.certificates" :key="index">{{ certificate.certificateName }}</view>
  252. </view>
  253. </view>
  254. <!-- 技能 -->
  255. <!-- <view class="common-section skills-section">
  256. <view class="section-header">
  257. <view class="section-title">技能</view>
  258. <view class="edit-icon" @click="goToJobSkills">
  259. <image src="../../static/images/index/Combined-Shape.svg"
  260. style="width: 48rpx;height: 48rpx;" mode=""></image>
  261. </view>
  262. </view>
  263. <view class="skills-grid">
  264. <view class="skill-tag" v-for="(skill, skillIndex) in detail.skills" :key="skillIndex">
  265. {{ skill.skillName }}</view>
  266. </view>
  267. </view> -->
  268. </view>
  269. <!-- 开启求职之旅按钮,H5邀请进入 -->
  270. <view class="button-section" v-if="scene == 1">
  271. <view class="button" @click="toDownload">保存并开启求职之旅</view>
  272. </view>
  273. <view class="button-section" v-else>
  274. <view class="text-btn" v-if="score < 20 && score !== -1" @click="handleStartWork">稍后填写</view>
  275. <view class="flex buttons">
  276. <view class="btn primary-btn" @click="toPreviewResume">预览/导出</view>
  277. <view class="btn main-btn" @click="handleStartWork">开启求职之旅</view>
  278. </view>
  279. </view>
  280. <u-popup v-model="showResumesAnalysis" mode="bottom" border-radius="14" :mask-close-able="false">
  281. <view class="resume-popup">
  282. <view class="close-button flex align-center justify-center" @click="showResumesAnalysis = false">
  283. <u-icon name="close" color="#fff" size="22" />
  284. </view>
  285. <view class="title">从附件简历中解析出<text>{{ validInfoCount }}段</text>有效信息</view>
  286. <view class="tip">无需手动填写,可直接添加到在线简历中</view>
  287. <view class="info-list">
  288. <view class="info-item flex align-center" v-for="(item, index) in analysisList" :key="index">
  289. <view class="label">{{ item.title }}</view>
  290. <view class="border"></view>
  291. <view class="content">{{ item.value }}</view>
  292. </view>
  293. </view>
  294. <view class="button" @click="handleSync">立即同步</view>
  295. </view>
  296. </u-popup>
  297. </view>
  298. </view>
  299. </template>
  300. <script>
  301. import navBar from "@/components/nav-bar/index.vue";
  302. import { companyType } from '@/constants/common.js';
  303. import asyncSwitch from '@/components/async-switch.vue';
  304. var intentionId = 0
  305. let AIResumeData = {}
  306. export default {
  307. components: {
  308. navBar,
  309. asyncSwitch
  310. },
  311. data() {
  312. return {
  313. isEditing: false,
  314. hasEcommerceExperience: false,
  315. detail: {},
  316. statusList: [{
  317. value: 'unemployed_available',
  318. text: '离职-随时到岗',
  319. },
  320. {
  321. value: 'employed_monthly',
  322. text: '在职-月内到岗',
  323. },
  324. {
  325. value: 'employed_considering',
  326. text: '在职-考虑机会',
  327. },
  328. {
  329. value: 'employed_not_considering',
  330. text: '在职-暂不考虑',
  331. },
  332. {
  333. value: 'internship',
  334. text: '实习',
  335. }
  336. ],
  337. scene: 0, // 0 默认,1 H5邀请
  338. companyType: companyType, // 公司类型
  339. showAllExpToggle: false,
  340. showChecked: false, // 是否对外展示简历
  341. loadingSwitch: false,
  342. controlStatus: false,
  343. score: -1,
  344. showResumesAnalysis: false,
  345. validInfoCount: 0, // 有效信息数量
  346. analysisList: [
  347. {
  348. title: '基本信息',
  349. value: '',
  350. },
  351. {
  352. title: '工作经历',
  353. value: '',
  354. },
  355. {
  356. title: '教育经历',
  357. value: '',
  358. },
  359. {
  360. title: '个人优势',
  361. value: '',
  362. },
  363. ],
  364. loading: false
  365. }
  366. },
  367. computed: {
  368. // 显示添加求职期望按钮
  369. showAddJobBtn() {
  370. if (this.detail.intentions && this.detail.intentions.length >= 3) {
  371. return false;
  372. }
  373. return true;
  374. },
  375. // 显示全部工作经历按钮
  376. showAllExperienceBtn() {
  377. if (this.detail.workExps && this.detail.workExps.length > 1) {
  378. return true
  379. }
  380. return false
  381. },
  382. // 展示的工作经历数据
  383. showExperienceData() {
  384. if (this.detail && this.detail.workExps) {
  385. return this.detail.workExps.filter((workExp, index) => {
  386. if ((!this.showAllExpToggle && index < 1) || this.showAllExpToggle) {
  387. return workExp
  388. }
  389. })
  390. } else {
  391. return []
  392. }
  393. }
  394. },
  395. onLoad(options) {
  396. if (options.scene) {
  397. this.scene = options.scene
  398. }
  399. // 判断是否有fileId,如果有则是从上传简历文件页面跳转
  400. if (options.fileId) {
  401. this.clearResumeData()
  402. this.getAiResumesAnalysis(options.fileId)
  403. }
  404. this.getData()
  405. var that = this
  406. uni.$on('updateResume', () => {
  407. that.getData()
  408. })
  409. uni.$on('preferenceUpdated', (data) => {
  410. if (data.set != 1)
  411. return
  412. that.changePreference(data.preferences)
  413. })
  414. },
  415. onUnload() {
  416. uni.$off('updateResume')
  417. uni.$off('preferenceUpdated')
  418. },
  419. methods: {
  420. toggleEdit(){
  421. this.isEditing = !this.isEditing;
  422. },
  423. // // 是否屏蔽该公司
  424. // changeIsDisplay(item){
  425. // let data = {
  426. // workExp:{
  427. // isShield:item.isShield?1:0,
  428. // workExpId:item.workExpId
  429. // }
  430. // }
  431. // this.$Request.postJson("/app/userFirst/addWorkExp", data).then((res) => {
  432. // if (res.code == 0) {
  433. // uni.showToast({
  434. // title: "修改成功",
  435. // icon: "none"
  436. // });
  437. // } else {
  438. // uni.showToast({
  439. // title: res.msg,
  440. // icon: "none",
  441. // });
  442. // }
  443. // });
  444. // },
  445. goBack() {
  446. uni.navigateBack();
  447. },
  448. getData() {
  449. var that = this
  450. this.$Request.getT("/app/userFirst/getUserResumes", {}).then((res) => {
  451. if (res.code == 0) {
  452. that.detail = res.data
  453. that.hasEcommerceExperience = res.data.resumeList && res.data.resumeList.ifExp ? true :
  454. false
  455. that.detail.degree = that.$queue.getHighestEducation(res.data.eduList)
  456. this.score = res.data?.resumeList?.score || 0
  457. res.data.workExps.forEach(function (item) {
  458. try {
  459. if (typeof item.type === 'string' && (item.type.startsWith('[') || item
  460. .type.startsWith('{'))) {
  461. item.type = JSON.parse(item.type);
  462. }
  463. } catch (e) {
  464. console.warn('item.type JSON解析失败:', item.type);
  465. }
  466. item.isShield = item.isShield == 1?true:false
  467. item.workExpDetails = [];
  468. res.data.workExpList.forEach(function (it) {
  469. console.log(it.skills);
  470. try {
  471. if (typeof it.skills === 'string' && (it.skills.startsWith(
  472. '[') || it.skills.startsWith('{'))) {
  473. it.skills = JSON.parse(it.skills);
  474. }
  475. } catch (e) {
  476. console.warn('it.skills JSON解析失败:', it.skills);
  477. }
  478. it.startTime = it.startTime ? it.startTime.slice(0, 7) : '';
  479. if (that.$queue.isCurrentMonth(new Date(it.endTime)))
  480. it.endTime = '至今';
  481. else
  482. it.endTime = it.endTime ? it.endTime.slice(0, 7) : '';
  483. if (it.workExpId == item.workExpId)
  484. item.workExpDetails.push(it);
  485. });
  486. });
  487. // 设置是否对外展示简历
  488. this.showChecked = res.data.resumeList?.isRecommend === 1
  489. that.detail.workExps = res.data.workExps
  490. } else {
  491. uni.showToast({
  492. title: res.msg,
  493. icon: "none",
  494. });
  495. }
  496. });
  497. },
  498. addExpectation(id = '') {
  499. uni.navigateTo({
  500. url: '/package/jobIntention/addExpectation?id=' + id
  501. })
  502. },
  503. goToPreferenceSetting(item) {
  504. intentionId = item.intentionId
  505. if (item.ruleClassifyId == '' || item.ruleClassifyId == 0)
  506. return this.$queue.showToast('请先选择岗位')
  507. uni.navigateTo({
  508. url: '/package/jobIntention/preferenceSetting?set=1&jobId=' + item.ruleClassifyId +
  509. '&jobTitle=' + item.ruleClassifyName + '&selectedPreferences=' + encodeURIComponent(JSON
  510. .stringify(item.industry == '' || item.industry == null ? [] : item.industry.split(
  511. '/')))
  512. })
  513. },
  514. // 跳转个人信息页面
  515. toUserInfo() {
  516. uni.navigateTo({
  517. url: '/package/my/editUserInfo'
  518. })
  519. },
  520. // 跳转资质证书编辑
  521. goToCertificate() {
  522. const certificates = this.detail.certificates.map(certificate => certificate.certificateName).join(';')
  523. uni.navigateTo({
  524. url: `/package/jobIntention/updateCertificates?certificates=${encodeURIComponent(certificates)}`
  525. })
  526. },
  527. goToJobSkills() {
  528. uni.navigateTo({
  529. url: '/package/jobIntention/jobSkills?from=onlineResume&set=1&jobTitle=我的&skill=' + encodeURIComponent(JSON
  530. .stringify(this.detail.skills == null ? [] : this.$queue.array_column(this.detail
  531. .skills, 'skillName')))
  532. })
  533. },
  534. goToWorkExperience(id = '') {
  535. // 获取业务类型数据
  536. const businessTypes = this.getBusinessTypes()
  537. console.log('传递给工作经历页面的业务类型:', businessTypes)
  538. console.log('当前hasEcommerceExperience状态:', this.hasEcommerceExperience)
  539. uni.navigateTo({
  540. url: `/pages/my/workExperience?id=${id}&businessTypes=${encodeURIComponent(JSON.stringify(businessTypes))}`
  541. })
  542. },
  543. goToEducationExperience(id = '') {
  544. uni.navigateTo({
  545. url: `/pages/my/educationExperience?id=${id}`
  546. })
  547. },
  548. goToBasicInfo() {
  549. uni.navigateTo({
  550. url: '/package/jobIntention/basicInfo?resumesStatus=' + (this.detail.resumeList && this.detail
  551. .resumeList.resumesStatus || 0) + '&birthday=' + (this.detail.resumeList && this.detail
  552. .resumeList.birthday || '') + '&ifExp=' + (this.detail.resumeList && this.detail
  553. .resumeList.ifExp || 0) + '&resumesPhone=' + (this.detail.resumeList && this.detail
  554. .resumeList.resumesPhone || '') + '&resumesEmail=' + (this.detail.resumeList && this.detail
  555. .resumeList.resumesEmail || '')
  556. })
  557. },
  558. getBusinessTypes() {
  559. // 根据是否有跨境电商经验返回业务类型
  560. if (this.hasEcommerceExperience) {
  561. return ['0']
  562. } else {
  563. return []
  564. }
  565. },
  566. // // 设置
  567. // setResume() {
  568. // let data = {
  569. // ifExp: this.hasEcommerceExperience ? 1 : 0,
  570. // adv: this.detail.resumeList && this.detail.resumeList.adv || '',
  571. // }
  572. // uni.showLoading({
  573. // title: "提交中..."
  574. // });
  575. // this.$Request.postJson("/app/userFirst/regist", data).then((res) => {
  576. // uni.hideLoading();
  577. // if (res.code == 0) {
  578. // // 实际开发中可以在这里添加跳转逻辑
  579. // } else {
  580. // uni.showToast({
  581. // title: res.msg,
  582. // icon: "none",
  583. // });
  584. // }
  585. // });
  586. // },
  587. changePreference(preference) {
  588. // if (intentionId == 0)
  589. // return;
  590. var industry = preference == '' || preference == null ? '' : preference.join('/')
  591. let data = {
  592. intentionId,
  593. industry
  594. }
  595. var that = this
  596. this.$Request.postJson("/app/intention/saveUpdate", data).then((res) => {
  597. if (res.code == 0) {
  598. // 实际开发中可以在这里添加跳转逻辑
  599. that.getData()
  600. } else {
  601. uni.showToast({
  602. title: res.msg,
  603. icon: "none",
  604. });
  605. }
  606. });
  607. },
  608. commonDelete(id, modules) {
  609. var that = this
  610. var action = 'userFirst/deleteEdu'
  611. var params = {
  612. eduId: id
  613. }
  614. if (modules == 'workExps') {
  615. action = 'userFirst/deleteWorkExp'
  616. params = {
  617. workExpId: id
  618. }
  619. }
  620. if (modules == 'intentions') {
  621. action = 'intention/deleteIntention'
  622. params = {
  623. intentionId: id
  624. }
  625. }
  626. this.$queue.appConfirm('确认删除该条内容么?', function (res) {
  627. if (!res)
  628. return;
  629. that.$Request.postJson("/app/" + action, params).then((res) => {
  630. if (res.code == 0) {
  631. // 实际开发中可以在这里添加跳转逻辑
  632. var info = that.detail[modules].filter(function (item) {
  633. return item[modules == 'workExps' ? 'workExpId' : (modules ==
  634. 'intentions' ? 'intentionId' : 'eduId')] != id;
  635. });
  636. that.detail[modules] = info
  637. } else {
  638. uni.showToast({
  639. title: res.msg,
  640. icon: "none",
  641. });
  642. }
  643. });
  644. })
  645. },
  646. // H5邀请跳转到下载页面
  647. toDownload() {
  648. uni.navigateTo({
  649. url: '/pages/public/invite/download'
  650. })
  651. },
  652. // 设置公司类型
  653. setCompanyType(types) {
  654. if (Array.isArray(types)) {
  655. return types.map(type => {
  656. let typeName = ''
  657. for (let i = 0; i < this.companyType.length; i++) {
  658. if (type == this.companyType[i].value) {
  659. typeName = this.companyType[i].label
  660. }
  661. }
  662. return typeName
  663. }).join('/')
  664. }
  665. return ''
  666. },
  667. // 显示全部工作经历
  668. showAllExperience() {
  669. this.showAllExpToggle = true
  670. },
  671. // 跳转至简历预览/下载页面
  672. toPreviewResume() {
  673. uni.navigateTo({
  674. url: '/package/my/previewResume/index'
  675. })
  676. },
  677. // 更新是否对外展示简历状态
  678. updateIsRecommend() {
  679. uni.showLoading({
  680. title: '更新中'
  681. })
  682. const oldCheckedValue = this.showChecked
  683. const isRecommend = this.showChecked ? 0 : 1
  684. this.$Request
  685. .getT('/app/resumes/setIsRecommend', {
  686. isRecommend
  687. })
  688. .then((res) => {
  689. uni.hideLoading()
  690. if (res.code !== 0) {
  691. uni.showToast({
  692. title: res.msg,
  693. icon: 'none'
  694. })
  695. this.showChecked = oldCheckedValue
  696. }
  697. })
  698. .catch(() => {
  699. uni.hideLoading()
  700. })
  701. },
  702. // 跳转首页
  703. handleStartWork() {
  704. uni.reLaunch({
  705. url: '/pages/index/index'
  706. })
  707. },
  708. // 获取简历解析数据
  709. getAiResumesAnalysis() {
  710. const data = this.$queue.getData('AI_Resume_Data')
  711. AIResumeData = data || {}
  712. if (data) {
  713. this.showResumesAnalysis = true
  714. // 基本信息
  715. if (data.name || data.age || data.email) {
  716. this.validInfoCount++
  717. let dataArray = []
  718. if (data.name) {
  719. dataArray.push(data.name)
  720. }
  721. if (data.age) {
  722. dataArray.push(data.age)
  723. }
  724. if (data.email) {
  725. dataArray.push(data.email)
  726. }
  727. this.analysisList[0].value = dataArray.join('、')
  728. }
  729. // 工作经历
  730. if (data.workExperience?.length) {
  731. this.validInfoCount++
  732. let dataArray = data.workExperience.map(item => item.company)
  733. this.analysisList[1].value = dataArray.join('、')
  734. }
  735. // 教育经历
  736. if (data.education?.length) {
  737. this.validInfoCount++
  738. let dataArray = data.education.map(item => item.school)
  739. this.analysisList[2].value = dataArray.join('、')
  740. }
  741. // 个人优势
  742. if (data.selfEvaluation) {
  743. this.validInfoCount++
  744. this.analysisList[3].value = data.selfEvaluation
  745. }
  746. }
  747. },
  748. // 同步简历数据
  749. handleSync() {
  750. if (this.loading) return
  751. uni.showLoading({ title: '同步中' })
  752. this.loading = true
  753. this.$Request
  754. .postJson('/app/resumes/syncResumess', AIResumeData)
  755. .then(res => {
  756. console.log(res)
  757. if (res.code === 0) {
  758. this.showResumesAnalysis = false
  759. this.$queue.showToast('同步成功')
  760. this.getData()
  761. }
  762. })
  763. .finally(() => {
  764. this.loading = false
  765. uni.hideLoading()
  766. })
  767. },
  768. // 清空数据
  769. clearResumeData() {
  770. this.analysisList.forEach(item => {
  771. item.value = ''
  772. })
  773. }
  774. },
  775. watch: {
  776. hasEcommerceExperience(newVal, oldVal) {
  777. console.log('hasEcommerceExperience 变化:', oldVal, '->', newVal)
  778. // 只有有效的布尔值才保存到缓存
  779. },
  780. }
  781. }
  782. </script>
  783. <style lang="scss" scoped>
  784. .delete-icon {
  785. width: 40rpx;
  786. height: 40rpx;
  787. }
  788. .online-resume {
  789. height: 100vh;
  790. display: flex;
  791. flex-direction: column;
  792. padding-bottom: 100rpx;
  793. }
  794. .pb {
  795. padding-bottom: 160rpx;
  796. }
  797. .fixed-nav {
  798. position: fixed;
  799. top: 0;
  800. left: 0;
  801. right: 0;
  802. z-index: 9999;
  803. background-color: #ffffff;
  804. padding: 0 32rpx;
  805. // padding-top 已改为动态计算,在模板中通过 :style 设置
  806. }
  807. .page-content {
  808. flex: 1;
  809. display: flex;
  810. flex-direction: column;
  811. overflow: auto;
  812. }
  813. // 用户信息区域
  814. .user-profile {
  815. background: #fff;
  816. padding: 60rpx 30rpx 40rpx;
  817. font-family: DM Sans;
  818. text-align: center;
  819. .avatar-container {
  820. width: 98px;
  821. height: 98px;
  822. padding: 8rpx;
  823. background-image: linear-gradient(90.00deg, rgba(13, 39, 247, 1),rgba(19, 193, 234, 1));
  824. margin: 0 auto 4rpx;
  825. border-radius: 50%;
  826. .user-avatar {
  827. width: 90px;
  828. height: 90px;
  829. border-radius: 50%;
  830. }
  831. }
  832. .user-name {
  833. color: rgba(21, 21, 23, 1);
  834. font-size: 36rpx;
  835. font-weight: 700;
  836. line-height: 52rpx;
  837. text-align: center;
  838. }
  839. .user-info {
  840. min-height: 20rpx;
  841. color: rgba(102, 112, 122, 1);
  842. font-size: 28rpx;
  843. line-height: 64rpx;
  844. text-align: center;
  845. }
  846. .contact-info {
  847. display: flex;
  848. justify-content: center;
  849. gap: 40rpx;
  850. .contact-item {
  851. display: flex;
  852. align-items: center;
  853. gap: 10rpx;
  854. .contact-text {
  855. color: rgba(116, 116, 116, 1);
  856. font-size: 16rpx;
  857. font-weight: 400;
  858. line-height: 20rpx;
  859. text-align: center;
  860. }
  861. }
  862. }
  863. }
  864. // 内容区域
  865. .content-section {
  866. font-family: DM Sans;
  867. padding: 40rpx 30rpx 130rpx;
  868. .common-section {
  869. background: #fff;
  870. border-radius: 12px;
  871. padding: 30rpx;
  872. margin-bottom: 20rpx;
  873. box-sizing: border-box;
  874. border: 1px solid rgba(227, 231, 236, 1);
  875. .section-header {
  876. display: flex;
  877. align-items: center;
  878. justify-content: space-between;
  879. margin-bottom: 30rpx;
  880. .section-title {
  881. color: rgba(23, 23, 37, 1);
  882. font-family: Inter;
  883. font-size: 32rpx;
  884. font-weight: 600;
  885. line-height: 48rpx;
  886. }
  887. .edit-icon {
  888. width: 40rpx;
  889. height: 40rpx;
  890. display: flex;
  891. align-items: center;
  892. justify-content: center;
  893. }
  894. }
  895. .skill-tags {
  896. display: flex;
  897. flex-wrap: wrap;
  898. gap: 12rpx;
  899. margin-top: 16rpx;
  900. .tag {
  901. background: rgba(153, 153, 153, 0.1);
  902. border-radius: 12rpx;
  903. padding: 8rpx 24rpx;
  904. color: rgba(102, 102, 102, 1);
  905. font-size: 20rpx;
  906. font-weight: 400;
  907. line-height: 1;
  908. }
  909. }
  910. }
  911. .section-item {
  912. .section-header {
  913. .template-text {
  914. color: rgba(120, 130, 138, 1);
  915. font-family: DM Sans;
  916. font-size: 24rpx;
  917. font-weight: 400;
  918. line-height: 32rpx;
  919. letter-spacing: 0%;
  920. text-align: left;
  921. }
  922. }
  923. .section-status {
  924. font-size: 28rpx;
  925. color: #007AFF;
  926. font-weight: 500;
  927. }
  928. .advantage-content {
  929. font-size: 14px;
  930. color: #666;
  931. line-height: 1.6;
  932. textarea {
  933. width: 100%;
  934. height: fit-content;
  935. min-height: 44rpx;
  936. }
  937. }
  938. .section-content {
  939. .availability {
  940. display: flex;
  941. align-items: center;
  942. gap: 10rpx;
  943. .status-text {
  944. color: rgba(156, 164, 171, 1);
  945. font-family: DM Sans;
  946. font-size: 24rpx;
  947. font-weight: 400;
  948. line-height: 32rpx;
  949. letter-spacing: 0%;
  950. text-align: left;
  951. }
  952. }
  953. .content {
  954. margin-top: 24rpx;
  955. .title {
  956. font-size: 28rpx;
  957. line-height: 44rpx;
  958. color: #171725;
  959. margin-bottom: 12rpx;
  960. }
  961. .content-text {
  962. font-size: 28rpx;
  963. line-height: 32rpx;
  964. color: #78828a;
  965. word-break: break-all;
  966. }
  967. }
  968. // 个人技能
  969. .badge-content {
  970. display: flex;
  971. flex-wrap: wrap;
  972. gap: 20rpx;
  973. .badge {
  974. font-size: 20rpx;
  975. line-height: 1;
  976. color: #666666;
  977. padding: 8rpx 10rpx;
  978. border-radius: 8rpx;
  979. background: rgba(153, 153, 153, 0.1);
  980. }
  981. }
  982. }
  983. }
  984. // 是否对外展示简历
  985. .text-tip-box {
  986. width: 480rpx;
  987. .title {
  988. font-size: 28rpx;
  989. line-height: 52rpx;
  990. color: rgba(21, 22, 26, 1);
  991. margin-bottom: 8rpx;
  992. }
  993. .tip {
  994. font-size: 20rpx;
  995. line-height: 26rpx;
  996. color: rgba(153, 153, 153, 1);
  997. }
  998. }
  999. // 求职期望卡片样式
  1000. .expectation-card {
  1001. .card-header {
  1002. display: flex;
  1003. justify-content: space-between;
  1004. align-items: center;
  1005. .header-left {
  1006. display: flex;
  1007. align-items: center;
  1008. .header-icon {
  1009. width: 40rpx;
  1010. height: 40rpx;
  1011. margin-right: 12rpx;
  1012. }
  1013. .header-title {
  1014. color: rgba(29, 33, 41, 1);
  1015. font-family: DM Sans;
  1016. font-size: 32rpx;
  1017. font-weight: 500;
  1018. line-height: 16px;
  1019. letter-spacing: 0%;
  1020. text-align: left;
  1021. }
  1022. }
  1023. .progress-text {
  1024. font-family: DM Sans;
  1025. font-size: 32rpx;
  1026. font-weight: 700;
  1027. letter-spacing: 0%;
  1028. text-align: right;
  1029. .progress-text-light {
  1030. color: rgba(1, 107, 246, 1);
  1031. }
  1032. }
  1033. }
  1034. .job-list {
  1035. .job-item {
  1036. display: flex;
  1037. justify-content: space-between;
  1038. align-items: center;
  1039. padding: 20rpx 0;
  1040. &:last-child {
  1041. border-bottom: none;
  1042. }
  1043. .job-info {
  1044. flex: 1;
  1045. >view:first-child {
  1046. display: flex;
  1047. justify-content: space-between;
  1048. align-items: center;
  1049. margin-bottom: 4rpx;
  1050. }
  1051. .job-title {
  1052. color: rgba(29, 33, 41, 1);
  1053. font-family: DM Sans;
  1054. font-size: 28rpx;
  1055. font-weight: 500;
  1056. line-height: 16px;
  1057. letter-spacing: 0%;
  1058. text-align: left;
  1059. .sub-title {
  1060. color: #999999;
  1061. font-size: 20rpx;
  1062. padding-left: 8rpx;
  1063. }
  1064. }
  1065. .job-details {
  1066. width: 400rpx;
  1067. display: block;
  1068. font-size: 24rpx;
  1069. color: rgba(153, 153, 153, 1);
  1070. text-overflow: ellipsis;
  1071. white-space: nowrap;
  1072. overflow: hidden;
  1073. margin-bottom: 4rpx;
  1074. }
  1075. .job-location {
  1076. font-size: 24rpx;
  1077. color: rgba(153, 153, 153, 1);
  1078. }
  1079. }
  1080. .preference-btn {
  1081. display: flex;
  1082. align-items: center;
  1083. padding: 8rpx;
  1084. border: 0.5rpx solid #007AFF;
  1085. border-radius: 12rpx;
  1086. margin-right: 10rpx;
  1087. text {
  1088. font-size: 18rpx;
  1089. color: #007AFF;
  1090. }
  1091. }
  1092. .job-info>view:first-child>view:last-child {
  1093. display: flex;
  1094. align-items: center;
  1095. }
  1096. }
  1097. }
  1098. .add-expectation-btn {
  1099. width: 100%;
  1100. height: 88rpx;
  1101. border-radius: 88rpx;
  1102. display: flex;
  1103. align-items: center;
  1104. justify-content: center;
  1105. background: rgba(1, 107, 246, 0.1);
  1106. margin-top: 40rpx;
  1107. text {
  1108. font-size: 28rpx;
  1109. color: #007AFF;
  1110. font-weight: 500;
  1111. }
  1112. }
  1113. }
  1114. // 工作经历部分样式
  1115. .work-experience-section {
  1116. .experience-list {
  1117. .experience-item {
  1118. // 公司名称
  1119. .company-title {
  1120. width: 100%;
  1121. white-space: nowrap;
  1122. text-overflow: ellipsis;
  1123. overflow: hidden;
  1124. margin-bottom: 16rpx;
  1125. .company-name {
  1126. font-size: 28rpx;
  1127. color: rgba(23, 23, 37, 1);
  1128. }
  1129. .company-type {
  1130. flex: 1;
  1131. font-size: 24rpx;
  1132. color: #78828a;
  1133. }
  1134. }
  1135. .experience-content {
  1136. .experience-box {
  1137. padding-bottom: 20rpx;
  1138. margin-bottom: 20rpx;
  1139. border-bottom: 1px solid rgba(227, 231, 236, 0.55);
  1140. &:last-child {
  1141. border-bottom: none;
  1142. }
  1143. .job-header {
  1144. margin-bottom: 16rpx;
  1145. .job-name {
  1146. font-size: 28rpx;
  1147. color: #171725;
  1148. line-height: 44rpx;
  1149. }
  1150. .job-time {
  1151. font-size: 24rpx;
  1152. color: rgba(120, 130, 138, 1);
  1153. }
  1154. }
  1155. .job-content {
  1156. font-size: 24rpx;
  1157. color: rgba(120, 130, 138, 1);
  1158. white-space: nowrap;
  1159. text-overflow: ellipsis;
  1160. overflow: hidden;
  1161. }
  1162. }
  1163. .skill-tags {
  1164. display: flex;
  1165. flex-wrap: wrap;
  1166. gap: 12rpx;
  1167. margin-top: 16rpx;
  1168. .tag {
  1169. background: rgba(153, 153, 153, 0.1);
  1170. border-radius: 12rpx;
  1171. padding: 8rpx 24rpx;
  1172. color: rgba(102, 102, 102, 1);
  1173. font-family: DM Sans;
  1174. font-size: 20rpx;
  1175. font-weight: 400;
  1176. line-height: 1;
  1177. letter-spacing: 0%;
  1178. text-align: left;
  1179. }
  1180. }
  1181. }
  1182. &:last-child {
  1183. .experience-box:last-child {
  1184. padding-bottom: 0;
  1185. margin-bottom: 0;
  1186. }
  1187. }
  1188. }
  1189. }
  1190. }
  1191. // 展示全部工作经历按钮
  1192. .show-all-experience-btn {
  1193. color: #016bf6;
  1194. font-size: 20rpx;
  1195. line-height: 24rpx;
  1196. margin-bottom: 20rpx;
  1197. }
  1198. // 教育经历部分样式
  1199. .education-section {
  1200. .education-list {
  1201. padding-top: 18rpx;
  1202. .education-item {
  1203. padding-bottom: 20rpx;
  1204. margin-bottom: 20rpx;
  1205. border-bottom: 1rpx solid #F0F0F0;
  1206. &:last-child {
  1207. border-bottom: none;
  1208. padding-bottom: 0;
  1209. margin-bottom: 0;
  1210. }
  1211. .education-content {
  1212. flex: 1;
  1213. .school-name {
  1214. color: #171725;
  1215. font-size: 28rpx;
  1216. line-height: 44rpx;
  1217. }
  1218. .degree-info {
  1219. color: rgba(120, 130, 138, 1);
  1220. font-family: DM Sans;
  1221. font-size: 24rpx;
  1222. font-weight: 500;
  1223. line-height: 40rpx;
  1224. letter-spacing: 0%;
  1225. padding: 12rpx 0;
  1226. }
  1227. .education-description {
  1228. width: 100%;
  1229. color: rgba(120, 130, 138, 1);
  1230. font-family: DM Sans;
  1231. font-size: 24rpx;
  1232. line-height: 32rpx;
  1233. letter-spacing: 0%;
  1234. text-align: left;
  1235. white-space: nowrap;
  1236. text-overflow: ellipsis;
  1237. overflow: hidden;
  1238. }
  1239. }
  1240. }
  1241. }
  1242. }
  1243. // 技能部分样式
  1244. .skills-section {
  1245. .skills-grid {
  1246. display: flex;
  1247. flex-wrap: wrap;
  1248. gap: 16rpx;
  1249. .skill-tag {
  1250. padding: 32rpx;
  1251. border: 1px solid rgba(236, 241, 246, 1);
  1252. border-radius: 64rpx;
  1253. color: rgba(23, 23, 37, 1);
  1254. font-family: DM Sans;
  1255. font-size: 14px;
  1256. font-weight: 400;
  1257. line-height: 20px;
  1258. letter-spacing: 0.5%;
  1259. text-align: right;
  1260. }
  1261. }
  1262. }
  1263. }
  1264. // 底部按钮
  1265. .button-section {
  1266. position: fixed;
  1267. left: 0;
  1268. bottom: 0;
  1269. right: 0;
  1270. padding-top: 28rpx;
  1271. box-shadow: 0px -4px 16px 0px rgba(0, 0, 0, 0.04);
  1272. background: #fff;
  1273. .button {
  1274. width: 670rpx;
  1275. height: 80rpx;
  1276. color: #fff;
  1277. font-size: 32rpx;
  1278. text-align: center;
  1279. line-height: 80rpx;
  1280. border-radius: 80rpx;
  1281. background: var(--线性渐变, linear-gradient(90.00deg, rgba(13, 39, 247, 1),rgba(19, 193, 234, 1) 100%));
  1282. margin: 24rpx auto;
  1283. }
  1284. .text-btn {
  1285. color: rgba(1, 107, 246, 1);
  1286. font-size: 32rpx;
  1287. line-height: 1;
  1288. text-align: center;
  1289. margin-bottom: 36rpx;
  1290. }
  1291. .buttons {
  1292. padding: 0 40rpx 24rpx;
  1293. justify-content: space-between;
  1294. .btn {
  1295. width: 327rpx;
  1296. height: 80rpx;
  1297. font-size: 32rpx;
  1298. text-align: center;
  1299. line-height: 80rpx;
  1300. border-radius: 80rpx;
  1301. }
  1302. .primary-btn {
  1303. background: rgba(1, 107, 246, 0.1);
  1304. color: rgba(1, 107, 246, 1);
  1305. }
  1306. .main-btn {
  1307. background: linear-gradient(90.00deg, rgba(13, 39, 247, 1),rgba(19, 193, 234, 1));
  1308. color: #fff;
  1309. }
  1310. }
  1311. }
  1312. // 解析简历popup
  1313. .resume-popup {
  1314. position: relative;
  1315. padding: 70rpx 40rpx 40rpx;
  1316. .title {
  1317. font-size: 40rpx;
  1318. font-weight: 700;
  1319. line-height: 52rpx;
  1320. color: #333;
  1321. margin-bottom: 12rpx;
  1322. text {
  1323. color: #016bf6;
  1324. }
  1325. }
  1326. .tip {
  1327. font-size: 28rpx;
  1328. line-height: 36rpx;
  1329. color: #999999;
  1330. }
  1331. .info-list {
  1332. .info-item {
  1333. box-sizing: border-box;
  1334. border: 1px solid rgba(242, 242, 242, 1);
  1335. border-radius: 6px;
  1336. background: rgba(250, 250, 250, 1);
  1337. padding: 26rpx 24rpx;
  1338. margin-top: 40rpx;
  1339. .label {
  1340. font-size: 28rpx;
  1341. font-weight: 500;
  1342. line-height: 1;
  1343. color: rgba(51, 51, 51, 1);
  1344. }
  1345. .border {
  1346. width: 1px;
  1347. height: 20rpx;
  1348. margin: 0 20rpx;
  1349. background: rgba(234, 234, 234, 1);
  1350. }
  1351. .content {
  1352. flex: 1;
  1353. width: 0;
  1354. overflow: hidden;
  1355. text-overflow: ellipsis;
  1356. white-space: nowrap;
  1357. color: rgba(153, 153, 153, 1);
  1358. font-size: 28rpx;
  1359. line-height: 1;
  1360. }
  1361. }
  1362. }
  1363. .button {
  1364. width: 600rpx;
  1365. height: 88rpx;
  1366. border-radius: 88rpx;
  1367. background: linear-gradient(90.00deg, rgba(13, 39, 247, 1),rgba(19, 193, 234, 1));
  1368. font-size: 32rpx;
  1369. font-weight: 500;
  1370. line-height: 88rpx;
  1371. text-align: center;
  1372. color: #fff;
  1373. margin: 60rpx auto 0;
  1374. }
  1375. .close-button {
  1376. position: absolute;
  1377. top: 30rpx;
  1378. right: 40rpx;
  1379. width: 40rpx;
  1380. height: 40rpx;
  1381. border-radius: 40rpx;
  1382. background: rgba(230, 230, 230, 1);
  1383. }
  1384. }
  1385. </style>