onlineResume.vue 37 KB

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