index.vue 74 KB

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