workRecord.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897
  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. // 1. 先判断系统类型,区分Android/iOS权限
  389. const systemInfo = uni.getSystemInfoSync();
  390. const isAndroid = systemInfo.system.includes('Android');
  391. const permissionType = isAndroid ? 'storage' : 'photos'; // Android=存储,iOS=相册
  392. // 2. 权限检查(复用之前封装的 checkPermission 函数)
  393. const hasPermission = this.$queue.checkPermission(
  394. permissionType,
  395. isAndroid
  396. ? '选择/拍摄照片需要相机/相册权限,用于上传消息沟通图片' // Android 专属提示
  397. : '选择/拍摄照片需要相机/相册权限,用于上传消息沟通图片'
  398. );
  399. if (!hasPermission) {
  400. uni.showToast({ title: '未获取权限,无法选择照片', icon: 'none' });
  401. return;
  402. }
  403. uni.chooseImage({
  404. count: 1,
  405. sizeType: ["compressed"],
  406. sourceType: ["album", "camera"],
  407. success: (res) => {
  408. that.$queue.uploadFile(res.tempFilePaths[0],function(path){
  409. if(path)
  410. that.formData.avatar = path;
  411. })
  412. },
  413. });
  414. },
  415. // 确认出生日期
  416. confirmBirthDate(e) {
  417. const { year, month, day } = e;
  418. this.formData.birthDate = `${year}-${month}-${day}`;
  419. this.showBirthDatePicker = false;
  420. },
  421. // 添加工作经历
  422. addWorkExperience() {
  423. this.workExperiences.push({
  424. position: "职位",
  425. department: "部门",
  426. company: "公司名称",
  427. duration: "就职时间",
  428. content: "请填写简历工作内容",
  429. skills: "请填写面试技能要求",
  430. });
  431. },
  432. // 删除工作经历
  433. removeWorkExperience(index) {
  434. if (this.workExperiences.length > 1) {
  435. this.workExperiences.splice(index, 1);
  436. } else {
  437. uni.showToast({
  438. title: "至少保留一条工作经历",
  439. icon: "none",
  440. });
  441. }
  442. },
  443. // 提交简历
  444. submitResume() {
  445. var that=this
  446. if (!this.formData.name) {
  447. uni.showToast({ title: "请输入姓名", icon: "none" });
  448. return;
  449. }
  450. if (!this.formData.gender) {
  451. uni.showToast({ title: "请选择性别", icon: "none" });
  452. return;
  453. }
  454. if (!this.formData.birthDate) {
  455. uni.showToast({ title: "请输入出生年月", icon: "none" });
  456. return;
  457. }
  458. let age=this.$queue.calculateAgeFromBirthday(this.formData.birthDate)||0
  459. let data={
  460. avatar:this.formData.avatar,
  461. userName:this.formData.name,
  462. age,
  463. sex:this.formData.gender,
  464. phone:this.formData.phone
  465. }
  466. uni.showLoading({ title: "提交中..." });
  467. this.$Request.postJson("/app/user/updateUser", data).then((res) => {
  468. uni.hideLoading();
  469. if (res.code == 0) {
  470. that.setResume()
  471. } else {
  472. uni.showToast({
  473. title: res.msg,
  474. icon: "none",
  475. });
  476. }
  477. });
  478. },
  479. setResume() {
  480. let data={
  481. birthday:this.formData.birthDate,
  482. resumesStatus:this.formData.jobStatus,
  483. adv:this.formData.advantages,
  484. ifExp:this.formData.ifExp,
  485. }
  486. this.$Request.postJson("/app/userFirst/regist", data).then((res) => {
  487. if (res.code == 0) {
  488. // 实际开发中可以在这里添加跳转逻辑
  489. uni.showToast({ title: "提交成功", icon: "none" });
  490. uni.setStorageSync("firstLogin", true);
  491. // 实际开发中可以在这里添加跳转逻辑
  492. setTimeout(() => {
  493. uni.switchTab({ url: '/pages/index/index' })
  494. }, 1000);
  495. } else {
  496. uni.showToast({
  497. title: res.msg,
  498. icon: "none",
  499. });
  500. }
  501. });
  502. }
  503. },
  504. };
  505. </script>
  506. <style lang="scss" scoped>
  507. .resume-container {
  508. position: absolute;
  509. left: 0;
  510. right: 0;
  511. top: 0;
  512. bottom: 0;
  513. overflow: hidden;
  514. display: flex;
  515. flex-direction: column;
  516. }
  517. .job-title {
  518. display: flex;
  519. justify-content: space-between;
  520. align-items: center;
  521. }
  522. .job-image {
  523. width: 48rpx;
  524. height: 48rpx;
  525. }
  526. .nav-bar {
  527. height: 88rpx;
  528. display: flex;
  529. align-items: center;
  530. justify-content: center;
  531. background: #fff;
  532. }
  533. .nav-title {
  534. font-size: 36rpx;
  535. font-weight: bold;
  536. color: #000;
  537. }
  538. .resume-content {
  539. padding: 32rpx;
  540. box-sizing: border-box;
  541. overflow: hidden;
  542. overflow-y: auto;
  543. }
  544. /* 头像区域 */
  545. .avatar-section {
  546. display: flex;
  547. }
  548. .avatar-upload {
  549. display: flex;
  550. align-items: center;
  551. }
  552. .avatar-preview {
  553. width: 48rpx;
  554. height: 48rpx;
  555. border-radius: 50%;
  556. display: flex;
  557. align-items: center;
  558. justify-content: center;
  559. margin-right: 20rpx;
  560. }
  561. .avatar-image {
  562. width: 100%;
  563. height: 100%;
  564. border-radius: 50%;
  565. }
  566. .upload-view {
  567. color: #016bf6;
  568. font-family: DM Sans;
  569. font-size: 20rpx;
  570. font-weight: 500;
  571. line-height: 48rpx;
  572. }
  573. .form-item {
  574. padding-bottom: 24rpx;
  575. box-sizing: border-box;
  576. .job-txt {
  577. color: #016bf6;
  578. font-family: DM Sans;
  579. font-size: 20rpx;
  580. margin-left: 16rpx;
  581. }
  582. }
  583. .form-item:last-child {
  584. border-bottom: none;
  585. }
  586. .form-label {
  587. color: #1f2c37;
  588. font-family: DM Sans;
  589. font-size: 28rpx;
  590. font-weight: 500;
  591. line-height: 44rpx;
  592. padding-top: 30rpx;
  593. padding-bottom: 27rpx;
  594. box-sizing: border-box;
  595. }
  596. .form-input {
  597. flex: 1;
  598. box-sizing: border-box;
  599. border: 2rpx solid #9ea1a8;
  600. border-radius: 100rpx;
  601. background: rgba(255, 255, 255, 1);
  602. padding: 0rpx 24rpx !important;
  603. }
  604. .form-input-time {
  605. flex: 1;
  606. box-sizing: border-box;
  607. border: 2rpx solid #e3e7ec;
  608. border-radius: 100rpx;
  609. background: rgba(255, 255, 255, 1);
  610. padding: 10rpx 24rpx;
  611. color: rgba(153, 153, 153, 1);
  612. font-family: DM Sans;
  613. font-size: 24rpx;
  614. font-weight: 500;
  615. display: flex;
  616. justify-content: space-between;
  617. align-items: center;
  618. image {
  619. width: 48rpx;
  620. height: 48rpx;
  621. }
  622. }
  623. ::v-deep .input-placeholder {
  624. color: rgba(153, 153, 153, 1) !important;
  625. font-family: DM Sans;
  626. font-size: 24rpx !important;
  627. font-weight: 500;
  628. }
  629. .user-img {
  630. width: 48rpx;
  631. height: 48rpx;
  632. }
  633. .required .form-label::before {
  634. content: "*";
  635. color: #fa3534;
  636. margin-right: 8rpx;
  637. }
  638. /* 性别选择 */
  639. .gender-select {
  640. display: flex;
  641. flex: 1;
  642. gap: 40rpx;
  643. }
  644. .gender-option {
  645. display: flex;
  646. align-items: center;
  647. color: #171725;
  648. font-family: DM Sans;
  649. font-size: 24rpx;
  650. font-weight: 400;
  651. line-height: 48rpx;
  652. text-align: left;
  653. image {
  654. width: 32rpx;
  655. height: 32rpx;
  656. margin-right: 8rpx;
  657. }
  658. }
  659. .phone-view,
  660. .job-status {
  661. flex: 1;
  662. font-size: 32rpx;
  663. color: #333;
  664. }
  665. .section {
  666. box-sizing: border-box;
  667. border: 2rpx solid #016bf6;
  668. border-radius: 24rpx;
  669. background: #fff;
  670. padding: 32rpx;
  671. box-sizing: border-box;
  672. margin-bottom: 30rpx;
  673. }
  674. .section-header {
  675. margin-bottom: 24rpx;
  676. }
  677. /* 经历项目 */
  678. .experience-item {
  679. border-radius: 12rpx;
  680. padding: 24rpx;
  681. box-sizing: border-box;
  682. }
  683. .job-content {
  684. display: flex;
  685. gap: 42rpx;
  686. .job-icon {
  687. width: 96rpx;
  688. height: 96rpx;
  689. border-radius: 16rpx;
  690. background: rgba(246, 246, 246, 1);
  691. display: flex;
  692. justify-content: center;
  693. align-items: center;
  694. flex-shrink: 0;
  695. image {
  696. width: 64rpx;
  697. height: 64rpx;
  698. }
  699. }
  700. .right-content{
  701. width: 100%;
  702. }
  703. .job-content-txt {
  704. margin-bottom: 20rpx;
  705. }
  706. }
  707. .exp-header {
  708. display: flex;
  709. justify-content: space-between;
  710. align-items: center;
  711. margin-bottom: 16rpx;
  712. }
  713. .exp-position {
  714. display: flex;
  715. align-items: center;
  716. }
  717. .position {
  718. color: #171725;
  719. font-family: DM Sans;
  720. font-size: 28rpx;
  721. font-weight: 400;
  722. line-height: 44rpx;
  723. text-align: left;
  724. }
  725. .department {
  726. font-size: 24rpx;
  727. color: #999;
  728. margin-left: 16rpx;
  729. }
  730. .exp-company {
  731. display: flex;
  732. align-items: center;
  733. margin-bottom: 16rpx;
  734. color: #78828a;
  735. font-family: DM Sans;
  736. font-size: 16rpx;
  737. font-weight: 400;
  738. line-height: 40rpx;
  739. text-align: left;
  740. .yuan {
  741. padding: 0 16rpx;
  742. box-sizing: border-box;
  743. font-size: 40rpx;
  744. }
  745. }
  746. .exp-content {
  747. margin-bottom: 12rpx;
  748. }
  749. .exp-content:last-child {
  750. margin-bottom: 0;
  751. }
  752. .content-label {
  753. color: rgba(120, 130, 138, 1);
  754. font-family: DM Sans;
  755. font-size: 16rpx;
  756. font-weight: 400;
  757. line-height: 20rpx;
  758. text-align: left;
  759. margin-bottom: 10rpx;
  760. }
  761. .skill-tags {
  762. display: flex;
  763. flex-wrap: wrap;
  764. gap: 8rpx;
  765. margin-top: 12rpx;
  766. .tag {
  767. background: rgba(153, 153, 153, 0.1);
  768. border-radius: 12rpx;
  769. padding: 6rpx;
  770. color: rgba(102, 102, 102, 1);
  771. font-family: DM Sans;
  772. font-size: 16rpx;
  773. font-weight: 400;
  774. letter-spacing: 0%;
  775. text-align: left;
  776. }
  777. }
  778. .content-view {
  779. font-size: 28rpx;
  780. color: #333;
  781. line-height: 1.5;
  782. }
  783. /* 教育经历 */
  784. .education-item {
  785. background: #f8f9fa;
  786. border-radius: 12rpx;
  787. padding: 24rpx;
  788. margin-bottom: 24rpx;
  789. }
  790. .edu-header {
  791. display: flex;
  792. justify-content: space-between;
  793. align-items: center;
  794. margin-bottom: 16rpx;
  795. }
  796. .edu-school {
  797. font-size: 32rpx;
  798. color: #333;
  799. font-weight: 500;
  800. }
  801. .edu-info {
  802. display: flex;
  803. align-items: center;
  804. margin-bottom: 12rpx;
  805. }
  806. .edu-degree,
  807. .edu-major,
  808. .edu-duration {
  809. font-size: 28rpx;
  810. color: #666;
  811. margin-right: 20rpx;
  812. }
  813. .edu-content {
  814. margin-top: 12rpx;
  815. }
  816. .add-view {
  817. font-size: 28rpx;
  818. margin-left: 12rpx;
  819. }
  820. .advantage-textarea {
  821. color: rgba(120, 130, 138, 1);
  822. font-family: DM Sans;
  823. font-size: 24rpx;
  824. font-weight: 400;
  825. line-height: 32rpx;
  826. padding: 32rpx;
  827. padding-top: 0;
  828. box-sizing: border-box;
  829. }
  830. .footer {
  831. padding-bottom: 40rpx;
  832. }
  833. ::v-deep .u-input {
  834. text-align: left !important;
  835. }
  836. </style>