index.vue 67 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431
  1. <template>
  2. <view class="my-center-page">
  3. <view class="my-bg">
  4. <image src="@/static/images/my/icon/paopao.svg" mode="aspectFill" class="paopao paopao-one" />
  5. <image src="@/static/images/my/icon/paopao.svg" mode="aspectFill" class="paopao paopao-two" />
  6. <image src="@/static/images/my/icon/paopao.svg" mode="aspectFill" class="paopao paopao-three" />
  7. <view class="my-bg-bottom"></view>
  8. </view>
  9. <!-- 用户端 -->
  10. <block v-if="userType == 1">
  11. <view class="user-box">
  12. <view class="user-top">
  13. <view class="info-box-btn flex justify-end align-center" style="padding-right: 32rpx;"
  14. v-if="token && XCXIsSelect != '否'">
  15. <image src="@/static/images/jobApplicant/qiehuan.svg" mode="scaleToFill"
  16. style="margin-top: 40rpx;margin-right:30rpx" @click="goNav('switchRoles')" />
  17. <image src="@/static/images/jobApplicant/shezhi.svg" mode="scaleToFill"
  18. style="margin-top: 40rpx;" @click="goNav('/pages/my/setup')" />
  19. </view>
  20. </view>
  21. <view class="user-content">
  22. <view class="info flex justify-center"
  23. :style="{ paddingTop: token && XCXIsSelect != '否' ? '0' : '100rpx' }">
  24. <view class="info-box">
  25. <view @click="goNav('/pages/my/onlineResume')"
  26. class="info-box-header flex justify-between align-end">
  27. <view class="flex align-center">
  28. <view class="info-box-header-l">
  29. <image :src="avatar ? avatar : '@/static/images/logo.jpg'" mode="aspectFill"></image>
  30. </view>
  31. <view class="info-box-header-r">
  32. <view class="info-box-header-r-name flex align-center">
  33. <view class="info-box-header-r-text">
  34. {{ userName }}
  35. </view>
  36. <!-- <image v-if="isVip == true" src="../../static/images/my/isVip.png"
  37. style="margin-left: 10rpx; width: 80rpx; height: 30rpx" mode=""></image> -->
  38. </view>
  39. <view v-if="token && XCXIsSelect != '否'"
  40. class="info-box-header-r-bj flex align-center">
  41. 基本信息
  42. <image src="@/static/images/jobApplicant/edit-user.svg"
  43. mode="scaleToFill" />
  44. </view>
  45. </view>
  46. </view>
  47. <!-- 简历完善度 -->
  48. <view class="resume-progress">
  49. <view class="text-tip flex align-center justify-between">
  50. <text>简历完善度</text>
  51. <text>{{ score }}%</text>
  52. </view>
  53. <view class="progress-box">
  54. <view class="progress-bar" :style="{ width: `${score}%` }"></view>
  55. </view>
  56. </view>
  57. <!-- <view
  58. class="flex align-center status-txt"
  59. @click="currenStatus()"
  60. v-if="token && XCXIsSelect != '否'"
  61. >
  62. <image
  63. src="@/static/images/jobApplicant/qiehuan.svg"
  64. style="width: 50rpx; height: 50rpx"
  65. mode=""
  66. ></image>
  67. {{
  68. resumesStatus == 0
  69. ? "离职-随时到岗"
  70. :
  71. resumesStatus == 1
  72. ? "离职-正在找工作"
  73. : resumesStatus == 2
  74. ? "在职-考虑机会"
  75. : "在职-暂不考虑"
  76. }}
  77. </view> -->
  78. </view>
  79. <view class="info-box-num flex align-center justify-between" v-if="XCXIsSelect != '否'">
  80. <view class="info-box-num-td" @click="gojiLuList('/package/records/records', '沟通记录')">
  81. <view class="info-box-num-td-num"> {{ chatCount }} </view>
  82. <view class="info-box-num-td-name"> 沟通过 </view>
  83. </view>
  84. <view class="info-box-num-td" @click="gojiLuList('/package/records/records', '投递记录')">
  85. <view class="info-box-num-td-num">
  86. {{ deliveryCount }}
  87. </view>
  88. <view class="info-box-num-td-name"> 已投简历 </view>
  89. </view>
  90. <view class="info-box-num-td" @click="gojiLuList('/package/records/records', '面试记录')">
  91. <view class="info-box-num-td-num">
  92. {{ interviewCount }}
  93. </view>
  94. <view class="info-box-num-td-name"> 待面试 </view>
  95. </view>
  96. <view class="info-box-num-td" @click="gojiLuList('/package/records/records', '我的收藏')">
  97. <view class="info-box-num-td-num">
  98. {{ collectionCount }}
  99. </view>
  100. <view class="info-box-num-td-name"> 收藏 </view>
  101. </view>
  102. </view>
  103. </view>
  104. </view>
  105. <!-- 推广横幅 -->
  106. <view class="promo-banner" @click="goBusinessLicense(0)">
  107. <view class="banner-content">
  108. <view class="banner-text">
  109. <text class="banner-title">牛人找资金</text>
  110. <text class="banner-subtitle">带上你的超级项目,这里有无限的可能</text>
  111. </view>
  112. <view class="banner-button">
  113. <text class="button-text">立即参与</text>
  114. </view>
  115. </view>
  116. </view>
  117. <!-- vip -->
  118. <!-- <view
  119. class="vip flex justify-center"
  120. @click="goNav('/my/vip/index')"
  121. v-if="XCXIsSelect != '否'"
  122. >
  123. <view class="vip-box">
  124. <image
  125. class="vip-box-bg"
  126. src="../../static/images/my/icon/vip.png"
  127. mode=""
  128. ></image>
  129. <view class="vip-box-cont flex justify-center">
  130. <view
  131. class="flex justify-between align-center"
  132. style="width: 626rpx; z-index: 9; margin-top: 30rpx"
  133. >
  134. <view class="flex align-center">
  135. <image
  136. src="../../static/images/my/icon/vip2.png"
  137. style="width: 32rpx; height: 29rpx; margin-right: 5rpx"
  138. mode=""
  139. ></image>
  140. <image
  141. src="../../static/images/my/icon/vip3.png"
  142. style="width: 140rpx; height: 29rpx; margin-right: 20rpx"
  143. mode=""
  144. ></image>
  145. <text style="color: #914016; font-size: 24rpx">开通享受特权找工作</text>
  146. </view>
  147. <view
  148. class="flex align-center"
  149. style="
  150. color: #914016;
  151. font-size: 24rpx;
  152. font-weight: bold;
  153. z-index: 999;
  154. margin-right: 10rpx;
  155. "
  156. >
  157. {{ isVip == true ? "已开通" : "去开通" }}
  158. <u-icon name="play-right-fill" color="#914016" size="18"></u-icon>
  159. </view>
  160. </view>
  161. </view>
  162. </view>
  163. </view> -->
  164. <!-- 求职服务 -->
  165. <view class="jobServer flex justify-center" v-if="XCXIsSelect != '否'"
  166. :style="XCXIsSelect == '否' ? 'margin-top:30rpx' : ''">
  167. <view class="jobServer-box flex justify-center">
  168. <view class="jobServer-box-c">
  169. <!-- <view class="jobServer-box-title"> 求职服务 </view> -->
  170. <view class="jobServer-box-btn flex justify-between">
  171. <view class="jobServer-box-btn-item flex justify-center flex-wrap"
  172. @click="goNav('/pages/my/onlineResume')">
  173. <image src="../../static/images/index/qwzn.svg" mode=""></image>
  174. <view class=""> 在线简历 </view>
  175. </view>
  176. <view class="jobServer-box-btn-item flex justify-center flex-wrap"
  177. @click="goNav('/pages/my/attachment')">
  178. <image src="../../static/images/index/cpbk.svg" mode=""></image>
  179. <view class=""> 附件简历 </view>
  180. </view>
  181. <view class="jobServer-box-btn-item flex justify-center flex-wrap"
  182. @click="goNav('/package/jobIntention/tagManage')">
  183. <image src="../../static/images/index/fwzx.svg" mode=""></image>
  184. <view class=""> 求职意向 </view>
  185. </view>
  186. <view class="jobServer-box-btn-item flex justify-center flex-wrap"
  187. @click="gojiLuList('/package/records/records', '面试记录')">
  188. <image src="../../static/images/index/rmhd.svg" mode=""></image>
  189. <view class=""> 项目中心 </view>
  190. </view>
  191. </view>
  192. </view>
  193. </view>
  194. </view>
  195. <!-- 更多工具 -->
  196. <!-- 更多功能区域 -->
  197. <view class="more-functions">
  198. <view class="section-title">更多功能</view>
  199. <view class="function-grid">
  200. <!-- <view class="function-item">
  201. <image src="../../static/images/index/moreSkill2.svg" class="function-icon"></image>
  202. <text class="function-text">精选公司</text>
  203. </view> -->
  204. <view class="function-item" @click="goNav('/pages/my/ruleCenter')">
  205. <image src="../../static/images/index/moreSkill3.svg" class="function-icon"></image>
  206. <text class="function-text">规则中心</text>
  207. </view>
  208. <view class="function-item" @click="goChat">
  209. <image src="../../static/images/index/moreSkill4.svg" class="function-icon"></image>
  210. <text class="function-text">联系客服</text>
  211. </view>
  212. <view class="function-item" @click="showReportModal = true">
  213. <image src="../../static/images/index/wyts.svg" class="function-icon"></image>
  214. <text class="function-text">我要投诉</text>
  215. </view>
  216. <view class="function-item" @click="goNav('/pages/my/headhunter')">
  217. <image src="../../static/images/index/moreSkill1.svg" class="function-icon"></image>
  218. <text class="function-text">猎头服务</text>
  219. </view>
  220. <view class="function-item" @click="goNav('/package/my/hiddenManagement/index')">
  221. <image src="@/static/images/svg/building.svg" class="function-icon"></image>
  222. <text class="function-text">屏蔽管理</text>
  223. </view>
  224. <!-- <view v-if="token" class="function-item" @click="goOut()">
  225. <image src="../../static/images/my/icon/utils/utils8.png"
  226. class="function-icon"></image>
  227. <view class="function-text">
  228. 退出登录
  229. </view>
  230. </view> -->
  231. </view>
  232. </view>
  233. <view v-if="false" class="utils flex justify-center">
  234. <view class="utils-box">
  235. <view class="utils-box-c">
  236. <view class="util-list">
  237. <!-- <view class="flex justify-center flex-wrap" style="width: 102rpx;" @click="goNav('/package/my/resume')">
  238. <image src="../../static/images/my/icon/utils/utils1.png"
  239. style="width: 54rpx;height: 54rpx;" mode=""></image>
  240. <view class="" style="color: #1A1A1A;font-size: 24rpx;margin-top: 15rpx;">
  241. 我的简历
  242. </view>
  243. </view> -->
  244. <view class="util-item" @click="goNavNoLogin('/pages/my/invitationUser')">
  245. <image src="../../static/images/my/icon/utils/utils2.png"
  246. style="width: 54rpx; height: 54rpx" mode=""></image>
  247. <view class="" style="color: #1a1a1a; font-size: 24rpx; margin-top: 15rpx">
  248. 邀请好友
  249. </view>
  250. </view>
  251. <view v-if="XCXIsSelect != '否'" class="util-item"
  252. @click="goNavNoLogin('/my/setting/feedbackIndex')">
  253. <image src="../../static/images/my/icon/utils/help.png"
  254. style="width: 54rpx; height: 54rpx" mode=""></image>
  255. <view class="" style="color: #1a1a1a; font-size: 24rpx; margin-top: 15rpx">
  256. 帮助中心
  257. </view>
  258. </view>
  259. <view v-if="iosAudit == 0" class="util-item" @click="goChat">
  260. <image src="../../static/images/my/icon/utils/utils4.png"
  261. style="width: 54rpx; height: 54rpx" mode=""></image>
  262. <view class="" style="color: #1a1a1a; font-size: 24rpx; margin-top: 15rpx">
  263. 联系客服
  264. </view>
  265. </view>
  266. <view class="util-item" @click="goNavNoLogin('/my/setting/mimi')">
  267. <image src="../../static/images/my/icon/utils/utils5.png"
  268. style="width: 54rpx; height: 54rpx" mode=""></image>
  269. <view class="" style="color: #1a1a1a; font-size: 24rpx; margin-top: 15rpx">
  270. 隐私协议
  271. </view>
  272. </view>
  273. <!-- <view class="flex justify-center flex-wrap" style="width: 112rpx;" @click="goNav('/my/setting/xieyi')">
  274. <image src="../../static/images/my/icon/utils/utils6.png"
  275. style="width: 54rpx;height: 54rpx;" mode=""></image>
  276. <view class="" style="color: #1A1A1A;font-size: 24rpx;margin-top: 15rpx;">
  277. 用户协议
  278. </view>
  279. </view> -->
  280. <view class="util-item" @click="goNavNoLogin('/my/setting/xieyi')">
  281. <image src="../../static/images/my/icon/utils/utils6.png"
  282. style="width: 54rpx; height: 54rpx" mode=""></image>
  283. <view class="" style="color: #1a1a1a; font-size: 24rpx; margin-top: 15rpx">
  284. 用户协议
  285. </view>
  286. </view>
  287. <view class="util-item" @click="goNavNoLogin('/my/setting/about')">
  288. <!-- goNavNoLogin('/my/setting/about') -->
  289. <!-- pages/my/jobApplicant/startPage -->
  290. <image src="../../static/images/my/icon/utils/utils7.png"
  291. style="width: 54rpx; height: 54rpx" mode=""></image>
  292. <view class="" style="color: #1a1a1a; font-size: 24rpx; margin-top: 15rpx">
  293. 关于我们
  294. </view>
  295. </view>
  296. <view v-if="token" class="util-item" @click="goOut()">
  297. <image src="../../static/images/my/icon/utils/utils8.png"
  298. style="width: 54rpx; height: 54rpx" mode=""></image>
  299. <view class="" style="color: #1a1a1a; font-size: 24rpx; margin-top: 15rpx">
  300. 退出登录
  301. </view>
  302. </view>
  303. <view class="util-item" @click="goNav('/pages/my/ruleCenter')">
  304. <image src="../../static/images/my/icon/utils/utils5.png"
  305. style="width: 54rpx; height: 54rpx" mode=""></image>
  306. <view class="" style="color: #1a1a1a; font-size: 24rpx; margin-top: 15rpx">
  307. 规则中心
  308. </view>
  309. </view>
  310. <!-- <view class="flex justify-center flex-wrap" style="width: 112rpx;height: 0;" v-if="!token">
  311. </view>
  312. <view class="flex justify-center flex-wrap" style="width: 112rpx;height: 0;">
  313. </view> -->
  314. </view>
  315. </view>
  316. </view>
  317. </view>
  318. <view class="beian">客服电话 400-000-0100 工作时间08:00-22:00</view>
  319. <view class="beian">人力资源服务许可证 营业执照 深圳市人社局监督电话</view>
  320. <view class="beian">粤ICP备2025494494号-2A</view>
  321. </view>
  322. </view>
  323. </block>
  324. <!-- 企业端 -->
  325. <block v-else>
  326. <view class="user-box">
  327. <view class="user-top">
  328. <view class="info flex justify-center">
  329. <view class="info-box">
  330. <view v-if="XCXIsSelect != '否'" class="info-box-btn flex justify-end align-center">
  331. <image src="@/static/images/jobApplicant/qiehuan.svg" mode="scaleToFill"
  332. style="margin-top: 40rpx;margin-right:30rpx" @click="goNav('switchRoles')" />
  333. <image src="@/static/images/jobApplicant/shezhi.svg" mode="scaleToFill"
  334. style="margin-top: 40rpx;" @click="goNav('/pages/my/setup')" />
  335. </view>
  336. <view class="info-box-header flex align-center" @click="goNav('/pages/my/userinfo')">
  337. <view class="info-box-header-l">
  338. <image :src="avatar ? avatar : '../../static/logo.png'" mode="aspectFill"></image>
  339. </view>
  340. <view class="info-box-header-r">
  341. <view class="info-box-header-r-name flex align-center">
  342. {{ userName }}
  343. <image v-if="isUserVip"
  344. style="margin-left: 10rpx; width: 80rpx; height: 30rpx"
  345. src="../../static/images/my/isVip.png" mode=""></image>
  346. </view>
  347. <view v-if="XCXIsSelect != '否'" class="info-box-header-r-bj flex align-center">
  348. {{ companyInfo.companyAllName || "" }}
  349. <!-- <image src="@/static/images/jobApplicant/edit-user.svg" mode="scaleToFill" /> -->
  350. </view>
  351. </view>
  352. <view class="arrow-icon" style="margin-left: 10%;">
  353. <u-icon name="arrow-right" color="#FFF" size="24"></u-icon>
  354. </view>
  355. </view>
  356. <!-- 记录栏 -->
  357. <view class="info-box-num flex align-center justify-between" v-if="XCXIsSelect != '否'"
  358. style="padding: 0 100rpx;">
  359. <view class="info-box-num-td"
  360. @click="goNav('/pages/recruitmentData/communicationRecords?tab=0')">
  361. <view class="info-box-num-td-num"> {{ chatCount }} </view>
  362. <view class="info-box-num-td-name">沟通过</view>
  363. </view>
  364. <view class="info-box-num-td"
  365. @click="goNav('/pages/recruitmentData/communicationRecords?tab=1')">
  366. <view class="info-box-num-td-num"> {{ interviewCount }} </view>
  367. <view class="info-box-num-td-name">面试</view>
  368. </view>
  369. <view class="info-box-num-td"
  370. @click="goNav('/pages/recruitmentData/communicationRecords?tab=2')">
  371. <view class="info-box-num-td-num"> {{ collectionCount }} </view>
  372. <view class="info-box-num-td-name">收藏</view>
  373. </view>
  374. <!-- <view class="info-box-num-td" @click="goNav('/pages/my/onlineResume')">
  375. <view class="info-box-num-td-num"> 0 </view>
  376. <view class="info-box-num-td-name">分享</view>
  377. </view> -->
  378. </view>
  379. </view>
  380. </view>
  381. </view>
  382. <view class="user-content">
  383. <!-- 升级VIP -->
  384. <view v-if="iosAudit == 0" class="vip-upgrade-banner" @click="goVipUpgrade">
  385. <view class="vip-banner-content">
  386. <view class="vip-banner-text"> 升级VIP专享超值权益 </view>
  387. <view class="vip-upgrade-button"> 去升级 </view>
  388. </view>
  389. </view>
  390. <!-- 职位管理 -->
  391. <view class="job-management-card" @click="goJobManagement">
  392. <view class="job-management-content">
  393. <view class="job-count-text">
  394. <text class="count-number">{{ postPushCount || 0 }}</text>
  395. <text class="count-label">个在线职位</text>
  396. </view>
  397. <view class="arrow-icon">
  398. <u-icon name="arrow-right" color="#999" size="24"></u-icon>
  399. </view>
  400. </view>
  401. </view>
  402. <!-- vip -->
  403. <!-- <view
  404. class="vip flex justify-center"
  405. @click="goNav('/my/vip/index')"
  406. v-if="XCXIsSelect != '否'"
  407. >
  408. <view class="vip-box">
  409. <image
  410. class="vip-box-bg"
  411. src="../../static/images/my/icon/vip.png"
  412. mode=""
  413. ></image>
  414. <view class="vip-box-cont flex justify-center">
  415. <view
  416. class="flex justify-between align-center"
  417. style="width: 626rpx; z-index: 9; margin-top: 30rpx"
  418. >
  419. <view class="flex align-center">
  420. <image
  421. src="../../static/images/my/icon/vip2.png"
  422. style="width: 32rpx; height: 29rpx; margin-right: 5rpx"
  423. mode=""
  424. ></image>
  425. <image
  426. src="../../static/images/my/icon/vip4.png"
  427. style="width: 140rpx; height: 29rpx; margin-right: 20rpx"
  428. mode=""
  429. ></image>
  430. <text style="color: #914016; font-size: 24rpx">尊享超多特权</text>
  431. </view>
  432. <view
  433. class="flex align-center"
  434. style="
  435. color: #914016;
  436. font-size: 24rpx;
  437. font-weight: bold;
  438. z-index: 999;
  439. margin-right: 10rpx;
  440. "
  441. >
  442. {{ isUserVip == true ? "已开通" : "去开通" }}
  443. <u-icon name="play-right-fill" color="#914016" size="18"></u-icon>
  444. </view>
  445. </view>
  446. </view>
  447. </view>
  448. </view> -->
  449. <!-- 求职服务 -->
  450. <view class="jobServer flex justify-center" v-if="XCXIsSelect != '否'"
  451. :style="XCXIsSelect == '否' ? 'margin-top:30rpx' : ''">
  452. <view class="jobServer-box flex justify-center"
  453. style="padding: 0 80rpx;box-sizing: border-box;">
  454. <view class="jobServer-box-c">
  455. <!-- <view class="jobServer-box-title"> 招聘服务 </view> -->
  456. <view class="jobServer-box-btn flex justify-between">
  457. <view v-if="$queue.getData('companyId')"
  458. class="jobServer-box-btn-item flex justify-center flex-wrap"
  459. @click="goNav('/pages/recruitmentData/index')">
  460. <image src="../../static/images/index/shuju.svg" mode=""></image>
  461. <view class=""> 招聘数据 </view>
  462. </view>
  463. <view class="jobServer-box-btn-item flex justify-center flex-wrap"
  464. @click="goNavStatus('/pages/my/jobPosting')">
  465. <image src="../../static/images/index/qwzn.svg" mode=""></image>
  466. <view class=""> 发布招聘 </view>
  467. </view>
  468. <!-- <view class="jobServer-box-btn-item flex justify-center flex-wrap"
  469. @click="refreshJob()">
  470. <image src="../../static/images/index/cpbk.svg" mode=""></image>
  471. <view class=""> 招聘刷新 </view>
  472. </view> -->
  473. <view class="jobServer-box-btn-item flex justify-center flex-wrap"
  474. @click="$queue.getData('companyId') ? goNav('/my/renzheng/editCompany?companyId=' + $queue.getData('companyId')) : goNav('/pages/my/businessLicense')">
  475. <image src="../../static/images/index/fwzx.svg" mode=""></image>
  476. <view class=""> 公司主页 </view>
  477. </view>
  478. <!-- <view class="jobServer-box-btn-item flex justify-center flex-wrap"
  479. @click="goNav('/package/deliveryRecord/deliveryRecord')">
  480. <image src="../../static/images/index/rmhd.svg" mode=""></image>
  481. <view class=""> 已投简历 </view>
  482. </view> -->
  483. </view>
  484. </view>
  485. </view>
  486. </view>
  487. <!-- 推广横幅 -->
  488. <view class="promo-banner" @click="goBusinessLicense(1)">
  489. <view class="banner-content">
  490. <view class="banner-text">
  491. <text class="banner-title">资金找项目</text>
  492. <text class="banner-subtitle">亿职赞,为您提供前程似锦的优质项目!</text>
  493. </view>
  494. <view class="banner-button">
  495. <text class="button-text">立即参与</text>
  496. </view>
  497. </view>
  498. </view>
  499. <!-- 我的钱包 -->
  500. <!-- <view class="money flex justify-center" v-if="XCXIsSelect != '否'">
  501. <view class="money-box flex justify-center align-center">
  502. <view class="money-box-c flex justify-between">
  503. <view class="money-box-c-l flex flex-wrap" @click="goNav('/my/wallet/wallet')">
  504. <view class="money-box-c-l-name"> 我的钻石 </view>
  505. <view class="money-box-c-l-price flex align-center">
  506. {{ money }}
  507. <text style="margin-left: 10rpx">钻石</text>
  508. </view>
  509. </view>
  510. <view class="money-box-c-r flex flex-wrap" @click="goNav('/my/gird/browse')">
  511. <view class="money-box-c-r-name"> 浏览记录 </view>
  512. <view class="money-box-c-r-more"> 点击查看更多 </view>
  513. </view>
  514. </view>
  515. </view>
  516. </view> -->
  517. <!-- 我的招聘 -->
  518. <!-- <view
  519. class="jobServer flex justify-center"
  520. style="margin-top: 20rpx"
  521. v-if="XCXIsSelect != '否'"
  522. >
  523. <view class="jobServer-box flex justify-center">
  524. <view class="jobServer-box-c" @click="goNav('/my/order/index')">
  525. <view class="jobServer-box-title"> 我的招聘 </view>
  526. <view class="jobServer-box-btn flex justify-between">
  527. <view
  528. class="jobServer-box-btn-item flex justify-center flex-wrap item-width"
  529. @click.stop="goNav('/my/order/index?index=' + 1)"
  530. >
  531. <image
  532. src="../../static/images/my/my/my1.png"
  533. style="width: 46rpx; height: 38rpx"
  534. mode=""
  535. ></image>
  536. <view class=""> 待审核 </view>
  537. </view>
  538. <view
  539. class="jobServer-box-btn-item flex justify-center flex-wrap item-width"
  540. @click.stop="goNav('/my/order/index?index=' + 2)"
  541. >
  542. <image
  543. src="../../static/images/my/my/my2.png"
  544. style="width: 46rpx; height: 38rpx"
  545. mode=""
  546. ></image>
  547. <view class=""> 招聘中 </view>
  548. </view>
  549. <view
  550. class="jobServer-box-btn-item flex justify-center flex-wrap item-width"
  551. @click.stop="goNav('/my/order/index?index=' + 5)"
  552. >
  553. <image
  554. src="../../static/images/my/my/my3.png"
  555. style="width: 46rpx; height: 38rpx"
  556. mode=""
  557. ></image>
  558. <view class=""> 已关闭 </view>
  559. </view>
  560. <view
  561. class="jobServer-box-btn-item flex justify-center flex-wrap item-width"
  562. @click.stop="goNav('/my/order/index?index=' + 3)"
  563. >
  564. <image
  565. src="../../static/images/my/my/my4.png"
  566. style="width: 50rpx; height: 38rpx"
  567. mode=""
  568. ></image>
  569. <view class=""> 已拒绝 </view>
  570. </view>
  571. </view>
  572. </view>
  573. </view>
  574. </view> -->
  575. <!-- 更多工具 -->
  576. <view class="utils flex justify-center">
  577. <view class="utils-box flex justify-center">
  578. <view class="utils-box-c">
  579. <view class="util-list">
  580. <view class="util-item" @click="goNav('/pages/my/ruleCenter')">
  581. <image src="../../static/images/my/icon/utils/rulerCenter.png"
  582. style="width: 54rpx; height: 54rpx" mode=""></image>
  583. <view class="" style="color: #1a1a1a; font-size: 24rpx; margin-top: 15rpx">
  584. 规则中心
  585. </view>
  586. </view>
  587. <view v-if="iosAudit == 0" class="util-item"
  588. @click="goNav('/pages/my/VIP/benefits')">
  589. <image src="../../static/images/my/icon/utils/benefits.png"
  590. style="width: 54rpx; height: 54rpx" mode=""></image>
  591. <view class="" style="color: #1a1a1a; font-size: 24rpx; margin-top: 15rpx">
  592. 我的权益
  593. </view>
  594. </view>
  595. <!-- <view class="util-item" @click="showToast('功能开发中')">
  596. <image src="../../static/images/my/icon/utils/wallet.png"
  597. style="width: 54rpx; height: 54rpx" mode=""></image>
  598. <view class="" style="color: #1a1a1a; font-size: 24rpx; margin-top: 15rpx">
  599. 钱包
  600. </view>
  601. </view>
  602. <view class="util-item" @click="showToast('功能开发中')">
  603. <image src="../../static/images/my/icon/utils/invoice.png"
  604. style="width: 54rpx; height: 54rpx" mode=""></image>
  605. <view class="" style="color: #1a1a1a; font-size: 24rpx; margin-top: 15rpx">
  606. 发票
  607. </view>
  608. </view> -->
  609. <!-- <view class="util-item" @click="showToast('功能开发中')">
  610. <image src="../../static/images/my/icon/utils/user.png"
  611. style="width: 54rpx; height: 54rpx" mode=""></image>
  612. <view class="" style="color: #1a1a1a; font-size: 24rpx; margin-top: 15rpx">
  613. 个人主页
  614. </view>
  615. </view> -->
  616. <view v-if="$queue.getData('companyId')" class="util-item"
  617. @click="goNav('/pages/my/myCompany')">
  618. <image src="../../static/images/my/icon/utils/company.png"
  619. style="width: 54rpx; height: 54rpx" mode=""></image>
  620. <view class="" style="color: #1a1a1a; font-size: 24rpx; margin-top: 15rpx">
  621. 企业管理
  622. </view>
  623. </view>
  624. <view class="util-item" @click="goChat">
  625. <image src="../../static/images/my/icon/utils/kefu.png"
  626. style="width: 54rpx; height: 54rpx" mode=""></image>
  627. <view class="" style="color: #1a1a1a; font-size: 24rpx; margin-top: 15rpx">
  628. 我的客服
  629. </view>
  630. </view>
  631. <!-- <view class="util-item" @click="goNav('/my/setting/mimi')">
  632. <image src="../../static/images/my/icon/utils/privacy.png"
  633. style="width: 54rpx; height: 54rpx" mode=""></image>
  634. <view class="" style="color: #1a1a1a; font-size: 24rpx; margin-top: 15rpx">
  635. 隐私规则
  636. </view>
  637. </view> -->
  638. <!-- <view v-if="XCXIsSelect != '否'" class="util-item"
  639. @click="goNav('/package/myLove/myLove')">
  640. <image src="../../static/images/my/icon/utils/myLovere.png"
  641. style="width: 54rpx; height: 54rpx" mode=""></image>
  642. <view class="" style="color: #1a1a1a; font-size: 24rpx; margin-top: 15rpx">
  643. 我的收藏
  644. </view>
  645. </view>
  646. <view v-if="XCXIsSelect != '否'" class="util-item" @click="goNav('/my/jilu/jilu')">
  647. <image src="../../static/images/my/icon/utils/jilu.png"
  648. style="width: 54rpx; height: 54rpx" mode=""></image>
  649. <view class="" style="color: #1a1a1a; font-size: 24rpx; margin-top: 15rpx">
  650. 面试记录
  651. </view>
  652. </view>
  653. <view class="util-item" v-if="XCXIsSelect != '否'"
  654. @click="goNav('/my/renzheng/zhuanrang')">
  655. <image src="../../static/images/my/icon/utils/qy.png"
  656. style="width: 54rpx; height: 54rpx" mode=""></image>
  657. <view class="" style="color: #1a1a1a; font-size: 24rpx; margin-top: 15rpx">
  658. 转让企业
  659. </view>
  660. </view>
  661. <view v-if="XCXIsSelect != '否'" class="util-item"
  662. @click="goNav('/package/blackList/blackList')">
  663. <image src="../../static/images/my/icon/utils/utils3.png"
  664. style="width: 54rpx; height: 54rpx" mode=""></image>
  665. <view class="" style="color: #1a1a1a; font-size: 24rpx; margin-top: 15rpx">
  666. 黑名单
  667. </view>
  668. </view>
  669. <view class="util-item" @click="goNav('/pages/my/invitationUserqy')">
  670. <image src="../../static/images/my/icon/utils/utils2.png"
  671. style="width: 54rpx; height: 54rpx" mode=""></image>
  672. <view class="" style="color: #1a1a1a; font-size: 24rpx; margin-top: 15rpx">
  673. 邀请好友
  674. </view>
  675. </view>
  676. <view class="util-item" @click="goChat">
  677. <image src="../../static/images/my/icon/utils/utils4.png"
  678. style="width: 54rpx; height: 54rpx" mode=""></image>
  679. <view class="" style="color: #1a1a1a; font-size: 24rpx; margin-top: 15rpx">
  680. 联系客服
  681. </view>
  682. </view>
  683. <view class="util-item" @click="goNav('/my/setting/mimi')">
  684. <image src="../../static/images/my/icon/utils/utils5.png"
  685. style="width: 54rpx; height: 54rpx" mode=""></image>
  686. <view class="" style="color: #1a1a1a; font-size: 24rpx; margin-top: 15rpx">
  687. 隐私协议
  688. </view>
  689. </view>
  690. <view class="util-item" @click="goNav('/my/setting/xieyi')">
  691. <image src="../../static/images/my/icon/utils/utils6.png"
  692. style="width: 54rpx; height: 54rpx" mode=""></image>
  693. <view class="" style="color: #1a1a1a; font-size: 24rpx; margin-top: 15rpx">
  694. 用户协议
  695. </view>
  696. </view>
  697. <view class="util-item" @click="goNav('/my/setting/about')">
  698. <image src="../../static/images/my/icon/utils/utils7.png"
  699. style="width: 54rpx; height: 54rpx" mode=""></image>
  700. <view class="" style="color: #1a1a1a; font-size: 24rpx; margin-top: 15rpx">
  701. 关于我们
  702. </view>
  703. </view>
  704. <view v-if="XCXIsSelect != '否'" class="util-item"
  705. @click="goNav('/my/setting/feedbackIndex')">
  706. <image src="../../static/images/my/icon/utils/help.png"
  707. style="width: 54rpx; height: 54rpx" mode=""></image>
  708. <view class="" style="color: #1a1a1a; font-size: 24rpx; margin-top: 15rpx">
  709. 帮助中心
  710. </view>
  711. </view>-->
  712. <!-- <view v-if="token" class="util-item" @click="goOut()">
  713. <image src="../../static/images/my/icon/utils/utils8.png"
  714. style="width: 54rpx; height: 54rpx" mode=""></image>
  715. <view class="" style="color: #1a1a1a; font-size: 24rpx; margin-top: 15rpx">
  716. 退出登录
  717. </view>
  718. </view> -->
  719. </view>
  720. </view>
  721. </view>
  722. </view>
  723. <view class="beian">客服电话 400-000-0100 工作时间08:00-22:00</view>
  724. <view class="beian">人力资源服务许可证 营业执照 深圳市人社局监督电话</view>
  725. <view class="beian">粤ICP备2025494494号-2A</view>
  726. </view>
  727. </view>
  728. </block>
  729. <!-- 状态切换 -->
  730. <u-action-sheet :list="list" @click="click" :tips="tips" v-model="show"></u-action-sheet>
  731. <!-- Modal 弹框 -->
  732. <u-popup v-model="showReportModal" mode="center" border-radius="20">
  733. <view class="report-content">
  734. <view class="report-title">亿职赞的旅途中若出现任何不满,请通过以下方式进行投诉</view>
  735. <view class="report-desc-box">
  736. <view class="report-desc">投诉电话:18126311505</view>
  737. <view class="report-desc">投诉邮箱:service@bosszan.com</view>
  738. </view>
  739. <view class="report-desc-small">
  740. 我们将在核实后第一时间处理!<br>
  741. 十分感谢您的信任!
  742. </view>
  743. <view class="report-btn" @click="showReportModal = false">确认</view>
  744. </view>
  745. </u-popup>
  746. <u-popup v-model="showNotice" mode="center" :mask-close-able="false">
  747. <view class="flex flex-direction" style="background-color: rgba(0, 0, 0, 0.6);height: 85vh;">
  748. <view class="pop-image" v-if="userType == 1">
  749. <image src="/static/images/hxr.jpg"></image>
  750. </view>
  751. <view class="pop-image" v-if="userType == 2">
  752. <image src="/static/images/qy.jpg"></image>
  753. </view>
  754. <u-button @click="showNotice = false" class="pop-btn">确认</u-button>
  755. </view>
  756. </u-popup>
  757. </view>
  758. </template>
  759. <script>
  760. export default {
  761. data() {
  762. return {
  763. tips: {
  764. text: "切换状态",
  765. color: "#909399",
  766. fontSize: 28,
  767. },
  768. showReportModal: false,
  769. reportContent: '',
  770. contact: '',
  771. show: false,
  772. list: [{
  773. id: 1,
  774. text: "离职-正在找工作",
  775. fontSize: 24,
  776. },
  777. {
  778. id: 2,
  779. text: "在职-考虑机会",
  780. fontSize: 24,
  781. },
  782. {
  783. id: 3,
  784. text: "在职-暂不考虑",
  785. fontSize: 24,
  786. },
  787. {
  788. id: 4,
  789. text: "实习",
  790. fontSize: 24,
  791. },
  792. /* {
  793. id: '0',
  794. text: '离职-随时到岗',
  795. fontSize: 24,
  796. },
  797. {
  798. id: '1',
  799. text: '在职-月内到岗',
  800. fontSize: 24,
  801. },
  802. {
  803. id: '2',
  804. text: '在职-考虑机会',
  805. fontSize: 24,
  806. },
  807. {
  808. id: '3',
  809. text: '在职-暂不考虑',
  810. fontSize: 24,
  811. } */
  812. ],
  813. userType: 1,
  814. avatar: "../../static/logo.png",
  815. userName: "登录",
  816. XCXIsSelect: "否",
  817. userId: "",
  818. arr: [],
  819. showModal: true,
  820. CompanyList: {},
  821. money: "0",
  822. browseCount: 0,
  823. collectionCount: 0,
  824. deliveryCount: 0,
  825. chatCount: 0,
  826. interviewCount: 0,
  827. postPushCount: 0,//在线职位数量
  828. isVip: false, //用户是否是vip
  829. isUserVip: false, //企业是否是vip
  830. resumesStatus: 1, //求职状态
  831. resumesId: "",
  832. token: "",
  833. companyInfo: "",
  834. companyStatus: "", //企业认证状态(1:审核中 2:已通过 3:已拒绝 空:未认证)
  835. isAndroid: false,
  836. iosAudit: 1,
  837. showNotice:false,
  838. score: 0, // 简历完善度
  839. };
  840. },
  841. onLoad(e) {
  842. this.XCXIsSelect = this.$queue.getData("XCXIsSelect");
  843. var that = this
  844. //#ifdef APP-PLUS
  845. this.isAndroid = uni.getSystemInfoSync().platform == 'android'
  846. //#endif
  847. //#ifndef APP-PLUS
  848. this.isAndroid = true
  849. //#endif
  850. uni.$on('changeRole', function (res) {
  851. console.log(res.userType)
  852. if (res.userType == 1) {
  853. that.getUserInfo();
  854. that.getUserData();
  855. } else {
  856. that.getCompany();
  857. }
  858. that.$queue.changeTabbar(res.userType)
  859. })
  860. uni.$on('offLogin', function (res) {
  861. that.userId = "";
  862. that.userType = 1;
  863. that.money = 0;
  864. that.chatCount = 0;
  865. that.deliveryCount = 0;
  866. that.browseCount = 0;
  867. that.collectionCount = 0;
  868. that.postPushCount = 0;
  869. that.interviewCount = 0;
  870. that.token = "";
  871. that.isLogin = true;
  872. that.userName = "登录";
  873. that.avatar = "../../static/logo.png";
  874. that.isVip = false;
  875. that.companyInfo = '';
  876. })
  877. console.log(uni.getStorageSync("userType"))
  878. this.$queue.changeTabbar(uni.getStorageSync("userType") || 1);
  879. setTimeout(()=>{
  880. if(this.userType){
  881. this.showNotice = true;
  882. }
  883. },1000)
  884. },
  885. onUnload() {
  886. uni.$off('changeRole')
  887. },
  888. onShow() {
  889. this.token = uni.getStorageSync("token");
  890. console.log(this.token, "myToken");
  891. if (uni.getStorageSync("userType")) {
  892. this.userType = uni.getStorageSync("userType");
  893. }
  894. this.userId = uni.getStorageSync("userId");
  895. if (this.userId) {
  896. this.getUserInfo();
  897. this.getMyMoney();
  898. this.getUserData();
  899. if (this.userType == 1) {
  900. this.getJlInfo();
  901. } else {
  902. this.getCompanyStatus();
  903. }
  904. this.$Request.getT("/app/common/type/310").then((res) => {
  905. //消息未读提醒
  906. if (res.code == 0) {
  907. if (res.data && res.data.value) {
  908. this.arr.push(res.data.value);
  909. }
  910. }
  911. });
  912. this.$Request.getT("/app/common/type/337").then((res) => {
  913. //预约成功通知(通用)
  914. if (res.code == 0) {
  915. if (res.data && res.data.value) {
  916. this.arr.push(res.data.value);
  917. }
  918. }
  919. });
  920. this.$Request.getT("/app/common/type/338").then((res) => {
  921. //订单状态通知
  922. if (res.code == 0) {
  923. if (res.data && res.data.value) {
  924. this.arr.push(res.data.value);
  925. }
  926. }
  927. });
  928. // #ifdef MP-WEIXIN
  929. if (this.showModal) {
  930. this.openMsg();
  931. }
  932. // #endif
  933. }
  934. },
  935. methods: {
  936. // 入职公司
  937. goBusinessLicense(pageType) {
  938. uni.navigateTo({
  939. url: "/pages/my/ad?pageType=" + pageType,
  940. });
  941. },
  942. // 在线客服
  943. goChat() {
  944. let that = this;
  945. if (uni.getStorageSync("userType") == 1) {
  946. //用户端
  947. // #ifdef MP-WEIXIN
  948. wx.openCustomerServiceChat({
  949. extInfo: {
  950. url: that.$queue.getData("kefu"),
  951. },
  952. corpId: that.$queue.getData("kefuAppid"),
  953. success(res) {
  954. console.log(res);
  955. },
  956. });
  957. // #endif
  958. // #ifdef H5
  959. window.location.href = that.$queue.getData("kefu");
  960. // #endif
  961. // #ifdef APP
  962. let kefu = that.$queue.getData("kefu");
  963. console.log(kefu);
  964. plus.runtime.openURL(kefu, function (res) { });
  965. // #endif
  966. } else {
  967. //企业端
  968. // #ifdef MP-WEIXIN
  969. wx.openCustomerServiceChat({
  970. extInfo: {
  971. url: that.$queue.getData("kefuq"),
  972. },
  973. corpId: that.$queue.getData("kefuAppidq"),
  974. success(res) {
  975. console.log(res);
  976. },
  977. });
  978. // #endif
  979. // #ifdef H5
  980. window.location.href = that.$queue.getData("kefuq");
  981. // #endif
  982. // #ifdef APP
  983. let kefu = that.$queue.getData("kefuq");
  984. console.log(kefu);
  985. plus.runtime.openURL(kefu, function (res) { });
  986. // #endif
  987. }
  988. },
  989. showToast(title) {
  990. uni.showToast({
  991. title: title,
  992. icon: "none",
  993. });
  994. },
  995. goNavStatus(url) {
  996. if (this.companyStatus) {
  997. if (this.companyStatus == 1) {
  998. uni.showToast({
  999. title: "企业认证审核中,请审核通过后操作!",
  1000. icon: "none",
  1001. });
  1002. return;
  1003. }
  1004. if (this.companyStatus == 3) {
  1005. uni.showToast({
  1006. title: "企业认证审核未通过,请重新认证!",
  1007. icon: "none",
  1008. });
  1009. return;
  1010. }
  1011. uni.navigateTo({
  1012. url: url,
  1013. });
  1014. } else {
  1015. uni.showModal({
  1016. title: "提示",
  1017. content: "还未完成企业认证,请完成企业认证后操作",
  1018. success(ret) {
  1019. if (ret.confirm) {
  1020. uni.navigateTo({
  1021. url: "/pages/my/businessLicense",
  1022. })
  1023. }
  1024. },
  1025. });
  1026. }
  1027. },
  1028. currenStatus() {
  1029. if (uni.getStorageSync("token")) {
  1030. this.show = true;
  1031. } else {
  1032. this.noLogin();
  1033. }
  1034. },
  1035. //修改用户身份状态
  1036. async updateUserResumes(userType) {
  1037. // 调用接口提交
  1038. uni.showLoading({
  1039. title: "切换中..."
  1040. });
  1041. this.$Request.postJson("/app/user/updateUserResumes", {
  1042. userType: userType
  1043. })
  1044. .then((res) => {
  1045. uni.hideLoading();
  1046. if (res.code === 0) {
  1047. uni.setStorageSync('userType', userType)
  1048. uni.switchTab({
  1049. url: '/pages/my/index'
  1050. });
  1051. } else {
  1052. uni.switchTab({
  1053. url: '/pages/my/index'
  1054. });
  1055. }
  1056. })
  1057. .catch((err) => {
  1058. uni.hideLoading();
  1059. console.error("提交失败:", err);
  1060. uni.showToast({
  1061. title: "网络异常",
  1062. icon: "none"
  1063. });
  1064. return 1
  1065. });
  1066. },
  1067. //查询简历信息
  1068. getJlInfo() {
  1069. this.$Request.getT("/app/resumes/selectResumesByUserId").then((res) => {
  1070. if (res.code == 0) {
  1071. if (res.data) {
  1072. this.resumesStatus = res.data.resumesStatus;
  1073. this.resumesId = res.data.resumesId;
  1074. this.score = res.data.score;
  1075. if (this.resumesStatus == 1) {
  1076. this.list = [{
  1077. id: 2,
  1078. text: "在职-考虑机会",
  1079. fontSize: 24,
  1080. },
  1081. {
  1082. id: 3,
  1083. text: "在职-暂不考虑",
  1084. fontSize: 24,
  1085. },
  1086. ];
  1087. } else if (this.resumesStatus == 2) {
  1088. this.list = [{
  1089. id: 1,
  1090. text: "离职-正在找工作",
  1091. fontSize: 24,
  1092. },
  1093. {
  1094. id: 3,
  1095. text: "在职-暂不考虑",
  1096. fontSize: 24,
  1097. },
  1098. ];
  1099. } else {
  1100. this.list = [{
  1101. id: 1,
  1102. text: "离职-正在找工作",
  1103. fontSize: 24,
  1104. },
  1105. {
  1106. id: 2,
  1107. text: "在职-考虑机会",
  1108. fontSize: 24,
  1109. },
  1110. ];
  1111. }
  1112. } else {
  1113. uni.showToast({
  1114. title: "暂无简历,请添加简历",
  1115. icon: "none",
  1116. });
  1117. }
  1118. } else {
  1119. uni.showToast({
  1120. title: res.msg,
  1121. icon: "none",
  1122. });
  1123. }
  1124. });
  1125. },
  1126. //切换求职状态
  1127. click(e) {
  1128. console.log(this.list[e].text);
  1129. let that = this;
  1130. uni.showModal({
  1131. title: "提示",
  1132. content: "确认求职状态切换为:" + that.list[e].text + " 吗?",
  1133. confirmColor: "#016BF6",
  1134. complete(ret) {
  1135. if (ret.confirm) {
  1136. let data = {
  1137. resumesId: that.resumesId,
  1138. resumesStatus: that.list[e].id,
  1139. };
  1140. that.$Request.postT("/app/resumes/updateResumesStatus", data).then((res) => {
  1141. if (res.code == 0) {
  1142. uni.showToast({
  1143. title: "已切换",
  1144. });
  1145. that.getJlInfo();
  1146. } else {
  1147. uni.showToast({
  1148. title: res.msg,
  1149. icon: "none",
  1150. });
  1151. }
  1152. });
  1153. }
  1154. },
  1155. });
  1156. },
  1157. //招聘刷新
  1158. refreshJob() {
  1159. if (uni.getStorageSync("userId")) {
  1160. this.$Request.postT("/app/postPush/refreshPostPush").then((res) => {
  1161. if (res.code == 0) {
  1162. uni.showToast({
  1163. title: "刷新成功",
  1164. });
  1165. } else {
  1166. if (this.isUserVip) {
  1167. uni.showToast({
  1168. title: res.msg,
  1169. icon: "none",
  1170. });
  1171. } else {
  1172. uni.showModal({
  1173. title: "提示",
  1174. content: "今日可刷新次数已使用完,开通会员可享更多刷新次数以及其他特权",
  1175. confirmText: "开通会员",
  1176. confirmColor: "#016BF6",
  1177. complete(ree) {
  1178. if (ree.confirm) {
  1179. uni.navigateTo({
  1180. url: "/my/vip/index",
  1181. });
  1182. }
  1183. },
  1184. });
  1185. }
  1186. }
  1187. });
  1188. } else {
  1189. this.noLogin();
  1190. }
  1191. },
  1192. //简历刷新
  1193. refresh() {
  1194. if (uni.getStorageSync("userId")) {
  1195. this.$Request.getT("/app/resumes/selectResumesByUserId").then((res) => {
  1196. if (res.code == 0) {
  1197. if (res.data && res.data.resumesId) {
  1198. this.$Request
  1199. .postT("/app/resumes/refreshResumes", {
  1200. resumesId: res.data.resumesId,
  1201. })
  1202. .then((ret) => {
  1203. if (ret.code == 0) {
  1204. uni.showToast({
  1205. title: "刷新成功",
  1206. });
  1207. } else {
  1208. if (this.isVip) {
  1209. uni.showToast({
  1210. title: ret.msg,
  1211. icon: "none",
  1212. });
  1213. } else {
  1214. uni.showModal({
  1215. title: "提示",
  1216. content: "今日可刷新次数已使用完,开通会员可享更多刷新次数以及其他特权",
  1217. confirmText: "开通会员",
  1218. confirmColor: "#016BF6",
  1219. complete(ree) {
  1220. if (ree.confirm) {
  1221. uni.navigateTo({
  1222. url: "/my/vip/index",
  1223. });
  1224. }
  1225. },
  1226. });
  1227. }
  1228. }
  1229. });
  1230. } else {
  1231. uni.showModal({
  1232. title: "提示",
  1233. content: "暂无简历,请添加简历后重试",
  1234. confirmColor: "#016BF6",
  1235. complete(ree) {
  1236. if (ree.confirm) {
  1237. uni.navigateTo({
  1238. url: "/package/my/resume",
  1239. });
  1240. }
  1241. },
  1242. });
  1243. }
  1244. } else {
  1245. uni.showToast({
  1246. title: res.msg,
  1247. icon: "none",
  1248. });
  1249. }
  1250. });
  1251. } else {
  1252. this.noLogin();
  1253. }
  1254. },
  1255. /**
  1256. * 获取投递记录、收藏记录、浏览记录
  1257. */
  1258. getUserData() {
  1259. this.$Request.getT("/app/user/userData").then((res) => {
  1260. if (res.code == 0) {
  1261. this.browseCount = res.data.browseCount;
  1262. this.collectionCount = res.data.collectionCount;
  1263. this.deliveryCount = res.data.deliveryCount;
  1264. this.chatCount = res.data.chatCount;
  1265. this.interviewCount = res.data.interviewCount;
  1266. this.postPushCount = res.data.postPushCount;
  1267. this.iosAudit = res.data.iosAudit
  1268. }
  1269. });
  1270. },
  1271. /**
  1272. * @param {Object} url 跳转路径
  1273. * @param {Object} name 名称
  1274. */
  1275. gojiLuList(url, name) {
  1276. if (uni.getStorageSync("token")) {
  1277. uni.navigateTo({
  1278. url: url + "?title=" + name,
  1279. });
  1280. } else {
  1281. this.noLogin();
  1282. }
  1283. },
  1284. // 跳转到职位管理页面
  1285. goJobManagement() {
  1286. let status = '';
  1287. if (this.companyInfo && !this.companyInfo.companyCertification) {
  1288. status = 1;
  1289. }
  1290. if (uni.getStorageSync("token")) {
  1291. uni.navigateTo({
  1292. url: `/pages/jobManagement/jobManagement?status=${status}&companyId=${this.companyInfo.companyId}`,
  1293. });
  1294. } else {
  1295. this.noLogin();
  1296. }
  1297. },
  1298. // VIP升级页面跳转
  1299. goVipUpgrade() {
  1300. if (uni.getStorageSync("token")) {
  1301. uni.navigateTo({
  1302. url: "/pages/my/VIP/benefits",
  1303. //url: "/my/vip/index"
  1304. });
  1305. } else {
  1306. this.noLogin();
  1307. }
  1308. },
  1309. /**
  1310. * 退出登录
  1311. */
  1312. goOut() {
  1313. let that = this;
  1314. uni.showModal({
  1315. title: "提示",
  1316. content: "确定退出登录吗?",
  1317. confirmColor: "#016BF6",
  1318. success: function (res) {
  1319. if (res.confirm) {
  1320. console.log("用户点击确定");
  1321. uni.removeStorageSync("userName");
  1322. uni.removeStorageSync("avatar");
  1323. uni.removeStorageSync("userId");
  1324. uni.removeStorageSync("token");
  1325. uni.removeStorageSync("phone");
  1326. uni.removeStorageSync("zhiFuBaoName");
  1327. uni.removeStorageSync("zhiFuBao");
  1328. uni.removeStorageSync("invitationCode");
  1329. uni.removeStorageSync("unionId");
  1330. uni.removeStorageSync("openId");
  1331. uni.removeStorageSync("isVIP");
  1332. uni.removeStorageSync("companyId");
  1333. // uni.removeStorageSync('userType')
  1334. uni.setStorageSync("userType", 1);
  1335. uni.setStorageSync("weixinPhone", false);
  1336. that.userId = "";
  1337. that.userType = 1;
  1338. that.money = 0;
  1339. that.deliveryCount = 0;
  1340. that.browseCount = 0;
  1341. that.collectionCount = 0;
  1342. that.token = "";
  1343. uni.showToast({
  1344. title: "退出成功!",
  1345. icon: "none",
  1346. });
  1347. that.isLogin = true;
  1348. that.userName = "登录";
  1349. that.avatar = "../../static/logo.png";
  1350. that.isVip = false;
  1351. // uni.reLaunch({
  1352. // url: '/pages/public/selectIdentity/selectIdentity'
  1353. // })
  1354. } else if (res.cancel) {
  1355. console.log("用户点击取消");
  1356. }
  1357. },
  1358. });
  1359. },
  1360. /**
  1361. * 我的钻石
  1362. */
  1363. getMyMoney() {
  1364. this.$Request.get("/app/userMoney/selectMyMoney").then((res) => {
  1365. if (res.code == 0) {
  1366. this.money = res.data.money;
  1367. }
  1368. });
  1369. },
  1370. /**
  1371. * 获取个人信息
  1372. */
  1373. getUserInfo() {
  1374. this.$Request.get("/app/user/selectUserById").then((res) => {
  1375. if (res.code == 0) {
  1376. uni.setStorageSync("weChatNum", res.data?.weChatNum);
  1377. uni.setStorageSync("zhiRate", res.data?.zhiRate);
  1378. if (res.data?.avatar) {
  1379. this.avatar = res.data.avatar;
  1380. }
  1381. if (res.data?.userName) {
  1382. this.userName = res.data.userName;
  1383. }
  1384. uni.setStorageSync("userId", res.data?.userId);
  1385. if (res.data?.companyId) {
  1386. uni.setStorageSync("companyId", res.data.companyId);
  1387. }
  1388. if (res.data?.userType == 1 || res.data?.userType == null) {
  1389. this.userType = 1;
  1390. uni.setStorageSync("userType", 1);
  1391. if (res.data?.isUserVip == 1) {
  1392. //判断用户是否是vip
  1393. this.isVip = true;
  1394. uni.setStorageSync("isUserVip", 1);
  1395. } else {
  1396. this.isVip = false;
  1397. }
  1398. } else {
  1399. this.userType = 2;
  1400. uni.setStorageSync("userType", 2);
  1401. uni.setStorageSync("vipDueTimes", res.data.vipDueTimes ? res.data.vipDueTimes : 0);
  1402. uni.setStorageSync("vipPostTimes", res.data.vipPostTimes ? res.data.vipPostTimes : 0);
  1403. if (res.data.isUserVip == 1) {
  1404. //判断企业用户是否是vip
  1405. this.isUserVip = true;
  1406. uni.setStorageSync("isUserVip", 0);
  1407. } else {
  1408. this.isUserVip = false;
  1409. }
  1410. }
  1411. }
  1412. });
  1413. },
  1414. goNavNoLogin(e) {
  1415. // #ifdef MP-WEIXIN
  1416. if (uni.getStorageSync("sendMsg")) {
  1417. // console.log('授权+1')
  1418. wx.requestSubscribeMessage({
  1419. tmplIds: this.arr,
  1420. success(re) {
  1421. var datas = JSON.stringify(re);
  1422. if (datas.indexOf("accept") != -1) {
  1423. // console.log(re)
  1424. }
  1425. },
  1426. fail: (res) => {
  1427. // console.log(res)
  1428. },
  1429. });
  1430. }
  1431. // #endif
  1432. uni.navigateTo({
  1433. url: e,
  1434. });
  1435. },
  1436. //跳转
  1437. goNav(e) {
  1438. if (this.userId) {
  1439. // #ifdef MP-WEIXIN
  1440. if (uni.getStorageSync("sendMsg")) {
  1441. // console.log('授权+1')
  1442. wx.requestSubscribeMessage({
  1443. tmplIds: this.arr,
  1444. success(re) {
  1445. var datas = JSON.stringify(re);
  1446. if (datas.indexOf("accept") != -1) {
  1447. // console.log(re)
  1448. }
  1449. },
  1450. fail: (res) => {
  1451. // console.log(res)
  1452. },
  1453. });
  1454. }
  1455. // #endif
  1456. uni.navigateTo({
  1457. url: e,
  1458. });
  1459. } else {
  1460. this.noLogin();
  1461. }
  1462. },
  1463. //获取企业认证状态(1:审核中 2:通过 3:拒绝)
  1464. getCompanyStatus() {
  1465. this.$Request.get("/app/company/selectCompanyByUserId").then((res) => {
  1466. if (res.code == 0 && res.data) {
  1467. console.log('我获取了公司信息')
  1468. this.companyInfo = res.data
  1469. this.companyStatus = res.data.status;
  1470. uni.setStorageSync("companyStatus", this.companyStatus);
  1471. uni.setStorageSync("companyName", res.data.companyAllName);
  1472. if(res.data.companyId)
  1473. this.$queue.setData('companyId',res.data.companyId)
  1474. } else {
  1475. this.companyStatus = "";
  1476. this.companyInfo = {};
  1477. }
  1478. });
  1479. },
  1480. /**
  1481. * 获取用户企业实名数据
  1482. */
  1483. getCompany() {
  1484. this.$Request.get("/app/company/selectCompanyByUserId").then((res) => {
  1485. if (res.code == 0 && res.data) {
  1486. this.CompanyList = res.data;
  1487. if (this.CompanyList.status == 1) {
  1488. uni.showModal({
  1489. title: "提示",
  1490. content: "您提交的企业认证正在审核,是否查看修改?",
  1491. confirmColor: "#016BF6",
  1492. showCancel: false,
  1493. success: function (res) {
  1494. if (res.confirm) {
  1495. console.log("用户点击确定");
  1496. uni.navigateTo({
  1497. url: "/package/jobIntention/underReview",
  1498. });
  1499. } else if (res.cancel) {
  1500. console.log("用户点击取消");
  1501. }
  1502. },
  1503. });
  1504. } else if (this.CompanyList.status == 2) {
  1505. this.$Request
  1506. .postT("/app/user/updateUserEntity", {
  1507. userType: 2,
  1508. })
  1509. .then((res) => {
  1510. if (res.code == 0) {
  1511. // uni.setStorageSync('companyId', this.CompanyList.companyId)
  1512. this.getUserInfo();
  1513. }
  1514. });
  1515. this.getUserInfo();
  1516. // this.userType = 2
  1517. // uni.setStorageSync('userType', this.userType)
  1518. } else if (this.CompanyList.status == 3) {
  1519. uni.showModal({
  1520. title: "提示",
  1521. content: "您提交的企业认证已被拒绝,是否查看修改?",
  1522. confirmColor: "#016BF6",
  1523. success: function (res) {
  1524. if (res.confirm) {
  1525. console.log("用户点击确定");
  1526. uni.navigateTo({
  1527. url: "/package/jobIntention/underReview",
  1528. });
  1529. } else if (res.cancel) {
  1530. console.log("用户点击取消");
  1531. }
  1532. },
  1533. });
  1534. }
  1535. } else {
  1536. uni.showModal({
  1537. title: "提示",
  1538. content: "您还未企业认证,请先进行认证",
  1539. confirmColor: "#016BF6",
  1540. showCancel: false,
  1541. success: function (res) {
  1542. if (res.confirm) {
  1543. console.log("用户点击确定");
  1544. uni.navigateTo({
  1545. url: "/pages/my/businessLicense",
  1546. });
  1547. } else if (res.cancel) {
  1548. console.log("用户点击取消");
  1549. }
  1550. },
  1551. });
  1552. }
  1553. });
  1554. },
  1555. // 切换身份
  1556. bindQe() {
  1557. let that = this;
  1558. if (uni.getStorageSync("userId")) {
  1559. let index = 3 - this.userType
  1560. if (index == 1) {
  1561. //企业换个人
  1562. uni.showModal({
  1563. title: "提示",
  1564. content: "确认切换到求职者身份吗?",
  1565. confirmColor: "#016BF6",
  1566. complete(ret) {
  1567. if (ret.confirm) {
  1568. let data = {
  1569. userType: 1,
  1570. };
  1571. that.$Request.postT("/app/user/updateUserEntity", data).then((res) => {
  1572. if (res.code == 0) {
  1573. that.getUserInfo();
  1574. that.getUserData();
  1575. }
  1576. });
  1577. }
  1578. },
  1579. });
  1580. } else if (index == 2) {
  1581. //个人换企业
  1582. uni.showModal({
  1583. title: "提示",
  1584. content: "确认切换到招聘者身份吗?",
  1585. confirmColor: "#016BF6",
  1586. complete(ret) {
  1587. if (ret.confirm) {
  1588. that.getCompany();
  1589. }
  1590. },
  1591. });
  1592. }
  1593. } else {
  1594. this.noLogin();
  1595. }
  1596. },
  1597. // 开启订阅消息
  1598. openMsg() {
  1599. console.log("订阅消息");
  1600. var that = this;
  1601. uni.getSetting({
  1602. withSubscriptions: true, //是否获取用户订阅消息的订阅状态,默认false不返回
  1603. success(ret) {
  1604. console.log(ret.subscriptionsSetting, "------------------");
  1605. // if (ret.subscriptionsSetting.itemSettings && Object.keys(ret.subscriptionsSetting.itemSettings).length == 2) {
  1606. if (ret.subscriptionsSetting.itemSettings) {
  1607. uni.setStorageSync("sendMsg", true);
  1608. uni.openSetting({
  1609. // 打开设置页
  1610. success(rea) {
  1611. console.log(rea.authSetting);
  1612. },
  1613. });
  1614. } else {
  1615. // 用户没有点击“总是保持以上,不再询问”则每次都会调起订阅消息
  1616. console.log(99999);
  1617. uni.setStorageSync("sendMsg", false);
  1618. uni.showModal({
  1619. title: "提示",
  1620. content: "为了更好的体验,请绑定消息推送",
  1621. confirmText: "确定",
  1622. cancelText: "取消",
  1623. confirmColor: "#016BF6",
  1624. success: function (res) {
  1625. if (res.confirm) {
  1626. console.log(that.arr);
  1627. wx.requestSubscribeMessage({
  1628. tmplIds: that.arr,
  1629. success(re) {
  1630. console.log(JSON.stringify(re),
  1631. "++++++++++++++");
  1632. var datas = JSON.stringify(re);
  1633. if (datas.indexOf("accept") != -1) {
  1634. console.log(re);
  1635. uni.setStorageSync("sendMsg", true);
  1636. }
  1637. },
  1638. fail: (res) => {
  1639. console.log(res);
  1640. },
  1641. });
  1642. uni.setStorageSync("sendMsg", true);
  1643. console.log("确认");
  1644. that.showModal = false;
  1645. } else if (res.cancel) {
  1646. console.log("取消");
  1647. uni.setStorageSync("sendMsg", false);
  1648. that.showModal = true;
  1649. }
  1650. },
  1651. });
  1652. }
  1653. },
  1654. });
  1655. },
  1656. //未登录
  1657. noLogin() {
  1658. // uni.showModal({
  1659. // title: '提示',
  1660. // content: '您还未登录,请先登录',
  1661. // confirmColor:'#016BF6',
  1662. // success: function(res) {
  1663. // if (res.confirm) {
  1664. // console.log('用户点击确定');
  1665. // // uni.reLaunch({
  1666. // // url:'/pages/public/login'
  1667. // // })
  1668. // uni.navigateTo({
  1669. // url: '/pages/public/login'
  1670. // })
  1671. // } else if (res.cancel) {
  1672. // console.log('用户点击取消');
  1673. // }
  1674. // }
  1675. // })
  1676. uni.navigateTo({
  1677. url: "/pages/public/login",
  1678. });
  1679. },
  1680. },
  1681. };
  1682. </script>
  1683. <style lang="scss" scoped>
  1684. page {
  1685. background-color: #f5f7fa;
  1686. }
  1687. .report-content {
  1688. /* content */
  1689. width: 540rpx;
  1690. height: 590rpx;
  1691. /* 自动布局 */
  1692. display: flex;
  1693. flex-direction: column;
  1694. align-items: center;
  1695. justify-content: space-between;
  1696. gap: 33;
  1697. padding: 40rpx;
  1698. box-sizing: border-box;
  1699. .report-title {
  1700. width: 100%;
  1701. color: rgba(0, 0, 0, 1);
  1702. font-family: DM Sans;
  1703. font-size: 28rpx;
  1704. font-weight: 700;
  1705. line-height: 36rpx;
  1706. letter-spacing: 0%;
  1707. text-align: left;
  1708. }
  1709. .report-desc {
  1710. width: 100%;
  1711. color: rgba(158, 158, 158, 1);
  1712. font-family: DM Sans;
  1713. font-size: 28rpx;
  1714. font-weight: 400;
  1715. line-height: 36rpx;
  1716. letter-spacing: 0%;
  1717. text-align: left;
  1718. }
  1719. .report-desc-box {
  1720. width: 100%;
  1721. display: flex;
  1722. flex-direction: column;
  1723. justify-content: space-between;
  1724. gap: 20rpx;
  1725. padding: 66rpx 0;
  1726. box-sizing: border-box;
  1727. }
  1728. .report-desc-small {
  1729. width: 100%;
  1730. color: rgba(158, 158, 158, 1);
  1731. font-family: DM Sans;
  1732. font-size: 20rpx;
  1733. font-weight: 400;
  1734. line-height: 34rpx;
  1735. letter-spacing: 0%;
  1736. text-align: left;
  1737. padding-bottom: 66rpx;
  1738. }
  1739. .report-btn {
  1740. width: 100%;
  1741. border-radius: 999px;
  1742. background: linear-gradient(90.00deg, rgba(13, 39, 247, 1), rgba(19, 193, 234, 1) 100%);
  1743. color: rgba(255, 255, 255, 1);
  1744. font-family: DM Sans;
  1745. font-size: 32rpx;
  1746. font-weight: 400;
  1747. line-height: 48rpx;
  1748. letter-spacing: 0%;
  1749. text-align: center;
  1750. padding: 16rpx;
  1751. box-sizing: border-box;
  1752. }
  1753. }
  1754. .user-box {
  1755. position: absolute;
  1756. top: 0;
  1757. bottom: 0;
  1758. left: 0;
  1759. right: 0;
  1760. overflow: hidden;
  1761. display: flex;
  1762. flex-direction: column;
  1763. .user-top {
  1764. width: 100%;
  1765. flex-shrink: 0;
  1766. }
  1767. .user-content {
  1768. overflow: hidden;
  1769. overflow-y: auto;
  1770. width: 100%;
  1771. flex: 1;
  1772. .beian {
  1773. font-size: 20rpx;
  1774. color: #aaa;
  1775. text-align: center;
  1776. padding: 10rpx 0;
  1777. }
  1778. }
  1779. }
  1780. // 推广横幅
  1781. .promo-banner {
  1782. margin: 10rpx 40rpx 10rpx 40rpx;
  1783. background: var(--线性渐变,
  1784. linear-gradient(90deg, rgba(13, 39, 247, 1), rgba(19, 193, 234, 1) 100%));
  1785. border-radius: 24rpx;
  1786. padding: 16rpx 40rpx;
  1787. .banner-content {
  1788. display: flex;
  1789. justify-content: space-between;
  1790. align-items: center;
  1791. .banner-text {
  1792. flex: 1;
  1793. .banner-title {
  1794. color: rgba(255, 255, 255, 1);
  1795. font-family: HarmonyOS Sans SC;
  1796. font-size: 32rpx;
  1797. font-weight: 900;
  1798. line-height: 48rpx;
  1799. letter-spacing: 0%;
  1800. text-align: left;
  1801. display: block;
  1802. margin-bottom: 8rpx;
  1803. transform: skew(-10deg);
  1804. }
  1805. .banner-subtitle {
  1806. color: rgba(255, 255, 255, 0.7);
  1807. font-family: HarmonyOS Sans SC;
  1808. font-size: 26rpx;
  1809. font-weight: 400;
  1810. line-height: 36rpx;
  1811. letter-spacing: 0%;
  1812. text-align: left;
  1813. display: block;
  1814. }
  1815. }
  1816. .banner-button {
  1817. display: flex;
  1818. align-items: center;
  1819. justify-content: center;
  1820. width: 138rpx;
  1821. height: 48rpx;
  1822. border-radius: 26px;
  1823. background: #ffffff;
  1824. .button-text {
  1825. background: var(--线性渐变,
  1826. linear-gradient(90deg, rgba(13, 39, 247, 1), rgba(19, 193, 234, 1) 100%));
  1827. -webkit-background-clip: text;
  1828. -webkit-text-fill-color: transparent;
  1829. background-clip: text;
  1830. font-family: HarmonyOS Sans SC;
  1831. font-size: 26rpx;
  1832. font-weight: 500;
  1833. line-height: 18px;
  1834. letter-spacing: 0%;
  1835. text-align: left;
  1836. }
  1837. }
  1838. }
  1839. }
  1840. // VIP升级横幅
  1841. .vip-upgrade-banner {
  1842. margin: 20rpx 40rpx 10rpx 40rpx;
  1843. background: linear-gradient(165.89deg,
  1844. rgba(251, 231, 185, 1),
  1845. rgba(240, 176, 72, 1) 100%);
  1846. border-radius: 16rpx;
  1847. padding: 32rpx;
  1848. box-shadow: 0 4rpx 12rpx rgba(255, 154, 102, 0.3);
  1849. .vip-banner-content {
  1850. display: flex;
  1851. justify-content: space-between;
  1852. align-items: center;
  1853. .vip-banner-text {
  1854. flex: 1;
  1855. color: rgba(1, 107, 246, 1);
  1856. font-family: DM Sans;
  1857. font-size: 24rpx;
  1858. font-weight: 700;
  1859. line-height: 40rpx;
  1860. letter-spacing: 0px;
  1861. text-align: left;
  1862. }
  1863. .vip-upgrade-button {
  1864. display: flex;
  1865. align-items: center;
  1866. justify-content: center;
  1867. width: 100rpx;
  1868. height: 42rpx;
  1869. background: radial-gradient(184.79% 115.97% at 92% 113.99999999999999%,
  1870. rgba(255, 102, 0, 0.21),
  1871. rgba(255, 65, 86, 0.6) 100%);
  1872. border-radius: 28rpx;
  1873. color: rgba(255, 255, 255, 1);
  1874. font-family: HarmonyOS Sans SC;
  1875. font-size: 18rpx;
  1876. font-weight: 500;
  1877. line-height: 18rpx;
  1878. letter-spacing: 0%;
  1879. text-align: left;
  1880. box-shadow: 0 2rpx 8rpx rgba(255, 107, 107, 0.3);
  1881. }
  1882. }
  1883. }
  1884. .job-management-card {
  1885. margin: 0rpx 40rpx;
  1886. background: #ffffff;
  1887. border-radius: 12rpx;
  1888. padding: 12rpx 32rpx;
  1889. box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.05);
  1890. .job-management-content {
  1891. display: flex;
  1892. align-items: center;
  1893. justify-content: space-between;
  1894. .job-count-text {
  1895. display: flex;
  1896. align-items: center;
  1897. .count-number {
  1898. color: #016bf6;
  1899. font-size: 32rpx;
  1900. font-weight: 600;
  1901. margin-right: 8rpx;
  1902. }
  1903. .count-label {
  1904. color: #666666;
  1905. font-size: 28rpx;
  1906. font-weight: 400;
  1907. }
  1908. }
  1909. .arrow-icon {
  1910. display: flex;
  1911. align-items: center;
  1912. justify-content: center;
  1913. }
  1914. }
  1915. }
  1916. .my-center-page {
  1917. position: absolute;
  1918. left: 0;
  1919. right: 0;
  1920. top: 0;
  1921. bottom: 0;
  1922. }
  1923. .my-bg {
  1924. /* 容器 52 */
  1925. width: 100%;
  1926. height: 656rpx;
  1927. background: linear-gradient(90deg, rgba(13, 39, 247, 1), rgba(19, 193, 234, 1) 100%);
  1928. position: absolute;
  1929. top: 0;
  1930. left: 0;
  1931. right: 0;
  1932. z-index: -1;
  1933. .paopao {
  1934. position: absolute;
  1935. width: 662rpx;
  1936. height: 662rpx;
  1937. }
  1938. .paopao-one {
  1939. left: -221rpx;
  1940. top: -170rpx;
  1941. }
  1942. .paopao-two {
  1943. top: -374rpx;
  1944. right: 0rpx;
  1945. }
  1946. .paopao-three {
  1947. width: 320rpx;
  1948. height: 320rpx;
  1949. bottom: -170rpx;
  1950. left: -40rpx;
  1951. }
  1952. .my-bg-bottom {
  1953. background: linear-gradient(to top,
  1954. rgba(250, 250, 250, 1),
  1955. rgba(255, 255, 255, 0.5) 46%,
  1956. rgba(255, 255, 255, 0) 100%);
  1957. height: 328rpx;
  1958. position: absolute;
  1959. left: 0;
  1960. right: 0;
  1961. bottom: 0;
  1962. }
  1963. }
  1964. .info-box-btn {
  1965. width: 100%;
  1966. padding: 60rpx 0 40rpx 0;
  1967. box-sizing: border-box;
  1968. image {
  1969. width: 60rpx;
  1970. height: 60rpx;
  1971. padding: 9rpx;
  1972. }
  1973. }
  1974. .info {
  1975. width: 100%;
  1976. box-sizing: border-box;
  1977. .info-box {
  1978. width: 686rpx;
  1979. padding-bottom: 20rpx;
  1980. .info-box-header {
  1981. width: 100%;
  1982. margin-top: 20rpx;
  1983. // height: 90rpx;
  1984. .info-box-header-l {
  1985. margin-right: 20rpx;
  1986. image {
  1987. width: 128rpx;
  1988. height: 128rpx;
  1989. border-radius: 50%;
  1990. display: block;
  1991. }
  1992. }
  1993. .info-box-header-r {
  1994. width: 80%;
  1995. .info-box-header-r-name {
  1996. color: rgba(255, 255, 255, 1);
  1997. font-family: DM Sans;
  1998. font-size: 48rpx;
  1999. font-weight: 400;
  2000. line-height: 72rpx;
  2001. text-align: left;
  2002. }
  2003. .info-box-header-r-bj {
  2004. color: rgba(255, 255, 255, 1);
  2005. font-family: DM Sans;
  2006. font-size: 24rpx;
  2007. font-weight: 400;
  2008. line-height: 32rpx;
  2009. letter-spacing: 0%;
  2010. text-align: left;
  2011. margin-top: 8rpx;
  2012. image {
  2013. width: 32rpx;
  2014. height: 32rpx;
  2015. margin-left: 8rpx;
  2016. }
  2017. }
  2018. }
  2019. // 简历完善度
  2020. .resume-progress {
  2021. width: 180rpx;
  2022. margin-bottom: 12rpx;
  2023. .text-tip {
  2024. font-size: 24rpx;
  2025. font-weight: 500;
  2026. line-height: 28rpx;
  2027. color: #fff;
  2028. margin-bottom: 8rpx;
  2029. }
  2030. .progress-box {
  2031. width: 100%;
  2032. height: 10rpx;
  2033. border-radius: 10rpx;
  2034. background: rgba(255, 255, 255, 0.5);
  2035. .progress-bar {
  2036. width: 0;
  2037. height: 100%;
  2038. border-radius: 4px;
  2039. background: linear-gradient(90.00deg, rgba(27, 234, 228, 1),rgba(1, 107, 251, 1) 100%);
  2040. }
  2041. }
  2042. }
  2043. }
  2044. .info-box-num {
  2045. margin-top: 50rpx;
  2046. padding: 0 24rpx;
  2047. // padding: 0 100rpx;
  2048. box-sizing: border-box;
  2049. .info-box-num-td {
  2050. // width: 200rpx;
  2051. .info-box-num-td-num {
  2052. width: 100%;
  2053. text-align: center;
  2054. color: #fff;
  2055. font-size: 38rpx;
  2056. font-weight: bold;
  2057. }
  2058. .info-box-num-td-name {
  2059. width: 100%;
  2060. text-align: center;
  2061. color: #fff;
  2062. font-size: 24rpx;
  2063. font-weight: 400;
  2064. margin-top: 20rpx;
  2065. }
  2066. }
  2067. }
  2068. }
  2069. }
  2070. .vip {
  2071. width: 100%;
  2072. height: 127rpx;
  2073. margin-top: 30rpx;
  2074. .vip-box {
  2075. width: 686rpx;
  2076. height: 100%;
  2077. position: relative;
  2078. .vip-box-bg {
  2079. position: absolute;
  2080. top: 0;
  2081. left: 0;
  2082. width: 100%;
  2083. height: 100%;
  2084. z-index: 1;
  2085. }
  2086. .vip-box-cont {
  2087. z-index: 2;
  2088. }
  2089. }
  2090. }
  2091. .jobServer {
  2092. width: 100%;
  2093. // height: 235rpx;
  2094. margin-top: 16rpx;
  2095. z-index: 1;
  2096. .jobServer-box {
  2097. width: 686rpx;
  2098. height: 100%;
  2099. // background-color: #fff;
  2100. // background: linear-gradient(90deg, rgba(13, 39, 247, 1), rgba(19, 193, 234, 1) 100%);
  2101. border-radius: 24rpx;
  2102. z-index: 1;
  2103. .jobServer-box-c {
  2104. width: 626rpx;
  2105. height: 100%;
  2106. }
  2107. .jobServer-box-title {
  2108. margin-top: 20rpx;
  2109. width: 100%;
  2110. color: rgba(29, 33, 41, 1);
  2111. font-family: DM Sans;
  2112. font-size: 28rpx;
  2113. font-weight: 500;
  2114. line-height: 44rpx;
  2115. }
  2116. .jobServer-box-btn {
  2117. width: 100%;
  2118. margin-top: 30rpx;
  2119. .item-width {
  2120. width: 110rpx !important;
  2121. }
  2122. .jobServer-box-btn-item {
  2123. width: 120rpx;
  2124. color: rgba(56, 58, 63, 1);
  2125. font-family: DM Sans;
  2126. font-size: 24rpx;
  2127. font-weight: 400;
  2128. line-height: 36rpx;
  2129. letter-spacing: 0%;
  2130. text-align: center;
  2131. image {
  2132. width: 62rpx;
  2133. height: 62rpx;
  2134. margin-bottom: 10rpx;
  2135. }
  2136. }
  2137. }
  2138. }
  2139. }
  2140. .utils {
  2141. width: 100%;
  2142. // height: 308rpx;
  2143. margin-top: 20rpx;
  2144. margin-bottom: 20rpx;
  2145. .utils-box {
  2146. width: 686rpx;
  2147. height: 100%;
  2148. background-color: #ffffff;
  2149. border-radius: 24rpx;
  2150. padding: 40rpx 20rpx;
  2151. box-sizing: border-box;
  2152. .utils-box-c {
  2153. width: 100%;
  2154. height: 100%;
  2155. .util-list {
  2156. display: grid;
  2157. grid-template-columns: repeat(4, 1fr);
  2158. gap: 30rpx 20rpx;
  2159. .util-item {
  2160. display: flex;
  2161. flex-direction: column;
  2162. justify-content: center;
  2163. align-items: center;
  2164. }
  2165. }
  2166. }
  2167. .utils-box-c-t {
  2168. width: 100%;
  2169. }
  2170. .utils-box-c-b {
  2171. background-color: #016bf6;
  2172. }
  2173. }
  2174. }
  2175. .money {
  2176. width: 100%;
  2177. height: 148rpx;
  2178. margin-top: 20rpx;
  2179. .money-box {
  2180. width: 686rpx;
  2181. height: 100%;
  2182. background-color: #ffffff;
  2183. border-radius: 24rpx;
  2184. .money-box-c {
  2185. width: 626rpx;
  2186. height: 90rpx;
  2187. }
  2188. .money-box-c-l {
  2189. width: 50%;
  2190. height: 100%;
  2191. border-right: 1rpx solid #e6e6e6;
  2192. box-sizing: border-box;
  2193. .money-box-c-l-name {
  2194. color: #333333;
  2195. font-size: 28rpx;
  2196. font-weight: bold;
  2197. width: 100%;
  2198. }
  2199. .money-box-c-l-price {
  2200. color: #1e1e1e;
  2201. font-size: 38rpx;
  2202. font-weight: bold;
  2203. width: 100%;
  2204. margin-top: 14rpx;
  2205. text {
  2206. font-size: 24rpx;
  2207. font-weight: 500;
  2208. }
  2209. }
  2210. }
  2211. .money-box-c-r {
  2212. width: 50%;
  2213. height: 100%;
  2214. .money-box-c-r-name {
  2215. width: 100%;
  2216. color: #333333;
  2217. font-size: 28rpx;
  2218. font-weight: bold;
  2219. padding-left: 30rpx;
  2220. }
  2221. .money-box-c-r-more {
  2222. width: 100%;
  2223. color: #999999;
  2224. font-size: 24rpx;
  2225. font-weight: 400;
  2226. padding-left: 30rpx;
  2227. margin-top: 20rpx;
  2228. }
  2229. }
  2230. }
  2231. }
  2232. // 更多功能区域
  2233. .more-functions {
  2234. margin: 48rpx 32rpx 0;
  2235. padding: 24rpx 48rpx 48rpx 48rpx;
  2236. /* background: #fff;
  2237. border-radius: 24rpx; */
  2238. .section-title {
  2239. color: rgba(29, 33, 41, 1);
  2240. font-family: DM Sans;
  2241. font-size: 28rpx;
  2242. font-weight: 500;
  2243. line-height: 44rpx;
  2244. letter-spacing: 0%;
  2245. text-align: left;
  2246. padding-bottom: 16rpx;
  2247. border-bottom: 0.5px solid rgba(238, 238, 238, 1);
  2248. }
  2249. .function-grid {
  2250. margin-top: 24rpx;
  2251. display: flex;
  2252. flex-wrap: wrap;
  2253. padding-top: 16rpx;
  2254. // gap: 70rpx;
  2255. margin: -12rpx -35rpx; // 兼容低版本系统不支持gap属性
  2256. .function-item {
  2257. display: flex;
  2258. flex-direction: column;
  2259. align-items: center;
  2260. margin: 12rpx 35rpx;
  2261. .function-icon {
  2262. width: 48rpx;
  2263. height: 48rpx;
  2264. margin-bottom: 16rpx;
  2265. }
  2266. .function-text {
  2267. color: #333;
  2268. font-size: 24rpx;
  2269. font-weight: 500;
  2270. }
  2271. }
  2272. }
  2273. }
  2274. // 联系信息
  2275. .contact-info {
  2276. margin: 0 40rpx 120rpx 40rpx;
  2277. padding: 40rpx;
  2278. .contact-text,
  2279. .legal-text,
  2280. .icp-text {
  2281. display: block;
  2282. color: rgba(153, 153, 153, 1);
  2283. font-family: DM Sans;
  2284. font-size: 18rpx;
  2285. font-weight: 400;
  2286. line-height: 1.6;
  2287. letter-spacing: 0%;
  2288. text-align: center;
  2289. margin-bottom: 8rpx;
  2290. }
  2291. }
  2292. .pop-image{
  2293. flex: 1;
  2294. width: 85vw;
  2295. image{
  2296. width: 100%;
  2297. height: 100%;
  2298. }
  2299. }
  2300. .pop-btn{
  2301. width: 100%;
  2302. margin-top: 20rpx;
  2303. border-radius: 40rpx;
  2304. }
  2305. .info-box-header-r-text{
  2306. width: 340rpx;
  2307. height: fit-content;
  2308. overflow: hidden;
  2309. white-space: nowrap;
  2310. text-overflow: ellipsis;
  2311. -o-text-overflow: ellipsis;
  2312. }
  2313. </style>