workRecord.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880
  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. showStatus: false,
  239. formData: {
  240. avatar: "",
  241. name: "",
  242. gender: 1,
  243. jobStatus: 0,
  244. phone: '',
  245. birthDate: "",
  246. advantages: "",
  247. ifExp: 0
  248. },
  249. workExperiences: [
  250. {
  251. companyName: "公司名称",
  252. workExpDetails: [{
  253. department: "部门",
  254. position: "职位名称",
  255. startTime: "就职时间",
  256. endTime: "离职时间",
  257. workContent: "请填写简历工作内容",
  258. skills: ["请填写面试技能要求"],
  259. }
  260. ]
  261. },
  262. ],
  263. hasEcommerceExperience: false,
  264. eduList: [{
  265. school: "学校时间",
  266. profession: "专业",
  267. startTime: "2012-09-1",
  268. endTime: "2016-6-10",
  269. detail: "请填写您的教育经历",
  270. degree: "学历",
  271. }
  272. ]
  273. };
  274. },
  275. components: {
  276. navBar,
  277. },
  278. onLoad() {
  279. this.getData()
  280. var that = this
  281. uni.$on('updateResume', () => {
  282. that.getData()
  283. })
  284. },
  285. methods: {
  286. getData() {
  287. var that = this
  288. this.$Request.getT("/app/userFirst/getUserResumes", {}).then((res) => {
  289. if (res.code == 0) {
  290. that.hasEcommerceExperience = res.data.resumeList && res.data.resumeList.ifExp ? true :
  291. false
  292. res.data.workExps.forEach(function (item) {
  293. item.type = JSON.parse(item.type)
  294. item.workExpDetails = []
  295. res.data.workExpList.forEach(function (it) {
  296. it.skills = JSON.parse(it.skills)
  297. it.startTime = it.startTime.slice(0, 7);
  298. if (that.$queue.isCurrentMonth(new Date(it.endTime)))
  299. it.endTime = '至今'
  300. else
  301. it.endTime = it.endTime.slice(0, 7);
  302. if (it.workExpId == item.workExpId)
  303. item.workExpDetails.push(it)
  304. })
  305. })
  306. if (res.data.workExps.length > 0)
  307. that.workExperiences = res.data.workExps
  308. if (res.data.eduList.length > 0)
  309. that.eduList = res.data.eduList
  310. that.formData.ifExp = res.data.resumeList.ifExp
  311. } else {
  312. uni.showToast({
  313. title: res.msg,
  314. icon: "none",
  315. });
  316. }
  317. });
  318. },
  319. showJobStatus() {
  320. this.showStatus = true;
  321. },
  322. pickerShow() {
  323. this.showBirthDatePicker = true;
  324. },
  325. confirmStatus(e) {
  326. this.showStatus = false;
  327. this.formData.jobStatus = e
  328. },
  329. goWorkProgress() {
  330. uni.navigateTo({ url: '/pages/my/workExperience' })
  331. },
  332. goEducationalBackground(id = '') {
  333. uni.navigateTo({
  334. url: `/pages/my/educationExperience?id=${id}`
  335. })
  336. },
  337. // 选择头像
  338. async chooseAvatar() {
  339. var that = this
  340. // 1. 检查权限状态
  341. const hasPermission = await this.$queue.checkPermission(
  342. 'camera',
  343. '选择/拍摄照片需要相机/相册权限,用于上传用户头像',
  344. this
  345. );
  346. // 2. 如果未授权或者用户拒绝,显示提示
  347. if (!hasPermission) {
  348. return;
  349. }
  350. uni.chooseImage({
  351. count: 1,
  352. sizeType: ["compressed"],
  353. sourceType: ["album", "camera"],
  354. success: (res) => {
  355. that.$queue.uploadFile(res.tempFilePaths[0], function (path) {
  356. if (path)
  357. that.formData.avatar = path;
  358. })
  359. },
  360. });
  361. },
  362. // 确认出生日期
  363. confirmBirthDate(e) {
  364. const { year, month, day } = e;
  365. this.formData.birthDate = `${year}-${month}-${day}`;
  366. this.showBirthDatePicker = false;
  367. },
  368. // 添加工作经历
  369. addWorkExperience() {
  370. this.workExperiences.push({
  371. position: "职位",
  372. department: "部门",
  373. company: "公司名称",
  374. duration: "就职时间",
  375. content: "请填写简历工作内容",
  376. skills: "请填写面试技能要求",
  377. });
  378. },
  379. goToWorkExperience(id = '') {
  380. // 获取业务类型数据
  381. const businessTypes = this.getBusinessTypes()
  382. uni.navigateTo({
  383. url: `/pages/my/workExperience?id=${id}&businessTypes=${encodeURIComponent(JSON.stringify(businessTypes))}`
  384. })
  385. },
  386. getBusinessTypes() {
  387. // 根据是否有跨境电商经验返回业务类型
  388. if (this.hasEcommerceExperience) {
  389. return ['0']
  390. } else {
  391. return []
  392. }
  393. },
  394. // 删除工作经历
  395. removeWorkExperience(index) {
  396. if (this.workExperiences.length > 1) {
  397. this.workExperiences.splice(index, 1);
  398. } else {
  399. uni.showToast({
  400. title: "至少保留一条工作经历",
  401. icon: "none",
  402. });
  403. }
  404. },
  405. // 提交简历
  406. submitResume() {
  407. var that = this
  408. if (!this.formData.name) {
  409. uni.showToast({ title: "请输入姓名", icon: "none" });
  410. return;
  411. }
  412. if (!this.formData.gender) {
  413. uni.showToast({ title: "请选择性别", icon: "none" });
  414. return;
  415. }
  416. if (!this.formData.birthDate) {
  417. uni.showToast({ title: "请输入出生年月", icon: "none" });
  418. return;
  419. }
  420. let age = this.$queue.calculateAgeFromBirthday(this.formData.birthDate) || 0
  421. let data = {
  422. avatar: this.formData.avatar,
  423. userName: this.formData.name,
  424. age,
  425. sex: this.formData.gender,
  426. phone: this.formData.phone
  427. }
  428. uni.showLoading({ title: "提交中..." });
  429. this.$Request.postJson("/app/user/updateUser", data).then((res) => {
  430. uni.hideLoading();
  431. if (res.code == 0) {
  432. that.setResume()
  433. } else {
  434. uni.showToast({
  435. title: res.msg,
  436. icon: "none",
  437. });
  438. }
  439. });
  440. },
  441. setResume() {
  442. let data = {
  443. birthday: this.formData.birthDate,
  444. resumesStatus: this.formData.jobStatus,
  445. adv: this.formData.advantages,
  446. ifExp: this.formData.ifExp,
  447. }
  448. this.$Request.postJson("/app/userFirst/regist", data).then((res) => {
  449. if (res.code == 0) {
  450. // 实际开发中可以在这里添加跳转逻辑
  451. uni.showToast({ title: "提交成功", icon: "none" });
  452. uni.setStorageSync("firstLogin", true);
  453. // 实际开发中可以在这里添加跳转逻辑
  454. setTimeout(() => {
  455. uni.switchTab({ url: '/pages/index/index' })
  456. }, 1000);
  457. } else {
  458. uni.showToast({
  459. title: res.msg,
  460. icon: "none",
  461. });
  462. }
  463. });
  464. }
  465. },
  466. };
  467. </script>
  468. <style lang="scss" scoped>
  469. .resume-container {
  470. position: absolute;
  471. left: 0;
  472. right: 0;
  473. top: 0;
  474. bottom: 0;
  475. overflow: hidden;
  476. display: flex;
  477. flex-direction: column;
  478. }
  479. .job-title {
  480. display: flex;
  481. justify-content: space-between;
  482. align-items: center;
  483. }
  484. .job-image {
  485. width: 48rpx;
  486. height: 48rpx;
  487. }
  488. .nav-bar {
  489. height: 88rpx;
  490. display: flex;
  491. align-items: center;
  492. justify-content: center;
  493. background: #fff;
  494. }
  495. .nav-title {
  496. font-size: 36rpx;
  497. font-weight: bold;
  498. color: #000;
  499. }
  500. .resume-content {
  501. padding: 32rpx;
  502. box-sizing: border-box;
  503. overflow: hidden;
  504. overflow-y: auto;
  505. }
  506. /* 头像区域 */
  507. .avatar-section {
  508. display: flex;
  509. }
  510. .avatar-upload {
  511. display: flex;
  512. align-items: center;
  513. }
  514. .avatar-preview {
  515. width: 48rpx;
  516. height: 48rpx;
  517. border-radius: 50%;
  518. display: flex;
  519. align-items: center;
  520. justify-content: center;
  521. margin-right: 20rpx;
  522. }
  523. .avatar-image {
  524. width: 100%;
  525. height: 100%;
  526. border-radius: 50%;
  527. }
  528. .upload-view {
  529. color: #016bf6;
  530. font-family: DM Sans;
  531. font-size: 20rpx;
  532. font-weight: 500;
  533. line-height: 48rpx;
  534. }
  535. .form-item {
  536. padding-bottom: 24rpx;
  537. box-sizing: border-box;
  538. .job-txt {
  539. color: #016bf6;
  540. font-family: DM Sans;
  541. font-size: 20rpx;
  542. margin-left: 16rpx;
  543. }
  544. }
  545. .form-item:last-child {
  546. border-bottom: none;
  547. }
  548. .form-label {
  549. color: #1f2c37;
  550. font-family: DM Sans;
  551. font-size: 28rpx;
  552. font-weight: 500;
  553. line-height: 44rpx;
  554. padding-top: 30rpx;
  555. padding-bottom: 27rpx;
  556. box-sizing: border-box;
  557. }
  558. .form-input {
  559. flex: 1;
  560. box-sizing: border-box;
  561. border: 2rpx solid #9ea1a8;
  562. border-radius: 100rpx;
  563. background: rgba(255, 255, 255, 1);
  564. padding: 0rpx 24rpx !important;
  565. }
  566. .form-input-time {
  567. flex: 1;
  568. box-sizing: border-box;
  569. border: 2rpx solid #e3e7ec;
  570. border-radius: 100rpx;
  571. background: rgba(255, 255, 255, 1);
  572. padding: 10rpx 24rpx;
  573. color: rgba(153, 153, 153, 1);
  574. font-family: DM Sans;
  575. font-size: 24rpx;
  576. font-weight: 500;
  577. display: flex;
  578. justify-content: space-between;
  579. align-items: center;
  580. image {
  581. width: 48rpx;
  582. height: 48rpx;
  583. }
  584. }
  585. ::v-deep .input-placeholder {
  586. color: rgba(153, 153, 153, 1) !important;
  587. font-family: DM Sans;
  588. font-size: 24rpx !important;
  589. font-weight: 500;
  590. }
  591. .user-img {
  592. width: 48rpx;
  593. height: 48rpx;
  594. }
  595. .required .form-label::before {
  596. content: "*";
  597. color: #fa3534;
  598. margin-right: 8rpx;
  599. }
  600. /* 性别选择 */
  601. .gender-select {
  602. display: flex;
  603. flex: 1;
  604. gap: 40rpx;
  605. }
  606. .gender-option {
  607. display: flex;
  608. align-items: center;
  609. color: #171725;
  610. font-family: DM Sans;
  611. font-size: 24rpx;
  612. font-weight: 400;
  613. line-height: 48rpx;
  614. text-align: left;
  615. image {
  616. width: 32rpx;
  617. height: 32rpx;
  618. margin-right: 8rpx;
  619. }
  620. }
  621. .phone-view,
  622. .job-status {
  623. flex: 1;
  624. font-size: 32rpx;
  625. color: #333;
  626. }
  627. .section {
  628. box-sizing: border-box;
  629. border: 2rpx solid #016bf6;
  630. border-radius: 24rpx;
  631. background: #fff;
  632. padding: 32rpx;
  633. box-sizing: border-box;
  634. margin-bottom: 30rpx;
  635. }
  636. .section-header {
  637. margin-bottom: 24rpx;
  638. }
  639. /* 经历项目 */
  640. .experience-item {
  641. border-radius: 12rpx;
  642. padding: 24rpx;
  643. box-sizing: border-box;
  644. }
  645. .job-content {
  646. display: flex;
  647. gap: 42rpx;
  648. .job-icon {
  649. width: 96rpx;
  650. height: 96rpx;
  651. border-radius: 16rpx;
  652. background: rgba(246, 246, 246, 1);
  653. display: flex;
  654. justify-content: center;
  655. align-items: center;
  656. flex-shrink: 0;
  657. image {
  658. width: 64rpx;
  659. height: 64rpx;
  660. }
  661. }
  662. .right-content {
  663. width: 100%;
  664. }
  665. .job-content-txt {
  666. margin-bottom: 20rpx;
  667. }
  668. }
  669. .exp-header {
  670. display: flex;
  671. justify-content: space-between;
  672. align-items: center;
  673. margin-bottom: 16rpx;
  674. }
  675. .exp-position {
  676. display: flex;
  677. align-items: center;
  678. }
  679. .position {
  680. color: #171725;
  681. font-family: DM Sans;
  682. font-size: 28rpx;
  683. font-weight: 400;
  684. line-height: 44rpx;
  685. text-align: left;
  686. }
  687. .department {
  688. font-size: 24rpx;
  689. color: #999;
  690. margin-left: 16rpx;
  691. }
  692. .exp-company {
  693. display: flex;
  694. align-items: center;
  695. margin-bottom: 16rpx;
  696. color: #78828a;
  697. font-family: DM Sans;
  698. font-size: 16rpx;
  699. font-weight: 400;
  700. line-height: 40rpx;
  701. text-align: left;
  702. .yuan {
  703. padding: 0 16rpx;
  704. box-sizing: border-box;
  705. font-size: 40rpx;
  706. }
  707. }
  708. .exp-content {
  709. margin-bottom: 12rpx;
  710. }
  711. .exp-content:last-child {
  712. margin-bottom: 0;
  713. }
  714. .content-label {
  715. color: rgba(120, 130, 138, 1);
  716. font-family: DM Sans;
  717. font-size: 16rpx;
  718. font-weight: 400;
  719. line-height: 20rpx;
  720. text-align: left;
  721. margin-bottom: 10rpx;
  722. white-space: pre-wrap;
  723. }
  724. .skill-tags {
  725. display: flex;
  726. flex-wrap: wrap;
  727. gap: 8rpx;
  728. margin-top: 12rpx;
  729. .tag {
  730. background: rgba(153, 153, 153, 0.1);
  731. border-radius: 12rpx;
  732. padding: 6rpx;
  733. color: rgba(102, 102, 102, 1);
  734. font-family: DM Sans;
  735. font-size: 16rpx;
  736. font-weight: 400;
  737. letter-spacing: 0%;
  738. text-align: left;
  739. }
  740. }
  741. .content-view {
  742. font-size: 28rpx;
  743. color: #333;
  744. line-height: 1.5;
  745. }
  746. /* 教育经历 */
  747. .education-item {
  748. background: #f8f9fa;
  749. border-radius: 12rpx;
  750. padding: 24rpx;
  751. margin-bottom: 24rpx;
  752. }
  753. .edu-header {
  754. display: flex;
  755. justify-content: space-between;
  756. align-items: center;
  757. margin-bottom: 16rpx;
  758. }
  759. .edu-school {
  760. font-size: 32rpx;
  761. color: #333;
  762. font-weight: 500;
  763. }
  764. .edu-info {
  765. display: flex;
  766. align-items: center;
  767. margin-bottom: 12rpx;
  768. }
  769. .edu-degree,
  770. .edu-major,
  771. .edu-duration {
  772. font-size: 28rpx;
  773. color: #666;
  774. margin-right: 20rpx;
  775. }
  776. .edu-content {
  777. margin-top: 12rpx;
  778. }
  779. .add-view {
  780. font-size: 28rpx;
  781. margin-left: 12rpx;
  782. }
  783. .advantage-textarea {
  784. color: rgba(120, 130, 138, 1);
  785. font-family: DM Sans;
  786. font-size: 24rpx;
  787. font-weight: 400;
  788. line-height: 32rpx;
  789. padding: 32rpx;
  790. padding-top: 0;
  791. box-sizing: border-box;
  792. }
  793. .footer {
  794. padding-bottom: 40rpx;
  795. }
  796. ::v-deep .u-input {
  797. text-align: left !important;
  798. }
  799. </style>