onlineResume.vue 29 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193
  1. <template>
  2. <view class="online-resume">
  3. <navBar title="在线简历" color="#000" />
  4. <view class="page-content">
  5. <!-- 用户信息区域 -->
  6. <view class="user-profile">
  7. <view class="avatar-container">
  8. <image
  9. :src="detail.userEntity&&detail.userEntity.avatar?detail.userEntity.avatar:'../../static/logo.png'"
  10. class="user-avatar" mode="aspectFill"></image>
  11. <view class="edit-avatar-icon" @click="goToBasicInfo">
  12. <image src="../../static/images/index/Combined-Shape.svg" style="width: 32rpx;height: 32rpx;"
  13. mode=""></image>
  14. </view>
  15. </view>
  16. <view class="user-name">{{detail.userEntity&&detail.userEntity.userName||'匿名'}}</view>
  17. <view class="user-info">
  18. {{detail.workExpTimes}}年经验·{{detail.userEntity&&detail.userEntity.age}}岁·{{detail.degree}}·{{detail.userEntity&&detail.userEntity.sex==1?'男':'女'}}
  19. </view>
  20. <view class="contact-info">
  21. <view class="contact-item">
  22. <image src="../../static/images/index/phone.svg" style="width: 24rpx;height: 24rpx;" mode="">
  23. </image>
  24. <text class="contact-text">{{detail.resumeList&&detail.resumeList.resumesPhone}}</text>
  25. </view>
  26. <view class="contact-item">
  27. <image src="../../static/images/index/wx.svg" style="width: 24rpx;height: 24rpx;" mode="">
  28. </image>
  29. <text class="contact-text">{{detail.userEntity&&detail.userEntity.weChatNum}}</text>
  30. </view>
  31. </view>
  32. <view class="availability">
  33. <text
  34. class="status-text">{{detail.resumeList&&detail.resumeList.resumesStatus?statusList[detail.resumeList.resumesStatus].text:statusList[0].text}}</text>
  35. <view class="status-dot"></view>
  36. </view>
  37. </view>
  38. <!-- 内容区域 -->
  39. <view class="content-section">
  40. <!-- 跨境电商工作经验 -->
  41. <view class="switch-section">
  42. <view class="switch-left">
  43. <view class="flex justify-between">
  44. <view class="switch-title">是否有跨境电商工作经验</view>
  45. <view class="template-text">不同简历模版</view>
  46. </view>
  47. <view class="section-status" v-if="hasEcommerceExperience">
  48. 是,有跨境电商工作经验
  49. </view>
  50. </view>
  51. <u-switch @change="setResume" v-model="hasEcommerceExperience" active-color="#007AFF"
  52. size="60"></u-switch>
  53. </view>
  54. <!-- 个人优势 -->
  55. <view class="section-item">
  56. <view class="section-header">
  57. <view class="section-title">个人优势</view>
  58. <view class="edit-icon">
  59. <image src="../../static/images/index/Combined-Shape.svg"
  60. style="width: 48rpx;height: 48rpx;" mode=""></image>
  61. </view>
  62. </view>
  63. <view class="advantage-content">
  64. <textarea @blur="setResume" auto-height placeholder="请输入个人优势"
  65. v-model="detail.resumeList&&detail.resumeList.adv"></textarea>
  66. </view>
  67. </view>
  68. <!-- 全职期望卡片 -->
  69. <view class="expectation-card">
  70. <view class="card-header">
  71. <view class="header-left">
  72. <image src="../../static/images/index/lingdai.svg" class="header-icon" />
  73. <text class="header-title">全职期望</text>
  74. </view>
  75. <text class="progress-text">{{detail.intentions&&detail.intentions.length}}/3</text>
  76. </view>
  77. <view class="job-list">
  78. <view @longpress="commonDelete(item.intentionId,'intentions')"
  79. @click="addExpectation(item.intentionId)" class="job-item"
  80. v-for="(item,index) in detail.intentions">
  81. <view class="job-info">
  82. <view>
  83. <text class="job-title">{{item.ruleClassifyName}}</text>
  84. <view @click.stop="goToPreferenceSetting(item)">
  85. <view class="preference-btn">
  86. <text>设置求职偏好</text>
  87. </view>
  88. <u-icon name="arrow-right" color="rgba(29, 33, 41, 1)" size="28"></u-icon>
  89. </view>
  90. </view>
  91. <text class="job-details">{{item.salaryRange}}・{{item.industry||'不限'}}</text>
  92. <text class="job-location">{{item.citys}}</text>
  93. </view>
  94. </view>
  95. </view>
  96. <view class="add-expectation-btn" @click="addExpectation('')">
  97. <text>添加求职期望</text>
  98. </view>
  99. </view>
  100. <!-- 工作经历 -->
  101. <view class="work-experience-section">
  102. <view class="section-header">
  103. <view class="section-title">
  104. <text class="required-mark">*</text>
  105. <text class="required-title">工作经历</text>
  106. <view class="section-desc">请填写专属跨境行业的工作经验</view>
  107. </view>
  108. <view class="edit-icon" @click="goToWorkExperience('')">
  109. <image src="../../static/images/index/Combined-Shape.svg"
  110. style="width: 48rpx;height: 48rpx;" mode=""></image>
  111. </view>
  112. </view>
  113. <view class="experience-list">
  114. <view class="experience-item" @click.stop="goToWorkExperience(item.workExpId)"
  115. v-for="item in detail.workExps">
  116. <view class="company-logo">
  117. <image src="../../static/images/index/changsha.svg" class="logo-img" mode="aspectFit">
  118. </image>
  119. </view>
  120. <view class="experience-content">
  121. <view class="experience-box" v-for="it in item.workExpDetails">
  122. <view class="job-info-row">
  123. <view class="job-title">{{it.position}}</view>
  124. <view class="job-department">{{it.department}}</view>
  125. </view>
  126. <view class="company-period-row">
  127. <view class="company-name">{{item.companyName}}</view>
  128. <view class="work-period">{{it.startTime}}-{{it.endTime}}</view>
  129. </view>
  130. <view class="job-description">
  131. {{it.workContent}}
  132. </view>
  133. <view class="skill-tags">
  134. <view class="tag" v-for="skill in it.skills">{{skill}}</view>
  135. </view>
  136. </view>
  137. </view>
  138. <view @click.stop="commonDelete(item.workExpId,'workExps')">
  139. <image src="../../static/images/index/delete.svg" class="delete-icon" />
  140. </view>
  141. </view>
  142. </view>
  143. </view>
  144. <!-- 教育经历 -->
  145. <view class="education-section">
  146. <view class="section-header">
  147. <view class="section-title">
  148. <text>教育经历</text>
  149. </view>
  150. <view class="edit-icon" @click="goToEducationExperience('')">
  151. <image src="../../static/images/index/Combined-Shape.svg"
  152. style="width: 48rpx;height: 48rpx;" mode=""></image>
  153. </view>
  154. </view>
  155. <view class="education-list">
  156. <view class="education-item" @click.stop="goToEducationExperience(item.eduId)"
  157. v-for="(item,index) in detail.eduList">
  158. <view class="school-logo">
  159. <image src="../../static/images/index/wuhan.svg" class="logo-img" mode="aspectFit">
  160. </image>
  161. </view>
  162. <view class="education-content">
  163. <view class="school-name">{{item.school}}</view>
  164. <view class="degree-info">{{item.degree}} • {{item.profession}} •
  165. {{new Date(item.startTime).getFullYear()}}-{{new Date(item.endTime).getFullYear()}}
  166. </view>
  167. <view class="education-description">
  168. {{item.detail}}
  169. </view>
  170. </view>
  171. <view @click.stop="commonDelete(item.eduId,'eduList')">
  172. <image src="../../static/images/index/delete.svg" class="delete-icon" />
  173. </view>
  174. </view>
  175. </view>
  176. </view>
  177. <!-- 技能 -->
  178. <view class="skills-section">
  179. <view class="section-header">
  180. <view class="section-title">
  181. <text>技能</text>
  182. </view>
  183. <view class="edit-icon" @click="goToJobSkills">
  184. <image src="../../static/images/index/Combined-Shape.svg"
  185. style="width: 48rpx;height: 48rpx;" mode=""></image>
  186. </view>
  187. </view>
  188. <view class="skills-grid">
  189. <view class="skill-tag" v-for="(skill, skillIndex) in detail.skills" :key="skillIndex">
  190. {{skill.skillName}}</view>
  191. </view>
  192. </view>
  193. </view>
  194. </view>
  195. </view>
  196. </template>
  197. <script>
  198. import navBar from "@/components/nav-bar/index.vue";
  199. var intentionId = 0
  200. export default {
  201. components: {
  202. navBar,
  203. },
  204. data() {
  205. return {
  206. hasEcommerceExperience: false,
  207. detail: {},
  208. statusList: [{
  209. value: 'unemployed_available',
  210. text: '离职-随时到岗',
  211. },
  212. {
  213. value: 'employed_monthly',
  214. text: '在职-月内到岗',
  215. },
  216. {
  217. value: 'employed_considering',
  218. text: '在职-考虑机会',
  219. },
  220. {
  221. value: 'employed_not_considering',
  222. text: '在职-暂不考虑',
  223. }
  224. ]
  225. }
  226. },
  227. onLoad() {
  228. this.getData()
  229. var that = this
  230. uni.$on('updateResume', () => {
  231. console.log(2222222222222)
  232. that.getData()
  233. })
  234. // 监听技能设置更新
  235. uni.$on('skillsUpdated', (data) => {
  236. if (data.set != 1)
  237. return
  238. that.changeSkill(data.selectedTags)
  239. })
  240. uni.$on('preferenceUpdated', (data) => {
  241. if (data.set != 1)
  242. return
  243. that.changePreference(data.preferences)
  244. })
  245. },
  246. onUnload() {
  247. uni.$off('updateResume')
  248. uni.$off('preferenceUpdated')
  249. uni.$off('skillsUpdated')
  250. },
  251. methods: {
  252. goBack() {
  253. uni.navigateBack();
  254. },
  255. getData() {
  256. var that = this
  257. this.$Request.getT("/app/userFirst/getUserResumes", {}).then((res) => {
  258. if (res.code == 0) {
  259. that.detail = res.data
  260. that.hasEcommerceExperience = res.data.resumeList && res.data.resumeList.ifExp ? true :
  261. false
  262. that.detail.degree = that.$queue.getHighestEducation(res.data.eduList)
  263. res.data.workExps.forEach(function(item) {
  264. console.log(item.type);
  265. try {
  266. if (typeof item.type === 'string' && (item.type.startsWith('[') || item
  267. .type.startsWith('{'))) {
  268. item.type = JSON.parse(item.type);
  269. }
  270. } catch (e) {
  271. console.warn('item.type JSON解析失败:', item.type);
  272. }
  273. item.workExpDetails = [];
  274. res.data.workExpList.forEach(function(it) {
  275. console.log(it.skills);
  276. try {
  277. if (typeof it.skills === 'string' && (it.skills.startsWith(
  278. '[') || it.skills.startsWith('{'))) {
  279. it.skills = JSON.parse(it.skills);
  280. }
  281. } catch (e) {
  282. console.warn('it.skills JSON解析失败:', it.skills);
  283. }
  284. it.startTime = it.startTime.slice(0, 7);
  285. if (that.$queue.isCurrentMonth(new Date(it.endTime)))
  286. it.endTime = '至今';
  287. else
  288. it.endTime = it.endTime.slice(0, 7);
  289. if (it.workExpId == item.workExpId)
  290. item.workExpDetails.push(it);
  291. });
  292. });
  293. console.log('最终数据')
  294. console.log(res.data.workExps);
  295. that.detail.workExps = res.data.workExps
  296. } else {
  297. uni.showToast({
  298. title: res.msg,
  299. icon: "none",
  300. });
  301. }
  302. });
  303. },
  304. addExpectation(id = '') {
  305. uni.navigateTo({
  306. url: '/package/jobIntention/addExpectation?id=' + id
  307. })
  308. },
  309. goToPreferenceSetting(item) {
  310. intentionId = item.intentionId
  311. if (item.ruleClassifyId == '' || item.ruleClassifyId == 0)
  312. return this.$queue.showToast('请先选择岗位')
  313. uni.navigateTo({
  314. url: '/package/jobIntention/preferenceSetting?set=1&jobId=' + item.ruleClassifyId +
  315. '&jobTitle=' + item.ruleClassifyName + '&selectedPreferences=' + encodeURIComponent(JSON
  316. .stringify(item.industry == '' || item.industry == null ? [] : item.industry.split(
  317. '/')))
  318. })
  319. },
  320. goToJobSkills() {
  321. uni.navigateTo({
  322. url: '/package/jobIntention/jobSkills?set=1&jobTitle=我的&skill=' + encodeURIComponent(JSON
  323. .stringify(this.detail.skills == null ? [] : this.$queue.array_column(this.detail
  324. .skills, 'skillName')))
  325. })
  326. },
  327. goToWorkExperience(id = '') {
  328. // 获取业务类型数据
  329. const businessTypes = this.getBusinessTypes()
  330. console.log('传递给工作经历页面的业务类型:', businessTypes)
  331. console.log('当前hasEcommerceExperience状态:', this.hasEcommerceExperience)
  332. uni.navigateTo({
  333. url: `/pages/my/workExperience?id=${id}&businessTypes=${encodeURIComponent(JSON.stringify(businessTypes))}`
  334. })
  335. },
  336. goToEducationExperience(id = '') {
  337. uni.navigateTo({
  338. url: `/pages/my/educationExperience?id=${id}`
  339. })
  340. },
  341. goToBasicInfo() {
  342. uni.navigateTo({
  343. url: '/package/jobIntention/basicInfo?resumesStatus=' + (this.detail.resumeList && this.detail
  344. .resumeList.resumesStatus || 0) + '&birthday=' + (this.detail.resumeList && this.detail
  345. .resumeList.birthday || '') + '&ifExp=' + (this.detail.resumeList && this.detail
  346. .resumeList.ifExp || 0) + '&resumesPhone=' + (this.detail.resumeList && this.detail
  347. .resumeList.resumesPhone || '')+ '&resumesEmail=' + (this.detail.resumeList && this.detail
  348. .resumeList.resumesEmail || '')
  349. })
  350. },
  351. getBusinessTypes() {
  352. // 根据是否有跨境电商经验返回业务类型
  353. if (this.hasEcommerceExperience) {
  354. return ['0']
  355. } else {
  356. return []
  357. }
  358. },
  359. // 设置
  360. setResume() {
  361. let data = {
  362. ifExp: this.hasEcommerceExperience ? 1 : 0,
  363. adv: this.detail.resumeList && this.detail.resumeList.adv || '',
  364. }
  365. uni.showLoading({
  366. title: "提交中..."
  367. });
  368. this.$Request.postJson("/app/userFirst/regist", data).then((res) => {
  369. uni.hideLoading();
  370. if (res.code == 0) {
  371. // 实际开发中可以在这里添加跳转逻辑
  372. } else {
  373. uni.showToast({
  374. title: res.msg,
  375. icon: "none",
  376. });
  377. }
  378. });
  379. },
  380. changeSkill(skill) {
  381. var skills = []
  382. for (var i in skill) {
  383. skills[i] = {
  384. "userId": "",
  385. "skillId": "",
  386. "skillName": skill[i],
  387. "isuse": 1
  388. }
  389. }
  390. let data = {
  391. skills
  392. }
  393. var that = this
  394. this.$Request.postJson("/app/userFirst/updateSkill", skills).then((res) => {
  395. if (res.code == 0) {
  396. // 实际开发中可以在这里添加跳转逻辑
  397. that.getData()
  398. } else {
  399. uni.showToast({
  400. title: res.msg,
  401. icon: "none",
  402. });
  403. }
  404. });
  405. },
  406. changePreference(preference) {
  407. if (intentionId == 0)
  408. return;
  409. var industry = preference == '' || preference == null ? '' : preference.join('/')
  410. let data = {
  411. intentionId,
  412. industry
  413. }
  414. var that = this
  415. this.$Request.postJson("/app/intention/saveUpdate", data).then((res) => {
  416. if (res.code == 0) {
  417. // 实际开发中可以在这里添加跳转逻辑
  418. that.getData()
  419. } else {
  420. uni.showToast({
  421. title: res.msg,
  422. icon: "none",
  423. });
  424. }
  425. });
  426. },
  427. commonDelete(id, modules) {
  428. var that = this
  429. var action = 'userFirst/deleteEdu'
  430. var params = {
  431. eduId: id
  432. }
  433. if (modules == 'workExps') {
  434. action = 'userFirst/deleteWorkExp'
  435. params = {
  436. workExpId: id
  437. }
  438. }
  439. if (modules == 'intentions') {
  440. action = 'intention/deleteIntention'
  441. params = {
  442. intentionId: id
  443. }
  444. }
  445. this.$queue.appConfirm('确认删除该条内容么?', function(res) {
  446. if (!res)
  447. return;
  448. that.$Request.postJson("/app/" + action, params).then((res) => {
  449. if (res.code == 0) {
  450. // 实际开发中可以在这里添加跳转逻辑
  451. var info = that.detail[modules].filter(function(item) {
  452. return item[modules == 'workExps' ? 'workExpId' : (modules ==
  453. 'intentions' ? 'intentionId' : 'eduId')] != id;
  454. });
  455. that.detail[modules] = info
  456. } else {
  457. uni.showToast({
  458. title: res.msg,
  459. icon: "none",
  460. });
  461. }
  462. });
  463. })
  464. },
  465. },
  466. watch: {
  467. hasEcommerceExperience(newVal, oldVal) {
  468. console.log('hasEcommerceExperience 变化:', oldVal, '->', newVal)
  469. // 只有有效的布尔值才保存到缓存
  470. }
  471. }
  472. }
  473. </script>
  474. <style lang="scss" scoped>
  475. .delete-icon {
  476. width: 40rpx;
  477. height: 40rpx;
  478. }
  479. .online-resume {
  480. height: 100vh;
  481. display: flex;
  482. flex-direction: column;
  483. }
  484. .fixed-nav {
  485. position: fixed;
  486. top: 0;
  487. left: 0;
  488. right: 0;
  489. z-index: 9999;
  490. background-color: #ffffff;
  491. padding: 0 32rpx;
  492. // padding-top 已改为动态计算,在模板中通过 :style 设置
  493. }
  494. .page-content{
  495. flex: 1;
  496. display: flex;
  497. flex-direction: column;
  498. overflow: auto;
  499. }
  500. // 用户信息区域
  501. .user-profile {
  502. background: #fff;
  503. padding: 60rpx 30rpx 40rpx;
  504. text-align: center;
  505. border-bottom: 2px solid rgba(227, 231, 236, 1);
  506. .avatar-container {
  507. position: relative;
  508. display: inline-block;
  509. margin-bottom: 30rpx;
  510. .user-avatar {
  511. width: 180rpx;
  512. height: 180rpx;
  513. border-radius: 50%;
  514. }
  515. .edit-avatar-icon {
  516. position: absolute;
  517. bottom: 10rpx;
  518. right: 10rpx;
  519. width: 48rpx;
  520. height: 48rpx;
  521. background: #fff;
  522. border-radius: 50%;
  523. display: flex;
  524. align-items: center;
  525. justify-content: center;
  526. box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.1);
  527. }
  528. }
  529. .user-name {
  530. color: rgba(21, 21, 23, 1);
  531. font-family: DM Sans;
  532. font-size: 24px;
  533. font-weight: 700;
  534. line-height: 26px;
  535. letter-spacing: 0%;
  536. text-align: center;
  537. }
  538. .user-info {
  539. color: rgba(102, 112, 122, 1);
  540. font-family: DM Sans;
  541. font-size: 28rpx;
  542. line-height: 44rpx;
  543. font-weight: 400;
  544. letter-spacing: 0%;
  545. text-align: center;
  546. margin: 30rpx auto;
  547. }
  548. .contact-info {
  549. display: flex;
  550. justify-content: center;
  551. gap: 40rpx;
  552. margin-bottom: 30rpx;
  553. .contact-item {
  554. display: flex;
  555. align-items: center;
  556. gap: 10rpx;
  557. .contact-text {
  558. color: rgba(116, 116, 116, 1);
  559. font-family: DM Sans;
  560. font-size: 16rpx;
  561. font-weight: 400;
  562. line-height: 20rpx;
  563. letter-spacing: 0%;
  564. text-align: center;
  565. }
  566. }
  567. }
  568. .availability {
  569. display: flex;
  570. align-items: center;
  571. justify-content: center;
  572. gap: 10rpx;
  573. .status-text {
  574. color: rgba(156, 164, 171, 1);
  575. font-family: DM Sans;
  576. font-size: 24rpx;
  577. font-weight: 400;
  578. line-height: 32rpx;
  579. letter-spacing: 0%;
  580. text-align: left;
  581. }
  582. .status-dot {
  583. width: 18rpx;
  584. height: 18rpx;
  585. background: rgba(0, 204, 154, 1);
  586. border-radius: 50%;
  587. }
  588. }
  589. }
  590. // 内容区域
  591. .content-section {
  592. // background: #F2F6FC;
  593. padding: 30rpx;
  594. // 开关部分样式
  595. .switch-section {
  596. display: flex;
  597. align-items: center;
  598. justify-content: space-between;
  599. background: #fff;
  600. border-radius: 12rpx;
  601. padding: 24rpx;
  602. margin-bottom: 16rpx;
  603. .switch-left {
  604. flex: 1;
  605. .switch-title {
  606. color: rgba(21, 22, 26, 1);
  607. font-family: DM Sans;
  608. font-size: 28rpx;
  609. font-weight: 500;
  610. line-height: 52rpx;
  611. letter-spacing: 0%;
  612. text-align: left;
  613. margin-bottom: 12rpx;
  614. }
  615. .template-text {
  616. color: rgba(153, 153, 153, 1);
  617. font-family: DM Sans;
  618. font-size: 20rpx;
  619. font-weight: 400;
  620. line-height: 52rpx;
  621. letter-spacing: 0%;
  622. text-align: right;
  623. }
  624. .section-status {
  625. color: rgba(1, 107, 246, 1);
  626. font-family: DM Sans;
  627. font-size: 24rpx;
  628. font-weight: 400;
  629. line-height: 40rpx;
  630. letter-spacing: 0%;
  631. text-align: left;
  632. }
  633. }
  634. }
  635. .section-item {
  636. background: #fff;
  637. border-radius: 16rpx;
  638. padding: 30rpx;
  639. margin-bottom: 20rpx;
  640. box-sizing: border-box;
  641. border: 1px solid rgba(227, 231, 236, 1);
  642. border-radius: 12px;
  643. .section-header {
  644. display: flex;
  645. align-items: center;
  646. justify-content: space-between;
  647. margin-bottom: 20rpx;
  648. .section-title {
  649. color: rgba(23, 23, 37, 1);
  650. font-family: Inter;
  651. font-size: 32rpx;
  652. font-weight: 600;
  653. line-height: 48rpx;
  654. letter-spacing: 0%;
  655. text-align: left;
  656. }
  657. .template-text {
  658. color: rgba(120, 130, 138, 1);
  659. font-family: DM Sans;
  660. font-size: 24rpx;
  661. font-weight: 400;
  662. line-height: 32rpx;
  663. letter-spacing: 0%;
  664. text-align: left;
  665. }
  666. .edit-icon {
  667. width: 40rpx;
  668. height: 40rpx;
  669. display: flex;
  670. align-items: center;
  671. justify-content: center;
  672. }
  673. }
  674. .section-status {
  675. font-size: 28rpx;
  676. color: #007AFF;
  677. font-weight: 500;
  678. }
  679. .advantage-content {
  680. font-size: 14px;
  681. color: #666;
  682. line-height: 1.6;
  683. textarea {
  684. width: 100%;
  685. height: fit-content;
  686. min-height: 44rpx;
  687. }
  688. }
  689. }
  690. // 全职期望卡片样式
  691. .expectation-card {
  692. background: #ffffff;
  693. border-radius: 12rpx;
  694. padding: 30rpx;
  695. margin-bottom: 20rpx;
  696. box-sizing: border-box;
  697. border: 0.5px solid rgba(227, 231, 236, 1);
  698. border-radius: 6px;
  699. background: rgba(253, 253, 253, 1);
  700. .card-header {
  701. display: flex;
  702. justify-content: space-between;
  703. align-items: center;
  704. .header-left {
  705. display: flex;
  706. align-items: center;
  707. .header-icon {
  708. width: 40rpx;
  709. height: 40rpx;
  710. margin-right: 20rpx;
  711. }
  712. .header-title {
  713. color: rgba(29, 33, 41, 1);
  714. font-family: DM Sans;
  715. font-size: 28rpx;
  716. font-weight: 500;
  717. line-height: 16px;
  718. letter-spacing: 0%;
  719. text-align: left;
  720. }
  721. }
  722. .progress-text {
  723. font-family: DM Sans;
  724. font-size: 24rpx;
  725. font-weight: 700;
  726. line-height: 13px;
  727. letter-spacing: 0%;
  728. text-align: right;
  729. }
  730. }
  731. .job-list {
  732. margin-bottom: 10rpx;
  733. .job-item {
  734. display: flex;
  735. justify-content: space-between;
  736. align-items: center;
  737. padding: 20rpx 0;
  738. &:last-child {
  739. border-bottom: none;
  740. }
  741. .job-info {
  742. flex: 1;
  743. >view:first-child {
  744. display: flex;
  745. justify-content: space-between;
  746. align-items: center;
  747. margin-bottom: 4rpx;
  748. }
  749. .job-title {
  750. color: rgba(29, 33, 41, 1);
  751. font-family: DM Sans;
  752. font-size: 28rpx;
  753. font-weight: 500;
  754. line-height: 16px;
  755. letter-spacing: 0%;
  756. text-align: left;
  757. }
  758. .job-details {
  759. display: block;
  760. font-size: 24rpx;
  761. color: rgba(153, 153, 153, 1);
  762. margin-bottom: 4rpx;
  763. }
  764. .job-location {
  765. font-size: 24rpx;
  766. color: rgba(153, 153, 153, 1);
  767. }
  768. }
  769. .preference-btn {
  770. display: flex;
  771. align-items: center;
  772. padding: 8rpx;
  773. border: 0.5rpx solid #007AFF;
  774. border-radius: 12rpx;
  775. margin-right: 10rpx;
  776. text {
  777. font-size: 18rpx;
  778. color: #007AFF;
  779. }
  780. }
  781. .job-info>view:first-child>view:last-child {
  782. display: flex;
  783. align-items: center;
  784. }
  785. }
  786. }
  787. .add-expectation-btn {
  788. width: 100%;
  789. height: 70rpx;
  790. border: 1rpx solid #007AFF;
  791. border-radius: 42rpx;
  792. display: flex;
  793. align-items: center;
  794. justify-content: center;
  795. text {
  796. font-size: 28rpx;
  797. color: #007AFF;
  798. font-weight: 500;
  799. }
  800. }
  801. }
  802. // 工作经历部分样式
  803. .work-experience-section {
  804. background: #fff;
  805. border-radius: 12px;
  806. padding: 30rpx;
  807. margin-bottom: 20rpx;
  808. box-sizing: border-box;
  809. border: 1px solid rgba(1, 107, 246, 1);
  810. .section-header {
  811. display: flex;
  812. align-items: center;
  813. justify-content: space-between;
  814. margin-bottom: 30rpx;
  815. .section-title {
  816. display: flex;
  817. align-items: center;
  818. .required-mark {
  819. color: #FF3B30;
  820. font-size: 18px;
  821. font-weight: 600;
  822. margin-right: 8rpx;
  823. }
  824. .required-title {
  825. font-family: DM Sans;
  826. font-size: 28rpx;
  827. font-weight: 700;
  828. line-height: 52rpx;
  829. letter-spacing: 0%;
  830. text-align: left;
  831. margin-right: 12rpx;
  832. }
  833. text {
  834. color: rgba(23, 23, 37, 1);
  835. font-family: Inter;
  836. font-size: 20px;
  837. font-weight: 600;
  838. line-height: 24px;
  839. }
  840. }
  841. .section-desc {
  842. color: rgba(1, 107, 246, 1);
  843. font-family: DM Sans;
  844. font-size: 20rpx;
  845. font-weight: 400;
  846. line-height: 44rpx;
  847. letter-spacing: 0%;
  848. text-align: left;
  849. }
  850. }
  851. .experience-list {
  852. .experience-item {
  853. display: flex;
  854. padding: 24rpx 0;
  855. border-bottom: 1rpx solid #F0F0F0;
  856. &:last-child {
  857. border-bottom: none;
  858. }
  859. .company-logo {
  860. width: 90rpx;
  861. height: 90rpx;
  862. margin-right: 24rpx;
  863. flex-shrink: 0;
  864. border-radius: 8px;
  865. background: rgba(246, 246, 246, 1);
  866. display: flex;
  867. flex-direction: column;
  868. align-items: center;
  869. justify-content: center;
  870. .logo-img {
  871. width: 50rpx;
  872. height: 50rpx;
  873. border-radius: 8rpx;
  874. }
  875. }
  876. .experience-content {
  877. flex: 1;
  878. .experience-box {
  879. margin-bottom: 20rpx;
  880. }
  881. .job-info-row {
  882. display: flex;
  883. align-items: center;
  884. margin-bottom: 4rpx;
  885. }
  886. .job-title {
  887. color: rgba(23, 23, 37, 1);
  888. font-family: DM Sans;
  889. font-size: 28rpx;
  890. font-weight: 400;
  891. line-height: 44rpx;
  892. letter-spacing: 0%;
  893. text-align: left;
  894. margin-right: 12rpx;
  895. }
  896. .job-department {
  897. color: rgba(120, 130, 138, 1);
  898. font-family: DM Sans;
  899. font-size: 20rpx;
  900. font-weight: 400;
  901. line-height: 44rpx;
  902. letter-spacing: 0%;
  903. text-align: left;
  904. }
  905. .company-period-row {
  906. display: flex;
  907. align-items: center;
  908. justify-content: flex-start;
  909. margin-bottom: 12rpx;
  910. gap: 12rpx;
  911. padding: 12rpx 0;
  912. }
  913. .company-name {
  914. color: rgba(120, 130, 138, 1);
  915. font-family: DM Sans;
  916. font-size: 20rpx;
  917. font-weight: 400;
  918. line-height: 10px;
  919. letter-spacing: 0.5%;
  920. text-align: left;
  921. }
  922. .work-period {
  923. color: rgba(120, 130, 138, 1);
  924. font-family: DM Sans;
  925. font-size: 20rpx;
  926. font-weight: 400;
  927. line-height: 10px;
  928. letter-spacing: 0.5%;
  929. text-align: left;
  930. }
  931. .job-description {
  932. color: rgba(120, 130, 138, 1);
  933. font-family: DM Sans;
  934. font-size: 16rpx;
  935. font-weight: 400;
  936. line-height: 24rpx;
  937. letter-spacing: 0%;
  938. text-align: left;
  939. }
  940. .skill-tags {
  941. display: flex;
  942. flex-wrap: wrap;
  943. gap: 8rpx;
  944. margin-top: 12rpx;
  945. .tag {
  946. background: rgba(153, 153, 153, 0.1);
  947. border-radius: 12rpx;
  948. padding: 6rpx;
  949. color: rgba(102, 102, 102, 1);
  950. font-family: DM Sans;
  951. font-size: 16rpx;
  952. font-weight: 400;
  953. letter-spacing: 0%;
  954. text-align: left;
  955. }
  956. }
  957. }
  958. }
  959. }
  960. }
  961. // 教育经历部分样式
  962. .education-section {
  963. background: #fff;
  964. border-radius: 12px;
  965. padding: 30rpx;
  966. margin-bottom: 20rpx;
  967. box-sizing: border-box;
  968. border: 1px solid rgba(227, 231, 236, 1);
  969. .section-header {
  970. display: flex;
  971. align-items: center;
  972. justify-content: space-between;
  973. margin-bottom: 30rpx;
  974. .section-title {
  975. text {
  976. color: rgba(23, 23, 37, 1);
  977. font-family: Inter;
  978. font-size: 20px;
  979. font-weight: 600;
  980. line-height: 24px;
  981. }
  982. }
  983. }
  984. .education-list {
  985. .education-item {
  986. display: flex;
  987. padding: 24rpx 0;
  988. border-bottom: 1rpx solid #F0F0F0;
  989. &:last-child {
  990. border-bottom: none;
  991. }
  992. .school-logo {
  993. width: 90rpx;
  994. height: 90rpx;
  995. margin-right: 24rpx;
  996. flex-shrink: 0;
  997. border-radius: 8px;
  998. background: rgba(246, 246, 246, 1);
  999. display: flex;
  1000. flex-direction: column;
  1001. align-items: center;
  1002. justify-content: center;
  1003. .logo-img {
  1004. width: 54rpx;
  1005. height: 50rpx;
  1006. border-radius: 8rpx;
  1007. }
  1008. }
  1009. .education-content {
  1010. flex: 1;
  1011. .school-name {
  1012. color: rgba(23, 23, 37, 1);
  1013. font-family: DM Sans;
  1014. font-size: 18px;
  1015. font-weight: 400;
  1016. line-height: 22px;
  1017. letter-spacing: 0%;
  1018. text-align: left;
  1019. }
  1020. .degree-info {
  1021. color: rgba(120, 130, 138, 1);
  1022. font-family: DM Sans;
  1023. font-size: 20rpx;
  1024. font-weight: 500;
  1025. line-height: 24px;
  1026. letter-spacing: 0%;
  1027. text-align: left;
  1028. padding: 12rpx 0;
  1029. }
  1030. .education-description {
  1031. color: rgba(120, 130, 138, 1);
  1032. font-family: DM Sans;
  1033. font-size: 20rpx;
  1034. font-weight: 400;
  1035. line-height: 16px;
  1036. letter-spacing: 0%;
  1037. text-align: left;
  1038. }
  1039. }
  1040. }
  1041. }
  1042. }
  1043. // 技能部分样式
  1044. .skills-section {
  1045. background: #fff;
  1046. border-radius: 12px;
  1047. padding: 30rpx;
  1048. margin-bottom: 20rpx;
  1049. box-sizing: border-box;
  1050. border: 1px solid rgba(227, 231, 236, 1);
  1051. .section-header {
  1052. display: flex;
  1053. align-items: center;
  1054. justify-content: space-between;
  1055. margin-bottom: 30rpx;
  1056. .section-title {
  1057. text {
  1058. color: rgba(23, 23, 37, 1);
  1059. font-family: Inter;
  1060. font-size: 20px;
  1061. font-weight: 600;
  1062. line-height: 24px;
  1063. }
  1064. }
  1065. }
  1066. .skills-grid {
  1067. display: flex;
  1068. flex-wrap: wrap;
  1069. gap: 16rpx;
  1070. .skill-tag {
  1071. padding: 32rpx;
  1072. border: 1px solid rgba(236, 241, 246, 1);
  1073. border-radius: 64rpx;
  1074. color: rgba(23, 23, 37, 1);
  1075. font-family: DM Sans;
  1076. font-size: 14px;
  1077. font-weight: 400;
  1078. line-height: 20px;
  1079. letter-spacing: 0.5%;
  1080. text-align: right;
  1081. }
  1082. }
  1083. }
  1084. }
  1085. </style>