index.vue 68 KB

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