index.vue 66 KB

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