index.vue 67 KB

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