onlineResume.vue 36 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452
  1. <template>
  2. <view class="online-resume" :class="{ pb : scene == 1 }">
  3. <navBar title="完善在线简历" />
  4. <view class="page-content">
  5. <!-- 用户信息区域 -->
  6. <view class="user-profile">
  7. <view class="avatar-container" @click="goToBasicInfo">
  8. <image
  9. :src="detail.userEntity && detail.userEntity.avatar ? detail.userEntity.avatar : '../../static/images/logo.jpg'"
  10. class="user-avatar" mode="aspectFill"></image>
  11. </view>
  12. <view class="user-name">{{ detail.userEntity && detail.userEntity.userName || '匿名' }}</view>
  13. <view class="user-info">
  14. <text v-if="detail.workExpTimes">{{ detail.workExpTimes }}经验</text>
  15. <text v-if="detail.userEntity && detail.userEntity.age">· {{ detail.userEntity.age }}岁</text>
  16. <text v-if="detail.degree">· {{ detail.degree }}</text>
  17. <text v-if="detail.userEntity && detail.userEntity.sex">· {{ detail.userEntity && detail.userEntity.sex == 1 ? '男' : '女' }}</text>
  18. </view>
  19. <view class="contact-info">
  20. <view class="contact-item">
  21. <image src="../../static/images/index/phone.svg" style="width: 24rpx;height: 24rpx;" mode="">
  22. </image>
  23. <text class="contact-text">{{ detail.resumesPhone }}</text>
  24. </view>
  25. <view class="contact-item">
  26. <image src="../../static/images/index/wx.svg" style="width: 24rpx;height: 24rpx;" mode="">
  27. </image>
  28. <text class="contact-text">{{ detail.userEntity && detail.userEntity.weChatNum }}</text>
  29. </view>
  30. </view>
  31. </view>
  32. <!-- 内容区域 -->
  33. <view class="content-section">
  34. <!-- 个人信息 -->
  35. <view class="common-section section-item">
  36. <view class="section-header">
  37. <view class="section-title">个人信息</view>
  38. <!-- 右侧编辑按钮 -->
  39. <view @click="toUserInfo">
  40. <image class="edit-icon"
  41. src="../../static/images/index/Combined-Shape.svg"
  42. style="width: 48rpx; height: 48rpx;"
  43. mode=""
  44. />
  45. </view>
  46. </view>
  47. <view class="section-content">
  48. <view class="availability">
  49. <text class="status-text">{{ detail.resumeList && detail.resumeList.resumesStatus ? statusList[detail.resumeList.resumesStatus].text : statusList[0].text }}</text>
  50. </view>
  51. <view class="content">
  52. <view class="title">我的优势</view>
  53. <view class="content-text">{{ detail.resumeList && detail.resumeList.adv }}</view>
  54. </view>
  55. <view class="content">
  56. <view class="title">我的技能</view>
  57. <view class="badge-content">
  58. <template v-if="detail.skills && detail.skills.length">
  59. <view class="badge" v-for="(skill, index) in detail.skills" :key="index">{{ skill.skillName }}</view>
  60. </template>
  61. <view class="badge" v-else>请选择职业技能标签</view>
  62. </view>
  63. </view>
  64. </view>
  65. </view>
  66. <!-- 个人优势 -->
  67. <!-- <view class="common-section section-item">
  68. <view class="section-header">
  69. <view class="section-title">个人优势</view>
  70. <view @click="toggleEdit">
  71. <template v-if="isEditing">
  72. <text class="save-btn">保存</text>
  73. </template>
  74. <template v-else>
  75. <image class="edit-icon"
  76. src="../../static/images/index/Combined-Shape.svg"
  77. style="width: 48rpx; height: 48rpx;"
  78. mode=""
  79. />
  80. </template>
  81. </view>
  82. </view>
  83. <view class="advantage-content">
  84. <textarea
  85. ref="advInput"
  86. :disabled="!isEditing"
  87. auto-height
  88. placeholder="请输入个人优势"
  89. v-model="detail.resumeList && detail.resumeList.adv"
  90. @blur="setResume"
  91. ></textarea>
  92. </view>
  93. </view> -->
  94. <!-- 是否对外展示简历 -->
  95. <view class="common-section flex justify-between align-center">
  96. <view class="text-tip-box">
  97. <view class="title">是否对外展示简历</view>
  98. <view class="tip">求职期望至少有1条且完善总分数高于60分,我们将进行简历推荐,请充分填写简历</view>
  99. </view>
  100. <async-switch v-model="showChecked" :async-change="updateIsRecommend"></async-switch>
  101. </view>
  102. <!-- 求职期望卡片 -->
  103. <view class="common-section expectation-card">
  104. <view class="card-header">
  105. <view class="header-left">
  106. <image src="../../static/images/index/lingdai.svg" class="header-icon" />
  107. <text class="header-title">求职期望</text>
  108. </view>
  109. <text class="progress-text"><text class="progress-text-light">{{ detail.intentions && detail.intentions.length }}</text>/3
  110. </text>
  111. </view>
  112. <view class="job-list">
  113. <view @longpress="commonDelete(item.intentionId, 'intentions')"
  114. @click="addExpectation(item.intentionId)" class="job-item"
  115. v-for="(item, index) in detail.intentions">
  116. <view class="job-info">
  117. <view>
  118. <text class="job-title">{{ item.ruleClassifyName }}<text class="sub-title">{{ item.citys }}</text></text>
  119. <view @click.stop="goToPreferenceSetting(item)">
  120. <view class="preference-btn">
  121. <text>设置跨境标签</text>
  122. </view>
  123. <u-icon name="arrow-right" color="rgba(29, 33, 41, 1)" size="28"></u-icon>
  124. </view>
  125. </view>
  126. <text class="job-details">{{ item.salaryRange }}・{{ item.industry || '不限' }}</text>
  127. </view>
  128. </view>
  129. </view>
  130. <view class="add-expectation-btn" v-if="showAddJobBtn" @click="addExpectation('')">
  131. <text>添加求职期望</text>
  132. </view>
  133. </view>
  134. <!-- 工作经历 -->
  135. <view class="common-section work-experience-section">
  136. <view class="section-header">
  137. <view class="section-title">工作经历</view>
  138. <view class="edit-icon" @click="goToWorkExperience('')">
  139. <image src="../../static/images/index/Combined-Shape.svg"
  140. style="width: 48rpx;height: 48rpx;" mode=""></image>
  141. </view>
  142. </view>
  143. <view class="experience-list">
  144. <template v-if="showExperienceData.length">
  145. <view class="experience-item" v-for="item in showExperienceData">
  146. <view class="company-title">
  147. <text class="company-name">{{ item.companyName }}</text>
  148. <text class="company-type"> • {{ setCompanyType(item.type) }}</text>
  149. </view>
  150. <view class="experience-content">
  151. <view class="experience-box" v-for="it in item.workExpDetails" @click.stop="goToWorkExperience(item.workExpId)">
  152. <view class="job-header flex justify-between align-center">
  153. <view class="job-name">{{ it.position }}</view>
  154. <view class="job-time">{{ it.startTime }}-{{ it.endTime }}</view>
  155. </view>
  156. <!-- 工作内容 -->
  157. <view class="job-content" v-if="it.workContent">{{ it.workContent }}</view>
  158. <!-- 技能标签 -->
  159. <view class="skill-tags">
  160. <view class="tag" v-for="skill in it.skills">{{ skill }}</view>
  161. </view>
  162. </view>
  163. <!-- <view class="flex align-center justify-between">
  164. <view style="color: #78828a;font-size: 22rpx;">不对该公司展示</view>
  165. <u-switch v-model="item.isShield" @change="changeIsDisplay(item)"></u-switch>
  166. </view> -->
  167. </view>
  168. <!-- <view @click.stop="commonDelete(item.workExpId, 'workExps')">
  169. <image src="../../static/images/index/delete.svg" class="delete-icon" />
  170. </view> -->
  171. </view>
  172. </template>
  173. <!-- 默认样式 -->
  174. <view class="experience-item" v-else>
  175. <view class="company-title">
  176. <text class="company-name">公司名称</text>
  177. <text class="company-type"> • 业务类型</text>
  178. </view>
  179. <view class="experience-content">
  180. <view class="experience-box">
  181. <view class="job-header flex justify-between align-center">
  182. <view class="job-name">职位</view>
  183. <view class="job-time">就职时间</view>
  184. </view>
  185. <!-- 工作内容 -->
  186. <view class="job-content">请填写您的工作内容</view>
  187. <!-- 技能标签 -->
  188. <view class="skill-tags">
  189. <view class="tag">请选择您的跨境标签</view>
  190. </view>
  191. </view>
  192. </view>
  193. </view>
  194. </view>
  195. </view>
  196. <view class="show-all-experience-btn" v-if="showAllExperienceBtn && !showAllExpToggle" @click="showAllExperience">展开全部工作经历</view>
  197. <!-- 教育经历 -->
  198. <view class="common-section education-section">
  199. <view class="section-header">
  200. <view class="section-title">教育经历</view>
  201. <view class="edit-icon" @click="goToEducationExperience('')">
  202. <image src="../../static/images/index/Combined-Shape.svg"
  203. style="width: 48rpx;height: 48rpx;" mode=""></image>
  204. </view>
  205. </view>
  206. <view class="education-list">
  207. <template v-if="detail.eduList && detail.eduList.length">
  208. <view class="education-item" @click.stop="goToEducationExperience(item.eduId)"
  209. v-for="(item, index) in detail.eduList">
  210. <view class="education-content">
  211. <view class="school-name">{{ item.school }}</view>
  212. <view class="degree-info">{{ item.degree }} • {{ item.profession }} •
  213. {{ new Date(item.startTime).getFullYear() }}-{{ new Date(item.endTime).getFullYear() }}
  214. </view>
  215. <view class="education-description">
  216. {{ item.detail }}
  217. </view>
  218. </view>
  219. <!-- <view @click.stop="commonDelete(item.eduId, 'eduList')">
  220. <image src="../../static/images/index/delete.svg" class="delete-icon" />
  221. </view> -->
  222. </view>
  223. </template>
  224. <view class="education-item" v-else>
  225. <view class="education-content">
  226. <view class="school-name">学校名称</view>
  227. <view class="degree-info">学历 • 专业 • 在校时间</view>
  228. <view class="education-description">请填写您的教育经历</view>
  229. </view>
  230. </view>
  231. </view>
  232. </view>
  233. <!-- 资质证书 -->
  234. <view class="common-section certificate-section">
  235. <view class="section-header">
  236. <view class="section-title">资质证书</view>
  237. <view class="edit-icon" @click="goToCertificate">
  238. <image src="../../static/images/index/Combined-Shape.svg"
  239. style="width: 48rpx;height: 48rpx;" mode=""></image>
  240. </view>
  241. </view>
  242. <view class="skill-tags">
  243. <view class="tag" v-for="(certificate, index) in detail.certificates" :key="index">{{ certificate.certificateName }}</view>
  244. </view>
  245. </view>
  246. <!-- 技能 -->
  247. <!-- <view class="common-section skills-section">
  248. <view class="section-header">
  249. <view class="section-title">技能</view>
  250. <view class="edit-icon" @click="goToJobSkills">
  251. <image src="../../static/images/index/Combined-Shape.svg"
  252. style="width: 48rpx;height: 48rpx;" mode=""></image>
  253. </view>
  254. </view>
  255. <view class="skills-grid">
  256. <view class="skill-tag" v-for="(skill, skillIndex) in detail.skills" :key="skillIndex">
  257. {{ skill.skillName }}</view>
  258. </view>
  259. </view> -->
  260. </view>
  261. <!-- 开启求职之旅按钮,H5邀请进入 -->
  262. <view class="button-section" v-if="scene == 1">
  263. <view class="button" @click="toDownload">保存并开启求职之旅</view>
  264. </view>
  265. <view class="button-section" v-else>
  266. <view class="text-btn" v-if="score < 20 && score !== -1" @click="handleStartWork">稍后填写</view>
  267. <view class="flex buttons">
  268. <view class="btn primary-btn" @click="toPreviewResume">预览/导出</view>
  269. <view class="btn main-btn" @click="handleStartWork">开启求职之旅</view>
  270. </view>
  271. </view>
  272. <u-popup v-model="showResumesAnalysis" mode="bottom" border-radius="14" :mask-close-able="false">
  273. <view class="resume-popup">
  274. <view class="close-button flex align-center justify-center" @click="showResumesAnalysis = false">
  275. <u-icon name="close" color="#fff" size="22" />
  276. </view>
  277. <view class="title">从附件简历中解析出<text>5段</text>有效信息</view>
  278. <view class="tip">无需手动填写,可直接添加到在线简历中</view>
  279. <view class="info-list">
  280. <view class="info-item flex align-center" v-for="(item, index) in analysisList" :key="index">
  281. <view class="label">{{ item.title }}</view>
  282. <view class="border"></view>
  283. <view class="content">{{ item.value }}</view>
  284. </view>
  285. </view>
  286. <view class="button">立即同步</view>
  287. </view>
  288. </u-popup>
  289. </view>
  290. </view>
  291. </template>
  292. <script>
  293. import navBar from "@/components/nav-bar/index.vue";
  294. import { companyType } from '@/constants/common.js';
  295. import asyncSwitch from '@/components/async-switch.vue';
  296. var intentionId = 0
  297. export default {
  298. components: {
  299. navBar,
  300. asyncSwitch
  301. },
  302. data() {
  303. return {
  304. isEditing: false,
  305. hasEcommerceExperience: false,
  306. detail: {},
  307. statusList: [{
  308. value: 'unemployed_available',
  309. text: '离职-随时到岗',
  310. },
  311. {
  312. value: 'employed_monthly',
  313. text: '在职-月内到岗',
  314. },
  315. {
  316. value: 'employed_considering',
  317. text: '在职-考虑机会',
  318. },
  319. {
  320. value: 'employed_not_considering',
  321. text: '在职-暂不考虑',
  322. },
  323. {
  324. value: 'internship',
  325. text: '实习',
  326. }
  327. ],
  328. scene: 0, // 0 默认,1 H5邀请
  329. companyType: companyType, // 公司类型
  330. showAllExpToggle: false,
  331. showChecked: false, // 是否对外展示简历
  332. loadingSwitch: false,
  333. controlStatus: false,
  334. score: -1,
  335. showResumesAnalysis: false,
  336. analysisList: [
  337. {
  338. title: '基本信息',
  339. value: '噶撒旦发生的噶手动阀手动阀手动阀噶撒旦发生的噶撒旦发生的噶手动阀手动阀手动阀噶撒旦发生的',
  340. },
  341. {
  342. title: '工作经历',
  343. value: '噶撒旦发生的噶手动阀手动阀手动阀噶撒旦发生的',
  344. },
  345. {
  346. title: '教育经历',
  347. value: '无法覆盖噶撒旦发生',
  348. },
  349. {
  350. title: '个人优势',
  351. value: '刚刚噶士大夫撒打赏',
  352. },
  353. ]
  354. }
  355. },
  356. computed: {
  357. // 显示添加求职期望按钮
  358. showAddJobBtn() {
  359. if (this.detail.intentions && this.detail.intentions.length >= 3) {
  360. return false;
  361. }
  362. return true;
  363. },
  364. // 显示全部工作经历按钮
  365. showAllExperienceBtn() {
  366. if (this.detail.workExps && this.detail.workExps.length > 1) {
  367. return true
  368. }
  369. return false
  370. },
  371. // 展示的工作经历数据
  372. showExperienceData() {
  373. if (this.detail && this.detail.workExps) {
  374. return this.detail.workExps.filter((workExp, index) => {
  375. if ((!this.showAllExpToggle && index < 1) || this.showAllExpToggle) {
  376. return workExp
  377. }
  378. })
  379. } else {
  380. return []
  381. }
  382. }
  383. },
  384. onLoad(options) {
  385. if (options.scene) {
  386. this.scene = options.scene
  387. }
  388. // 判断是否有fileId,如果有则是从上传简历文件页面跳转
  389. if (options.fileId) {
  390. // this.getAiResumesAnalysis(options.fileId)
  391. }
  392. this.getData()
  393. var that = this
  394. uni.$on('updateResume', () => {
  395. that.getData()
  396. })
  397. uni.$on('preferenceUpdated', (data) => {
  398. if (data.set != 1)
  399. return
  400. that.changePreference(data.preferences)
  401. })
  402. },
  403. onUnload() {
  404. uni.$off('updateResume')
  405. uni.$off('preferenceUpdated')
  406. },
  407. methods: {
  408. toggleEdit(){
  409. this.isEditing = !this.isEditing;
  410. },
  411. // // 是否屏蔽该公司
  412. // changeIsDisplay(item){
  413. // let data = {
  414. // workExp:{
  415. // isShield:item.isShield?1:0,
  416. // workExpId:item.workExpId
  417. // }
  418. // }
  419. // this.$Request.postJson("/app/userFirst/addWorkExp", data).then((res) => {
  420. // if (res.code == 0) {
  421. // uni.showToast({
  422. // title: "修改成功",
  423. // icon: "none"
  424. // });
  425. // } else {
  426. // uni.showToast({
  427. // title: res.msg,
  428. // icon: "none",
  429. // });
  430. // }
  431. // });
  432. // },
  433. goBack() {
  434. uni.navigateBack();
  435. },
  436. getData() {
  437. var that = this
  438. this.$Request.getT("/app/userFirst/getUserResumes", {}).then((res) => {
  439. if (res.code == 0) {
  440. that.detail = res.data
  441. that.hasEcommerceExperience = res.data.resumeList && res.data.resumeList.ifExp ? true :
  442. false
  443. that.detail.degree = that.$queue.getHighestEducation(res.data.eduList)
  444. this.score = res.data?.resumeList?.score || 0
  445. res.data.workExps.forEach(function (item) {
  446. console.log(item.type);
  447. try {
  448. if (typeof item.type === 'string' && (item.type.startsWith('[') || item
  449. .type.startsWith('{'))) {
  450. item.type = JSON.parse(item.type);
  451. }
  452. } catch (e) {
  453. console.warn('item.type JSON解析失败:', item.type);
  454. }
  455. item.isShield = item.isShield == 1?true:false
  456. item.workExpDetails = [];
  457. res.data.workExpList.forEach(function (it) {
  458. console.log(it.skills);
  459. try {
  460. if (typeof it.skills === 'string' && (it.skills.startsWith(
  461. '[') || it.skills.startsWith('{'))) {
  462. it.skills = JSON.parse(it.skills);
  463. }
  464. } catch (e) {
  465. console.warn('it.skills JSON解析失败:', it.skills);
  466. }
  467. it.startTime = it.startTime ? it.startTime.slice(0, 7) : '';
  468. if (that.$queue.isCurrentMonth(new Date(it.endTime)))
  469. it.endTime = '至今';
  470. else
  471. it.endTime = it.endTime ? it.endTime.slice(0, 7) : '';
  472. if (it.workExpId == item.workExpId)
  473. item.workExpDetails.push(it);
  474. });
  475. });
  476. // 设置是否对外展示简历
  477. this.showChecked = res.data.resumeList?.isRecommend === 1
  478. console.log('最终数据')
  479. console.log(res.data.workExps);
  480. that.detail.workExps = res.data.workExps
  481. } else {
  482. uni.showToast({
  483. title: res.msg,
  484. icon: "none",
  485. });
  486. }
  487. });
  488. },
  489. addExpectation(id = '') {
  490. uni.navigateTo({
  491. url: '/package/jobIntention/addExpectation?id=' + id
  492. })
  493. },
  494. goToPreferenceSetting(item) {
  495. intentionId = item.intentionId
  496. if (item.ruleClassifyId == '' || item.ruleClassifyId == 0)
  497. return this.$queue.showToast('请先选择岗位')
  498. uni.navigateTo({
  499. url: '/package/jobIntention/preferenceSetting?set=1&jobId=' + item.ruleClassifyId +
  500. '&jobTitle=' + item.ruleClassifyName + '&selectedPreferences=' + encodeURIComponent(JSON
  501. .stringify(item.industry == '' || item.industry == null ? [] : item.industry.split(
  502. '/')))
  503. })
  504. },
  505. // 跳转个人信息页面
  506. toUserInfo() {
  507. uni.navigateTo({
  508. url: '/package/my/editUserInfo'
  509. })
  510. },
  511. // 跳转资质证书编辑
  512. goToCertificate() {
  513. const certificates = this.detail.certificates.map(certificate => certificate.certificateName).join(';')
  514. uni.navigateTo({
  515. url: `/package/jobIntention/updateCertificates?certificates=${encodeURIComponent(certificates)}`
  516. })
  517. },
  518. goToJobSkills() {
  519. uni.navigateTo({
  520. url: '/package/jobIntention/jobSkills?from=onlineResume&set=1&jobTitle=我的&skill=' + encodeURIComponent(JSON
  521. .stringify(this.detail.skills == null ? [] : this.$queue.array_column(this.detail
  522. .skills, 'skillName')))
  523. })
  524. },
  525. goToWorkExperience(id = '') {
  526. // 获取业务类型数据
  527. const businessTypes = this.getBusinessTypes()
  528. console.log('传递给工作经历页面的业务类型:', businessTypes)
  529. console.log('当前hasEcommerceExperience状态:', this.hasEcommerceExperience)
  530. uni.navigateTo({
  531. url: `/pages/my/workExperience?id=${id}&businessTypes=${encodeURIComponent(JSON.stringify(businessTypes))}`
  532. })
  533. },
  534. goToEducationExperience(id = '') {
  535. uni.navigateTo({
  536. url: `/pages/my/educationExperience?id=${id}`
  537. })
  538. },
  539. goToBasicInfo() {
  540. uni.navigateTo({
  541. url: '/package/jobIntention/basicInfo?resumesStatus=' + (this.detail.resumeList && this.detail
  542. .resumeList.resumesStatus || 0) + '&birthday=' + (this.detail.resumeList && this.detail
  543. .resumeList.birthday || '') + '&ifExp=' + (this.detail.resumeList && this.detail
  544. .resumeList.ifExp || 0) + '&resumesPhone=' + (this.detail.resumeList && this.detail
  545. .resumeList.resumesPhone || '') + '&resumesEmail=' + (this.detail.resumeList && this.detail
  546. .resumeList.resumesEmail || '')
  547. })
  548. },
  549. getBusinessTypes() {
  550. // 根据是否有跨境电商经验返回业务类型
  551. if (this.hasEcommerceExperience) {
  552. return ['0']
  553. } else {
  554. return []
  555. }
  556. },
  557. // // 设置
  558. // setResume() {
  559. // let data = {
  560. // ifExp: this.hasEcommerceExperience ? 1 : 0,
  561. // adv: this.detail.resumeList && this.detail.resumeList.adv || '',
  562. // }
  563. // uni.showLoading({
  564. // title: "提交中..."
  565. // });
  566. // this.$Request.postJson("/app/userFirst/regist", data).then((res) => {
  567. // uni.hideLoading();
  568. // if (res.code == 0) {
  569. // // 实际开发中可以在这里添加跳转逻辑
  570. // } else {
  571. // uni.showToast({
  572. // title: res.msg,
  573. // icon: "none",
  574. // });
  575. // }
  576. // });
  577. // },
  578. changePreference(preference) {
  579. // if (intentionId == 0)
  580. // return;
  581. var industry = preference == '' || preference == null ? '' : preference.join('/')
  582. let data = {
  583. intentionId,
  584. industry
  585. }
  586. var that = this
  587. this.$Request.postJson("/app/intention/saveUpdate", data).then((res) => {
  588. if (res.code == 0) {
  589. // 实际开发中可以在这里添加跳转逻辑
  590. that.getData()
  591. } else {
  592. uni.showToast({
  593. title: res.msg,
  594. icon: "none",
  595. });
  596. }
  597. });
  598. },
  599. commonDelete(id, modules) {
  600. var that = this
  601. var action = 'userFirst/deleteEdu'
  602. var params = {
  603. eduId: id
  604. }
  605. if (modules == 'workExps') {
  606. action = 'userFirst/deleteWorkExp'
  607. params = {
  608. workExpId: id
  609. }
  610. }
  611. if (modules == 'intentions') {
  612. action = 'intention/deleteIntention'
  613. params = {
  614. intentionId: id
  615. }
  616. }
  617. this.$queue.appConfirm('确认删除该条内容么?', function (res) {
  618. if (!res)
  619. return;
  620. that.$Request.postJson("/app/" + action, params).then((res) => {
  621. if (res.code == 0) {
  622. // 实际开发中可以在这里添加跳转逻辑
  623. var info = that.detail[modules].filter(function (item) {
  624. return item[modules == 'workExps' ? 'workExpId' : (modules ==
  625. 'intentions' ? 'intentionId' : 'eduId')] != id;
  626. });
  627. that.detail[modules] = info
  628. } else {
  629. uni.showToast({
  630. title: res.msg,
  631. icon: "none",
  632. });
  633. }
  634. });
  635. })
  636. },
  637. // H5邀请跳转到下载页面
  638. toDownload() {
  639. uni.navigateTo({
  640. url: '/pages/public/invite/download'
  641. })
  642. },
  643. // 设置公司类型
  644. setCompanyType(types) {
  645. if (Array.isArray(types)) {
  646. return types.map(type => {
  647. let typeName = ''
  648. for (let i = 0; i < this.companyType.length; i++) {
  649. if (type == this.companyType[i].value) {
  650. typeName = this.companyType[i].label
  651. }
  652. }
  653. return typeName
  654. }).join('/')
  655. }
  656. return ''
  657. },
  658. // 显示全部工作经历
  659. showAllExperience() {
  660. this.showAllExpToggle = true
  661. },
  662. // 跳转至简历预览/下载页面
  663. toPreviewResume() {
  664. uni.navigateTo({
  665. url: '/package/my/previewResume/index'
  666. })
  667. },
  668. // 更新是否对外展示简历状态
  669. updateIsRecommend() {
  670. uni.showLoading({
  671. title: '更新中'
  672. })
  673. const oldCheckedValue = this.showChecked
  674. const isRecommend = this.showChecked ? 0 : 1
  675. this.$Request
  676. .getT('/app/resumes/setIsRecommend', {
  677. isRecommend
  678. })
  679. .then((res) => {
  680. uni.hideLoading()
  681. if (res.code !== 0) {
  682. uni.showToast({
  683. title: res.msg,
  684. icon: 'none'
  685. })
  686. this.showChecked = oldCheckedValue
  687. }
  688. })
  689. .catch(() => {
  690. uni.hideLoading()
  691. })
  692. },
  693. // 跳转首页
  694. handleStartWork() {
  695. uni.reLaunch({
  696. url: '/pages/index/index'
  697. })
  698. },
  699. // 获取简历解析数据
  700. getAiResumesAnalysis(fileId) {
  701. uni.showLoading({
  702. title: '解析中'
  703. })
  704. // this.$Request
  705. // .postT('/app/resumes/aiResumesAnalysis', {
  706. // workflowId: '7594327567932309547',
  707. // fileId
  708. // }, '', 240000)
  709. // .then(res => {
  710. // console.log(res)
  711. // uni.hideLoading()
  712. // })
  713. // .catch(err => {
  714. // console.log(err)
  715. // uni.hideLoading()
  716. // })
  717. uni.request({
  718. url: 'https://yizhizan.edccc.cn/sqx_fast/app/resumes/aiResumesAnalysis',
  719. header: {
  720. 'content-type': 'application/x-www-form-urlencoded', // 模拟 form-data
  721. token: uni.getStorageSync("token"),
  722. },
  723. method: 'post',
  724. data: {
  725. workflowId: '7594327567932309547',
  726. fileId
  727. },
  728. timeout: 120000,
  729. success: (res) => {
  730. console.log(res)
  731. uni.hideLoading()
  732. },
  733. fail: (err) => {
  734. console.log('0000000000')
  735. console.log(err)
  736. uni.hideLoading()
  737. }
  738. })
  739. }
  740. },
  741. watch: {
  742. hasEcommerceExperience(newVal, oldVal) {
  743. console.log('hasEcommerceExperience 变化:', oldVal, '->', newVal)
  744. // 只有有效的布尔值才保存到缓存
  745. },
  746. }
  747. }
  748. </script>
  749. <style lang="scss" scoped>
  750. .delete-icon {
  751. width: 40rpx;
  752. height: 40rpx;
  753. }
  754. .online-resume {
  755. height: 100vh;
  756. display: flex;
  757. flex-direction: column;
  758. padding-bottom: 100rpx;
  759. }
  760. .pb {
  761. padding-bottom: 160rpx;
  762. }
  763. .fixed-nav {
  764. position: fixed;
  765. top: 0;
  766. left: 0;
  767. right: 0;
  768. z-index: 9999;
  769. background-color: #ffffff;
  770. padding: 0 32rpx;
  771. // padding-top 已改为动态计算,在模板中通过 :style 设置
  772. }
  773. .page-content {
  774. flex: 1;
  775. display: flex;
  776. flex-direction: column;
  777. overflow: auto;
  778. }
  779. // 用户信息区域
  780. .user-profile {
  781. background: #fff;
  782. padding: 60rpx 30rpx 40rpx;
  783. font-family: DM Sans;
  784. text-align: center;
  785. .avatar-container {
  786. width: 98px;
  787. height: 98px;
  788. padding: 8rpx;
  789. background-image: linear-gradient(90.00deg, rgba(13, 39, 247, 1),rgba(19, 193, 234, 1));
  790. margin: 0 auto 4rpx;
  791. border-radius: 50%;
  792. .user-avatar {
  793. width: 90px;
  794. height: 90px;
  795. border-radius: 50%;
  796. }
  797. }
  798. .user-name {
  799. color: rgba(21, 21, 23, 1);
  800. font-size: 36rpx;
  801. font-weight: 700;
  802. line-height: 52rpx;
  803. text-align: center;
  804. }
  805. .user-info {
  806. min-height: 20rpx;
  807. color: rgba(102, 112, 122, 1);
  808. font-size: 28rpx;
  809. line-height: 64rpx;
  810. text-align: center;
  811. }
  812. .contact-info {
  813. display: flex;
  814. justify-content: center;
  815. gap: 40rpx;
  816. .contact-item {
  817. display: flex;
  818. align-items: center;
  819. gap: 10rpx;
  820. .contact-text {
  821. color: rgba(116, 116, 116, 1);
  822. font-size: 16rpx;
  823. font-weight: 400;
  824. line-height: 20rpx;
  825. text-align: center;
  826. }
  827. }
  828. }
  829. }
  830. // 内容区域
  831. .content-section {
  832. font-family: DM Sans;
  833. padding: 40rpx 30rpx 130rpx;
  834. .common-section {
  835. background: #fff;
  836. border-radius: 12px;
  837. padding: 30rpx;
  838. margin-bottom: 20rpx;
  839. box-sizing: border-box;
  840. border: 1px solid rgba(227, 231, 236, 1);
  841. .section-header {
  842. display: flex;
  843. align-items: center;
  844. justify-content: space-between;
  845. margin-bottom: 30rpx;
  846. .section-title {
  847. color: rgba(23, 23, 37, 1);
  848. font-family: Inter;
  849. font-size: 32rpx;
  850. font-weight: 600;
  851. line-height: 48rpx;
  852. }
  853. .edit-icon {
  854. width: 40rpx;
  855. height: 40rpx;
  856. display: flex;
  857. align-items: center;
  858. justify-content: center;
  859. }
  860. }
  861. .skill-tags {
  862. display: flex;
  863. flex-wrap: wrap;
  864. gap: 12rpx;
  865. margin-top: 16rpx;
  866. .tag {
  867. background: rgba(153, 153, 153, 0.1);
  868. border-radius: 12rpx;
  869. padding: 8rpx 24rpx;
  870. color: rgba(102, 102, 102, 1);
  871. font-size: 20rpx;
  872. font-weight: 400;
  873. line-height: 1;
  874. }
  875. }
  876. }
  877. .section-item {
  878. .section-header {
  879. .template-text {
  880. color: rgba(120, 130, 138, 1);
  881. font-family: DM Sans;
  882. font-size: 24rpx;
  883. font-weight: 400;
  884. line-height: 32rpx;
  885. letter-spacing: 0%;
  886. text-align: left;
  887. }
  888. }
  889. .section-status {
  890. font-size: 28rpx;
  891. color: #007AFF;
  892. font-weight: 500;
  893. }
  894. .advantage-content {
  895. font-size: 14px;
  896. color: #666;
  897. line-height: 1.6;
  898. textarea {
  899. width: 100%;
  900. height: fit-content;
  901. min-height: 44rpx;
  902. }
  903. }
  904. .section-content {
  905. .availability {
  906. display: flex;
  907. align-items: center;
  908. gap: 10rpx;
  909. .status-text {
  910. color: rgba(156, 164, 171, 1);
  911. font-family: DM Sans;
  912. font-size: 24rpx;
  913. font-weight: 400;
  914. line-height: 32rpx;
  915. letter-spacing: 0%;
  916. text-align: left;
  917. }
  918. }
  919. .content {
  920. margin-top: 24rpx;
  921. .title {
  922. font-size: 28rpx;
  923. line-height: 44rpx;
  924. color: #171725;
  925. margin-bottom: 12rpx;
  926. }
  927. .content-text {
  928. font-size: 28rpx;
  929. line-height: 32rpx;
  930. color: #78828a;
  931. word-break: break-all;
  932. }
  933. }
  934. // 个人技能
  935. .badge-content {
  936. display: flex;
  937. flex-wrap: wrap;
  938. gap: 20rpx;
  939. .badge {
  940. font-size: 20rpx;
  941. line-height: 1;
  942. color: #666666;
  943. padding: 8rpx 10rpx;
  944. border-radius: 8rpx;
  945. background: rgba(153, 153, 153, 0.1);
  946. }
  947. }
  948. }
  949. }
  950. // 是否对外展示简历
  951. .text-tip-box {
  952. width: 480rpx;
  953. .title {
  954. font-size: 28rpx;
  955. line-height: 52rpx;
  956. color: rgba(21, 22, 26, 1);
  957. margin-bottom: 8rpx;
  958. }
  959. .tip {
  960. font-size: 20rpx;
  961. line-height: 26rpx;
  962. color: rgba(153, 153, 153, 1);
  963. }
  964. }
  965. // 求职期望卡片样式
  966. .expectation-card {
  967. .card-header {
  968. display: flex;
  969. justify-content: space-between;
  970. align-items: center;
  971. .header-left {
  972. display: flex;
  973. align-items: center;
  974. .header-icon {
  975. width: 40rpx;
  976. height: 40rpx;
  977. margin-right: 12rpx;
  978. }
  979. .header-title {
  980. color: rgba(29, 33, 41, 1);
  981. font-family: DM Sans;
  982. font-size: 32rpx;
  983. font-weight: 500;
  984. line-height: 16px;
  985. letter-spacing: 0%;
  986. text-align: left;
  987. }
  988. }
  989. .progress-text {
  990. font-family: DM Sans;
  991. font-size: 32rpx;
  992. font-weight: 700;
  993. letter-spacing: 0%;
  994. text-align: right;
  995. .progress-text-light {
  996. color: rgba(1, 107, 246, 1);
  997. }
  998. }
  999. }
  1000. .job-list {
  1001. .job-item {
  1002. display: flex;
  1003. justify-content: space-between;
  1004. align-items: center;
  1005. padding: 20rpx 0;
  1006. &:last-child {
  1007. border-bottom: none;
  1008. }
  1009. .job-info {
  1010. flex: 1;
  1011. >view:first-child {
  1012. display: flex;
  1013. justify-content: space-between;
  1014. align-items: center;
  1015. margin-bottom: 4rpx;
  1016. }
  1017. .job-title {
  1018. color: rgba(29, 33, 41, 1);
  1019. font-family: DM Sans;
  1020. font-size: 28rpx;
  1021. font-weight: 500;
  1022. line-height: 16px;
  1023. letter-spacing: 0%;
  1024. text-align: left;
  1025. .sub-title {
  1026. color: #999999;
  1027. font-size: 20rpx;
  1028. padding-left: 8rpx;
  1029. }
  1030. }
  1031. .job-details {
  1032. width: 400rpx;
  1033. display: block;
  1034. font-size: 24rpx;
  1035. color: rgba(153, 153, 153, 1);
  1036. text-overflow: ellipsis;
  1037. white-space: nowrap;
  1038. overflow: hidden;
  1039. margin-bottom: 4rpx;
  1040. }
  1041. .job-location {
  1042. font-size: 24rpx;
  1043. color: rgba(153, 153, 153, 1);
  1044. }
  1045. }
  1046. .preference-btn {
  1047. display: flex;
  1048. align-items: center;
  1049. padding: 8rpx;
  1050. border: 0.5rpx solid #007AFF;
  1051. border-radius: 12rpx;
  1052. margin-right: 10rpx;
  1053. text {
  1054. font-size: 18rpx;
  1055. color: #007AFF;
  1056. }
  1057. }
  1058. .job-info>view:first-child>view:last-child {
  1059. display: flex;
  1060. align-items: center;
  1061. }
  1062. }
  1063. }
  1064. .add-expectation-btn {
  1065. width: 100%;
  1066. height: 88rpx;
  1067. border-radius: 88rpx;
  1068. display: flex;
  1069. align-items: center;
  1070. justify-content: center;
  1071. background: rgba(1, 107, 246, 0.1);
  1072. margin-top: 40rpx;
  1073. text {
  1074. font-size: 28rpx;
  1075. color: #007AFF;
  1076. font-weight: 500;
  1077. }
  1078. }
  1079. }
  1080. // 工作经历部分样式
  1081. .work-experience-section {
  1082. .experience-list {
  1083. .experience-item {
  1084. // 公司名称
  1085. .company-title {
  1086. width: 100%;
  1087. white-space: nowrap;
  1088. text-overflow: ellipsis;
  1089. overflow: hidden;
  1090. margin-bottom: 16rpx;
  1091. .company-name {
  1092. font-size: 28rpx;
  1093. color: rgba(23, 23, 37, 1);
  1094. }
  1095. .company-type {
  1096. flex: 1;
  1097. font-size: 24rpx;
  1098. color: #78828a;
  1099. }
  1100. }
  1101. .experience-content {
  1102. .experience-box {
  1103. padding-bottom: 20rpx;
  1104. margin-bottom: 20rpx;
  1105. border-bottom: 1px solid rgba(227, 231, 236, 0.55);
  1106. &:last-child {
  1107. border-bottom: none;
  1108. }
  1109. .job-header {
  1110. margin-bottom: 16rpx;
  1111. .job-name {
  1112. font-size: 28rpx;
  1113. color: #171725;
  1114. line-height: 44rpx;
  1115. }
  1116. .job-time {
  1117. font-size: 24rpx;
  1118. color: rgba(120, 130, 138, 1);
  1119. }
  1120. }
  1121. .job-content {
  1122. font-size: 24rpx;
  1123. color: rgba(120, 130, 138, 1);
  1124. white-space: nowrap;
  1125. text-overflow: ellipsis;
  1126. overflow: hidden;
  1127. }
  1128. }
  1129. .skill-tags {
  1130. display: flex;
  1131. flex-wrap: wrap;
  1132. gap: 12rpx;
  1133. margin-top: 16rpx;
  1134. .tag {
  1135. background: rgba(153, 153, 153, 0.1);
  1136. border-radius: 12rpx;
  1137. padding: 8rpx 24rpx;
  1138. color: rgba(102, 102, 102, 1);
  1139. font-family: DM Sans;
  1140. font-size: 20rpx;
  1141. font-weight: 400;
  1142. line-height: 1;
  1143. letter-spacing: 0%;
  1144. text-align: left;
  1145. }
  1146. }
  1147. }
  1148. &:last-child {
  1149. .experience-box:last-child {
  1150. padding-bottom: 0;
  1151. margin-bottom: 0;
  1152. }
  1153. }
  1154. }
  1155. }
  1156. }
  1157. // 展示全部工作经历按钮
  1158. .show-all-experience-btn {
  1159. color: #016bf6;
  1160. font-size: 20rpx;
  1161. line-height: 24rpx;
  1162. margin-bottom: 20rpx;
  1163. }
  1164. // 教育经历部分样式
  1165. .education-section {
  1166. .education-list {
  1167. padding-top: 18rpx;
  1168. .education-item {
  1169. padding-bottom: 20rpx;
  1170. margin-bottom: 20rpx;
  1171. border-bottom: 1rpx solid #F0F0F0;
  1172. &:last-child {
  1173. border-bottom: none;
  1174. padding-bottom: 0;
  1175. margin-bottom: 0;
  1176. }
  1177. .education-content {
  1178. flex: 1;
  1179. .school-name {
  1180. color: #171725;
  1181. font-size: 28rpx;
  1182. line-height: 44rpx;
  1183. }
  1184. .degree-info {
  1185. color: rgba(120, 130, 138, 1);
  1186. font-family: DM Sans;
  1187. font-size: 24rpx;
  1188. font-weight: 500;
  1189. line-height: 40rpx;
  1190. letter-spacing: 0%;
  1191. padding: 12rpx 0;
  1192. }
  1193. .education-description {
  1194. width: 100%;
  1195. color: rgba(120, 130, 138, 1);
  1196. font-family: DM Sans;
  1197. font-size: 24rpx;
  1198. line-height: 32rpx;
  1199. letter-spacing: 0%;
  1200. text-align: left;
  1201. white-space: nowrap;
  1202. text-overflow: ellipsis;
  1203. overflow: hidden;
  1204. }
  1205. }
  1206. }
  1207. }
  1208. }
  1209. // 技能部分样式
  1210. .skills-section {
  1211. .skills-grid {
  1212. display: flex;
  1213. flex-wrap: wrap;
  1214. gap: 16rpx;
  1215. .skill-tag {
  1216. padding: 32rpx;
  1217. border: 1px solid rgba(236, 241, 246, 1);
  1218. border-radius: 64rpx;
  1219. color: rgba(23, 23, 37, 1);
  1220. font-family: DM Sans;
  1221. font-size: 14px;
  1222. font-weight: 400;
  1223. line-height: 20px;
  1224. letter-spacing: 0.5%;
  1225. text-align: right;
  1226. }
  1227. }
  1228. }
  1229. }
  1230. // 底部按钮
  1231. .button-section {
  1232. position: fixed;
  1233. left: 0;
  1234. bottom: 0;
  1235. right: 0;
  1236. padding-top: 28rpx;
  1237. box-shadow: 0px -4px 16px 0px rgba(0, 0, 0, 0.04);
  1238. background: #fff;
  1239. .button {
  1240. width: 670rpx;
  1241. height: 80rpx;
  1242. color: #fff;
  1243. font-size: 32rpx;
  1244. text-align: center;
  1245. line-height: 80rpx;
  1246. border-radius: 80rpx;
  1247. background: var(--线性渐变, linear-gradient(90.00deg, rgba(13, 39, 247, 1),rgba(19, 193, 234, 1) 100%));
  1248. margin: 24rpx auto;
  1249. }
  1250. .text-btn {
  1251. color: rgba(1, 107, 246, 1);
  1252. font-size: 32rpx;
  1253. line-height: 1;
  1254. text-align: center;
  1255. margin-bottom: 36rpx;
  1256. }
  1257. .buttons {
  1258. padding: 0 40rpx 24rpx;
  1259. justify-content: space-between;
  1260. .btn {
  1261. width: 327rpx;
  1262. height: 80rpx;
  1263. font-size: 32rpx;
  1264. text-align: center;
  1265. line-height: 80rpx;
  1266. border-radius: 80rpx;
  1267. }
  1268. .primary-btn {
  1269. background: rgba(1, 107, 246, 0.1);
  1270. color: rgba(1, 107, 246, 1);
  1271. }
  1272. .main-btn {
  1273. background: linear-gradient(90.00deg, rgba(13, 39, 247, 1),rgba(19, 193, 234, 1));
  1274. color: #fff;
  1275. }
  1276. }
  1277. }
  1278. // 解析简历popup
  1279. .resume-popup {
  1280. position: relative;
  1281. padding: 70rpx 40rpx 40rpx;
  1282. .title {
  1283. font-size: 40rpx;
  1284. font-weight: 700;
  1285. line-height: 52rpx;
  1286. color: #333;
  1287. margin-bottom: 12rpx;
  1288. text {
  1289. color: #016bf6;
  1290. }
  1291. }
  1292. .tip {
  1293. font-size: 28rpx;
  1294. line-height: 36rpx;
  1295. color: #999999;
  1296. }
  1297. .info-list {
  1298. .info-item {
  1299. box-sizing: border-box;
  1300. border: 1px solid rgba(242, 242, 242, 1);
  1301. border-radius: 6px;
  1302. background: rgba(250, 250, 250, 1);
  1303. padding: 26rpx 24rpx;
  1304. margin-top: 40rpx;
  1305. .label {
  1306. font-size: 28rpx;
  1307. font-weight: 500;
  1308. line-height: 1;
  1309. color: rgba(51, 51, 51, 1);
  1310. }
  1311. .border {
  1312. width: 1px;
  1313. height: 20rpx;
  1314. margin: 0 20rpx;
  1315. background: rgba(234, 234, 234, 1);
  1316. }
  1317. .content {
  1318. flex: 1;
  1319. width: 0;
  1320. overflow: hidden;
  1321. text-overflow: ellipsis;
  1322. white-space: nowrap;
  1323. color: rgba(153, 153, 153, 1);
  1324. font-size: 28rpx;
  1325. line-height: 1;
  1326. }
  1327. }
  1328. }
  1329. .button {
  1330. width: 600rpx;
  1331. height: 88rpx;
  1332. border-radius: 88rpx;
  1333. background: linear-gradient(90.00deg, rgba(13, 39, 247, 1),rgba(19, 193, 234, 1));
  1334. font-size: 32rpx;
  1335. font-weight: 500;
  1336. line-height: 88rpx;
  1337. text-align: center;
  1338. color: #fff;
  1339. margin: 60rpx auto 0;
  1340. }
  1341. .close-button {
  1342. position: absolute;
  1343. top: 30rpx;
  1344. right: 40rpx;
  1345. width: 40rpx;
  1346. height: 40rpx;
  1347. border-radius: 40rpx;
  1348. background: rgba(230, 230, 230, 1);
  1349. }
  1350. }
  1351. </style>