index.vue 64 KB

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