index.vue 72 KB

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