index.vue 66 KB

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