workRecord.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883
  1. <template>
  2. <view class="resume-container">
  3. <!-- 导航栏 -->
  4. <navBar title="近期工作经验" color="#000" />
  5. <view class="resume-content">
  6. <!-- 头像上传区域 -->
  7. <view class="form-label">头像</view>
  8. <view class="avatar-section">
  9. <view class="avatar-upload" @click="chooseAvatar">
  10. <view class="avatar-preview">
  11. <image v-if="formData.avatar" :src="formData.avatar" class="avatar-image" mode="aspectFill"></image>
  12. <image v-else src="@/static/images/jobApplicant/touxiang.svg" mode="scaleToFill" class="user-img" />
  13. </view>
  14. <view class="upload-view">上传头像</view>
  15. </view>
  16. </view>
  17. <!-- 基本信息表单 -->
  18. <view class="form-section">
  19. <!-- 姓名 -->
  20. <view class="form-item required">
  21. <view class="form-label">姓名</view>
  22. <u-input placeholder="请输入姓名" v-model="formData.name" :border="false" class="form-input"></u-input>
  23. </view>
  24. <!-- 性别 -->
  25. <view class="form-item required">
  26. <view class="form-label">性别</view>
  27. <view class="gender-select">
  28. <view class="gender-option" @click="formData.gender = 1">
  29. <image v-if="formData.gender === 1" src="/static/images/jobApplicant/radio-check.svg"
  30. mode="scaleToFill" />
  31. <image v-else src="/static/images/jobApplicant/radio.svg" mode="scaleToFill" />
  32. </view>
  33. <view class="gender-option" @click="formData.gender = 2">
  34. <image v-if="formData.gender === 2" src="/static/images/jobApplicant/radio-check.svg"
  35. mode="scaleToFill" />
  36. <image v-else src="/static/images/jobApplicant/radio.svg" mode="scaleToFill" />
  37. </view>
  38. </view>
  39. </view>
  40. <!-- 联系方式 -->
  41. <view class="form-item required">
  42. <view class="form-label">联系方式</view>
  43. <u-input placeholder="请输入联系方式" v-model="formData.phone" :border="false" class="form-input"></u-input>
  44. </view>
  45. <!-- 出生年月 -->
  46. <view class="form-item required">
  47. <view class="form-label">出生年月</view>
  48. <view @click="pickerShow" class="form-input-time">
  49. <text>{{
  50. formData.birthDate ? formData.birthDate : "请选择出生年月日"
  51. }}</text>
  52. <image src="@/static/images/jobApplicant/rili.svg" mode="scaleToFill" />
  53. </view>
  54. </view>
  55. <!-- 求职状态 -->
  56. <view class="form-item required">
  57. <view class="form-label">求职状态</view>
  58. <view @click.stop="showJobStatus" class="form-input-time">
  59. <text>{{ statusList[formData.jobStatus].text }}</text>
  60. <image src="@/static/images/jobApplicant/icon-next.svg" mode="scaleToFill" />
  61. </view>
  62. </view>
  63. </view>
  64. <!-- 工作经历 -->
  65. <view class="section">
  66. <view class="section-header">
  67. <view class="form-item required">
  68. <view class="job-title">
  69. <view class="job-title-txt">工作经历 <text class="job-txt">请填写专属聘用行业的工作经验</text></view>
  70. <image @click="goWorkProgress" class="job-image" src="@/static/images/jobApplicant/edit.svg"
  71. mode="scaleToFill" />
  72. </view>
  73. </view>
  74. </view>
  75. <view class="experience-item" v-for="(exp, index) in workExperiences" :key="index" @click.stop="goToWorkExperience(exp.workExpId)">
  76. <view class="job-content">
  77. <view class="job-icon">
  78. <image src="/static/images/jobApplicant/xuexiao.svg" mode="scaleToFill" />
  79. </view>
  80. <view class="right-content">
  81. <view class="job-content-txt" v-for="it in exp.workExpDetails">
  82. <view class="exp-header">
  83. <view class="exp-position">
  84. <view class="position">{{ it.position }}</view>
  85. <view class="department">{{ it.department }}</view>
  86. </view>
  87. <!-- <u-icon
  88. name="close"
  89. size="18"
  90. color="#999"
  91. @click="removeWorkExperience(index)"
  92. ></u-icon> -->
  93. </view>
  94. <view class="exp-company">
  95. <view class="company">{{ exp.companyName }}</view>
  96. <view class="yuan">·</view>
  97. <view class="duration">{{ it.startTime }} - {{ it.endTime }}</view>
  98. </view>
  99. <!-- <view class="exp-content">
  100. <view class="content-label">{{ it.workContent }}</view>
  101. </view> -->
  102. <view style="margin-bottom: 10rpx;font-size: 22rpx;">工作内容</view>
  103. <view class="content-label">
  104. {{ it.workContent }}
  105. </view>
  106. <view style="margin: 12rpx 0;font-size: 22rpx;">工作业绩</view>
  107. <view class="content-label">
  108. {{it.workPerformance}}
  109. </view>
  110. <view class="exp-content">
  111. <view class="skill-tags">
  112. <view class="tag" v-for="skill in it.skills">{{ skill }}</view>
  113. </view>
  114. </view>
  115. </view>
  116. </view>
  117. </view>
  118. </view>
  119. </view>
  120. <!-- 教育经历 -->
  121. <view class="section">
  122. <view class="section-header">
  123. <view class="form-item required">
  124. <view class="job-title">
  125. <view class="job-title-txt">教育经历</view>
  126. <image @click="goEducationalBackground('')" class="job-image" src="@/static/images/jobApplicant/edit.svg"
  127. mode="scaleToFill" />
  128. </view>
  129. </view>
  130. </view>
  131. <view class="experience-item" v-for="(item, index) in eduList" :key="index" @click.stop="goEducationalBackground(item.eduId)">
  132. <view class="job-content">
  133. <view class="job-icon">
  134. <image src="/static/images/jobApplicant/bumen.svg" mode="scaleToFill" />
  135. </view>
  136. <view class="job-content-txt">
  137. <view class="exp-header">
  138. <view class="exp-position">
  139. <view class="position">{{ item.school }}</view>
  140. </view>
  141. </view>
  142. <view class="exp-company">
  143. <view class="company">{{ item.degree }}</view>
  144. <view class="yuan">·</view>
  145. <view class="duration">{{ item.profession }}</view>
  146. <view class="yuan">·</view>
  147. <view class="duration">{{ new Date(item.startTime).getFullYear() }} - {{ new
  148. Date(item.endTime).getFullYear()}}</view>
  149. </view>
  150. <view class="exp-content">
  151. <view class="content-label">{{ item.detail }}</view>
  152. </view>
  153. </view>
  154. </view>
  155. </view>
  156. </view>
  157. <!-- 个人优势 -->
  158. <view class="section">
  159. <view class="section-header">
  160. <view class="form-item required">
  161. <view class="job-title">
  162. <view class="job-title-txt">个人优势</view>
  163. <!-- <image
  164. class="job-image"
  165. src="@/static/images/jobApplicant/edit.svg"
  166. mode="scaleToFill"
  167. /> -->
  168. </view>
  169. </view>
  170. </view>
  171. <view class="advantage-content">
  172. <view type="textarea" class="advantage-textarea">
  173. <textarea placeholder="请输入个人优势" v-model="formData.advantages" class=""></textarea>
  174. </view>
  175. </view>
  176. </view>
  177. <!-- 底部按钮 -->
  178. <view class="footer">
  179. <u-button type="primary" @click="submitResume" :customStyle="{
  180. height: '90rpx',
  181. fontSize: '32rpx',
  182. borderRadius: '45rpx',
  183. margin: '40rpx 0',
  184. }">开启求职之旅</u-button>
  185. </view>
  186. </view>
  187. <u-picker v-model="showBirthDatePicker" :columns="dateColumns" keyName="label" @confirm="confirmBirthDate"
  188. @cancel="showBirthDatePicker = false"></u-picker>
  189. <u-action-sheet :list="statusList" v-model="showStatus" @click="confirmStatus"></u-action-sheet>
  190. <!-- 权限说明弹窗 -->
  191. <u-popup mode="top" ref="permission">
  192. <view class="popup-content">
  193. <view class="popup-text-permission">选择/拍摄照片需要相机/相册权限,用于上传用户头像</view>
  194. </view>
  195. </u-popup>
  196. </view>
  197. </template>
  198. <script>
  199. import navBar from "@/components/nav-bar/index.vue";
  200. export default {
  201. data() {
  202. // 生成日期选择器数据
  203. const currentYear = new Date().getFullYear();
  204. const years = [];
  205. const months = [];
  206. const days = [];
  207. for (let i = currentYear - 50; i <= currentYear; i++) {
  208. years.push({ label: i + "年", value: i });
  209. }
  210. for (let i = 1; i <= 12; i++) {
  211. months.push({ label: i + "月", value: i });
  212. }
  213. for (let i = 1; i <= 31; i++) {
  214. days.push({ label: i + "日", value: i });
  215. }
  216. return {
  217. show: false,
  218. showBirthDatePicker: false,
  219. dateColumns: [years, months, days],
  220. statusList: [
  221. {
  222. value: '0',
  223. text: '离职-随时到岗'
  224. },
  225. {
  226. value: '1',
  227. text: '在职-月内到岗',
  228. },
  229. {
  230. value: '2',
  231. text: '在职-考虑机会',
  232. },
  233. {
  234. value: '3',
  235. text: '在职-暂不考虑',
  236. },
  237. // {
  238. // value: '4',
  239. // text: '实习',
  240. // }
  241. ],
  242. showStatus: false,
  243. formData: {
  244. avatar: "",
  245. name: "",
  246. gender: 1,
  247. jobStatus: 0,
  248. phone: '',
  249. birthDate: "",
  250. advantages: "",
  251. ifExp: 0
  252. },
  253. workExperiences: [
  254. {
  255. companyName: "公司名称",
  256. workExpDetails: [{
  257. department: "部门",
  258. position: "职位名称",
  259. startTime: "就职时间",
  260. endTime: "离职时间",
  261. workContent: "请填写简历工作内容",
  262. skills: ["请填写面试技能要求"],
  263. }
  264. ]
  265. },
  266. ],
  267. hasEcommerceExperience: false,
  268. eduList: [{
  269. school: "学校时间",
  270. profession: "专业",
  271. startTime: "2012-09-1",
  272. endTime: "2016-6-10",
  273. detail: "请填写您的教育经历",
  274. degree: "学历",
  275. }
  276. ]
  277. };
  278. },
  279. components: {
  280. navBar,
  281. },
  282. onLoad() {
  283. this.getData()
  284. var that = this
  285. uni.$on('updateResume', () => {
  286. that.getData()
  287. })
  288. },
  289. methods: {
  290. getData() {
  291. var that = this
  292. this.$Request.getT("/app/userFirst/getUserResumes", {}).then((res) => {
  293. if (res.code == 0) {
  294. that.hasEcommerceExperience = res.data.resumeList && res.data.resumeList.ifExp ? true :
  295. false
  296. res.data.workExps.forEach(function (item) {
  297. item.type = JSON.parse(item.type)
  298. item.workExpDetails = []
  299. res.data.workExpList.forEach(function (it) {
  300. it.skills = JSON.parse(it.skills)
  301. it.startTime = it.startTime.slice(0, 7);
  302. if (that.$queue.isCurrentMonth(new Date(it.endTime)))
  303. it.endTime = '至今'
  304. else
  305. it.endTime = it.endTime.slice(0, 7);
  306. if (it.workExpId == item.workExpId)
  307. item.workExpDetails.push(it)
  308. })
  309. })
  310. if (res.data.workExps.length > 0)
  311. that.workExperiences = res.data.workExps
  312. if (res.data.eduList.length > 0)
  313. that.eduList = res.data.eduList
  314. that.formData.ifExp = res.data.resumeList.ifExp
  315. } else {
  316. uni.showToast({
  317. title: res.msg,
  318. icon: "none",
  319. });
  320. }
  321. });
  322. },
  323. showJobStatus() {
  324. this.showStatus = true;
  325. },
  326. pickerShow() {
  327. this.showBirthDatePicker = true;
  328. },
  329. confirmStatus(e) {
  330. this.showStatus = false;
  331. this.formData.jobStatus = e
  332. },
  333. goWorkProgress() {
  334. uni.navigateTo({ url: '/pages/my/workExperience' })
  335. },
  336. goEducationalBackground(id = '') {
  337. uni.navigateTo({
  338. url: `/pages/my/educationExperience?id=${id}`
  339. })
  340. },
  341. // 选择头像
  342. async chooseAvatar() {
  343. var that = this
  344. // 1. 检查权限状态
  345. const hasPermission = await this.$queue.checkPermission(
  346. 'camera',
  347. '选择/拍摄照片需要相机/相册权限,用于上传用户头像',
  348. this
  349. );
  350. // 2. 如果未授权或者用户拒绝,显示提示
  351. if (!hasPermission) {
  352. return;
  353. }
  354. uni.chooseImage({
  355. count: 1,
  356. sizeType: ["compressed"],
  357. sourceType: ["album", "camera"],
  358. success: (res) => {
  359. that.$queue.uploadFile(res.tempFilePaths[0], function (path) {
  360. if (path)
  361. that.formData.avatar = path;
  362. })
  363. },
  364. });
  365. },
  366. // 确认出生日期
  367. confirmBirthDate(e) {
  368. const { year, month, day } = e;
  369. this.formData.birthDate = `${year}-${month}-${day}`;
  370. this.showBirthDatePicker = false;
  371. },
  372. // 添加工作经历
  373. addWorkExperience() {
  374. this.workExperiences.push({
  375. position: "职位",
  376. department: "部门",
  377. company: "公司名称",
  378. duration: "就职时间",
  379. content: "请填写简历工作内容",
  380. skills: "请填写面试技能要求",
  381. });
  382. },
  383. goToWorkExperience(id = '') {
  384. // 获取业务类型数据
  385. const businessTypes = this.getBusinessTypes()
  386. uni.navigateTo({
  387. url: `/pages/my/workExperience?id=${id}&businessTypes=${encodeURIComponent(JSON.stringify(businessTypes))}`
  388. })
  389. },
  390. getBusinessTypes() {
  391. // 根据是否有跨境电商经验返回业务类型
  392. if (this.hasEcommerceExperience) {
  393. return ['0']
  394. } else {
  395. return []
  396. }
  397. },
  398. // 删除工作经历
  399. removeWorkExperience(index) {
  400. if (this.workExperiences.length > 1) {
  401. this.workExperiences.splice(index, 1);
  402. } else {
  403. uni.showToast({
  404. title: "至少保留一条工作经历",
  405. icon: "none",
  406. });
  407. }
  408. },
  409. // 提交简历
  410. submitResume() {
  411. var that = this
  412. if (!this.formData.name) {
  413. uni.showToast({ title: "请输入姓名", icon: "none" });
  414. return;
  415. }
  416. if (!this.formData.gender) {
  417. uni.showToast({ title: "请选择性别", icon: "none" });
  418. return;
  419. }
  420. if (!this.formData.birthDate) {
  421. uni.showToast({ title: "请输入出生年月", icon: "none" });
  422. return;
  423. }
  424. let age = this.$queue.calculateAgeFromBirthday(this.formData.birthDate) || 0
  425. let data = {
  426. avatar: this.formData.avatar,
  427. userName: this.formData.name,
  428. age,
  429. sex: this.formData.gender,
  430. phone: this.formData.phone
  431. }
  432. uni.showLoading({ title: "提交中..." });
  433. this.$Request.postJson("/app/user/updateUser", data).then((res) => {
  434. uni.hideLoading();
  435. if (res.code == 0) {
  436. that.setResume()
  437. } else {
  438. uni.showToast({
  439. title: res.msg,
  440. icon: "none",
  441. });
  442. }
  443. });
  444. },
  445. setResume() {
  446. let data = {
  447. birthday: this.formData.birthDate,
  448. resumesStatus: this.formData.jobStatus,
  449. adv: this.formData.advantages,
  450. ifExp: this.formData.ifExp,
  451. }
  452. this.$Request.postJson("/app/userFirst/regist", data).then((res) => {
  453. if (res.code == 0) {
  454. // 实际开发中可以在这里添加跳转逻辑
  455. uni.showToast({ title: "提交成功", icon: "none" });
  456. uni.setStorageSync("firstLogin", true);
  457. // 实际开发中可以在这里添加跳转逻辑
  458. setTimeout(() => {
  459. uni.switchTab({ url: '/pages/index/index' })
  460. }, 1000);
  461. } else {
  462. uni.showToast({
  463. title: res.msg,
  464. icon: "none",
  465. });
  466. }
  467. });
  468. }
  469. },
  470. };
  471. </script>
  472. <style lang="scss" scoped>
  473. .resume-container {
  474. position: absolute;
  475. left: 0;
  476. right: 0;
  477. top: 0;
  478. bottom: 0;
  479. overflow: hidden;
  480. display: flex;
  481. flex-direction: column;
  482. }
  483. .job-title {
  484. display: flex;
  485. justify-content: space-between;
  486. align-items: center;
  487. }
  488. .job-image {
  489. width: 48rpx;
  490. height: 48rpx;
  491. }
  492. .nav-bar {
  493. height: 88rpx;
  494. display: flex;
  495. align-items: center;
  496. justify-content: center;
  497. background: #fff;
  498. }
  499. .nav-title {
  500. font-size: 36rpx;
  501. font-weight: bold;
  502. color: #000;
  503. }
  504. .resume-content {
  505. padding: 32rpx;
  506. box-sizing: border-box;
  507. overflow: hidden;
  508. overflow-y: auto;
  509. }
  510. /* 头像区域 */
  511. .avatar-section {
  512. display: flex;
  513. }
  514. .avatar-upload {
  515. display: flex;
  516. align-items: center;
  517. }
  518. .avatar-preview {
  519. width: 48rpx;
  520. height: 48rpx;
  521. border-radius: 50%;
  522. display: flex;
  523. align-items: center;
  524. justify-content: center;
  525. margin-right: 20rpx;
  526. }
  527. .avatar-image {
  528. width: 100%;
  529. height: 100%;
  530. border-radius: 50%;
  531. }
  532. .upload-view {
  533. color: #016bf6;
  534. font-family: DM Sans;
  535. font-size: 20rpx;
  536. font-weight: 500;
  537. line-height: 48rpx;
  538. }
  539. .form-item {
  540. padding-bottom: 24rpx;
  541. box-sizing: border-box;
  542. .job-txt {
  543. color: #016bf6;
  544. font-family: DM Sans;
  545. font-size: 20rpx;
  546. margin-left: 16rpx;
  547. }
  548. }
  549. .form-item:last-child {
  550. border-bottom: none;
  551. }
  552. .form-label {
  553. color: #1f2c37;
  554. font-family: DM Sans;
  555. font-size: 28rpx;
  556. font-weight: 500;
  557. line-height: 44rpx;
  558. padding-top: 30rpx;
  559. padding-bottom: 27rpx;
  560. box-sizing: border-box;
  561. }
  562. .form-input {
  563. flex: 1;
  564. box-sizing: border-box;
  565. border: 2rpx solid #9ea1a8;
  566. border-radius: 100rpx;
  567. background: rgba(255, 255, 255, 1);
  568. padding: 0rpx 24rpx !important;
  569. }
  570. .form-input-time {
  571. flex: 1;
  572. box-sizing: border-box;
  573. border: 2rpx solid #e3e7ec;
  574. border-radius: 100rpx;
  575. background: rgba(255, 255, 255, 1);
  576. padding: 10rpx 24rpx;
  577. color: rgba(153, 153, 153, 1);
  578. font-family: DM Sans;
  579. font-size: 24rpx;
  580. font-weight: 500;
  581. display: flex;
  582. justify-content: space-between;
  583. align-items: center;
  584. image {
  585. width: 48rpx;
  586. height: 48rpx;
  587. }
  588. }
  589. ::v-deep .input-placeholder {
  590. color: rgba(153, 153, 153, 1) !important;
  591. font-family: DM Sans;
  592. font-size: 24rpx !important;
  593. font-weight: 500;
  594. }
  595. .user-img {
  596. width: 48rpx;
  597. height: 48rpx;
  598. }
  599. .required .form-label::before {
  600. content: "*";
  601. color: #fa3534;
  602. margin-right: 8rpx;
  603. }
  604. /* 性别选择 */
  605. .gender-select {
  606. display: flex;
  607. flex: 1;
  608. gap: 40rpx;
  609. }
  610. .gender-option {
  611. display: flex;
  612. align-items: center;
  613. color: #171725;
  614. font-family: DM Sans;
  615. font-size: 24rpx;
  616. font-weight: 400;
  617. line-height: 48rpx;
  618. text-align: left;
  619. image {
  620. width: 32rpx;
  621. height: 32rpx;
  622. margin-right: 8rpx;
  623. }
  624. }
  625. .phone-view,
  626. .job-status {
  627. flex: 1;
  628. font-size: 32rpx;
  629. color: #333;
  630. }
  631. .section {
  632. box-sizing: border-box;
  633. border: 2rpx solid #016bf6;
  634. border-radius: 24rpx;
  635. background: #fff;
  636. padding: 32rpx;
  637. box-sizing: border-box;
  638. margin-bottom: 30rpx;
  639. }
  640. .section-header {
  641. margin-bottom: 24rpx;
  642. }
  643. /* 经历项目 */
  644. .experience-item {
  645. border-radius: 12rpx;
  646. padding: 24rpx;
  647. box-sizing: border-box;
  648. }
  649. .job-content {
  650. display: flex;
  651. gap: 42rpx;
  652. .job-icon {
  653. width: 96rpx;
  654. height: 96rpx;
  655. border-radius: 16rpx;
  656. background: rgba(246, 246, 246, 1);
  657. display: flex;
  658. justify-content: center;
  659. align-items: center;
  660. flex-shrink: 0;
  661. image {
  662. width: 64rpx;
  663. height: 64rpx;
  664. }
  665. }
  666. .right-content {
  667. width: 100%;
  668. }
  669. .job-content-txt {
  670. margin-bottom: 20rpx;
  671. }
  672. }
  673. .exp-header {
  674. display: flex;
  675. justify-content: space-between;
  676. align-items: center;
  677. margin-bottom: 16rpx;
  678. }
  679. .exp-position {
  680. display: flex;
  681. align-items: center;
  682. }
  683. .position {
  684. color: #171725;
  685. font-family: DM Sans;
  686. font-size: 28rpx;
  687. font-weight: 400;
  688. line-height: 44rpx;
  689. text-align: left;
  690. }
  691. .department {
  692. font-size: 24rpx;
  693. color: #999;
  694. margin-left: 16rpx;
  695. }
  696. .exp-company {
  697. display: flex;
  698. align-items: center;
  699. margin-bottom: 16rpx;
  700. color: #78828a;
  701. font-family: DM Sans;
  702. font-size: 16rpx;
  703. font-weight: 400;
  704. line-height: 40rpx;
  705. text-align: left;
  706. .yuan {
  707. padding: 0 16rpx;
  708. box-sizing: border-box;
  709. font-size: 40rpx;
  710. }
  711. }
  712. .exp-content {
  713. margin-bottom: 12rpx;
  714. }
  715. .exp-content:last-child {
  716. margin-bottom: 0;
  717. }
  718. .content-label {
  719. color: rgba(120, 130, 138, 1);
  720. font-family: DM Sans;
  721. font-size: 16rpx;
  722. font-weight: 400;
  723. line-height: 20rpx;
  724. text-align: left;
  725. margin-bottom: 10rpx;
  726. white-space: pre-wrap;
  727. }
  728. .skill-tags {
  729. display: flex;
  730. flex-wrap: wrap;
  731. gap: 8rpx;
  732. margin-top: 12rpx;
  733. .tag {
  734. background: rgba(153, 153, 153, 0.1);
  735. border-radius: 12rpx;
  736. padding: 6rpx;
  737. color: rgba(102, 102, 102, 1);
  738. font-family: DM Sans;
  739. font-size: 16rpx;
  740. font-weight: 400;
  741. letter-spacing: 0%;
  742. text-align: left;
  743. }
  744. }
  745. .content-view {
  746. font-size: 28rpx;
  747. color: #333;
  748. line-height: 1.5;
  749. }
  750. /* 教育经历 */
  751. .education-item {
  752. background: #f8f9fa;
  753. border-radius: 12rpx;
  754. padding: 24rpx;
  755. margin-bottom: 24rpx;
  756. }
  757. .edu-header {
  758. display: flex;
  759. justify-content: space-between;
  760. align-items: center;
  761. margin-bottom: 16rpx;
  762. }
  763. .edu-school {
  764. font-size: 32rpx;
  765. color: #333;
  766. font-weight: 500;
  767. }
  768. .edu-info {
  769. display: flex;
  770. align-items: center;
  771. margin-bottom: 12rpx;
  772. }
  773. .edu-degree,
  774. .edu-major,
  775. .edu-duration {
  776. font-size: 28rpx;
  777. color: #666;
  778. margin-right: 20rpx;
  779. }
  780. .edu-content {
  781. margin-top: 12rpx;
  782. }
  783. .add-view {
  784. font-size: 28rpx;
  785. margin-left: 12rpx;
  786. }
  787. .advantage-textarea {
  788. color: rgba(120, 130, 138, 1);
  789. font-family: DM Sans;
  790. font-size: 24rpx;
  791. font-weight: 400;
  792. line-height: 32rpx;
  793. padding: 32rpx;
  794. padding-top: 0;
  795. box-sizing: border-box;
  796. }
  797. .footer {
  798. padding-bottom: 40rpx;
  799. }
  800. ::v-deep .u-input {
  801. text-align: left !important;
  802. }
  803. </style>