index.vue 68 KB

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