onlineResume.vue 28 KB

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