workRecord.vue 21 KB

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