index.vue 54 KB

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