index.vue 56 KB

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