index.vue 69 KB

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