index.vue 66 KB

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