onlineResume.vue 37 KB

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