index.vue 64 KB

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