index.vue 72 KB

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