index.vue 64 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496
  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: 36rpx;
  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: 36rpx;
  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: 100%;
  1645. margin: 0 20rpx;
  1646. }
  1647. .topbg-type-box-row {
  1648. margin-bottom: 20rpx;
  1649. }
  1650. .topbg-type-box-l {
  1651. flex: 1;
  1652. white-space: nowrap;
  1653. overflow-x: auto;
  1654. }
  1655. .topbg-type-box-l-i {
  1656. color: rgba(153, 153, 153, 1);
  1657. font-family: DM Sans;
  1658. font-size: 28rpx;
  1659. font-weight: 400;
  1660. line-height: 28rpx;
  1661. letter-spacing: 0%;
  1662. text-align: left;
  1663. margin-right: 14rpx;
  1664. &.active {
  1665. background: linear-gradient(90deg, rgba(13, 39, 247, 1), rgba(19, 193, 234, 1) 100%);
  1666. -webkit-background-clip: text;
  1667. -webkit-text-fill-color: transparent;
  1668. background-clip: text;
  1669. text-fill-color: transparent;
  1670. font-family: DM Sans;
  1671. font-size: 24rpx;
  1672. font-weight: 700;
  1673. line-height: 48rpx;
  1674. letter-spacing: 0%;
  1675. text-align: left;
  1676. }
  1677. }
  1678. .topbg-type-box-r {
  1679. color: #ffffff;
  1680. }
  1681. .attachment-icon {
  1682. width: 38rpx;
  1683. height: 38rpx;
  1684. }
  1685. }
  1686. .direction-tip {
  1687. margin-top: 20rpx;
  1688. .direction-tip-title {
  1689. color: rgba(51, 51, 51, 1);
  1690. font-family: DM Sans;
  1691. font-size: 26rpx;
  1692. font-weight: 400;
  1693. line-height: 26rpx;
  1694. letter-spacing: 0%;
  1695. text-align: left;
  1696. margin-bottom: 8rpx;
  1697. }
  1698. .direction-tip-subtitle {
  1699. margin-top: 16rpx;
  1700. color: rgba(153, 153, 153, 1);
  1701. font-family: DM Sans;
  1702. font-size: 24rpx;
  1703. font-weight: 400;
  1704. line-height: 24rpx;
  1705. letter-spacing: 0%;
  1706. text-align: left;
  1707. }
  1708. .direction-tags {
  1709. margin-top: 16rpx;
  1710. .direction-tag {
  1711. color: rgba(153, 153, 153, 1);
  1712. font-family: DM Sans;
  1713. font-size: 20rpx;
  1714. font-weight: 400;
  1715. line-height: 36rpx;
  1716. letter-spacing: 0%;
  1717. text-align: center;
  1718. margin-right: 18rpx;
  1719. border-radius: 6px;
  1720. background: rgba(198, 198, 198, 0.1);
  1721. padding: 8rpx 12rpx;
  1722. display: inline-block;
  1723. min-width: 60rpx;
  1724. white-space: nowrap;
  1725. cursor: pointer;
  1726. transition: all 0.3s ease;
  1727. &.active {
  1728. font-family: DM Sans;
  1729. font-size: 20rpx !important;
  1730. font-weight: 400 !important;
  1731. line-height: 36rpx;
  1732. letter-spacing: 0%;
  1733. text-align: left;
  1734. padding: 8rpx 12rpx !important;
  1735. color: rgba(1, 107, 246, 1) !important;
  1736. background: #D6E7FD !important;
  1737. border: 1px solid rgba(1, 107, 246, 1);
  1738. }
  1739. }
  1740. .direction-tag-add {
  1741. color: rgba(153, 153, 153, 1);
  1742. font-family: DM Sans;
  1743. font-size: 20rpx;
  1744. font-weight: 400;
  1745. line-height: 36rpx;
  1746. letter-spacing: 0%;
  1747. text-align: center;
  1748. margin-right: 20rpx;
  1749. border-radius: 6px;
  1750. background: rgba(198, 198, 198, 0.1);
  1751. padding: 8rpx 12rpx;
  1752. display: inline-block;
  1753. min-width: 60rpx;
  1754. white-space: nowrap;
  1755. cursor: pointer;
  1756. transition: all 0.3s ease;
  1757. &:hover {
  1758. background: rgba(198, 198, 198, 0.2);
  1759. }
  1760. }
  1761. .direction-tag-plus {
  1762. width: 40rpx;
  1763. height: 36rpx;
  1764. padding: 8rpx;
  1765. border-radius: 6px;
  1766. background: rgba(198, 198, 198, 0.1);
  1767. display: inline-flex;
  1768. align-items: center;
  1769. justify-content: center;
  1770. transition: all 0.3s ease;
  1771. &:hover {
  1772. background: rgba(198, 198, 198, 0.2);
  1773. }
  1774. }
  1775. }
  1776. }
  1777. .companyListBox {
  1778. width: 100%;
  1779. background-color: #F2F2F7;
  1780. // margin-top: 30rpx;
  1781. }
  1782. .topbg-yx {
  1783. width: 100%;
  1784. // height: 366rpx;
  1785. background: #F2F2F7;
  1786. border-radius: 40rpx 40rpx 0 0;
  1787. margin-top: 20rpx;
  1788. align-content: flex-start;
  1789. .topbg-yx-box {
  1790. width: 686rpx;
  1791. height: 40rpx;
  1792. margin-top: 35rpx;
  1793. }
  1794. .topbg-yx-box-l {
  1795. width: 62%;
  1796. .topbg-yx-box-l-i {
  1797. display: inline-block;
  1798. margin-right: 50rpx;
  1799. color: #999999;
  1800. font-size: 32rpx;
  1801. font-weight: 500;
  1802. .topbg-yx-box-l-i-c {
  1803. z-index: 1 !important;
  1804. // position: relative;
  1805. .topbg-yx-box-l-i-text {
  1806. z-index: 3 !important;
  1807. }
  1808. }
  1809. .topbg-yx-box-l-i-line {
  1810. margin-top: -10rpx;
  1811. width: 100%;
  1812. height: 10rpx;
  1813. background: linear-gradient(90deg, #08F3CE 0%, #05F3A7 100%);
  1814. border-radius: 7rpx;
  1815. z-index: 2 !important;
  1816. }
  1817. }
  1818. }
  1819. .topbg-yx-box-r {
  1820. text {
  1821. color: #016BF6;
  1822. font-size: 28rpx;
  1823. font-weight: 500;
  1824. margin-right: 20rpx;
  1825. }
  1826. }
  1827. }
  1828. .topbg-sx-box {
  1829. width: 100%;
  1830. margin-top: 0rpx;
  1831. .topbg-sx-box-l-i {
  1832. color: rgba(153, 153, 153, 1);
  1833. font-family: DM Sans;
  1834. font-size: 24rpx;
  1835. font-weight: 400;
  1836. line-height: 36rpx;
  1837. letter-spacing: 0%;
  1838. text-align: center;
  1839. margin-right: 20rpx;
  1840. border-radius: 6px;
  1841. background: rgba(198, 198, 198, 0.1);
  1842. padding: 8rpx 12rpx;
  1843. display: inline-block;
  1844. min-width: 60rpx;
  1845. white-space: nowrap;
  1846. &.active3 {
  1847. font-family: DM Sans;
  1848. font-size: 24rpx !important;
  1849. font-weight: 400 !important;
  1850. line-height: 36rpx;
  1851. letter-spacing: 0%;
  1852. text-align: left;
  1853. padding: 8rpx 12rpx !important;
  1854. color: rgba(1, 107, 246, 1) !important;
  1855. background: #D6E7FD !important;
  1856. border: 1px solid rgba(1, 107, 246, 1);
  1857. }
  1858. }
  1859. .topbg-sx-box-r-i {
  1860. color: rgba(1, 107, 246, 1);
  1861. font-family: DM Sans;
  1862. font-size: 24rpx;
  1863. font-weight: 400;
  1864. line-height: 36rpx;
  1865. letter-spacing: 0%;
  1866. text-align: center;
  1867. margin-right: 20rpx;
  1868. border-radius: 6px;
  1869. background: #D6E7FD;
  1870. padding: 8rpx 12rpx;
  1871. display: inline-block;
  1872. min-width: 60rpx;
  1873. white-space: nowrap;
  1874. cursor: pointer;
  1875. transition: all 0.3s ease;
  1876. border: 0.5px solid rgba(1, 107, 246, 1);
  1877. }
  1878. .topbg-sx-box-filter {
  1879. color: rgba(153, 153, 153, 1);
  1880. font-family: DM Sans;
  1881. font-size: 24rpx;
  1882. font-weight: 400;
  1883. line-height: 36rpx;
  1884. letter-spacing: 0%;
  1885. text-align: center;
  1886. border-radius: 6px;
  1887. background: rgba(198, 198, 198, 0.1);
  1888. padding: 8rpx 12rpx;
  1889. display: inline-block;
  1890. min-width: 60rpx;
  1891. white-space: nowrap;
  1892. cursor: pointer;
  1893. transition: all 0.3s ease;
  1894. }
  1895. }
  1896. .title-left {
  1897. display: flex;
  1898. align-items: center;
  1899. gap: 8rpx;
  1900. }
  1901. .job-title-text {
  1902. color: rgba(23, 23, 37, 1);
  1903. font-family: DM Sans;
  1904. font-size: 38rpx;
  1905. font-weight: 700;
  1906. line-height: 48rpx;
  1907. letter-spacing: 0.5%;
  1908. text-align: left;
  1909. }
  1910. .salary-text-box {
  1911. border-radius: 24rpx;
  1912. background: #FEE2E3;
  1913. display: flex;
  1914. justify-content: flex-start;
  1915. align-items: center;
  1916. padding: 6rpx 24rpx;
  1917. .jipin-icon {
  1918. width: 20rpx;
  1919. height: 20rpx;
  1920. margin-right: 4rpx;
  1921. }
  1922. .jipin-text {
  1923. color: rgba(237, 66, 69, 1);
  1924. font-family: DM Sans;
  1925. font-size: 18rpx;
  1926. font-weight: 400;
  1927. line-height: 30rpx;
  1928. letter-spacing: 0.5%;
  1929. text-align: left;
  1930. }
  1931. }
  1932. .salary-text {
  1933. color: rgba(27, 229, 223, 1);
  1934. font-family: DM Sans;
  1935. font-size: 28rpx;
  1936. font-weight: 700;
  1937. line-height: 40rpx;
  1938. letter-spacing: 0.5%;
  1939. text-align: right;
  1940. }
  1941. .company-name,
  1942. .company-people {
  1943. color: rgba(156, 164, 171, 1);
  1944. font-family: DM Sans;
  1945. font-size: 24rpx;
  1946. font-weight: 400;
  1947. line-height: 40rpx;
  1948. letter-spacing: 0.5%;
  1949. text-align: left;
  1950. }
  1951. .job-tag {
  1952. height: 42rpx;
  1953. display: flex;
  1954. flex-direction: row;
  1955. justify-content: center;
  1956. align-items: center;
  1957. padding: 8rpx;
  1958. border-radius: 8rpx;
  1959. background: rgba(198, 198, 198, 0.1);
  1960. margin-right: 16rpx;
  1961. margin-bottom: 16rpx;
  1962. color: rgba(153, 153, 153, 1);
  1963. font-size: 26rpx;
  1964. }
  1965. .company-info-text,
  1966. .location-text {
  1967. color: rgba(156, 164, 171, 1);
  1968. font-family: DM Sans;
  1969. font-size: 20rpx;
  1970. font-weight: 400;
  1971. line-height: 40rpx;
  1972. letter-spacing: 0.5%;
  1973. text-align: left;
  1974. }
  1975. .reply-time {
  1976. display: flex;
  1977. flex-direction: row;
  1978. justify-content: center;
  1979. align-items: center;
  1980. padding: 8rpx;
  1981. font-family: DM Sans;
  1982. font-size: 20rpx;
  1983. font-weight: 400;
  1984. line-height: 40rpx;
  1985. letter-spacing: 0.5%;
  1986. text-align: left;
  1987. border-radius: 12rpx;
  1988. background: #ECE1FD;
  1989. color: #8858C5;
  1990. }
  1991. .gwList {
  1992. width: 100%;
  1993. // margin-top: 220rpx;
  1994. .gwList-box {
  1995. width: 710rpx;
  1996. height: 100%;
  1997. .gwList-box-item {
  1998. width: 100%;
  1999. // height: 329rpx;
  2000. background-color: #ffffff;
  2001. border-radius: 12rpx;
  2002. margin-bottom: 20rpx;
  2003. padding-bottom: 20rpx;
  2004. }
  2005. .gwList-box-item-box {
  2006. width: 623rpx;
  2007. height: 100%;
  2008. .gwList-box-item-box-title {
  2009. margin-top: 28rpx;
  2010. }
  2011. .gwList-box-item-box-label {
  2012. margin-top: 14rpx;
  2013. }
  2014. .gwList-box-item-box-name {
  2015. margin-top: 14rpx;
  2016. color: #999999;
  2017. font-size: 28rpx;
  2018. font-weight: 500;
  2019. }
  2020. .gwList-box-item-box-line {
  2021. width: 100%;
  2022. border: 1rpx solid #E6E6E6;
  2023. margin-top: 30rpx;
  2024. margin-bottom: 20rpx;
  2025. }
  2026. .gwList-box-item-box-info {
  2027. font-size: 26rpx;
  2028. .gwList-box-item-box-info-l {
  2029. color: #1A1A1A;
  2030. display: flex;
  2031. align-items: center;
  2032. gap: 12rpx;
  2033. .people {
  2034. max-width: 110rpx;
  2035. overflow: hidden; //超出的文本隐藏
  2036. text-overflow: ellipsis; //溢出用省略号显示
  2037. white-space: nowrap; // 默认不换行;
  2038. }
  2039. }
  2040. .gwList-box-item-box-info-r {
  2041. color: #999999;
  2042. max-width: 50%;
  2043. overflow: hidden; //超出的文本隐藏
  2044. text-overflow: ellipsis; //溢出用省略号显示
  2045. white-space: nowrap; // 默认不换行;
  2046. }
  2047. }
  2048. }
  2049. }
  2050. }
  2051. .banner {
  2052. width: 100%;
  2053. height: 250rpx;
  2054. // margin-top: 20rpx;
  2055. .banner-box {
  2056. width: 686rpx;
  2057. height: 100%;
  2058. border-radius: 24rpx;
  2059. }
  2060. }
  2061. .isfixed {
  2062. border-radius: 0 !important;
  2063. }
  2064. .isfixeds {
  2065. // border-radius: 40rpx 40rpx 0 0;
  2066. }
  2067. .qySx {
  2068. // position: fixed;
  2069. // top: 0;
  2070. // z-index: 999;
  2071. // width: 100%;
  2072. // background: linear-gradient(180.00deg, rgba(255, 102, 0, 1), rgba(255, 89, 89, 1) 83%);
  2073. // padding-bottom: 40rpx;
  2074. // padding: 20rpx;
  2075. margin-bottom: 12rpx;
  2076. .qySx-bg{
  2077. position: absolute;
  2078. top:0;
  2079. z-index: 0;
  2080. width: 100%;
  2081. }
  2082. .qySx-box {
  2083. width: 100%;
  2084. height: 100%;
  2085. border-radius: 12rpx;
  2086. box-shadow: 0px 8px 12px 0px rgba(0, 0, 0, 0.05);
  2087. background: rgba(255, 255, 255, 1);
  2088. padding: 28rpx;
  2089. position: relative;
  2090. z-index: 1;
  2091. margin: 108rpx 20rpx 0;
  2092. .qySx-box-row {
  2093. margin-bottom: 20rpx;
  2094. }
  2095. .qySx-box-l {
  2096. flex: 1;
  2097. white-space: nowrap;
  2098. overflow-x: auto;
  2099. }
  2100. .qySx-box-l-i {
  2101. color: rgba(153, 153, 153, 1);
  2102. font-family: DM Sans;
  2103. font-size: 28rpx;
  2104. font-weight: 400;
  2105. line-height: 36rpx;
  2106. letter-spacing: 0%;
  2107. text-align: left;
  2108. margin-right: 14rpx;
  2109. &.active {
  2110. background: linear-gradient(90deg, rgba(13, 39, 247, 1), rgba(19, 193, 234, 1) 100%);
  2111. -webkit-background-clip: text;
  2112. -webkit-text-fill-color: transparent;
  2113. background-clip: text;
  2114. text-fill-color: transparent;
  2115. font-family: DM Sans;
  2116. font-size: 24rpx;
  2117. font-weight: 700;
  2118. line-height: 48rpx;
  2119. letter-spacing: 0%;
  2120. text-align: left;
  2121. }
  2122. }
  2123. .qySx-box-r {
  2124. color: #ffffff;
  2125. .attachment-icon {
  2126. width: 38rpx;
  2127. height: 38rpx;
  2128. }
  2129. }
  2130. }
  2131. .qySx-sx-box {
  2132. width: 100%;
  2133. margin-top: 0rpx;
  2134. .qySx-sx-box-l-i {
  2135. color: rgba(153, 153, 153, 1);
  2136. font-family: DM Sans;
  2137. font-size: 24rpx;
  2138. font-weight: 400;
  2139. line-height: 36rpx;
  2140. letter-spacing: 0%;
  2141. text-align: center;
  2142. margin-right: 20rpx;
  2143. border-radius: 6px;
  2144. background: rgba(198, 198, 198, 0.1);
  2145. padding: 8rpx 12rpx;
  2146. display: inline-block;
  2147. min-width: 60rpx;
  2148. white-space: nowrap;
  2149. &.active3 {
  2150. font-family: DM Sans;
  2151. font-size: 24rpx !important;
  2152. font-weight: 400 !important;
  2153. line-height: 36rpx;
  2154. letter-spacing: 0%;
  2155. text-align: left;
  2156. padding: 8rpx 12rpx !important;
  2157. color: rgba(1, 107, 246, 1) !important;
  2158. // background: #D6E7FD !important;
  2159. background: rgba(252, 233, 220, 1);
  2160. border: 1px solid rgba(1, 107, 246, 1);
  2161. }
  2162. }
  2163. .qySx-sx-box-r-i {
  2164. color: rgba(1, 107, 246, 1);
  2165. font-family: DM Sans;
  2166. font-size: 24rpx;
  2167. font-weight: 400;
  2168. line-height: 36rpx;
  2169. letter-spacing: 0%;
  2170. text-align: center;
  2171. margin-right: 20rpx;
  2172. border-radius: 6px;
  2173. // background: #D6E7FD;
  2174. background: rgba(252, 233, 220, 1);
  2175. padding: 8rpx 12rpx;
  2176. display: inline-block;
  2177. min-width: 60rpx;
  2178. white-space: nowrap;
  2179. cursor: pointer;
  2180. transition: all 0.3s ease;
  2181. border: 0.5px solid rgba(1, 107, 246, 1);
  2182. }
  2183. .qySx-sx-box-filter {
  2184. color: rgba(153, 153, 153, 1);
  2185. font-family: DM Sans;
  2186. font-size: 24rpx;
  2187. font-weight: 400;
  2188. line-height: 36rpx;
  2189. letter-spacing: 0%;
  2190. text-align: center;
  2191. border-radius: 6px;
  2192. background: rgba(198, 198, 198, 0.1);
  2193. padding: 8rpx 12rpx;
  2194. display: inline-block;
  2195. min-width: 60rpx;
  2196. white-space: nowrap;
  2197. cursor: pointer;
  2198. transition: all 0.3s ease;
  2199. }
  2200. }
  2201. }
  2202. .vipRecommend {
  2203. width: 100%;
  2204. // margin-top: 280rpx;
  2205. padding: 0 20rpx;
  2206. box-sizing: border-box;
  2207. .vipRecommend-box {
  2208. width: 100%;
  2209. background: #ffffff;
  2210. border-radius: 12rpx;
  2211. box-shadow: 0px 8px 12px 0px rgba(0, 0, 0, 0.05);
  2212. padding: 28rpx;
  2213. position: relative;
  2214. .vipRecommend-close {
  2215. position: absolute;
  2216. top: 24rpx;
  2217. right: 24rpx;
  2218. width: 48rpx;
  2219. height: 48rpx;
  2220. display: flex;
  2221. align-items: center;
  2222. justify-content: center;
  2223. border-radius: 50%;
  2224. .close-icon {
  2225. width: 48rpx;
  2226. height: 48rpx;
  2227. }
  2228. }
  2229. .vipRecommend-content {
  2230. padding-right: 60rpx;
  2231. .vipRecommend-title {
  2232. margin-bottom: 16rpx;
  2233. .job-title {
  2234. color: rgba(23, 23, 37, 1);
  2235. font-family: DM Sans;
  2236. font-size: 28rpx;
  2237. font-weight: 700;
  2238. line-height: 48rpx;
  2239. text-align: left;
  2240. margin-right: 8rpx;
  2241. }
  2242. .job-status {
  2243. color: rgba(156, 164, 171, 1);
  2244. font-family: DM Sans;
  2245. font-size: 24rpx;
  2246. font-weight: 400;
  2247. line-height: 40rpx;
  2248. letter-spacing: 0.5%;
  2249. text-align: left;
  2250. }
  2251. }
  2252. .vipRecommend-message {
  2253. color: rgba(102, 102, 102, 1);
  2254. font-family: DM Sans;
  2255. font-size: 24rpx;
  2256. font-weight: 400;
  2257. line-height: 32rpx;
  2258. letter-spacing: 0.5%;
  2259. text-align: left;
  2260. margin-bottom: 16rpx;
  2261. }
  2262. .vipRecommend-hint {
  2263. color: rgba(102, 102, 102, 1);
  2264. font-family: DM Sans;
  2265. font-size: 18rpx;
  2266. font-weight: 400;
  2267. line-height: 20rpx;
  2268. letter-spacing: 0.5%;
  2269. text-align: left;
  2270. }
  2271. }
  2272. }
  2273. }
  2274. .qyList {
  2275. width: 100%;
  2276. height: auto;
  2277. .qyList-box {
  2278. width: 686rpx;
  2279. height: 100%;
  2280. .qyList-box-item {
  2281. width: 100%;
  2282. // height: 400rpx;
  2283. padding-bottom: 40rpx;
  2284. background-color: #ffffff;
  2285. border-radius: 24rpx;
  2286. margin-bottom: 20rpx;
  2287. .qyList-box-item-box {
  2288. width: 626rpx;
  2289. height: 100%;
  2290. }
  2291. .qyList-box-item-info {
  2292. margin-top: 40rpx;
  2293. }
  2294. .qyList-box-item-job {
  2295. width: 100%;
  2296. color: #121212;
  2297. font-size: 28rpx;
  2298. font-weight: 500;
  2299. margin-top: 20rpx;
  2300. }
  2301. .qyList-box-item-rem {
  2302. color: #999999;
  2303. font-size: 26rpx;
  2304. margin-top: 20rpx;
  2305. }
  2306. }
  2307. }
  2308. }
  2309. .announcement {
  2310. // background: #ffffff;
  2311. padding: 0px 0px 10px 10px;
  2312. margin-top: 20rpx;
  2313. }
  2314. .announcementbox {
  2315. width: 712upx;
  2316. height: 64upx;
  2317. background: #e5fff2;
  2318. border-radius: 32upx;
  2319. display: flex;
  2320. align-items: center;
  2321. padding: 0px 24upx;
  2322. }
  2323. .anount {
  2324. color: #00DD9A;
  2325. font-weight: bold;
  2326. }
  2327. .anounts {
  2328. width: 80%;
  2329. height: 64rpx;
  2330. color: #333333;
  2331. font-size: 24upx;
  2332. }
  2333. </style>