onlineResume.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780
  1. <template>
  2. <view class="online-resume">
  3. <!-- 顶部导航栏 -->
  4. <view class="navbar">
  5. <view class="navbar-content">
  6. <view class="navbar-left" @click="goBack">
  7. <u-icon name="arrow-leftward" size="38" color="#333"></u-icon>
  8. </view>
  9. <view class="navbar-title">在线简历</view>
  10. <view class="navbar-right"></view>
  11. </view>
  12. </view>
  13. <!-- 用户信息区域 -->
  14. <view class="user-profile">
  15. <view class="avatar-container">
  16. <image src="../../static/logo.png" class="user-avatar" mode="aspectFill"></image>
  17. <view class="edit-avatar-icon">
  18. <image src="../../static/images/index/Combined-Shape.svg" style="width: 32rpx;height: 32rpx;" mode=""></image>
  19. </view>
  20. </view>
  21. <view class="user-name">罗维靖</view>
  22. <view class="user-info">8年经验·33岁·硕士·男</view>
  23. <view class="contact-info">
  24. <view class="contact-item">
  25. <image src="../../static/images/index/phone.svg" style="width: 24rpx;height: 24rpx;" mode=""></image>
  26. <text class="contact-text">188******39</text>
  27. </view>
  28. <view class="contact-item">
  29. <image src="../../static/images/index/wx.svg" style="width: 24rpx;height: 24rpx;" mode=""></image>
  30. <text class="contact-text">188******39</text>
  31. </view>
  32. </view>
  33. <view class="availability">
  34. <text class="status-text">离职 & 随时到岗</text>
  35. <view class="status-dot"></view>
  36. </view>
  37. </view>
  38. <!-- 内容区域 -->
  39. <view class="content-section">
  40. <!-- 跨境电商工作经验 -->
  41. <view class="switch-section">
  42. <view class="switch-left">
  43. <view class="flex">
  44. <view class="switch-title">是否有跨境电商工作经验</view>
  45. <view class="template-text">不同简历模版</view>
  46. </view>
  47. <view class="section-status" v-if="hasEcommerceExperience">
  48. 是,有跨境电商工作经验
  49. </view>
  50. </view>
  51. <u-switch v-model="hasEcommerceExperience" active-color="#007AFF" size="60"></u-switch>
  52. </view>
  53. <!-- 个人优势 -->
  54. <view class="section-item">
  55. <view class="section-header">
  56. <view class="section-title">个人优势</view>
  57. <view class="edit-icon">
  58. <image src="../../static/images/index/Combined-Shape.svg" style="width: 48rpx;height: 48rpx;" mode=""></image>
  59. </view>
  60. </view>
  61. <view class="advantage-content">
  62. 这是个人编辑的个人优势区域这是个人编辑的个人优势区域这是个人编辑的个人优势区域这是个人编辑的个人优势区域... 展示三行
  63. </view>
  64. </view>
  65. <!-- 全职期望卡片 -->
  66. <view class="expectation-card">
  67. <view class="card-header">
  68. <view class="header-left">
  69. <image src="../../static/images/index/lingdai.svg" class="header-icon" />
  70. <text class="header-title">全职期望</text>
  71. </view>
  72. <text class="progress-text">2/3</text>
  73. </view>
  74. <view class="job-list">
  75. <view class="job-item">
  76. <view class="job-info">
  77. <view>
  78. <text class="job-title">亚马逊运营总监</text>
  79. <view @click="goToPreferenceSetting('亚马逊运营总监')">
  80. <view class="preference-btn">
  81. <text>设置求职偏好</text>
  82. </view>
  83. <u-icon name="arrow-right" color="rgba(29, 33, 41, 1)" size="28"></u-icon>
  84. </view>
  85. </view>
  86. <text class="job-details">30-40K・不限</text>
  87. <text class="job-location">深圳</text>
  88. </view>
  89. </view>
  90. <view class="job-item">
  91. <view class="job-info">
  92. <view>
  93. <text class="job-title">TikTok运营总监</text>
  94. <view @click="goToPreferenceSetting('TikTok运营总监')">
  95. <view class="preference-btn">
  96. <text>设置求职偏好</text>
  97. </view>
  98. <u-icon name="arrow-right" color="rgba(29, 33, 41, 1)" size="28"></u-icon>
  99. </view>
  100. </view>
  101. <text class="job-details">30-40K・精品铺货</text>
  102. <text class="job-location">深圳</text>
  103. </view>
  104. </view>
  105. </view>
  106. <view class="add-expectation-btn" @click="addExpectation">
  107. <text>添加求职期望</text>
  108. </view>
  109. </view>
  110. <!-- 工作经历 -->
  111. <view class="work-experience-section">
  112. <view class="section-header">
  113. <view class="section-title">
  114. <text class="required-mark">*</text>
  115. <text class="required-title">工作经历</text>
  116. <view class="section-desc">请填写专属跨境行业的工作经验</view>
  117. </view>
  118. <view class="edit-icon">
  119. <image src="../../static/images/index/Combined-Shape.svg" style="width: 48rpx;height: 48rpx;" mode=""></image>
  120. </view>
  121. </view>
  122. <view class="experience-list">
  123. <view class="experience-item">
  124. <view class="company-logo">
  125. <!-- <image src="../../static/images/index/company-logo-1.png" class="logo-img" mode="aspectFit"></image> -->
  126. </view>
  127. <view class="experience-content">
  128. <view class="flex">
  129. <view class="job-title">资深亚马逊运营</view>
  130. <view class="job-department">运营部</view>
  131. </view>
  132. <view class="company-name">深圳市世迪贸易科技有限公司</view>
  133. <view class="work-period">2019.02-至今</view>
  134. <view class="job-description">
  135. 负责Amazon英国、欧洲站、制定推广与销售计划,达成团队要求的销售业绩;做好数据的统计分析工作,收集、分析市场信息,竞争对手状况,并根据产品销售与排名变化,及时制定和调整产品的销售...
  136. </view>
  137. <view class="skill-tags">
  138. <view class="tag">精品铺货</view>
  139. <view class="tag">独立站</view>
  140. <view class="tag">3C数码</view>
  141. <view class="tag">品类运营</view>
  142. </view>
  143. </view>
  144. </view>
  145. <view class="experience-item">
  146. <view class="company-logo">
  147. <!-- <image src="../../static/images/index/company-logo-2.png" class="logo-img" mode="aspectFit"></image> -->
  148. </view>
  149. <view class="experience-content">
  150. <view class="job-title">高级ebay运营</view>
  151. <view class="job-department">运营部</view>
  152. <view class="company-name">深圳市世迪贸易科技有限公司</view>
  153. <view class="work-period">2018.01-2019.01</view>
  154. <view class="job-description">
  155. 负责Amazon英国、欧洲站、制定推广与销售计划,达成团队要求的销售业绩;做好数据的统计分析工作,收集、分析市场信息,竞争对手状况,并根据产品销售与排名变化,及时制定和调整产品的销售....
  156. </view>
  157. <view class="skill-tags">
  158. <view class="tag">精品铺货</view>
  159. <view class="tag">独立站</view>
  160. <view class="tag">3C数码</view>
  161. <view class="tag">品类运营</view>
  162. </view>
  163. </view>
  164. </view>
  165. <view class="experience-item">
  166. <view class="company-logo">
  167. <!-- <image src="../../static/images/index/company-logo-3.png" class="logo-img" mode="aspectFit"></image> -->
  168. </view>
  169. <view class="experience-content">
  170. <view class="job-title">高级产品开发经理</view>
  171. <view class="job-department">产品开发部</view>
  172. <view class="company-name">深圳虾皮科技有限公司</view>
  173. <view class="work-period">2023.04 -至今</view>
  174. <view class="job-description">
  175. 这是简历填写的内容这是简历填写的内容这是简历填写的内容这是简历填写的内容这是简历填写的内容这是简历填写的内容这是简历填写的内容这是简历填写的内容这是简历填写的内容这是简历填写的内容这是简历填写的内容这是简历填写的内容这是简历填写的内容...
  176. </view>
  177. <view class="skill-tags">
  178. <view class="tag">技能标签</view>
  179. <view class="tag">技能标签</view>
  180. <view class="tag">技能标签</view>
  181. <view class="tag">技能标签</view>
  182. <view class="tag">技能标签</view>
  183. <view class="tag">技能标签</view>
  184. </view>
  185. </view>
  186. </view>
  187. </view>
  188. </view>
  189. </view>
  190. </view>
  191. </template>
  192. <script>
  193. export default {
  194. data() {
  195. return {
  196. hasEcommerceExperience: true
  197. }
  198. },
  199. methods: {
  200. goBack() {
  201. uni.navigateBack();
  202. },
  203. addExpectation() {
  204. uni.navigateTo({
  205. url: '/package/jobIntention/addExpectation'
  206. })
  207. },
  208. goToPreferenceSetting(jobTitle) {
  209. uni.navigateTo({
  210. url: `/package/jobIntention/preferenceSetting?jobTitle=${encodeURIComponent(jobTitle)}`
  211. })
  212. }
  213. },
  214. mounted() {
  215. // 监听偏好设置更新
  216. uni.$on('preferenceUpdated', (data) => {
  217. console.log('偏好设置已更新:', data)
  218. // 这里可以更新对应的职位偏好显示
  219. uni.showToast({
  220. title: `${data.jobTitle}偏好已更新`,
  221. icon: 'success'
  222. })
  223. })
  224. },
  225. beforeDestroy() {
  226. // 移除事件监听
  227. uni.$off('preferenceUpdated')
  228. }
  229. }
  230. </script>
  231. <style lang="scss" scoped>
  232. .online-resume {
  233. // background-color: #F2F6FC;
  234. min-height: 100vh;
  235. }
  236. // 顶部导航栏
  237. .navbar {
  238. background: #fff;
  239. padding: 80rpx 0 40rpx 0;
  240. .navbar-content {
  241. display: flex;
  242. align-items: center;
  243. justify-content: space-between;
  244. padding: 0 30rpx;
  245. height: 60rpx;
  246. .navbar-left {
  247. width: 60rpx;
  248. height: 60rpx;
  249. display: flex;
  250. align-items: center;
  251. justify-content: center;
  252. }
  253. .navbar-title {
  254. color: rgba(23, 23, 37, 1);
  255. font-family: DM Sans;
  256. font-size: 20px;
  257. font-weight: 700;
  258. line-height: 26px;
  259. letter-spacing: 0%;
  260. text-align: center;
  261. }
  262. .navbar-right {
  263. width: 60rpx;
  264. height: 60rpx;
  265. }
  266. }
  267. }
  268. // 用户信息区域
  269. .user-profile {
  270. background: #fff;
  271. padding: 60rpx 30rpx 40rpx;
  272. text-align: center;
  273. border-bottom: 2px solid rgba(227, 231, 236, 1);
  274. .avatar-container {
  275. position: relative;
  276. display: inline-block;
  277. margin-bottom: 30rpx;
  278. .user-avatar {
  279. width: 180rpx;
  280. height: 180rpx;
  281. border-radius: 50%;
  282. }
  283. .edit-avatar-icon {
  284. position: absolute;
  285. bottom: 10rpx;
  286. right: 10rpx;
  287. width: 48rpx;
  288. height: 48rpx;
  289. background: #fff;
  290. border-radius: 50%;
  291. display: flex;
  292. align-items: center;
  293. justify-content: center;
  294. box-shadow: 0 2rpx 8rpx rgba(0,0,0,0.1);
  295. }
  296. }
  297. .user-name {
  298. color: rgba(21, 21, 23, 1);
  299. font-family: DM Sans;
  300. font-size: 24px;
  301. font-weight: 700;
  302. line-height: 26px;
  303. letter-spacing: 0%;
  304. text-align: center;
  305. }
  306. .user-info {
  307. color: rgba(102, 112, 122, 1);
  308. font-family: DM Sans;
  309. font-size: 16px;
  310. line-height: 16rpx;
  311. font-weight: 400;
  312. letter-spacing: 0%;
  313. text-align: center;
  314. margin: 30rpx auto;
  315. }
  316. .contact-info {
  317. display: flex;
  318. justify-content: center;
  319. gap: 40rpx;
  320. margin-bottom: 30rpx;
  321. .contact-item {
  322. display: flex;
  323. align-items: center;
  324. gap: 10rpx;
  325. .contact-text {
  326. color: rgba(116, 116, 116, 1);
  327. font-family: DM Sans;
  328. font-size: 12px;
  329. font-weight: 400;
  330. line-height: 10px;
  331. letter-spacing: 0%;
  332. text-align: center;
  333. }
  334. }
  335. }
  336. .availability {
  337. display: flex;
  338. align-items: center;
  339. justify-content: center;
  340. gap: 10rpx;
  341. .status-text {
  342. color: rgba(156, 164, 171, 1);
  343. font-family: DM Sans;
  344. font-size: 14px;
  345. font-weight: 400;
  346. line-height: 16px;
  347. letter-spacing: 0%;
  348. text-align: left;
  349. }
  350. .status-dot {
  351. width: 18rpx;
  352. height: 18rpx;
  353. background: rgba(0, 204, 154, 1);
  354. border-radius: 50%;
  355. }
  356. }
  357. }
  358. // 内容区域
  359. .content-section {
  360. // background: #F2F6FC;
  361. padding: 30rpx;
  362. // 开关部分样式
  363. .switch-section {
  364. display: flex;
  365. align-items: center;
  366. justify-content: space-between;
  367. background: #fff;
  368. border-radius: 12rpx;
  369. padding: 24rpx;
  370. margin-bottom: 16rpx;
  371. .switch-left {
  372. flex: 1;
  373. .switch-title {
  374. color: rgba(23, 23, 37, 1);
  375. font-family: Inter;
  376. font-size: 18px;
  377. font-weight: 500;
  378. line-height: 20px;
  379. letter-spacing: 0%;
  380. text-align: left;
  381. margin-bottom: 12rpx;
  382. margin-right: 40rpx;
  383. }
  384. .template-text {
  385. color: rgba(120, 130, 138, 1);
  386. font-family: DM Sans;
  387. font-size: 12px;
  388. font-weight: 400;
  389. line-height: 16px;
  390. letter-spacing: 0%;
  391. text-align: left;
  392. margin-bottom: 8rpx;
  393. }
  394. .section-status {
  395. font-size: 16px;
  396. color: #007AFF;
  397. font-weight: 500;
  398. }
  399. }
  400. }
  401. .section-item {
  402. background: #fff;
  403. border-radius: 16rpx;
  404. padding: 30rpx;
  405. margin-bottom: 20rpx;
  406. box-sizing: border-box;
  407. border: 1px solid rgba(227, 231, 236, 1);
  408. border-radius: 12px;
  409. .section-header {
  410. display: flex;
  411. align-items: center;
  412. justify-content: space-between;
  413. margin-bottom: 20rpx;
  414. .section-title {
  415. color: rgba(23, 23, 37, 1);
  416. font-family: Inter;
  417. font-size: 20px;
  418. font-weight: 600;
  419. line-height: 24px;
  420. letter-spacing: 0%;
  421. text-align: left;
  422. }
  423. .template-text {
  424. color: rgba(120, 130, 138, 1);
  425. font-family: DM Sans;
  426. font-size: 12px;
  427. font-weight: 400;
  428. line-height: 16px;
  429. letter-spacing: 0%;
  430. text-align: left;
  431. }
  432. .edit-icon {
  433. width: 40rpx;
  434. height: 40rpx;
  435. display: flex;
  436. align-items: center;
  437. justify-content: center;
  438. }
  439. }
  440. .section-status {
  441. font-size: 28rpx;
  442. color: #007AFF;
  443. font-weight: 500;
  444. }
  445. .advantage-content {
  446. font-size: 14px;
  447. color: #666;
  448. line-height: 1.6;
  449. }
  450. }
  451. // 全职期望卡片样式
  452. .expectation-card {
  453. background: #ffffff;
  454. border-radius: 12rpx;
  455. padding: 30rpx;
  456. margin-bottom: 20rpx;
  457. box-sizing: border-box;
  458. border: 0.5px solid rgba(227, 231, 236, 1);
  459. border-radius: 6px;
  460. background: rgba(253, 253, 253, 1);
  461. .card-header {
  462. display: flex;
  463. justify-content: space-between;
  464. align-items: center;
  465. .header-left {
  466. display: flex;
  467. align-items: center;
  468. .header-icon {
  469. width: 40rpx;
  470. height: 40rpx;
  471. margin-right: 20rpx;
  472. }
  473. .header-title {
  474. color: rgba(29, 33, 41, 1);
  475. font-family: DM Sans;
  476. font-size: 28rpx;
  477. font-weight: 500;
  478. line-height: 16px;
  479. letter-spacing: 0%;
  480. text-align: left;
  481. }
  482. }
  483. .progress-text {
  484. font-family: DM Sans;
  485. font-size: 24rpx;
  486. font-weight: 700;
  487. line-height: 13px;
  488. letter-spacing: 0%;
  489. text-align: right;
  490. }
  491. }
  492. .job-list {
  493. margin-bottom: 10rpx;
  494. .job-item {
  495. display: flex;
  496. justify-content: space-between;
  497. align-items: center;
  498. padding: 20rpx 0;
  499. &:last-child {
  500. border-bottom: none;
  501. }
  502. .job-info {
  503. flex: 1;
  504. > view:first-child {
  505. display: flex;
  506. justify-content: space-between;
  507. align-items: center;
  508. margin-bottom: 4rpx;
  509. }
  510. .job-title {
  511. color: rgba(29, 33, 41, 1);
  512. font-family: DM Sans;
  513. font-size: 28rpx;
  514. font-weight: 500;
  515. line-height: 16px;
  516. letter-spacing: 0%;
  517. text-align: left;
  518. }
  519. .job-details {
  520. display: block;
  521. font-size: 24rpx;
  522. color: rgba(153, 153, 153, 1);
  523. margin-bottom: 4rpx;
  524. }
  525. .job-location {
  526. font-size: 24rpx;
  527. color: rgba(153, 153, 153, 1);
  528. }
  529. }
  530. .preference-btn {
  531. display: flex;
  532. align-items: center;
  533. padding: 8rpx;
  534. border: 0.5rpx solid #007AFF;
  535. border-radius: 12rpx;
  536. margin-right: 10rpx;
  537. text {
  538. font-size: 18rpx;
  539. color: #007AFF;
  540. }
  541. }
  542. .job-info > view:first-child > view:last-child {
  543. display: flex;
  544. align-items: center;
  545. }
  546. }
  547. }
  548. .add-expectation-btn {
  549. width: 100%;
  550. height: 70rpx;
  551. border: 1rpx solid #007AFF;
  552. border-radius: 42rpx;
  553. display: flex;
  554. align-items: center;
  555. justify-content: center;
  556. text {
  557. font-size: 28rpx;
  558. color: #007AFF;
  559. font-weight: 500;
  560. }
  561. }
  562. }
  563. // 工作经历部分样式
  564. .work-experience-section {
  565. background: #fff;
  566. border-radius: 12px;
  567. padding: 30rpx;
  568. margin-bottom: 20rpx;
  569. box-sizing: border-box;
  570. border: 1px solid rgba(1, 107, 246, 1);
  571. .section-header {
  572. display: flex;
  573. align-items: center;
  574. justify-content: space-between;
  575. margin-bottom: 30rpx;
  576. .section-title {
  577. display: flex;
  578. align-items: center;
  579. .required-mark {
  580. color: #FF3B30;
  581. font-size: 18px;
  582. font-weight: 600;
  583. margin-right: 8rpx;
  584. }
  585. .required-title {
  586. font-family: DM Sans;
  587. font-size: 20px;
  588. font-weight: 700;
  589. line-height: 26px;
  590. letter-spacing: 0%;
  591. text-align: left;
  592. margin-right: 12rpx;
  593. }
  594. text {
  595. color: rgba(23, 23, 37, 1);
  596. font-family: Inter;
  597. font-size: 20px;
  598. font-weight: 600;
  599. line-height: 24px;
  600. }
  601. }
  602. .section-desc {
  603. color: rgba(1, 107, 246, 1);
  604. font-family: DM Sans;
  605. font-size: 13px;
  606. font-weight: 400;
  607. line-height: 22px;
  608. letter-spacing: 0%;
  609. text-align: left;
  610. }
  611. }
  612. .experience-list {
  613. .experience-item {
  614. display: flex;
  615. padding: 24rpx 0;
  616. border-bottom: 1rpx solid #F0F0F0;
  617. &:last-child {
  618. border-bottom: none;
  619. }
  620. .company-logo {
  621. width: 90rpx;
  622. height: 90rpx;
  623. margin-right: 24rpx;
  624. flex-shrink: 0;
  625. border-radius: 8px;
  626. background: rgba(246, 246, 246, 1);
  627. .logo-img {
  628. width: 100%;
  629. height: 100%;
  630. border-radius: 8rpx;
  631. }
  632. }
  633. .experience-content {
  634. flex: 1;
  635. .job-title {
  636. color: rgba(23, 23, 37, 1);
  637. font-family: Inter;
  638. font-size: 16px;
  639. font-weight: 600;
  640. line-height: 20px;
  641. margin-bottom: 4rpx;
  642. }
  643. .job-department {
  644. color: rgba(120, 130, 138, 1);
  645. font-family: DM Sans;
  646. font-size: 12px;
  647. font-weight: 400;
  648. line-height: 16px;
  649. margin-bottom: 4rpx;
  650. }
  651. .company-name {
  652. color: rgba(23, 23, 37, 1);
  653. font-family: DM Sans;
  654. font-size: 14px;
  655. font-weight: 500;
  656. line-height: 18px;
  657. margin-bottom: 4rpx;
  658. }
  659. .work-period {
  660. color: rgba(120, 130, 138, 1);
  661. font-family: DM Sans;
  662. font-size: 12px;
  663. font-weight: 400;
  664. line-height: 16px;
  665. margin-bottom: 12rpx;
  666. }
  667. .job-description {
  668. color: rgba(120, 130, 138, 1);
  669. font-family: DM Sans;
  670. font-size: 12px;
  671. font-weight: 400;
  672. line-height: 18px;
  673. margin-bottom: 16rpx;
  674. }
  675. .skill-tags {
  676. display: flex;
  677. flex-wrap: wrap;
  678. gap: 8rpx;
  679. .tag {
  680. background: rgba(248, 249, 250, 1);
  681. border: 1rpx solid rgba(227, 231, 236, 1);
  682. border-radius: 4rpx;
  683. padding: 4rpx 8rpx;
  684. text {
  685. color: rgba(120, 130, 138, 1);
  686. font-family: DM Sans;
  687. font-size: 10px;
  688. font-weight: 400;
  689. line-height: 12px;
  690. }
  691. }
  692. }
  693. }
  694. }
  695. }
  696. }
  697. }
  698. </style>