index.vue 64 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453
  1. <template>
  2. <view>
  3. <block v-if="XCXIsSelect!='是'">
  4. <view class="banner flex justify-center">
  5. <view class="banner-box">
  6. <swiper :indicator-dots="false" style="width: 100%;height: 100%;" :autoplay="true" :interval="300"
  7. :duration="1000">
  8. <swiper-item v-for="(item,index) in bannerList" :key="index" @click="goNave(item.url)">
  9. <view class="swiper-item" style="width: 100%;height: 100%;">
  10. <image :src="item.imageUrl" style="width: 100%;height: 100%;border-radius: 24rpx;"
  11. mode="scaleToFill"></image>
  12. </view>
  13. </swiper-item>
  14. </swiper>
  15. </view>
  16. </view>
  17. <view class="" style="width: 100%;margin-top: 20rpx;" v-for="(item,index) in dataList" :key="index">
  18. <view class=""
  19. style="padding: 20rpx 20rpx;width: 686rpx;background-color: #ffffff;border-radius: 18rpx;margin: auto;">
  20. <view class="">
  21. <text>{{item.company?item.company.companyName:''}}</text>信息简介
  22. </view>
  23. <view class="flex flex-wrap" style="margin-top: 20rpx;">
  24. <text
  25. style="color: #666666;font-size: 26rpx;padding: 10rpx 25rpx 10rpx 25rpx;background-color: #F6F6F6;border-radius: 8rpx;margin-right: 20rpx;margin-bottom: 20rpx;"
  26. v-for="(ite,ind) in item.positionWelfare" :key="ind">{{ite}}</text>
  27. </view>
  28. <view class="" style="margin-top: 20rpx;">
  29. <text>{{item.company?item.company.companyName:''}}提供数据支持</text>
  30. </view>
  31. </view>
  32. </view>
  33. </block>
  34. <block v-else>
  35. <!-- 用户端 -->
  36. <block v-if="userType==1">
  37. <view class="topbg">
  38. <!-- 顶部图片区 -->
  39. <!-- #ifdef H5 -->
  40. <!-- <view class="banner flex justify-center" style="padding-top: 20rpx;"
  41. v-if="bannerListuser.length!=0"> -->
  42. <!-- #endif -->
  43. <!-- #ifndef H5 -->
  44. <!-- <view class="banner flex justify-center" v-if="bannerListuser.length!=0"> -->
  45. <!-- #endif -->
  46. <!-- <view class="banner-box">
  47. <swiper :indicator-dots="false" style="width: 100%;height: 100%;" :autoplay="true"
  48. :interval="5000" :duration="300">
  49. <swiper-item v-for="(item,index) in bannerListuser" :key="index"
  50. @click="goNave(item.url)">
  51. <view class="swiper-item" style="width: 100%;height: 100%;">
  52. <image :src="item.imageUrl"
  53. style="width: 100%;height: 100%;border-radius: 24rpx;"
  54. mode="scaleToFill">
  55. </image>
  56. </view>
  57. </swiper-item>
  58. </swiper>
  59. </view>
  60. </view> -->
  61. <!-- 公告区 -->
  62. <!-- <view class="announcement" v-if="gongao.length!=0">
  63. <view class="announcementbox">
  64. <view class="anount">最新公告</view>
  65. <view class="anounts flex align-center" v-if="gongao.length>0">
  66. <view class="" style="width: 100%;">
  67. <u-notice-bar color="#333" bg-color="#e5fff2" padding="0rpx 24rpx 4rpx 24rpx"
  68. :volume-icon="false" style="height: 100%;" mode="vertical"
  69. :list="gongao"></u-notice-bar>
  70. </view>
  71. </view>
  72. <view class="anounts flex align-center" style="padding-left: 30rpx;" v-else>
  73. 暂无公告
  74. </view>
  75. </view>
  76. </view> -->
  77. <!-- 企业端 -->
  78. <!-- <view v-if="gridlist.length!=0">
  79. <u-grid :col="4" :border="false">
  80. <u-grid-item bg-color="#00DD9A">
  81. <view v-for="(item,index) in gridlist" :key="index" style="text-align: center;"
  82. @click="goNave(item.url)">
  83. <image :src="item.imageUrl"
  84. style="width:80rpx;height: 80rpx;border-radius: 50%;">
  85. </image>
  86. <view style="color: #FFFFFF;">{{item.name}}</view>
  87. </view>
  88. </u-grid-item>
  89. </u-grid>
  90. </view> -->
  91. </view>
  92. <view class="topbg-sticky">
  93. <!-- 标题-搜索 -->
  94. <view class="topbg-sticky-box">
  95. <view class="topbg-sticky-title flex justify-between align-center">
  96. <view class="topbg-sticky-title-left flex align-center">
  97. <image src="../../static/images/index/xingIcon.svg" class="xing-icon" />
  98. <view>星光不负逐梦人</view>
  99. </view>
  100. <view class="topbg-sticky-title-right flex align-center"
  101. @click="goNavs('/package/search/search')">
  102. <u-icon name="search" color="#ffffff" size="40"></u-icon>
  103. </view>
  104. </view>
  105. <view class="topbg-sticky-subtitle">亿职赞,愿你在追梦路上找到心仪工作</view>
  106. </view>
  107. <!-- tabs和筛选 -->
  108. <view class="topbg-type flex justify-center">
  109. <view class="topbg-type-box">
  110. <!-- 第一行:tabs -->
  111. <view class="topbg-type-box-row flex justify-between align-center">
  112. <view class="topbg-type-box-l flex align-center">
  113. <view class="topbg-type-box-l-i" :class="current==index?'active':''"
  114. @tap="current = index" v-for="(item,index) in typeList" :key="index">
  115. {{item.label}}
  116. </view>
  117. </view>
  118. <!-- 添加求职意向 -->
  119. <view class="topbg-yx-box-r flex align-center"
  120. @click="goNav('/package/jobIntention/jobIntention')">
  121. <image src="../../static/images/index/Attachment.svg" class="attachment-icon" />
  122. </view>
  123. </view>
  124. <!-- 第二行:筛选 -->
  125. <view class="topbg-sx-box flex justify-between align-center">
  126. <!-- 分类 -->
  127. <view v-if="current != typeList.length - 1" class="topbg-sx-box-l flex align-center">
  128. <view class="topbg-sx-box-l-i" :class="currentSx==index?'active3':''"
  129. @click="currentSx = index" v-for="(item,index) in sxTypeList" :key="index">
  130. {{item.name}}
  131. </view>
  132. </view>
  133. <view class="topbg-sx-box-r flex align-center">
  134. <!-- 城市 -->
  135. <view class="topbg-sx-box-r-i flex align-center" style="">
  136. <text style="margin-right: 10rpx;"
  137. @click="goNavs('/package/jobIntention/city')">{{city?city:'选择城市'}}</text>
  138. <u-icon name="arrow-down" color="#00B78F" size="16"
  139. @click="goNavs('/package/jobIntention/city')"></u-icon>
  140. </view>
  141. <!-- <text style="color: #CCCCCC;margin-left: 30rpx;margin-right: 30rpx;">|</text> -->
  142. <block v-if="current != typeList.length - 1">
  143. <!-- 筛选 -->
  144. <view class="topbg-sx-box-filter flex align-center">
  145. <text style="margin-right: 10rpx;"
  146. @click="goNavs('/package/screen/screen')">筛选</text>
  147. <u-icon name="arrow-down" color="#999999" size="16"
  148. @click="goNavs('/package/screen/screen')"></u-icon>
  149. </view>
  150. </block>
  151. <block v-else>
  152. <!-- 筛选 -->
  153. <view class="topbg-sx-box-filter flex align-center">
  154. <text style="margin-right: 10rpx;"
  155. @click="goNavs('/package/screen/screenComp')">筛选</text>
  156. <u-icon name="arrow-down" color="#999999" size="16"
  157. @click="goNavs('/package/screen/screenComp')"></u-icon>
  158. </view>
  159. </block>
  160. </view>
  161. </view>
  162. <!-- 从事方向 -->
  163. <view class="direction-tip">
  164. <view class="direction-tip-title">请选择您可从事方向</view>
  165. <view class="direction-tip-subtitle">您的偏好选择将用于为您推荐更匹配的职位</view>
  166. <!-- 标签选择 -->
  167. <view class="direction-tags flex align-center flex-wrap">
  168. <view class="direction-tag" :class="currentDirection==index?'active':''"
  169. @click="currentDirection=index" v-for="(item,index) in directionList" :key="index">
  170. {{item.name}}
  171. </view>
  172. <view class="direction-tag-add" @click="addDirection">
  173. <text>对应职位相关标签</text>
  174. </view>
  175. <view class="direction-tag-plus" @click="addDirection">
  176. <u-icon name="plus" color="#999999" size="16"></u-icon>
  177. </view>
  178. </view>
  179. </view>
  180. </view>
  181. </view>
  182. <!-- 求职意向 -->
  183. <!-- <view class="topbg-yx flex justify-center flex-wrap">
  184. <view v-if="current != typeList.length - 1"
  185. class="topbg-yx-box flex justify-between align-center">
  186. <view class="topbg-yx-box-l ">
  187. <scroll-view scroll-x="true" class="topbg-scroll"
  188. :scroll-into-view="'bottomView'+currentjob" scroll-with-animation="true">
  189. <view class="topbg-yx-box-l-i" :id="'bottomView'+index"
  190. :class="currentjob==index?'active2':''" @click="currentjob=index"
  191. v-for="(item,index) in jobTypeList" :key="index">
  192. <view class="topbg-yx-box-l-i-c">
  193. <view class="topbg-yx-box-l-i-text">{{item.name}}</view>
  194. <view v-if="currentjob==index" class="topbg-yx-box-l-i-line"></view>
  195. </view>
  196. </view>
  197. </scroll-view>
  198. </view>
  199. </view>
  200. </view> -->
  201. <!-- <view
  202. style="width: 100%;height: 40rpx;background: #F2F2F7;border-radius: 40rpx 40rpx 0 0;margin-top: 20rpx;"
  203. v-if="current == typeList.length - 1 && companList.length>0"></view> -->
  204. </view>
  205. <!-- 岗位推荐 -->
  206. <block v-if="current != typeList.length - 1">
  207. <view class="gwList flex justify-center" v-if="dataList.length>0">
  208. <view class="gwList-box">
  209. <scroll-view scroll-y="true" style="width: 100%;height: 60vh;">
  210. <view class="gwList-box-item flex justify-center" @click="gotoInfo(item.postPushId)"
  211. v-for="(item,index) in dataList" :key="index">
  212. <view class="gwList-box-item-box">
  213. <!-- 标题-薪资 -->
  214. <view class="gwList-box-item-box-title flex justify-between align-center">
  215. <view class="title-left flex align-center">
  216. <view class="job-title-text"
  217. style="max-width: 450rpx;overflow:hidden;white-space: nowrap;text-overflow: ellipsis;-o-text-overflow:ellipsis;">
  218. <block v-if="isSameName(item.ruleClassifyName,item.stationName)">
  219. {{item.ruleClassifyName}}-
  220. </block>
  221. <block>
  222. {{item.stationName}}
  223. </block>
  224. </view>
  225. <view class="salary-text-box">
  226. <image src="../../static/images/index/jipinIcom.svg" class="jipin-icon" />
  227. <text class="jipin-text">急聘</text>
  228. </view>
  229. </view>
  230. <text class="salary-text">{{item.salaryRange}}</text>
  231. </view>
  232. <!-- 公司名称-公司人数 -->
  233. <view class="gwList-box-item-box-name flex align-center">
  234. <text class="company-name" style="margin-right: 8rpx;">{{item.company?item.company.companyName:''}}</text>
  235. <text class="company-people"
  236. v-if="item.company">{{item.company?item.company.companyPeople:'0人'}}</text>
  237. </view>
  238. <!-- 职位标签 -->
  239. <view class="gwList-box-item-box-label flex align-center flex-wrap">
  240. <text class="job-tag">{{item.education}}</text>
  241. <text class="job-tag">{{item.experience}}</text>
  242. <text class="job-tag" v-for="(ite,ind) in item.positionWelfare" :key="ind">{{ite}}</text>
  243. </view>
  244. <!-- <view class="gwList-box-item-box-line"></view> -->
  245. <!-- 公司简介-位置 -->
  246. <view class="gwList-box-item-box-info flex justify-between align-center">
  247. <view class="gwList-box-item-box-info-l flex align-center">
  248. <image
  249. :src="item.company?item.company.companyLogo:'../../static/logo.png'"
  250. style="width: 58rpx;height: 58rpx;border-radius: 50%;margin-right: 20rpx;"
  251. mode=""></image>
  252. <view class="company-info-text" v-if="item.company">
  253. {{item.company.companyLegalPerson?item.company.companyLegalPerson:'未知'}}·人事总监
  254. </view>
  255. <view class="reply-time">10分钟前回复</view>
  256. </view>
  257. <view class="location-text">
  258. {{item.distance}} {{item.county}} {{item.address}}
  259. </view>
  260. </view>
  261. </view>
  262. </view>
  263. </scroll-view>
  264. </view>
  265. </view>
  266. <!-- 暂无数据 -->
  267. <view class="gwList" v-else>
  268. <empty />
  269. </view>
  270. </block>
  271. <view class="companyListBox" v-if="current == typeList.length - 1 && companList.length>0">
  272. <companyListIndex @goInfo="goInfo" :item="item" v-for="(item,index) in companList"
  273. :key="index" />
  274. </view>
  275. <view class="gwList" v-if="current == typeList.length - 1 && companList.length==0">
  276. <empty />
  277. </view>
  278. </block>
  279. <!-- 企业版 -->
  280. <block v-else>
  281. <!-- 顶部banner图片 -->
  282. <!--
  283. <view class="banner flex justify-center">
  284. <view class="banner-box">
  285. <swiper :indicator-dots="false" style="width: 100%;height: 100%;" :autoplay="true"
  286. :interval="5000" :duration="300">
  287. <swiper-item v-for="(item,index) in bannerList" :key="index">
  288. <view class="swiper-item" style="width: 100%;height: 100%;">
  289. <image :src="item.imageUrl" style="width: 100%;height: 100%;border-radius: 24rpx;"
  290. mode="scaleToFill"></image>
  291. </view>
  292. </swiper-item>
  293. </swiper>
  294. </view>
  295. </view>
  296. -->
  297. <!-- 最新公告 -->
  298. <view class="announcement" v-if="gongao.length!=0">
  299. <view class="announcementbox">
  300. <view class="anount">最新公告</view>
  301. <view class="anounts flex align-center" v-if="gongao.length>0">
  302. <view class="" style="width: 100%;">
  303. <u-notice-bar color="#333" bg-color="#e5fff2" padding="0rpx 24rpx 4rpx 24rpx"
  304. :volume-icon="false" style="height: 100%;" mode="vertical"
  305. :list="gongao"></u-notice-bar>
  306. </view>
  307. </view>
  308. </view>
  309. </view>
  310. <view v-if="gridlist.length!=0">
  311. <u-grid :col="4" :border="false">
  312. <u-grid-item bg-color="#f2f2f7">
  313. <view v-for="(item,index) in gridlist" :key="index" style="text-align: center;"
  314. @click="goNave(item.url)">
  315. <image :src="item.imageUrl" style="width:80rpx;height: 80rpx;border-radius: 50%;">
  316. </image>
  317. <view style="color: #333333;">{{item.name}}</view>
  318. </view>
  319. </u-grid-item>
  320. </u-grid>
  321. </view>
  322. <!-- 筛选 -->
  323. <u-sticky @fixed="isfixed" @unfixed="isunfixed" :radius='40' h5-nav-height="0" :enable="enable">
  324. <view class="qySx flex justify-center" :class="isfixeds==true?'isfixed':'isfixeds'">
  325. <view class="qySx-box">
  326. <!-- 第一行:tabs -->
  327. <view class="qySx-box-row flex justify-between align-center">
  328. <view class="qySx-box-l flex align-center">
  329. <view class="qySx-box-l-i" :class="currentJobSx==index?'active':''"
  330. @tap="currentJobSx=index;getDomWidth()" v-for="(item,index) in jobSxTypeList" :key="index">
  331. {{item.name}}
  332. </view>
  333. </view>
  334. <!-- 发布招聘 -->
  335. <view class="qySx-box-r flex align-center" @click="goNavss('/package/addJob/addJob')">
  336. <image src="../../static/images/index/Attachment.svg" class="attachment-icon" />
  337. </view>
  338. </view>
  339. <!-- 第二行:筛选 -->
  340. <view class="qySx-sx-box flex justify-between align-center">
  341. <!-- 分类 -->
  342. <view class="qySx-sx-box-l flex align-center">
  343. <view class="qySx-sx-box-l-i" :class="currentJobSxs==index?'active3':''"
  344. @click="currentJobSxs=index" v-for="(item,index) in jobSxsTypeList" :key="index">
  345. {{item.name}}
  346. </view>
  347. </view>
  348. <view class="qySx-sx-box-r flex align-center">
  349. <!-- 城市 -->
  350. <view class="qySx-sx-box-r-i flex align-center">
  351. <text style="margin-right: 10rpx;"
  352. @click="goNav('/package/jobIntention/city')">{{city?city:'选择城市'}}</text>
  353. <u-icon name="arrow-down" color="#00B78F" size="16"
  354. @click="goNav('/package/jobIntention/city')"></u-icon>
  355. </view>
  356. <!-- 筛选 -->
  357. <view class="qySx-sx-box-filter flex align-center">
  358. <text style="margin-right: 10rpx;"
  359. @click="goNav('/package/screen/screen?type=2')">筛选</text>
  360. <u-icon name="arrow-down" color="#999999" size="16"
  361. @click="goNav('/package/screen/screen?type=2')"></u-icon>
  362. </view>
  363. </view>
  364. </view>
  365. </view>
  366. </view>
  367. </u-sticky>
  368. <!-- Vip推荐 -->
  369. <view class="vipRecommend">
  370. <view class="vipRecommend-box">
  371. <view class="vipRecommend-close" @click="closeVipRecommend">
  372. <image src="../../static/images/index/qiyeDelete.svg" class="close-icon" />
  373. </view>
  374. <view class="vipRecommend-content">
  375. <view class="vipRecommend-title">
  376. <text class="job-title">亚马逊运营总监</text>
  377. <text class="job-status">职位体验中</text>
  378. </view>
  379. <view class="vipRecommend-message">
  380. 今日已错过24位新增牛人
  381. </view>
  382. <view class="vipRecommend-hint">
  383. 升级VIP正式版,享更多查看沟通权益
  384. </view>
  385. </view>
  386. </view>
  387. </view>
  388. <!-- 简历列表 -->
  389. <view class="qyList flex justify-center">
  390. <view class="qyList-box">
  391. <view class="qyList-box-item flex justify-center" v-for="(item,index) in datasList" :key="index"
  392. @click="goNav('/pages/index/game/orderDet?resumesId='+item.resumesId)">
  393. <view class="qyList-box-item-box">
  394. <view class="qyList-box-item-info flex justify-between align-center">
  395. <view class="qyList-box-item-info-l">
  396. <view class="" style="color: #212121;font-size: 38rpx;font-weight: 800;">
  397. {{item.resumesName}}
  398. </view>
  399. <view class="flex align-center flex-wrap"
  400. style="color: #999999;font-size: 26rpx;margin-top: 10rpx;">
  401. <text>{{item.resumesAge}}岁</text>
  402. <text style="margin-left: 20rpx;margin-right: 20rpx;">|</text>
  403. <text>{{item.resumesWorkExperience}}</text>
  404. <text style="margin-left: 20rpx;margin-right: 20rpx;">|</text>
  405. <text>{{item.school}}</text>
  406. <text style="margin-left: 20rpx;margin-right: 20rpx;">|</text>
  407. <text>期望{{item.resumesCompensation}}</text>
  408. </view>
  409. </view>
  410. <view class="qyList-box-item-info-r">
  411. <image :src="item.avatar?item.avatar:'../../static/logo.png'"
  412. style="width: 95rpx;height: 95rpx;border-radius: 50%;" mode=""></image>
  413. </view>
  414. </view>
  415. <view class="qyList-box-item-job flex align-center">
  416. <u-icon name="heart-fill" color="#00B88F" size="30" style="margin-right: 16rpx;">
  417. </u-icon>
  418. 期望岗位:{{item.resumesPost}}
  419. </view>
  420. <view class="qyList-box-item-job flex align-center">
  421. <image src="../../static/images/qi.png"
  422. style="width: 30rpx;height: 32rpx;margin-right: 16rpx;" mode=""></image>
  423. <block v-if="item.resumesCompanyList[0]">
  424. {{item.resumesCompanyList[0]?item.resumesCompanyList[0].resumesTitle:''}} /
  425. {{item.resumesCompanyList[0]?item.resumesCompanyList[0].resumesPost:''}}
  426. </block>
  427. <block v-else>
  428. 暂无工作经历
  429. </block>
  430. </view>
  431. <view class="qyList-box-item-rem" v-if="item.resumesDetails">
  432. 优势:{{item.resumesDetails}}
  433. </view>
  434. </view>
  435. </view>
  436. <empty :isShow="false" v-if="datasList.length==0" />
  437. </view>
  438. </view>
  439. </block>
  440. </block>
  441. <view v-if="goback==true" class="goback" @click="gotoBack">
  442. <image style="width: 88rpx;height: 88rpx;border-radius: 50%;" src="../../static/images/up.jpg" mode="">
  443. </image>
  444. </view>
  445. </view>
  446. </template>
  447. <script>
  448. import empty from '../../components/empty.vue'
  449. import permision from '@/js_sdk/wa-permission/permission.js'
  450. import companyListIndex from '@/components/companyListIndex/companyListIndex.vue'
  451. export default {
  452. components: {
  453. empty,
  454. companyListIndex
  455. },
  456. data() {
  457. return {
  458. enable: true, //开启吸顶
  459. goback: false,
  460. city: '',
  461. datasList: [],
  462. isfixeds: false,
  463. userType: 1,
  464. dataList: [],
  465. current: 0,
  466. typeList: [],
  467. currentSx: 0,
  468. sxTypeList: [{
  469. id: 1,
  470. name: '推荐',
  471. },
  472. {
  473. id: 2,
  474. name: '最新',
  475. }
  476. ],
  477. currentjob: 0,
  478. jobTypeList: [{
  479. projectName: '',
  480. name: '全部',
  481. }, ],
  482. currentJobSx: 0,
  483. jobSxTypeList: [{
  484. projectName: '',
  485. name: '全部',
  486. }],
  487. currentJobSxs: 0,
  488. jobSxsTypeList: [{
  489. id: 1,
  490. name: '推荐',
  491. },
  492. {
  493. id: 2,
  494. name: '最新',
  495. },
  496. // {
  497. // id: 2,
  498. // name: '优选',
  499. // }
  500. ],
  501. token: '',
  502. page: 1,
  503. limit: 10,
  504. latitude: '',
  505. longitude: '',
  506. totlo: '',
  507. education: '', //学历
  508. experience: '', //经验
  509. industry: '', //行业
  510. salaryRange: '', //薪资
  511. companyPeople: '', //公司规模
  512. domeWidth: 0,
  513. showModal: true,
  514. arr: [],
  515. companyStatus: '',
  516. XCXIsSelect: '是',
  517. bannerList: [], //企业端轮播图
  518. bannerListuser: [], //用户端轮播图
  519. gridlist: [], //用户端分类
  520. gongao: [], //公告
  521. tuiguang: '', //分享标题
  522. bgImg: '', //分享图片
  523. companList: [], //公司列表
  524. currentDirection: 0, //当前选中的方向
  525. directionList: [ //方向列表
  526. {id: 1, name: '不限'},
  527. {id: 2, name: '内容运营'},
  528. {id: 3, name: '投放运营'},
  529. {id: 4, name: '店铺运营'}
  530. ],
  531. };
  532. },
  533. onShareAppMessage(res) {
  534. return {
  535. path: '/pages/index/index?invitation=' + uni.getStorageSync(
  536. 'invitationCode'), //这是为了传参 onload(data){let id=data.id;}
  537. title: this.tuiguang,
  538. imageUrl: this.bgImg
  539. }
  540. },
  541. onShareTimeline(res) {
  542. return {
  543. path: '/pages/index/index?invitation=' + uni.getStorageSync(
  544. 'invitationCode'), //这是为了传参
  545. title: this.tuiguang,
  546. imageUrl: this.bgImg
  547. }
  548. },
  549. watch: {
  550. current(newData, oldData) {
  551. console.log(this.current)
  552. uni.showLoading({
  553. title: '加载中'
  554. })
  555. this.page = 1
  556. if (this.current == this.typeList.length - 1) { //公司
  557. this.getComanyList()
  558. } else {
  559. this.getUserList()
  560. }
  561. },
  562. currentSx(newData, oldData) {
  563. uni.showLoading({
  564. title: '加载中'
  565. })
  566. this.page = 1
  567. this.getUserList();
  568. },
  569. currentjob(newData, oldData) {
  570. uni.showLoading({
  571. title: '加载中'
  572. })
  573. this.page = 1
  574. this.getUserList()
  575. },
  576. currentJobSx(newData, oldData) {
  577. uni.showLoading({
  578. title: '加载中'
  579. })
  580. this.page = 1
  581. this.getPeopList()
  582. },
  583. currentJobSxs(newData, oldData) {
  584. uni.showLoading({
  585. title: '加载中'
  586. })
  587. this.page = 1
  588. this.getPeopList()
  589. },
  590. //监听userType的变化 如果有旧值跟新值不同 则把分页重置为初始状态,为了解决切换身份后数据分页错误的问题
  591. userType(newType, oldType) {
  592. if (newType != oldType) {
  593. this.page = 1
  594. if (this.userType == 1) {
  595. uni.showLoading({
  596. title: '加载中'
  597. })
  598. this.page = 1
  599. this.getUserList()
  600. } else {
  601. uni.showLoading({
  602. title: '加载中'
  603. })
  604. this.page = 1
  605. this.getPeopList()
  606. }
  607. }
  608. }
  609. },
  610. onPageScroll(e) {
  611. if (e.scrollTop > 350) {
  612. this.goback = true
  613. } else {
  614. this.goback = false
  615. }
  616. },
  617. onLoad(e) {
  618. // #ifdef APP
  619. this.getAudioPermision()
  620. // #endif
  621. // 获取邀请码保存到本地
  622. if (e.invitation) {
  623. this.$queue.setData('inviterCode', e.invitation);
  624. }
  625. // #ifdef MP-WEIXIN
  626. if (e.scene) {
  627. const scene = decodeURIComponent(e.scene);
  628. this.$queue.setData('inviterCode', scene.split(',')[0]);
  629. }
  630. // #endif
  631. // this.XCXIsSelect = this.$queue.getData("XCXIsSelect");
  632. uni.showLoading({
  633. title: '加载中'
  634. })
  635. if (uni.getStorageSync('userType')) {
  636. this.userType = uni.getStorageSync('userType');
  637. }
  638. let that = this
  639. //获取经纬度后请求岗位接口,经纬度用于筛选距离
  640. uni.getLocation({
  641. type: 'wgs84', //wgs84 gcj02
  642. success: function(res) {
  643. console.log(res, '地理位置');
  644. that.latitude = res.latitude;
  645. that.longitude = res.longitude;
  646. if (that.userType == 1) {
  647. // that.getUserList();
  648. that.getPostType()
  649. } else {
  650. that.getPeopList()
  651. }
  652. // console.log(uni.getStorageSync('city') == '', '22222222222')
  653. if (!uni.getStorageSync('city') || uni.getStorageSync('city') == '' || uni.getStorageSync(
  654. 'city') == null) {
  655. // #ifdef APP-PLUS
  656. if (res.address) {
  657. that.city = res.address.city
  658. } else {
  659. that.getSelectCity(that.longitude, that.latitude);
  660. }
  661. // #endif
  662. // #ifndef APP
  663. that.getSelectCity(that.longitude, that.latitude);
  664. // #endif
  665. }
  666. },
  667. fail: function() {
  668. console.log('获取地址失败');
  669. // 获取位置失败时也要关闭加载并调用数据接口
  670. uni.hideLoading()
  671. // 即使没有位置信息,也要加载数据
  672. if (that.userType == 1) {
  673. that.getPostType()
  674. } else {
  675. that.getPeopList()
  676. }
  677. }
  678. })
  679. this.getDomWidth()
  680. this.$Request.getT('/app/common/type/255').then(res => {
  681. if (res.code === 0) {
  682. if (res.data && res.data.value) {
  683. this.tuiguang = res.data.value;
  684. }
  685. }
  686. });
  687. if (this.userType == 1) { //用户邀请图
  688. this.$Request.getT('/app/banner/selectBannerList?state=-1&classify=5').then(res => {
  689. if (res.code === 0) {
  690. this.bgImg = res.data[0].imageUrl;
  691. }
  692. });
  693. } else { //企业邀请图
  694. this.$Request.getT('/app/banner/selectBannerList?state=-1&classify=6').then(res => {
  695. if (res.code === 0) {
  696. this.bgImg = res.data[0].imageUrl;
  697. }
  698. });
  699. }
  700. },
  701. //下拉刷新
  702. onPullDownRefresh() {
  703. this.page = 1
  704. if (this.userType == 1) {
  705. if (this.current != this.typeList.length - 1) {
  706. this.getUserList()
  707. } else {
  708. this.getComanyList()
  709. }
  710. } else {
  711. this.getPeopList()
  712. }
  713. },
  714. //加载更多
  715. onReachBottom() {
  716. if (this.page < this.totlo) {
  717. this.page += 1
  718. if (this.userType == 1) {
  719. if (this.current != this.typeList.length - 1) {
  720. this.getUserList()
  721. } else {
  722. this.getComanyList()
  723. }
  724. } else {
  725. this.getPeopList()
  726. }
  727. }
  728. },
  729. onHide() {
  730. //离开页面时关闭吸顶功能,用于处理h5环境运行下'bottom' of null报错的问题
  731. this.enable = false
  732. },
  733. onShow() {
  734. let that = this;
  735. uni.$once('city', data => {
  736. that.city = data.city
  737. uni.setStorageSync('city', that.city)
  738. })
  739. // 监听标签选择
  740. uni.$once('tagSelected', data => {
  741. console.log('选择的标签:', data)
  742. // 这里可以处理选择的标签数据
  743. })
  744. this.getBannerList()
  745. this.getgridList()
  746. this.getgonggaoList()
  747. // #ifdef MP-WEIXIN
  748. this.$Request.get('/app/common/type/257').then(res => {
  749. if (res.code == 0) {
  750. // #ifdef MP-WEIXIN
  751. this.XCXIsSelect = res.data.value
  752. // #endif
  753. // #ifndef MP-WEIXIN
  754. this.XCXIsSelect = '是'
  755. // #endif
  756. }
  757. });
  758. // this.$Request.get('/app/common/type/238').then(res => {
  759. // if (res.code == 0) {
  760. // // #ifdef MP-WEIXIN
  761. // this.XCXIsSelect = res.data.value
  762. // // #endif
  763. // // #ifndef MP-WEIXIN
  764. // this.XCXIsSelect = '是'
  765. // // #endif
  766. // }
  767. // });
  768. // #endif
  769. this.enable = true
  770. if (uni.getStorageSync('userType')) {
  771. this.userType = uni.getStorageSync('userType');
  772. }
  773. this.token = uni.getStorageSync('token');
  774. //获取选中的筛选条件
  775. if (uni.getStorageSync('filter') && (uni.getStorageSync('filter')).length > 0) {
  776. let filter = uni.getStorageSync('filter')
  777. this.education = '' //学历
  778. this.experience = '' //经验
  779. this.industry = '' //行业
  780. this.salaryRange = '' //薪资
  781. this.companyPeople = '' //公司规模
  782. filter.map(item => {
  783. let arr = []
  784. item.list.map(ite => {
  785. if (ite.value != '不限') {
  786. arr.push(ite.value)
  787. }
  788. })
  789. switch (item.name) {
  790. case '学历':
  791. this.education = arr.join(',')
  792. break;
  793. case '薪资':
  794. this.salaryRange = arr.join(',')
  795. break;
  796. case '经验':
  797. this.experience = arr.join(',')
  798. break;
  799. case '公司规模':
  800. this.companyPeople = arr.join(',')
  801. break;
  802. case '行业':
  803. this.industry = arr.join(',')
  804. break;
  805. }
  806. })
  807. // console.log(filter)
  808. } else {
  809. this.education = '' //学历
  810. this.experience = '' //经验
  811. this.industry = '' //行业
  812. this.salaryRange = '' //薪资
  813. this.companyPeople = '' //公司规模
  814. }
  815. // this.getPostType();
  816. if (this.userType == 1) {
  817. uni.setNavigationBarColor({
  818. frontColor: '#ffffff',
  819. backgroundColor: '#00DD9A'
  820. })
  821. } else {
  822. uni.setNavigationBarColor({
  823. frontColor: '#000000',
  824. backgroundColor: '#F2F2F7'
  825. })
  826. }
  827. if (this.token) {
  828. this.getUserInfo();
  829. if (this.userType == 1) {
  830. this.getJobType();
  831. } else {
  832. this.jobTypeList = [{
  833. projectName: '',
  834. name: '全部',
  835. }]
  836. this.getCompanyClassify()
  837. this.getCompanyStatus()
  838. }
  839. this.$Request.getT('/app/common/type/310').then(res => { //消息未读提醒
  840. if (res.code == 0) {
  841. if (res.data && res.data.value) {
  842. this.arr.push(res.data.value)
  843. }
  844. }
  845. })
  846. this.$Request.getT('/app/common/type/337').then(res => { //预约成功通知(通用)
  847. if (res.code == 0) {
  848. if (res.data && res.data.value) {
  849. this.arr.push(res.data.value)
  850. }
  851. }
  852. })
  853. this.$Request.getT('/app/common/type/338').then(res => { //订单状态通知
  854. if (res.code == 0) {
  855. if (res.data && res.data.value) {
  856. this.arr.push(res.data.value)
  857. }
  858. }
  859. })
  860. // #ifdef MP-WEIXIN
  861. if (this.showModal) {
  862. this.openMsg()
  863. }
  864. // #endif
  865. } else {
  866. this.jobTypeList = [{
  867. projectName: '',
  868. name: '全部',
  869. }]
  870. }
  871. if (uni.getStorageSync('city')) {
  872. this.city = uni.getStorageSync('city')
  873. } else {
  874. this.city = ''
  875. }
  876. if (this.city) {
  877. if (this.userType == 1) {
  878. if (this.current != this.typeList.length - 1) {
  879. this.getPostType();
  880. } else {
  881. this.getComanyList()
  882. }
  883. } else {
  884. this.getPeopList()
  885. }
  886. // if (this.userType == 1) { //用户端岗位
  887. // that.getPostType();
  888. // } else { //企业端简历
  889. // that.getPeopList();
  890. // }
  891. }
  892. },
  893. methods: {
  894. //去企业详情
  895. goInfo(item) {
  896. uni.navigateTo({
  897. url: '/my/enterpriseInfo/enterpriseInfo?companyId=' + item.companyId
  898. })
  899. },
  900. //获取公司列表
  901. getComanyList() {
  902. let data = {
  903. page: this.page,
  904. limit: this.limit,
  905. city: this.city == '全国' ? '' : this.city, //城市
  906. companyScope: this.industry,
  907. companyPeople: this.companyPeople
  908. }
  909. this.$Request.getT('/app/company/listCompany', data).then(res => {
  910. uni.hideLoading()
  911. uni.stopPullDownRefresh()
  912. if (res.code == 0) {
  913. this.totlo = res.data.pages
  914. if (this.page == 1) {
  915. this.companList = res.data.records
  916. } else {
  917. this.companList = [...this.companList, ...res.data.records]
  918. }
  919. // this.companList = res.data
  920. } else {
  921. uni.showToast({
  922. title: res.msg,
  923. icon: 'none'
  924. })
  925. }
  926. })
  927. },
  928. isSameName(className, name) {
  929. let str1 = className.trim();
  930. let str2 = name.trim();
  931. if (str1.length !== str2.length) {
  932. return true;
  933. }
  934. return str1.toLowerCase() !== str2.toLowerCase();
  935. },
  936. //获取麦克风/摄像头权限
  937. async getAudioPermision() {
  938. let status = permision.isIOS ? await permision.judgeIosPermission("record") : await permision
  939. .requestAndroidPermission("android.permission.RECORD_AUDIO")
  940. let status2 = permision.isIOS ? await permision.judgeIosPermission("camera") : await permision
  941. .requestAndroidPermission("android.permission.CAMERA")
  942. if (status === null || status === 1 || status == true) { //已经同意授权
  943. console.log('获取到权限了')
  944. } else { //未授权的
  945. this.popupshowsq = true
  946. }
  947. },
  948. goNave(url) {
  949. if (url.indexOf('/pages/') !== -1 || url.indexOf('/my/') !== -1 || url.indexOf('/package/') !== -1) {
  950. uni.navigateTo({
  951. url
  952. });
  953. } else {
  954. //#ifndef H5
  955. uni.navigateTo({
  956. url: '/pages/index/webView?url=' + url
  957. });
  958. //#endif
  959. //#ifdef H5
  960. window.location.href = url;
  961. //#endif
  962. }
  963. },
  964. //获取公告
  965. getgonggaoList() {
  966. if (!uni.getStorageSync('userType') || uni.getStorageSync('userType') == 1) {
  967. this.$Request.get('/app/message/page/1/1/100').then(res => {
  968. if (res.code == 0) {
  969. let arr = []
  970. res.data.list.map(item => {
  971. if (item.type == 1) {
  972. arr.push(item.title)
  973. }
  974. })
  975. this.gongao = arr
  976. } else {
  977. this.gongao = []
  978. }
  979. })
  980. } else if (uni.getStorageSync('userType') == 2) {
  981. this.$Request.get('/app/message/page/1/1/100').then(res => {
  982. if (res.code == 0) {
  983. let arr = []
  984. res.data.list.map(item => {
  985. if (item.type == 2) {
  986. arr.push(item.title)
  987. }
  988. })
  989. this.gongao = arr
  990. } else {
  991. this.gongao = []
  992. }
  993. })
  994. }
  995. },
  996. //获取金刚区
  997. getgridList() {
  998. if (uni.getStorageSync('userType') == 1) {
  999. this.$Request.get('/app/banner/selectBannerList?classify=2').then(res => {
  1000. if (res.code == 0) {
  1001. this.gridlist = res.data
  1002. } else {
  1003. this.gridlist = []
  1004. }
  1005. })
  1006. } else {
  1007. this.$Request.get('/app/banner/selectBannerList?classify=4').then(res => {
  1008. if (res.code == 0) {
  1009. this.gridlist = res.data
  1010. } else {
  1011. this.gridlist = []
  1012. }
  1013. })
  1014. }
  1015. },
  1016. //获取bannerlist
  1017. getBannerList() {
  1018. if (!uni.getStorageSync('userType') || uni.getStorageSync('userType') == 1) {
  1019. this.$Request.get('/app/banner/selectBannerList?classify=1').then(res => {
  1020. if (res.code == 0) {
  1021. this.bannerListuser = res.data
  1022. this.bannerList = res.data
  1023. } else {
  1024. this.bannerListuser = [
  1025. 'https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fup.enterdesk.com%2Fphoto%2F2007-11-7%2F200711072147151187.jpg&refer=http%3A%2F%2Fup.enterdesk.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=auto?sec=1674883340&t=4b9cbb7796600699ac28f75cd138ba04'
  1026. ]
  1027. }
  1028. })
  1029. } else if (uni.getStorageSync('userType') == 2) {
  1030. this.$Request.get('/app/banner/selectBannerList?classify=3').then(res => {
  1031. if (res.code == 0) {
  1032. this.bannerList = res.data
  1033. } else {
  1034. this.bannerList = [
  1035. 'https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fup.enterdesk.com%2Fphoto%2F2007-11-7%2F200711072147151187.jpg&refer=http%3A%2F%2Fup.enterdesk.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=auto?sec=1674883340&t=4b9cbb7796600699ac28f75cd138ba04'
  1036. ]
  1037. }
  1038. })
  1039. }
  1040. },
  1041. goNavss(url) {
  1042. if (this.companyStatus) {
  1043. if (this.companyStatus == 1) {
  1044. uni.showToast({
  1045. title: '企业认证审核中,请审核通过后操作!',
  1046. icon: 'none'
  1047. })
  1048. return
  1049. }
  1050. if (this.companyStatus == 3) {
  1051. uni.showToast({
  1052. title: '企业认证审核未通过,请重新认证!',
  1053. icon: 'none'
  1054. })
  1055. return
  1056. }
  1057. uni.navigateTo({
  1058. url: url
  1059. })
  1060. } else {
  1061. uni.showModal({
  1062. title: '提示',
  1063. content: '还未完成企业认证,请完成企业认证后操作',
  1064. complete(ret) {
  1065. if (ret.confirm) {
  1066. }
  1067. }
  1068. })
  1069. }
  1070. },
  1071. //获取企业认证状态(1:审核中 2:通过 3:拒绝)
  1072. getCompanyStatus() {
  1073. this.$Request.get("/app/company/selectCompanyByUserId").then(res => {
  1074. if (res.code == 0 && res.data) {
  1075. this.companyStatus = res.data.status
  1076. uni.setStorageSync('companyStatus', this.companyStatus)
  1077. } else {
  1078. this.companyStatus = ''
  1079. }
  1080. })
  1081. },
  1082. // 开启订阅消息
  1083. openMsg() {
  1084. console.log('订阅消息')
  1085. var that = this
  1086. uni.getSetting({
  1087. withSubscriptions: true, //是否获取用户订阅消息的订阅状态,默认false不返回
  1088. success(ret) {
  1089. console.log(ret.subscriptionsSetting, '------------------')
  1090. // if (ret.subscriptionsSetting.itemSettings && Object.keys(ret.subscriptionsSetting.itemSettings).length == 2) {
  1091. if (ret.subscriptionsSetting.itemSettings) {
  1092. uni.setStorageSync('sendMsg', true)
  1093. uni.openSetting({ // 打开设置页
  1094. success(rea) {
  1095. console.log(rea.authSetting)
  1096. }
  1097. });
  1098. } else { // 用户没有点击“总是保持以上,不再询问”则每次都会调起订阅消息
  1099. console.log(99999)
  1100. uni.setStorageSync('sendMsg', false)
  1101. uni.showModal({
  1102. title: '提示',
  1103. content: '为了更好的体验,请绑定消息推送',
  1104. confirmText: '确定',
  1105. cancelText: '取消',
  1106. confirmColor: '#00B88F',
  1107. success: function(res) {
  1108. if (res.confirm) {
  1109. console.log(that.arr)
  1110. wx.requestSubscribeMessage({
  1111. tmplIds: that.arr,
  1112. success(re) {
  1113. console.log(JSON.stringify(re),
  1114. '++++++++++++++')
  1115. var datas = JSON.stringify(re);
  1116. if (datas.indexOf("accept") != -1) {
  1117. console.log(re)
  1118. uni.setStorageSync('sendMsg', true)
  1119. }
  1120. },
  1121. fail: (res) => {
  1122. console.log(res)
  1123. }
  1124. })
  1125. uni.setStorageSync('sendMsg', true)
  1126. console.log('确认')
  1127. that.showModal = false
  1128. } else if (res.cancel) {
  1129. console.log('取消')
  1130. uni.setStorageSync('sendMsg', false)
  1131. that.showModal = true
  1132. }
  1133. }
  1134. })
  1135. }
  1136. }
  1137. })
  1138. },
  1139. //回到顶部
  1140. gotoBack() {
  1141. uni.pageScrollTo({
  1142. scrollTop: 0,
  1143. duration: 300
  1144. })
  1145. },
  1146. /**
  1147. * 获取简历列表
  1148. */
  1149. getPeopList() {
  1150. let data = {
  1151. page: this.page,
  1152. limit: this.limit,
  1153. postType: '', //工作性质
  1154. resumesPost: this.jobSxTypeList[this.currentJobSx].projectName, //岗位名称
  1155. screen: +this.currentJobSxs + 1, //1推荐 2最新
  1156. city: this.city == '全国' ? '' : this.city, //城市
  1157. resumesCompensation: this.salaryRange, //薪资范围
  1158. resumesEducation: this.education, //学历
  1159. resumesWorkExperience: this.experience, //经验
  1160. industryName: this.industry, //行业
  1161. // companyPeople: this.companyPeople, //公司规模
  1162. lng: this.longitude,
  1163. lat: this.latitude,
  1164. companyId: uni.getStorageSync('companyId') ? uni.getStorageSync('companyId') : ''
  1165. }
  1166. this.$Request.get('/app/resumes/selectResumesList', data).then(res => {
  1167. uni.stopPullDownRefresh()
  1168. uni.hideLoading()
  1169. if (res.code == 0 && res.data) {
  1170. this.totalPage = res.data.totalPage
  1171. // res.data.list.map(item => {
  1172. // if (item.positionWelfare) {
  1173. // item.positionWelfare = item.positionWelfare.split(',')
  1174. // } else {
  1175. // item.positionWelfare = []
  1176. // }
  1177. // })
  1178. if (this.page == 1) {
  1179. this.datasList = res.data.list
  1180. } else {
  1181. this.datasList = [...this.datasList, ...res.data.list]
  1182. }
  1183. this.totlo = res.data.totalPage
  1184. } else {
  1185. this.datasList = []
  1186. }
  1187. })
  1188. },
  1189. /**
  1190. * 获取公司发布的岗位列表
  1191. */
  1192. getCompanyClassify() {
  1193. let data = {
  1194. companyId: uni.getStorageSync('companyId')
  1195. }
  1196. this.$Request.getT('/app/postPush/getCompanyClassify', data).then(res => {
  1197. if (res.code == 0) {
  1198. let arr = [{
  1199. projectName: '',
  1200. name: '全部',
  1201. }, ]
  1202. res.data.map(item => {
  1203. let obj = {
  1204. projectName: item,
  1205. name: item,
  1206. }
  1207. arr.push(obj)
  1208. })
  1209. this.jobSxTypeList = arr
  1210. }
  1211. })
  1212. },
  1213. /**
  1214. * 获取dom元素的宽度
  1215. */
  1216. getDomWidth() {
  1217. this.$nextTick(() => {
  1218. let that = this
  1219. let obj = uni.createSelectorQuery().select('#bottomView' + that
  1220. .currentJobSx) // xx为class或者id,如 .block, #block
  1221. obj.boundingClientRect(function(data) { // data - dom中的参数,宽高等
  1222. // console.log(data.width)
  1223. if (data && data.width) {
  1224. that.domeWidth = data.width * 2 * 0.8
  1225. } else {
  1226. that.domeWidth = 0
  1227. }
  1228. }).exec()
  1229. })
  1230. },
  1231. /**
  1232. * @param {Object} longitude
  1233. * @param {Object} latitude
  1234. * 使用经纬度获取城市
  1235. */
  1236. getSelectCity(longitude, latitude) {
  1237. this.$Request.get('/app/Login/selectCity?lat=' + latitude + '&lng=' + longitude).then(res => {
  1238. if (res.code == 0) {
  1239. // console.log(res, '获取地址信息')
  1240. this.city = res.data.city ? res.data.city : '区域'
  1241. uni.setStorageSync('city', res.data.city)
  1242. if (this.userType == 1) {
  1243. this.getUserList()
  1244. } else {
  1245. this.getPeopList()
  1246. }
  1247. }
  1248. });
  1249. },
  1250. /**
  1251. * 获取求职意向
  1252. */
  1253. getJobType() {
  1254. this.$Request.get('/app/intention/getIntentionList').then(res => {
  1255. if (res.code == 0 && res.data.records.length > 0) {
  1256. let arr = [{
  1257. projectName: '',
  1258. name: '全部',
  1259. }, ]
  1260. res.data.records.map(item => {
  1261. let obj = {
  1262. projectName: item.ruleClassifyName,
  1263. name: item.ruleClassifyName,
  1264. }
  1265. arr.push(obj)
  1266. })
  1267. this.jobTypeList = arr
  1268. }
  1269. })
  1270. },
  1271. /**
  1272. * 获取岗位列表
  1273. */
  1274. getUserList() {
  1275. let data = {
  1276. page: this.page,
  1277. limit: this.limit,
  1278. postType: this.typeList.length > 0 ? this.typeList[this.current].label : '',
  1279. ruleClassifyName: this.jobTypeList[this.currentjob].projectName, //岗位名称
  1280. screen: +this.currentSx + 1, //1推荐 2最新
  1281. city: this.city == '全国' ? '' : this.city, //城市
  1282. salaryRange: this.salaryRange, //薪资范围
  1283. education: this.education, //学历
  1284. experience: this.experience, //经验
  1285. industry: this.industry, //行业
  1286. companyPeople: this.companyPeople, //公司规模
  1287. lng: this.longitude,
  1288. lat: this.latitude,
  1289. userId: uni.getStorageSync('userId') ? uni.getStorageSync('userId') : ''
  1290. }
  1291. this.$Request.get('/app/postPush/userGetPostPushList', data).then(res => {
  1292. uni.stopPullDownRefresh()
  1293. uni.hideLoading()
  1294. if (res.code == 0) {
  1295. res.data.records.map(item => {
  1296. if (item.positionWelfare) {
  1297. item.positionWelfare = item.positionWelfare.split(',')
  1298. } else {
  1299. item.positionWelfare = []
  1300. }
  1301. if (item.distance) {
  1302. if (parseFloat(item.distance) > 1000) {
  1303. item.distance = (parseFloat(item.distance) / 1000).toFixed(2) + 'km'
  1304. } else {
  1305. item.distance = (parseFloat(item.distance)).toFixed(2) + 'm'
  1306. }
  1307. } else {
  1308. item.distance = ''
  1309. }
  1310. })
  1311. if (this.page == 1) {
  1312. // console.log(res.data.records, '岗位数据')
  1313. this.dataList = res.data.records
  1314. } else {
  1315. this.dataList = [...this.dataList, ...res.data.records]
  1316. }
  1317. this.totlo = res.data.pages
  1318. }
  1319. })
  1320. },
  1321. /**
  1322. * 工作性质
  1323. */
  1324. getPostType() {
  1325. this.$Request.get('/app/dict/list', {
  1326. type: '工作性质'
  1327. }).then(res => {
  1328. if (res.code == 0) {
  1329. let arr = res.data
  1330. arr = JSON.parse(JSON.stringify(arr).replace(/code/g, 'label'))
  1331. let obj = {
  1332. id: -1,
  1333. label: '企业',
  1334. name: '企业'
  1335. }
  1336. arr.push(obj)
  1337. this.typeList = arr
  1338. // console.log(this.typeList, '1111')
  1339. this.getUserList()
  1340. }
  1341. })
  1342. },
  1343. /**
  1344. * 获取个人信息
  1345. */
  1346. getUserInfo() {
  1347. this.$Request.get("/app/user/selectUserById").then(res => {
  1348. if (res.code == 0) {
  1349. this.$queue.setData('weChatNum', res.data.weChatNum)
  1350. if (res.data.companyId) {
  1351. uni.setStorageSync('companyId', res.data.companyId)
  1352. }
  1353. if (res.data.userType == 1 || res.data.userType == null) {
  1354. this.userType = 1
  1355. uni.setStorageSync('userType', 1)
  1356. } else {
  1357. this.userType = 2
  1358. uni.setStorageSync('userType', 2)
  1359. }
  1360. }
  1361. })
  1362. },
  1363. gotoInfo(postPushId) {
  1364. if (uni.getStorageSync('token')) {
  1365. // #ifdef MP-WEIXIN
  1366. if (uni.getStorageSync('sendMsg')) {
  1367. // console.log('授权+1')
  1368. wx.requestSubscribeMessage({
  1369. tmplIds: this.arr,
  1370. success(re) {
  1371. // console.log(JSON.stringify(re), 111111111111)
  1372. var datas = JSON.stringify(re);
  1373. if (datas.indexOf("accept") != -1) {
  1374. // console.log(re)
  1375. }
  1376. },
  1377. fail: (res) => {
  1378. // console.log(res)
  1379. }
  1380. })
  1381. }
  1382. // #endif
  1383. // uni.navigateTo({
  1384. // url: '/pages/index/game/order?postPushId=' + postPushId
  1385. // })
  1386. }
  1387. // else {
  1388. // this.noLogin()
  1389. // }
  1390. uni.navigateTo({
  1391. url: '/pages/index/game/order?postPushId=' + postPushId
  1392. })
  1393. },
  1394. //不需要登录跳转
  1395. goNavs(url) {
  1396. // #ifdef MP-WEIXIN
  1397. if (uni.getStorageSync('sendMsg')) {
  1398. // console.log('授权+1')
  1399. wx.requestSubscribeMessage({
  1400. tmplIds: this.arr,
  1401. success(re) {
  1402. // console.log(JSON.stringify(re), 111111111111)
  1403. var datas = JSON.stringify(re);
  1404. if (datas.indexOf("accept") != -1) {
  1405. // console.log(re)
  1406. }
  1407. },
  1408. fail: (res) => {
  1409. // console.log(res)
  1410. }
  1411. })
  1412. }
  1413. // #endif
  1414. uni.navigateTo({
  1415. url: url
  1416. })
  1417. },
  1418. //跳转
  1419. goNav(url) {
  1420. if (uni.getStorageSync('token')) {
  1421. // #ifdef MP-WEIXIN
  1422. if (uni.getStorageSync('sendMsg')) {
  1423. // console.log('授权+1')
  1424. wx.requestSubscribeMessage({
  1425. tmplIds: this.arr,
  1426. success(re) {
  1427. // console.log(JSON.stringify(re), 111111111111)
  1428. var datas = JSON.stringify(re);
  1429. if (datas.indexOf("accept") != -1) {
  1430. // console.log(re)
  1431. }
  1432. },
  1433. fail: (res) => {
  1434. // console.log(res)
  1435. }
  1436. })
  1437. }
  1438. // #endif
  1439. uni.navigateTo({
  1440. url: url
  1441. })
  1442. } else {
  1443. this.noLogin()
  1444. }
  1445. },
  1446. //未登录
  1447. noLogin() {
  1448. uni.showModal({
  1449. title: '提示',
  1450. content: '您还未登录,请先登录',
  1451. confirmColor: '#00B88F',
  1452. success: function(res) {
  1453. if (res.confirm) {
  1454. // console.log('用户点击确定');
  1455. uni.navigateTo({
  1456. url: '/pages/public/login'
  1457. })
  1458. } else if (res.cancel) {
  1459. // console.log('用户点击取消');
  1460. }
  1461. }
  1462. })
  1463. },
  1464. //吸顶
  1465. isfixed(e) {
  1466. // console.log(e, '+++++++++++++')
  1467. this.isfixeds = true
  1468. },
  1469. //不吸顶
  1470. isunfixed() {
  1471. this.isfixeds = false
  1472. },
  1473. //添加方向标签
  1474. addDirection() {
  1475. uni.navigateTo({
  1476. url: '/package/jobIntention/tagManage'
  1477. })
  1478. },
  1479. //关闭VIP推荐
  1480. closeVipRecommend() {
  1481. // 这里可以添加关闭逻辑,比如隐藏卡片或记录用户选择
  1482. console.log('关闭VIP推荐')
  1483. // 可以通过v-if控制显示隐藏
  1484. }
  1485. }
  1486. }
  1487. </script>
  1488. <style lang="scss">
  1489. page {
  1490. background: #F2F2F7;
  1491. }
  1492. .goback {
  1493. position: fixed;
  1494. top: 80%;
  1495. right: 30rpx;
  1496. }
  1497. .jobtitle {
  1498. position: relative;
  1499. .jobtitleBom {
  1500. position: absolute;
  1501. width: 30rpx;
  1502. left: 50%;
  1503. top: 80%;
  1504. transform: translate(-50%, 0);
  1505. }
  1506. }
  1507. .topbg-scroll {
  1508. width: 100%;
  1509. white-space: nowrap;
  1510. }
  1511. .activeQs {
  1512. color: #1A1A1A !important;
  1513. font-weight: 800;
  1514. }
  1515. .activeQ {
  1516. color: #1A1A1A !important;
  1517. font-size: 38rpx;
  1518. font-weight: 800;
  1519. }
  1520. .active {
  1521. font-size: 38rpx !important;
  1522. font-weight: 800 !important;
  1523. }
  1524. .active2 {
  1525. color: #1A1A1A !important;
  1526. font-size: 38rpx !important;
  1527. font-weight: 800 !important;
  1528. }
  1529. .active3 {
  1530. color: #1A1A1A !important;
  1531. font-size: 28rpx !important;
  1532. font-weight: 800 !important;
  1533. }
  1534. .topbg {
  1535. width: 100%;
  1536. // height: 100rpx;
  1537. background-color: #00DD9A;
  1538. // position: fixed;
  1539. // /* #ifdef MP-WEIXIN */
  1540. // top: 0;
  1541. // /* #endif */
  1542. // /* #ifdef H5 */
  1543. // top: 78rpx;
  1544. // /* #endif */
  1545. // /* #ifdef APP-PLUS */
  1546. // top: 0;
  1547. // /* #endif */
  1548. // z-index: 998;
  1549. }
  1550. .topbg-sticky {
  1551. box-shadow: 0px 4px 62px 0px rgba(153, 171, 198, 0.18);
  1552. background: linear-gradient(90deg, rgba(13, 39, 247, 1), rgba(19, 193, 234, 1) 100%);
  1553. width: 100%;
  1554. height: 300rpx;
  1555. position: sticky;
  1556. top: 0px;
  1557. // z-index: 999;
  1558. padding-top: 44px;
  1559. /* 波浪效果 */
  1560. --c: rgba(255, 255, 255, 0.1);
  1561. --w1: radial-gradient(100% 57% at top, #0000 100%, var(--c) 100.5%) no-repeat;
  1562. --w2: radial-gradient(100% 57% at bottom, var(--c) 100%, #0000 100.5%) no-repeat;
  1563. background: var(--w1), var(--w2), linear-gradient(90deg, rgba(13, 39, 247, 1), rgba(19, 193, 234, 1) 100%);
  1564. background-position: 0% 100%, 100% 100%, 0 0;
  1565. background-size: 50% 100%, 50% 100%, 100% 100%;
  1566. }
  1567. .topbg-sticky-box {
  1568. width: 100%;
  1569. padding: 0 40rpx;
  1570. }
  1571. .topbg-sticky-title {
  1572. width: 100%;
  1573. margin-bottom: 20rpx;
  1574. }
  1575. .topbg-sticky-title-left {
  1576. color: rgba(255, 255, 255, 1);
  1577. font-family: DM Sans;
  1578. font-size: 32rpx;
  1579. font-weight: 700;
  1580. line-height: 18px;
  1581. letter-spacing: 0%;
  1582. text-align: left;
  1583. }
  1584. .xing-icon {
  1585. width: 42rpx;
  1586. height: 42rpx;
  1587. margin-right: 12rpx;
  1588. }
  1589. .topbg-sticky-title-right {
  1590. color: #ffffff;
  1591. }
  1592. .topbg-sticky-subtitle {
  1593. color: rgba(255, 255, 255, 1);
  1594. font-family: DM Sans;
  1595. font-size: 30rpx;
  1596. font-weight: 700;
  1597. line-height: 18px;
  1598. letter-spacing: 0%;
  1599. text-align: left;
  1600. }
  1601. .topbg-type {
  1602. width: 710rpx;
  1603. border-radius: 6px;
  1604. box-shadow: 0px 8px 12px 0px rgba(0, 0, 0, 0.05);
  1605. background: rgba(255, 255, 255, 1);
  1606. // background: transparent;
  1607. padding: 18rpx;
  1608. margin: 24rpx auto 12rpx auto;
  1609. .topbg-type-box {
  1610. width: 686rpx;
  1611. }
  1612. .topbg-type-box-row {
  1613. margin-bottom: 20rpx;
  1614. }
  1615. .topbg-type-box-l {
  1616. flex: 1;
  1617. white-space: nowrap;
  1618. overflow-x: auto;
  1619. }
  1620. .topbg-type-box-l-i {
  1621. color: rgba(153, 153, 153, 1);
  1622. font-family: DM Sans;
  1623. font-size: 28rpx;
  1624. font-weight: 400;
  1625. line-height: 18px;
  1626. letter-spacing: 0%;
  1627. text-align: left;
  1628. margin-right: 14rpx;
  1629. &.active {
  1630. background: linear-gradient(90deg, rgba(13, 39, 247, 1), rgba(19, 193, 234, 1) 100%);
  1631. -webkit-background-clip: text;
  1632. -webkit-text-fill-color: transparent;
  1633. background-clip: text;
  1634. text-fill-color: transparent;
  1635. font-family: DM Sans;
  1636. font-size: 24rpx;
  1637. font-weight: 700;
  1638. line-height: 48rpx;
  1639. letter-spacing: 0%;
  1640. text-align: left;
  1641. }
  1642. }
  1643. .topbg-type-box-r {
  1644. color: #ffffff;
  1645. }
  1646. .attachment-icon {
  1647. width: 38rpx;
  1648. height: 38rpx;
  1649. }
  1650. }
  1651. .direction-tip {
  1652. margin-top: 20rpx;
  1653. .direction-tip-title {
  1654. color: rgba(51, 51, 51, 1);
  1655. font-family: DM Sans;
  1656. font-size: 26rpx;
  1657. font-weight: 400;
  1658. line-height: 13px;
  1659. letter-spacing: 0%;
  1660. text-align: left;
  1661. margin-bottom: 8rpx;
  1662. }
  1663. .direction-tip-subtitle {
  1664. margin-top: 16rpx;
  1665. color: rgba(153, 153, 153, 1);
  1666. font-family: DM Sans;
  1667. font-size: 24rpx;
  1668. font-weight: 400;
  1669. line-height: 10px;
  1670. letter-spacing: 0%;
  1671. text-align: left;
  1672. }
  1673. .direction-tags {
  1674. margin-top: 16rpx;
  1675. .direction-tag {
  1676. color: rgba(153, 153, 153, 1);
  1677. font-family: DM Sans;
  1678. font-size: 20rpx;
  1679. font-weight: 400;
  1680. line-height: 18px;
  1681. letter-spacing: 0%;
  1682. text-align: center;
  1683. margin-right: 18rpx;
  1684. border-radius: 6px;
  1685. background: rgba(198, 198, 198, 0.1);
  1686. padding: 8rpx 12rpx;
  1687. display: inline-block;
  1688. min-width: 60rpx;
  1689. white-space: nowrap;
  1690. cursor: pointer;
  1691. transition: all 0.3s ease;
  1692. &.active {
  1693. font-family: DM Sans;
  1694. font-size: 20rpx !important;
  1695. font-weight: 400 !important;
  1696. line-height: 18px;
  1697. letter-spacing: 0%;
  1698. text-align: left;
  1699. padding: 8rpx 12rpx !important;
  1700. color: rgba(1, 107, 246, 1) !important;
  1701. background: #D6E7FD !important;
  1702. border: 1px solid rgba(1, 107, 246, 1);
  1703. }
  1704. }
  1705. .direction-tag-add {
  1706. color: rgba(153, 153, 153, 1);
  1707. font-family: DM Sans;
  1708. font-size: 20rpx;
  1709. font-weight: 400;
  1710. line-height: 18px;
  1711. letter-spacing: 0%;
  1712. text-align: center;
  1713. margin-right: 20rpx;
  1714. border-radius: 6px;
  1715. background: rgba(198, 198, 198, 0.1);
  1716. padding: 8rpx 12rpx;
  1717. display: inline-block;
  1718. min-width: 60rpx;
  1719. white-space: nowrap;
  1720. cursor: pointer;
  1721. transition: all 0.3s ease;
  1722. &:hover {
  1723. background: rgba(198, 198, 198, 0.2);
  1724. }
  1725. }
  1726. .direction-tag-plus {
  1727. width: 40rpx;
  1728. height: 36rpx;
  1729. padding: 8rpx;
  1730. border-radius: 6px;
  1731. background: rgba(198, 198, 198, 0.1);
  1732. display: inline-flex;
  1733. align-items: center;
  1734. justify-content: center;
  1735. transition: all 0.3s ease;
  1736. &:hover {
  1737. background: rgba(198, 198, 198, 0.2);
  1738. }
  1739. }
  1740. }
  1741. }
  1742. .companyListBox {
  1743. width: 100%;
  1744. background-color: #F2F2F7;
  1745. // margin-top: 30rpx;
  1746. }
  1747. .topbg-yx {
  1748. width: 100%;
  1749. // height: 366rpx;
  1750. background: #F2F2F7;
  1751. border-radius: 40rpx 40rpx 0 0;
  1752. margin-top: 20rpx;
  1753. align-content: flex-start;
  1754. .topbg-yx-box {
  1755. width: 686rpx;
  1756. height: 40rpx;
  1757. margin-top: 35rpx;
  1758. }
  1759. .topbg-yx-box-l {
  1760. width: 62%;
  1761. .topbg-yx-box-l-i {
  1762. display: inline-block;
  1763. margin-right: 50rpx;
  1764. color: #999999;
  1765. font-size: 32rpx;
  1766. font-weight: 500;
  1767. .topbg-yx-box-l-i-c {
  1768. z-index: 1 !important;
  1769. // position: relative;
  1770. .topbg-yx-box-l-i-text {
  1771. z-index: 3 !important;
  1772. }
  1773. }
  1774. .topbg-yx-box-l-i-line {
  1775. margin-top: -10rpx;
  1776. width: 100%;
  1777. height: 10rpx;
  1778. background: linear-gradient(90deg, #08F3CE 0%, #05F3A7 100%);
  1779. border-radius: 7rpx;
  1780. z-index: 2 !important;
  1781. }
  1782. }
  1783. }
  1784. .topbg-yx-box-r {
  1785. text {
  1786. color: #00B88F;
  1787. font-size: 28rpx;
  1788. font-weight: 500;
  1789. margin-right: 20rpx;
  1790. }
  1791. }
  1792. }
  1793. .topbg-sx-box {
  1794. width: 100%;
  1795. margin-top: 0rpx;
  1796. .topbg-sx-box-l-i {
  1797. color: rgba(153, 153, 153, 1);
  1798. font-family: DM Sans;
  1799. font-size: 24rpx;
  1800. font-weight: 400;
  1801. line-height: 18px;
  1802. letter-spacing: 0%;
  1803. text-align: center;
  1804. margin-right: 20rpx;
  1805. border-radius: 6px;
  1806. background: rgba(198, 198, 198, 0.1);
  1807. padding: 8rpx 12rpx;
  1808. display: inline-block;
  1809. min-width: 60rpx;
  1810. white-space: nowrap;
  1811. &.active3 {
  1812. font-family: DM Sans;
  1813. font-size: 24rpx !important;
  1814. font-weight: 400 !important;
  1815. line-height: 18px;
  1816. letter-spacing: 0%;
  1817. text-align: left;
  1818. padding: 8rpx 12rpx !important;
  1819. color: rgba(1, 107, 246, 1) !important;
  1820. background: #D6E7FD !important;
  1821. border: 1px solid rgba(1, 107, 246, 1);
  1822. }
  1823. }
  1824. .topbg-sx-box-r-i {
  1825. color: rgba(1, 107, 246, 1);
  1826. font-family: DM Sans;
  1827. font-size: 24rpx;
  1828. font-weight: 400;
  1829. line-height: 18px;
  1830. letter-spacing: 0%;
  1831. text-align: center;
  1832. margin-right: 20rpx;
  1833. border-radius: 6px;
  1834. background: #D6E7FD;
  1835. padding: 8rpx 12rpx;
  1836. display: inline-block;
  1837. min-width: 60rpx;
  1838. white-space: nowrap;
  1839. cursor: pointer;
  1840. transition: all 0.3s ease;
  1841. border: 0.5px solid rgba(1, 107, 246, 1);
  1842. }
  1843. .topbg-sx-box-filter {
  1844. color: rgba(153, 153, 153, 1);
  1845. font-family: DM Sans;
  1846. font-size: 24rpx;
  1847. font-weight: 400;
  1848. line-height: 18px;
  1849. letter-spacing: 0%;
  1850. text-align: center;
  1851. border-radius: 6px;
  1852. background: rgba(198, 198, 198, 0.1);
  1853. padding: 8rpx 12rpx;
  1854. display: inline-block;
  1855. min-width: 60rpx;
  1856. white-space: nowrap;
  1857. cursor: pointer;
  1858. transition: all 0.3s ease;
  1859. }
  1860. }
  1861. .title-left {
  1862. display: flex;
  1863. align-items: center;
  1864. gap: 8rpx;
  1865. }
  1866. .job-title-text {
  1867. color: rgba(23, 23, 37, 1);
  1868. font-family: DM Sans;
  1869. font-size: 38rpx;
  1870. font-weight: 700;
  1871. line-height: 48rpx;
  1872. letter-spacing: 0.5%;
  1873. text-align: left;
  1874. }
  1875. .salary-text-box {
  1876. border-radius: 24rpx;
  1877. background: #FEE2E3;
  1878. display: flex;
  1879. justify-content: flex-start;
  1880. align-items: center;
  1881. padding: 6rpx 24rpx;
  1882. .jipin-icon {
  1883. width: 20rpx;
  1884. height: 20rpx;
  1885. margin-right: 4rpx;
  1886. }
  1887. .jipin-text {
  1888. color: rgba(237, 66, 69, 1);
  1889. font-family: DM Sans;
  1890. font-size: 18rpx;
  1891. font-weight: 400;
  1892. line-height: 20px;
  1893. letter-spacing: 0.5%;
  1894. text-align: left;
  1895. }
  1896. }
  1897. .salary-text {
  1898. color: rgba(27, 229, 223, 1);
  1899. font-family: DM Sans;
  1900. font-size: 28rpx;
  1901. font-weight: 700;
  1902. line-height: 40rpx;
  1903. letter-spacing: 0.5%;
  1904. text-align: right;
  1905. }
  1906. .company-name,
  1907. .company-people {
  1908. color: rgba(156, 164, 171, 1);
  1909. font-family: DM Sans;
  1910. font-size: 24rpx;
  1911. font-weight: 400;
  1912. line-height: 40rpx;
  1913. letter-spacing: 0.5%;
  1914. text-align: left;
  1915. }
  1916. .job-tag {
  1917. height: 42rpx;
  1918. display: flex;
  1919. flex-direction: row;
  1920. justify-content: center;
  1921. align-items: center;
  1922. padding: 8rpx;
  1923. border-radius: 8rpx;
  1924. background: rgba(198, 198, 198, 0.1);
  1925. margin-right: 16rpx;
  1926. margin-bottom: 16rpx;
  1927. color: rgba(153, 153, 153, 1);
  1928. font-size: 26rpx;
  1929. }
  1930. .company-info-text,
  1931. .location-text {
  1932. color: rgba(156, 164, 171, 1);
  1933. font-family: DM Sans;
  1934. font-size: 20rpx;
  1935. font-weight: 400;
  1936. line-height: 40rpx;
  1937. letter-spacing: 0.5%;
  1938. text-align: left;
  1939. }
  1940. .reply-time {
  1941. display: flex;
  1942. flex-direction: row;
  1943. justify-content: center;
  1944. align-items: center;
  1945. padding: 8rpx;
  1946. font-family: DM Sans;
  1947. font-size: 20rpx;
  1948. font-weight: 400;
  1949. line-height: 40rpx;
  1950. letter-spacing: 0.5%;
  1951. text-align: left;
  1952. border-radius: 12rpx;
  1953. background: #ECE1FD;
  1954. color: #8858C5;
  1955. }
  1956. .gwList {
  1957. width: 100%;
  1958. margin-top: 220rpx;
  1959. .gwList-box {
  1960. width: 710rpx;
  1961. height: 100%;
  1962. .gwList-box-item {
  1963. width: 100%;
  1964. // height: 329rpx;
  1965. background-color: #ffffff;
  1966. border-radius: 12rpx;
  1967. margin-bottom: 20rpx;
  1968. padding-bottom: 20rpx;
  1969. }
  1970. .gwList-box-item-box {
  1971. width: 623rpx;
  1972. height: 100%;
  1973. .gwList-box-item-box-title {
  1974. margin-top: 28rpx;
  1975. }
  1976. .gwList-box-item-box-label {
  1977. margin-top: 14rpx;
  1978. }
  1979. .gwList-box-item-box-name {
  1980. margin-top: 14rpx;
  1981. color: #999999;
  1982. font-size: 28rpx;
  1983. font-weight: 500;
  1984. }
  1985. .gwList-box-item-box-line {
  1986. width: 100%;
  1987. border: 1rpx solid #E6E6E6;
  1988. margin-top: 30rpx;
  1989. margin-bottom: 20rpx;
  1990. }
  1991. .gwList-box-item-box-info {
  1992. font-size: 26rpx;
  1993. .gwList-box-item-box-info-l {
  1994. color: #1A1A1A;
  1995. display: flex;
  1996. align-items: center;
  1997. gap: 12rpx;
  1998. .people {
  1999. max-width: 110rpx;
  2000. overflow: hidden; //超出的文本隐藏
  2001. text-overflow: ellipsis; //溢出用省略号显示
  2002. white-space: nowrap; // 默认不换行;
  2003. }
  2004. }
  2005. .gwList-box-item-box-info-r {
  2006. color: #999999;
  2007. max-width: 50%;
  2008. overflow: hidden; //超出的文本隐藏
  2009. text-overflow: ellipsis; //溢出用省略号显示
  2010. white-space: nowrap; // 默认不换行;
  2011. }
  2012. }
  2013. }
  2014. }
  2015. }
  2016. .banner {
  2017. width: 100%;
  2018. height: 250rpx;
  2019. // margin-top: 20rpx;
  2020. .banner-box {
  2021. width: 686rpx;
  2022. height: 100%;
  2023. border-radius: 24rpx;
  2024. }
  2025. }
  2026. .isfixed {
  2027. border-radius: 0 !important;
  2028. }
  2029. .isfixeds {
  2030. // border-radius: 40rpx 40rpx 0 0;
  2031. }
  2032. .qySx {
  2033. position: fixed;
  2034. top: 0;
  2035. padding-top: 80rpx !important;
  2036. z-index: 999;
  2037. width: 100%;
  2038. background: linear-gradient(180.00deg, rgba(255, 102, 0, 1),rgba(255, 89, 89, 1) 83%);
  2039. padding-bottom: 40rpx;
  2040. padding: 20rpx;
  2041. .qySx-box {
  2042. width: 100%;
  2043. height: 100%;
  2044. border-radius: 12rpx;
  2045. box-shadow: 0px 8px 12px 0px rgba(0, 0, 0, 0.05);
  2046. background: rgba(255, 255, 255, 1);
  2047. padding: 28rpx;
  2048. .qySx-box-row {
  2049. margin-bottom: 20rpx;
  2050. }
  2051. .qySx-box-l {
  2052. flex: 1;
  2053. white-space: nowrap;
  2054. overflow-x: auto;
  2055. }
  2056. .qySx-box-l-i {
  2057. color: rgba(153, 153, 153, 1);
  2058. font-family: DM Sans;
  2059. font-size: 28rpx;
  2060. font-weight: 400;
  2061. line-height: 18px;
  2062. letter-spacing: 0%;
  2063. text-align: left;
  2064. margin-right: 14rpx;
  2065. &.active {
  2066. background: linear-gradient(90deg, rgba(13, 39, 247, 1), rgba(19, 193, 234, 1) 100%);
  2067. -webkit-background-clip: text;
  2068. -webkit-text-fill-color: transparent;
  2069. background-clip: text;
  2070. text-fill-color: transparent;
  2071. font-family: DM Sans;
  2072. font-size: 24rpx;
  2073. font-weight: 700;
  2074. line-height: 48rpx;
  2075. letter-spacing: 0%;
  2076. text-align: left;
  2077. }
  2078. }
  2079. .qySx-box-r {
  2080. color: #ffffff;
  2081. .attachment-icon {
  2082. width: 38rpx;
  2083. height: 38rpx;
  2084. }
  2085. }
  2086. }
  2087. .qySx-sx-box {
  2088. width: 100%;
  2089. margin-top: 0rpx;
  2090. .qySx-sx-box-l-i {
  2091. color: rgba(153, 153, 153, 1);
  2092. font-family: DM Sans;
  2093. font-size: 24rpx;
  2094. font-weight: 400;
  2095. line-height: 18px;
  2096. letter-spacing: 0%;
  2097. text-align: center;
  2098. margin-right: 20rpx;
  2099. border-radius: 6px;
  2100. background: rgba(198, 198, 198, 0.1);
  2101. padding: 8rpx 12rpx;
  2102. display: inline-block;
  2103. min-width: 60rpx;
  2104. white-space: nowrap;
  2105. &.active3 {
  2106. font-family: DM Sans;
  2107. font-size: 24rpx !important;
  2108. font-weight: 400 !important;
  2109. line-height: 18px;
  2110. letter-spacing: 0%;
  2111. text-align: left;
  2112. padding: 8rpx 12rpx !important;
  2113. color: rgba(1, 107, 246, 1) !important;
  2114. // background: #D6E7FD !important;
  2115. background: rgba(252, 233, 220, 1);
  2116. border: 1px solid rgba(1, 107, 246, 1);
  2117. }
  2118. }
  2119. .qySx-sx-box-r-i {
  2120. color: rgba(1, 107, 246, 1);
  2121. font-family: DM Sans;
  2122. font-size: 24rpx;
  2123. font-weight: 400;
  2124. line-height: 18px;
  2125. letter-spacing: 0%;
  2126. text-align: center;
  2127. margin-right: 20rpx;
  2128. border-radius: 6px;
  2129. // background: #D6E7FD;
  2130. background: rgba(252, 233, 220, 1);
  2131. padding: 8rpx 12rpx;
  2132. display: inline-block;
  2133. min-width: 60rpx;
  2134. white-space: nowrap;
  2135. cursor: pointer;
  2136. transition: all 0.3s ease;
  2137. border: 0.5px solid rgba(1, 107, 246, 1);
  2138. }
  2139. .qySx-sx-box-filter {
  2140. color: rgba(153, 153, 153, 1);
  2141. font-family: DM Sans;
  2142. font-size: 24rpx;
  2143. font-weight: 400;
  2144. line-height: 18px;
  2145. letter-spacing: 0%;
  2146. text-align: center;
  2147. border-radius: 6px;
  2148. background: rgba(198, 198, 198, 0.1);
  2149. padding: 8rpx 12rpx;
  2150. display: inline-block;
  2151. min-width: 60rpx;
  2152. white-space: nowrap;
  2153. cursor: pointer;
  2154. transition: all 0.3s ease;
  2155. }
  2156. }
  2157. }
  2158. .vipRecommend {
  2159. width: 100%;
  2160. margin-top: 280rpx;
  2161. padding: 0 20rpx;
  2162. box-sizing: border-box;
  2163. .vipRecommend-box {
  2164. width: 100%;
  2165. background: #ffffff;
  2166. border-radius: 12rpx;
  2167. box-shadow: 0px 8px 12px 0px rgba(0, 0, 0, 0.05);
  2168. padding: 28rpx;
  2169. position: relative;
  2170. .vipRecommend-close {
  2171. position: absolute;
  2172. top: 24rpx;
  2173. right: 24rpx;
  2174. width: 48rpx;
  2175. height: 48rpx;
  2176. display: flex;
  2177. align-items: center;
  2178. justify-content: center;
  2179. border-radius: 50%;
  2180. .close-icon {
  2181. width: 48rpx;
  2182. height: 48rpx;
  2183. }
  2184. }
  2185. .vipRecommend-content {
  2186. padding-right: 60rpx;
  2187. .vipRecommend-title {
  2188. margin-bottom: 16rpx;
  2189. .job-title {
  2190. color: rgba(23, 23, 37, 1);
  2191. font-family: DM Sans;
  2192. font-size: 28rpx;
  2193. font-weight: 700;
  2194. line-height: 48rpx;
  2195. text-align: left;
  2196. margin-right: 8rpx;
  2197. }
  2198. .job-status {
  2199. color: rgba(156, 164, 171, 1);
  2200. font-family: DM Sans;
  2201. font-size: 24rpx;
  2202. font-weight: 400;
  2203. line-height: 40rpx;
  2204. letter-spacing: 0.5%;
  2205. text-align: left;
  2206. }
  2207. }
  2208. .vipRecommend-message {
  2209. color: rgba(102, 102, 102, 1);
  2210. font-family: DM Sans;
  2211. font-size: 24rpx;
  2212. font-weight: 400;
  2213. line-height: 32rpx;
  2214. letter-spacing: 0.5%;
  2215. text-align: left;
  2216. margin-bottom: 16rpx;
  2217. }
  2218. .vipRecommend-hint {
  2219. color: rgba(102, 102, 102, 1);
  2220. font-family: DM Sans;
  2221. font-size: 18rpx;
  2222. font-weight: 400;
  2223. line-height: 20rpx;
  2224. letter-spacing: 0.5%;
  2225. text-align: left;
  2226. }
  2227. }
  2228. }
  2229. }
  2230. .qyList {
  2231. width: 100%;
  2232. height: auto;
  2233. .qyList-box {
  2234. width: 686rpx;
  2235. height: 100%;
  2236. .qyList-box-item {
  2237. width: 100%;
  2238. // height: 400rpx;
  2239. padding-bottom: 40rpx;
  2240. background-color: #ffffff;
  2241. border-radius: 24rpx;
  2242. margin-bottom: 20rpx;
  2243. .qyList-box-item-box {
  2244. width: 626rpx;
  2245. height: 100%;
  2246. }
  2247. .qyList-box-item-info {
  2248. margin-top: 40rpx;
  2249. }
  2250. .qyList-box-item-job {
  2251. width: 100%;
  2252. color: #121212;
  2253. font-size: 28rpx;
  2254. font-weight: 500;
  2255. margin-top: 20rpx;
  2256. }
  2257. .qyList-box-item-rem {
  2258. color: #999999;
  2259. font-size: 26rpx;
  2260. margin-top: 20rpx;
  2261. }
  2262. }
  2263. }
  2264. }
  2265. .announcement {
  2266. // background: #ffffff;
  2267. padding: 0px 0px 10px 10px;
  2268. margin-top: 20rpx;
  2269. }
  2270. .announcementbox {
  2271. width: 712upx;
  2272. height: 64upx;
  2273. background: #e5fff2;
  2274. border-radius: 32upx;
  2275. display: flex;
  2276. align-items: center;
  2277. padding: 0px 24upx;
  2278. }
  2279. .anount {
  2280. color: #00DD9A;
  2281. font-weight: bold;
  2282. }
  2283. .anounts {
  2284. width: 80%;
  2285. height: 64rpx;
  2286. color: #333333;
  2287. font-size: 24upx;
  2288. }
  2289. </style>