index.vue 66 KB

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