onlineResume.vue 31 KB

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