index.vue 59 KB

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