workRecord.vue 20 KB

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