1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831 |
- <template>
- <view>
- <block v-if="XCXIsSelect!='是'">
- <view class="banner flex justify-center">
- <view class="banner-box">
- <swiper :indicator-dots="false" style="width: 100%;height: 100%;" :autoplay="true" :interval="300"
- :duration="1000">
- <swiper-item v-for="(item,index) in bannerList" :key="index" @click="goNave(item.url)">
- <view class="swiper-item" style="width: 100%;height: 100%;">
- <image :src="item.imageUrl" style="width: 100%;height: 100%;border-radius: 24rpx;"
- mode="scaleToFill"></image>
- </view>
- </swiper-item>
- </swiper>
- </view>
- </view>
- <view class="" style="width: 100%;margin-top: 20rpx;" v-for="(item,index) in dataList" :key="index">
- <view class=""
- style="padding: 20rpx 20rpx;width: 686rpx;background-color: #ffffff;border-radius: 18rpx;margin: auto;">
- <view class="">
- <text>{{item.company?item.company.companyName:''}}</text>信息简介
- </view>
- <view class="flex flex-wrap" style="margin-top: 20rpx;">
- <text
- style="color: #666666;font-size: 26rpx;padding: 10rpx 25rpx 10rpx 25rpx;background-color: #F6F6F6;border-radius: 8rpx;margin-right: 20rpx;margin-bottom: 20rpx;"
- v-for="(ite,ind) in item.positionWelfare" :key="ind">{{ite}}</text>
- </view>
- <view class="" style="margin-top: 20rpx;">
- <text>{{item.company?item.company.companyName:''}}提供数据支持</text>
- </view>
- </view>
- </view>
- </block>
- <block v-else>
- <!-- 用户端 -->
- <block v-if="userType==1">
- <view class="topbg">
- <!-- #ifdef H5 -->
- <view class="banner flex justify-center" style="padding-top: 20rpx;"
- v-if="bannerListuser.length!=0">
- <!-- #endif -->
- <!-- #ifndef H5 -->
- <view class="banner flex justify-center" v-if="bannerListuser.length!=0">
- <!-- #endif -->
- <view class="banner-box">
- <swiper :indicator-dots="false" style="width: 100%;height: 100%;" :autoplay="true"
- :interval="5000" :duration="300">
- <swiper-item v-for="(item,index) in bannerListuser" :key="index"
- @click="goNave(item.url)">
- <view class="swiper-item" style="width: 100%;height: 100%;">
- <image :src="item.imageUrl"
- style="width: 100%;height: 100%;border-radius: 24rpx;"
- mode="scaleToFill">
- </image>
- </view>
- </swiper-item>
- </swiper>
- </view>
- </view>
- <view class="announcement" v-if="gongao.length!=0">
- <view class="announcementbox">
- <view class="anount">最新公告</view>
- <view class="anounts flex align-center" v-if="gongao.length>0">
- <view class="" style="width: 100%;">
- <u-notice-bar color="#333" bg-color="#e5fff2" padding="0rpx 24rpx 4rpx 24rpx"
- :volume-icon="false" style="height: 100%;" mode="vertical"
- :list="gongao"></u-notice-bar>
- </view>
- </view>
- <view class="anounts flex align-center" style="padding-left: 30rpx;" v-else>
- 暂无公告
- </view>
- </view>
- </view>
- <view v-if="gridlist.length!=0">
- <u-grid :col="4" :border="false">
- <u-grid-item bg-color="#00DD9A">
- <view v-for="(item,index) in gridlist" :key="index" style="text-align: center;"
- @click="goNave(item.url)">
- <image :src="item.imageUrl"
- style="width:80rpx;height: 80rpx;border-radius: 50%;">
- </image>
- <view style="color: #FFFFFF;">{{item.name}}</view>
- </view>
- </u-grid-item>
- </u-grid>
- </view>
- </view>
- <view style="background: #00DD9A;width: 100%;position: sticky;top: 0px;z-index: 999;">
- <view class="topbg-type flex justify-center">
- <view class="topbg-type-box flex justify-between align-center">
- <view class="topbg-type-box-l flex align-center">
- <view class="topbg-type-box-l-i" :class="current==index?'active':''"
- @tap="current = index" v-for="(item,index) in typeList" :key="index">
- {{item.label}}
- </view>
- </view>
- <view class="topbg-type-box-r flex align-center"
- @click="goNavs('/package/search/search')">
- <u-icon name="search" color="#ffffff" size="40"></u-icon>
- 搜索
- </view>
- </view>
- </view>
- <!-- 求职意向 -->
- <view class="topbg-yx flex justify-center flex-wrap">
- <view v-if="current != typeList.length - 1"
- class="topbg-yx-box flex justify-between align-center">
- <view class="topbg-yx-box-l ">
- <scroll-view scroll-x="true" class="topbg-scroll"
- :scroll-into-view="'bottomView'+currentjob" scroll-with-animation="true">
- <view class="topbg-yx-box-l-i" :id="'bottomView'+index"
- :class="currentjob==index?'active2':''" @click="currentjob=index"
- v-for="(item,index) in jobTypeList" :key="index">
- <view class="topbg-yx-box-l-i-c">
- <view class="topbg-yx-box-l-i-text">{{item.name}}</view>
- <view v-if="currentjob==index" class="topbg-yx-box-l-i-line"></view>
- </view>
- </view>
- </scroll-view>
- </view>
- <view class="topbg-yx-box-r flex align-center"
- @click="goNav('/package/jobIntention/jobIntention')">
- <text>添加求职意向</text>
- <u-icon name="plus-circle" color="#00B88F" size="38"></u-icon>
- </view>
- </view>
- <!-- 筛选 -->
- <view class="topbg-sx-box flex justify-between align-center" style="padding-bottom: 20rpx;">
- <view v-if="current != typeList.length - 1" class="topbg-sx-box-l flex align-center">
- <view class="topbg-sx-box-l-i" :class="currentSx==index?'active3':''"
- @click="currentSx = index" v-for="(item,index) in sxTypeList" :key="index">
- {{item.name}}
- </view>
- </view>
- <view class="" v-else>
- </view>
- <view class="topbg-sx-box-r flex align-center">
- <text style="color: #00B78F;font-size: 28rpx;font-weight: 500;margin-right: 10rpx;"
- @click="goNavs('/package/jobIntention/city')">{{city?city:'选择城市'}}</text>
- <u-icon name="arrow-down-fill" color="#00B78F" size="20"
- @click="goNavs('/package/jobIntention/city')"></u-icon>
- <text style="color: #CCCCCC;margin-left: 30rpx;margin-right: 30rpx;">|</text>
- <block v-if="current != typeList.length - 1">
- <text
- style="color: #999999;font-size: 28rpx;font-weight: 500;margin-right: 10rpx;"
- @click="goNavs('/package/screen/screen')">筛选</text>
- <u-icon name="arrow-down-fill" color="#CCCCCC" size="20"
- @click="goNavs('/package/screen/screen')"></u-icon>
- </block>
- <block v-else>
- <text
- style="color: #999999;font-size: 28rpx;font-weight: 500;margin-right: 10rpx;"
- @click="goNavs('/package/screen/screenComp')">筛选</text>
- <u-icon name="arrow-down-fill" color="#CCCCCC" size="20"
- @click="goNavs('/package/screen/screenComp')"></u-icon>
- </block>
- </view>
- </view>
- </view>
- <!-- <view
- style="width: 100%;height: 40rpx;background: #F2F2F7;border-radius: 40rpx 40rpx 0 0;margin-top: 20rpx;"
- v-if="current == typeList.length - 1 && companList.length>0"></view> -->
- </view>
- <!-- 岗位推荐 -->
- <block v-if="current != typeList.length - 1">
- <view class="gwList flex justify-center" v-if="dataList.length>0">
- <view class="gwList-box">
- <scroll-view scroll-y="true" style="width: 100%;height: 100%;">
- <view class="gwList-box-item flex justify-center" @click="gotoInfo(item.postPushId)"
- v-for="(item,index) in dataList" :key="index">
- <view class="gwList-box-item-box">
- <view class="gwList-box-item-box-title flex justify-between align-center">
- <view class=""
- style="max-width: 450rpx;overflow:hidden;white-space: nowrap;text-overflow: ellipsis;-o-text-overflow:ellipsis;">
- <block v-if="isSameName(item.ruleClassifyName,item.stationName)">
- {{item.ruleClassifyName}}-
- </block>
- <block>
- {{item.stationName}}
- </block>
- </view>
- <text>{{item.salaryRange}}</text>
- </view>
- <view class="gwList-box-item-box-label flex align-center flex-wrap">
- <text
- style="color: #666666;font-size: 26rpx;padding: 10rpx 25rpx 10rpx 25rpx;background-color: #F6F6F6;border-radius: 8rpx;margin-right: 20rpx;margin-bottom: 20rpx;">
- {{item.education}}
- </text>
- <text
- style="color: #666666;font-size: 26rpx;padding: 10rpx 25rpx 10rpx 25rpx;background-color: #F6F6F6;border-radius: 8rpx;margin-right: 20rpx;margin-bottom: 20rpx;">
- {{item.experience}}
- </text>
- <text
- style="color: #666666;font-size: 26rpx;padding: 10rpx 25rpx 10rpx 25rpx;background-color: #F6F6F6;border-radius: 8rpx;margin-right: 20rpx;margin-bottom: 20rpx;"
- v-for="(ite,ind) in item.positionWelfare" :key="ind">{{ite}}</text>
- </view>
- <view class="gwList-box-item-box-name flex justify-between align-center">
- <text
- style="width: 450rpx;">{{item.company?item.company.companyName:''}}</text>
- <text
- v-if="item.company">{{item.company?item.company.companyPeople:'0人'}}</text>
- </view>
- <view class="gwList-box-item-box-line"></view>
- <view class="gwList-box-item-box-info flex justify-between align-center">
- <view class="gwList-box-item-box-info-l flex align-center">
- <image
- :src="item.company?item.company.companyLogo:'../../static/logo.png'"
- style="width: 58rpx;height: 58rpx;border-radius: 50%;margin-right: 20rpx;"
- mode=""></image>
- <view class="people" v-if="item.company">
- {{item.company.companyLegalPerson?item.company.companyLegalPerson:'未知'}}
- </view>·创始人
- </view>
- <view class="gwList-box-item-box-info-r">
- {{item.distance}} {{item.county}} {{item.address}}
- </view>
- </view>
- </view>
- </view>
- </scroll-view>
- </view>
- </view>
- <!-- 暂无数据 -->
- <view class="gwList" v-else>
- <empty />
- </view>
- </block>
- <view class="companyListBox" v-if="current == typeList.length - 1 && companList.length>0">
- <companyListIndex @goInfo="goInfo" :item="item" v-for="(item,index) in companList"
- :key="index" />
- </view>
- <view class="gwList" v-if="current == typeList.length - 1 && companList.length==0">
- <empty />
- </view>
- </block>
- <!-- 企业版 -->
- <block v-else>
- <!-- banner -->
- <view class="banner flex justify-center">
- <view class="banner-box">
- <swiper :indicator-dots="false" style="width: 100%;height: 100%;" :autoplay="true"
- :interval="5000" :duration="300">
- <swiper-item v-for="(item,index) in bannerList" :key="index">
- <view class="swiper-item" style="width: 100%;height: 100%;">
- <image :src="item.imageUrl" style="width: 100%;height: 100%;border-radius: 24rpx;"
- mode="scaleToFill"></image>
- </view>
- </swiper-item>
- </swiper>
- </view>
- </view>
- <view class="announcement" v-if="gongao.length!=0">
- <view class="announcementbox">
- <view class="anount">最新公告</view>
- <view class="anounts flex align-center" v-if="gongao.length>0">
- <view class="" style="width: 100%;">
- <u-notice-bar color="#333" bg-color="#e5fff2" padding="0rpx 24rpx 4rpx 24rpx"
- :volume-icon="false" style="height: 100%;" mode="vertical"
- :list="gongao"></u-notice-bar>
- </view>
- </view>
- </view>
- </view>
- <view v-if="gridlist.length!=0">
- <u-grid :col="4" :border="false">
- <u-grid-item bg-color="#f2f2f7">
- <view v-for="(item,index) in gridlist" :key="index" style="text-align: center;"
- @click="goNave(item.url)">
- <image :src="item.imageUrl" style="width:80rpx;height: 80rpx;border-radius: 50%;">
- </image>
- <view style="color: #333333;">{{item.name}}</view>
- </view>
- </u-grid-item>
- </u-grid>
- </view>
- <!-- 筛选 -->
- <u-sticky @fixed="isfixed" @unfixed="isunfixed" :radius='40' h5-nav-height="0" :enable="enable">
- <view class="qySx flex justify-center" :class="isfixeds==true?'isfixed':'isfixeds'">
- <view class="qySx-box">
- <view class="qySx-box-sxp flex justify-between">
- <view class="qySx-box-l flex align-center">
- <scroll-view scroll-x="true" class="topbg-scroll"
- :scroll-into-view="'bottomView'+currentJobSx" scroll-with-animation="true">
- <view class="qySx-box-l-i flex flex-wrap align-center" :id="'bottomView'+index"
- @tap="currentJobSx=index;getDomWidth()"
- v-for="(item,index) in jobSxTypeList" :key="index">
- <view class="jobtitle" style="z-index: 999;"
- :class="currentJobSx==index?'activeQ':''">
- {{item.name}}
- <view class="jobtitleBom"
- :style="domeWidth>0?'width:'+domeWidth+'rpx':''"
- v-if="currentJobSx==index"
- style="height: 14rpx;background: linear-gradient(90deg, #08F3CE 0%, #05F3A7 100%);border-radius: 7rpx;">
- </view>
- </view>
- </view>
- </scroll-view>
- </view>
- <view class="qySx-box-r flex align-center" @click="goNavss('/package/addJob/addJob')">
- <text style="margin-right: 20rpx;color: #00B88F;">发布招聘</text>
- <u-icon name="plus-circle" color="#00B88F" size="38"></u-icon>
- </view>
- </view>
- <view class="qySx-box-sxs flex justify-between align-center">
- <view class="qySx-box-sxs-l flex align-center">
- <view class="qySx-box-sxs-l-i" @click="currentJobSxs=index"
- :class="currentJobSxs==index?'activeQs':''"
- v-for="(item,index) in jobSxsTypeList" :key="index">
- {{item.name}}
- </view>
- </view>
- <view class="qySx-box-sxs-r flex align-center">
- <text style="margin-right: 10rpx;color: #00B78F;"
- @click="goNav('/package/jobIntention/city')">{{city?city:'选择城市'}}</text>
- <u-icon name="arrow-down-fill" @click="goNav('/package/jobIntention/city')"
- style="margin-right: 30rpx;" color="#00B88F" size="20">
- </u-icon>
- <text style="margin-right: 10rpx;"
- @click="goNav('/package/screen/screen?type=2')">筛选</text>
- <u-icon name="arrow-down-fill" @click="goNav('/package/screen/screen?type=2')"
- color="#CCCCCC" size="20"></u-icon>
- </view>
- </view>
- </view>
- </view>
- </u-sticky>
- <!-- 简历列表 -->
- <view class="qyList flex justify-center">
- <view class="qyList-box">
- <view class="qyList-box-item flex justify-center" v-for="(item,index) in datasList" :key="index"
- @click="goNav('/pages/index/game/orderDet?resumesId='+item.resumesId)">
- <view class="qyList-box-item-box">
- <view class="qyList-box-item-info flex justify-between align-center">
- <view class="qyList-box-item-info-l">
- <view class="" style="color: #212121;font-size: 38rpx;font-weight: 800;">
- {{item.resumesName}}
- </view>
- <view class="flex align-center flex-wrap"
- style="color: #999999;font-size: 26rpx;margin-top: 10rpx;">
- <text>{{item.resumesAge}}岁</text>
- <text style="margin-left: 20rpx;margin-right: 20rpx;">|</text>
- <text>{{item.resumesWorkExperience}}</text>
- <text style="margin-left: 20rpx;margin-right: 20rpx;">|</text>
- <text>{{item.school}}</text>
- <text style="margin-left: 20rpx;margin-right: 20rpx;">|</text>
- <text>期望{{item.resumesCompensation}}</text>
- </view>
- </view>
- <view class="qyList-box-item-info-r">
- <image :src="item.avatar?item.avatar:'../../static/logo.png'"
- style="width: 95rpx;height: 95rpx;border-radius: 50%;" mode=""></image>
- </view>
- </view>
- <view class="qyList-box-item-job flex align-center">
- <u-icon name="heart-fill" color="#00B88F" size="30" style="margin-right: 16rpx;">
- </u-icon>
- 期望岗位:{{item.resumesPost}}
- </view>
- <view class="qyList-box-item-job flex align-center">
- <image src="../../static/images/qi.png"
- style="width: 30rpx;height: 32rpx;margin-right: 16rpx;" mode=""></image>
- <block v-if="item.resumesCompanyList[0]">
- {{item.resumesCompanyList[0]?item.resumesCompanyList[0].resumesTitle:''}} /
- {{item.resumesCompanyList[0]?item.resumesCompanyList[0].resumesPost:''}}
- </block>
- <block v-else>
- 暂无工作经历
- </block>
- </view>
- <view class="qyList-box-item-rem" v-if="item.resumesDetails">
- 优势:{{item.resumesDetails}}
- </view>
- </view>
- </view>
- <empty :isShow="false" v-if="datasList.length==0" />
- </view>
- </view>
- </block>
- </block>
- <view v-if="goback==true" class="goback" @click="gotoBack">
- <image style="width: 88rpx;height: 88rpx;border-radius: 50%;" src="../../static/images/up.jpg" mode="">
- </image>
- </view>
- </view>
- </template>
- <script>
- import empty from '../../components/empty.vue'
- import permision from '@/js_sdk/wa-permission/permission.js'
- import companyListIndex from '@/components/companyListIndex/companyListIndex.vue'
- export default {
- components: {
- empty,
- companyListIndex
- },
- data() {
- return {
- enable: true, //开启吸顶
- goback: false,
- city: '',
- datasList: [],
- isfixeds: false,
- userType: 1,
- dataList: [],
- current: 0,
- typeList: [],
- currentSx: 0,
- sxTypeList: [{
- id: 1,
- name: '推荐',
- },
- {
- id: 2,
- name: '最新',
- }
- ],
- currentjob: 0,
- jobTypeList: [{
- projectName: '',
- name: '全部',
- }, ],
- currentJobSx: 0,
- jobSxTypeList: [{
- projectName: '',
- name: '全部',
- }],
- currentJobSxs: 0,
- jobSxsTypeList: [{
- id: 1,
- name: '推荐',
- },
- {
- id: 2,
- name: '最新',
- },
- // {
- // id: 2,
- // name: '优选',
- // }
- ],
- token: '',
- page: 1,
- limit: 10,
- latitude: '',
- longitude: '',
- totlo: '',
- education: '', //学历
- experience: '', //经验
- industry: '', //行业
- salaryRange: '', //薪资
- companyPeople: '', //公司规模
- domeWidth: 0,
- showModal: true,
- arr: [],
- companyStatus: '',
- XCXIsSelect: '是',
- bannerList: [], //企业端轮播图
- bannerListuser: [], //用户端轮播图
- gridlist: [], //用户端分类
- gongao: [], //公告
- tuiguang: '', //分享标题
- bgImg: '', //分享图片
- companList: [], //公司列表
- };
- },
- onShareAppMessage(res) {
- return {
- path: '/pages/index/index?invitation=' + uni.getStorageSync(
- 'invitationCode'), //这是为了传参 onload(data){let id=data.id;}
- title: this.tuiguang,
- imageUrl: this.bgImg
- }
- },
- onShareTimeline(res) {
- return {
- path: '/pages/index/index?invitation=' + uni.getStorageSync(
- 'invitationCode'), //这是为了传参
- title: this.tuiguang,
- imageUrl: this.bgImg
- }
- },
- watch: {
- current(newData, oldData) {
- console.log(this.current)
- uni.showLoading({
- title: '加载中'
- })
- this.page = 1
- if (this.current == this.typeList.length - 1) { //公司
- this.getComanyList()
- } else {
- this.getUserList()
- }
- },
- currentSx(newData, oldData) {
- uni.showLoading({
- title: '加载中'
- })
- this.page = 1
- this.getUserList();
- },
- currentjob(newData, oldData) {
- uni.showLoading({
- title: '加载中'
- })
- this.page = 1
- this.getUserList()
- },
- currentJobSx(newData, oldData) {
- uni.showLoading({
- title: '加载中'
- })
- this.page = 1
- this.getPeopList()
- },
- currentJobSxs(newData, oldData) {
- uni.showLoading({
- title: '加载中'
- })
- this.page = 1
- this.getPeopList()
- },
- //监听userType的变化 如果有旧值跟新值不同 则把分页重置为初始状态,为了解决切换身份后数据分页错误的问题
- userType(newType, oldType) {
- if (newType != oldType) {
- this.page = 1
- if (this.userType == 1) {
- uni.showLoading({
- title: '加载中'
- })
- this.page = 1
- this.getUserList()
- } else {
- uni.showLoading({
- title: '加载中'
- })
- this.page = 1
- this.getPeopList()
- }
- }
- }
- },
- onPageScroll(e) {
- if (e.scrollTop > 350) {
- this.goback = true
- } else {
- this.goback = false
- }
- },
- onLoad(e) {
- // #ifdef APP
- this.getAudioPermision()
- // #endif
- // 获取邀请码保存到本地
- if (e.invitation) {
- this.$queue.setData('inviterCode', e.invitation);
- }
- // #ifdef MP-WEIXIN
- if (e.scene) {
- const scene = decodeURIComponent(e.scene);
- this.$queue.setData('inviterCode', scene.split(',')[0]);
- }
- // #endif
- // this.XCXIsSelect = this.$queue.getData("XCXIsSelect");
- uni.showLoading({
- title: '加载中'
- })
- if (uni.getStorageSync('userType')) {
- this.userType = uni.getStorageSync('userType');
- }
- let that = this
- //获取经纬度后请求岗位接口,经纬度用于筛选距离
- uni.getLocation({
- type: 'wgs84', //wgs84 gcj02
- success: function(res) {
- console.log(res, '地理位置');
- that.latitude = res.latitude;
- that.longitude = res.longitude;
- if (that.userType == 1) {
- // that.getUserList();
- that.getPostType()
- } else {
- that.getPeopList()
- }
- // console.log(uni.getStorageSync('city') == '', '22222222222')
- if (!uni.getStorageSync('city') || uni.getStorageSync('city') == '' || uni.getStorageSync(
- 'city') == null) {
- // #ifdef APP-PLUS
- if (res.address) {
- that.city = res.address.city
- } else {
- that.getSelectCity(that.longitude, that.latitude);
- }
- // #endif
- // #ifndef APP
- that.getSelectCity(that.longitude, that.latitude);
- // #endif
- }
- },
- fail: function() {
- console.log('获取地址失败');
- }
- })
- this.getDomWidth()
- this.$Request.getT('/app/common/type/255').then(res => {
- if (res.code === 0) {
- if (res.data && res.data.value) {
- this.tuiguang = res.data.value;
- }
- }
- });
- if (this.userType == 1) { //用户邀请图
- this.$Request.getT('/app/banner/selectBannerList?state=-1&classify=5').then(res => {
- if (res.code === 0) {
- this.bgImg = res.data[0].imageUrl;
- }
- });
- } else { //企业邀请图
- this.$Request.getT('/app/banner/selectBannerList?state=-1&classify=6').then(res => {
- if (res.code === 0) {
- this.bgImg = res.data[0].imageUrl;
- }
- });
- }
- },
- //下拉刷新
- onPullDownRefresh() {
- this.page = 1
- if (this.userType == 1) {
- if (this.current != this.typeList.length - 1) {
- this.getUserList()
- } else {
- this.getComanyList()
- }
- } else {
- this.getPeopList()
- }
- },
- //加载更多
- onReachBottom() {
- if (this.page < this.totlo) {
- this.page += 1
- if (this.userType == 1) {
- if (this.current != this.typeList.length - 1) {
- this.getUserList()
- } else {
- this.getComanyList()
- }
- } else {
- this.getPeopList()
- }
- }
- },
- onHide() {
- //离开页面时关闭吸顶功能,用于处理h5环境运行下'bottom' of null报错的问题
- this.enable = false
- },
- onShow() {
- let that = this;
- uni.$once('city', data => {
- that.city = data.city
- uni.setStorageSync('city', that.city)
- })
- this.getBannerList()
- this.getgridList()
- this.getgonggaoList()
- // #ifdef MP-WEIXIN
- this.$Request.get('/app/common/type/257').then(res => {
- if (res.code == 0) {
- // #ifdef MP-WEIXIN
- this.XCXIsSelect = res.data.value
- // #endif
- // #ifndef MP-WEIXIN
- this.XCXIsSelect = '是'
- // #endif
- }
- });
- // this.$Request.get('/app/common/type/238').then(res => {
- // if (res.code == 0) {
- // // #ifdef MP-WEIXIN
- // this.XCXIsSelect = res.data.value
- // // #endif
- // // #ifndef MP-WEIXIN
- // this.XCXIsSelect = '是'
- // // #endif
- // }
- // });
- // #endif
- this.enable = true
- if (uni.getStorageSync('userType')) {
- this.userType = uni.getStorageSync('userType');
- }
- this.token = uni.getStorageSync('token');
- //获取选中的筛选条件
- if (uni.getStorageSync('filter') && (uni.getStorageSync('filter')).length > 0) {
- let filter = uni.getStorageSync('filter')
- this.education = '' //学历
- this.experience = '' //经验
- this.industry = '' //行业
- this.salaryRange = '' //薪资
- this.companyPeople = '' //公司规模
- filter.map(item => {
- let arr = []
- item.list.map(ite => {
- if (ite.value != '不限') {
- arr.push(ite.value)
- }
- })
- switch (item.name) {
- case '学历':
- this.education = arr.join(',')
- break;
- case '薪资':
- this.salaryRange = arr.join(',')
- break;
- case '经验':
- this.experience = arr.join(',')
- break;
- case '公司规模':
- this.companyPeople = arr.join(',')
- break;
- case '行业':
- this.industry = arr.join(',')
- break;
- }
- })
- // console.log(filter)
- } else {
- this.education = '' //学历
- this.experience = '' //经验
- this.industry = '' //行业
- this.salaryRange = '' //薪资
- this.companyPeople = '' //公司规模
- }
- // this.getPostType();
- if (this.userType == 1) {
- uni.setNavigationBarColor({
- frontColor: '#ffffff',
- backgroundColor: '#00DD9A'
- })
- } else {
- uni.setNavigationBarColor({
- frontColor: '#000000',
- backgroundColor: '#F2F2F7'
- })
- }
- if (this.token) {
- this.getUserInfo();
- if (this.userType == 1) {
- this.getJobType();
- } else {
- this.jobTypeList = [{
- projectName: '',
- name: '全部',
- }]
- this.getCompanyClassify()
- this.getCompanyStatus()
- }
- this.$Request.getT('/app/common/type/310').then(res => { //消息未读提醒
- if (res.code == 0) {
- if (res.data && res.data.value) {
- this.arr.push(res.data.value)
- }
- }
- })
- this.$Request.getT('/app/common/type/337').then(res => { //预约成功通知(通用)
- if (res.code == 0) {
- if (res.data && res.data.value) {
- this.arr.push(res.data.value)
- }
- }
- })
- this.$Request.getT('/app/common/type/338').then(res => { //订单状态通知
- if (res.code == 0) {
- if (res.data && res.data.value) {
- this.arr.push(res.data.value)
- }
- }
- })
- // #ifdef MP-WEIXIN
- if (this.showModal) {
- this.openMsg()
- }
- // #endif
- } else {
- this.jobTypeList = [{
- projectName: '',
- name: '全部',
- }]
- }
- if (uni.getStorageSync('city')) {
- this.city = uni.getStorageSync('city')
- } else {
- this.city = ''
- }
- if (this.city) {
- if (this.userType == 1) {
- if (this.current != this.typeList.length - 1) {
- this.getPostType();
- } else {
- this.getComanyList()
- }
- } else {
- this.getPeopList()
- }
- // if (this.userType == 1) { //用户端岗位
- // that.getPostType();
- // } else { //企业端简历
- // that.getPeopList();
- // }
- }
- },
- methods: {
- //去企业详情
- goInfo(item) {
- uni.navigateTo({
- url: '/my/enterpriseInfo/enterpriseInfo?companyId=' + item.companyId
- })
- },
- //获取公司列表
- getComanyList() {
- let data = {
- page: this.page,
- limit: this.limit,
- city: this.city == '全国' ? '' : this.city, //城市
- companyScope: this.industry,
- companyPeople: this.companyPeople
- }
- this.$Request.getT('/app/company/listCompany', data).then(res => {
- uni.hideLoading()
- uni.stopPullDownRefresh()
- if (res.code == 0) {
- this.totlo = res.data.pages
- if (this.page == 1) {
- this.companList = res.data.records
- } else {
- this.companList = [...this.companList, ...res.data.records]
- }
- // this.companList = res.data
- } else {
- uni.showToast({
- title: res.msg,
- icon: 'none'
- })
- }
- })
- },
- isSameName(className, name) {
- let str1 = className.trim();
- let str2 = name.trim();
- if (str1.length !== str2.length) {
- return true;
- }
- return str1.toLowerCase() !== str2.toLowerCase();
- },
- //获取麦克风/摄像头权限
- async getAudioPermision() {
- let status = permision.isIOS ? await permision.judgeIosPermission("record") : await permision
- .requestAndroidPermission("android.permission.RECORD_AUDIO")
- let status2 = permision.isIOS ? await permision.judgeIosPermission("camera") : await permision
- .requestAndroidPermission("android.permission.CAMERA")
- if (status === null || status === 1 || status == true) { //已经同意授权
- console.log('获取到权限了')
- } else { //未授权的
- this.popupshowsq = true
- }
- },
- goNave(url) {
- if (url.indexOf('/pages/') !== -1 || url.indexOf('/my/') !== -1 || url.indexOf('/package/') !== -1) {
- uni.navigateTo({
- url
- });
- } else {
- //#ifndef H5
- uni.navigateTo({
- url: '/pages/index/webView?url=' + url
- });
- //#endif
- //#ifdef H5
- window.location.href = url;
- //#endif
- }
- },
- //获取公告
- getgonggaoList() {
- if (!uni.getStorageSync('userType') || uni.getStorageSync('userType') == 1) {
- this.$Request.get('/app/message/page/1/1/100').then(res => {
- if (res.code == 0) {
- let arr = []
- res.data.list.map(item => {
- if (item.type == 1) {
- arr.push(item.title)
- }
- })
- this.gongao = arr
- } else {
- this.gongao = []
- }
- })
- } else if (uni.getStorageSync('userType') == 2) {
- this.$Request.get('/app/message/page/1/1/100').then(res => {
- if (res.code == 0) {
- let arr = []
- res.data.list.map(item => {
- if (item.type == 2) {
- arr.push(item.title)
- }
- })
- this.gongao = arr
- } else {
- this.gongao = []
- }
- })
- }
- },
- //获取金刚区
- getgridList() {
- if (uni.getStorageSync('userType') == 1) {
- this.$Request.get('/app/banner/selectBannerList?classify=2').then(res => {
- if (res.code == 0) {
- this.gridlist = res.data
- } else {
- this.gridlist = []
- }
- })
- } else {
- this.$Request.get('/app/banner/selectBannerList?classify=4').then(res => {
- if (res.code == 0) {
- this.gridlist = res.data
- } else {
- this.gridlist = []
- }
- })
- }
- },
- //获取bannerlist
- getBannerList() {
- if (!uni.getStorageSync('userType') || uni.getStorageSync('userType') == 1) {
- this.$Request.get('/app/banner/selectBannerList?classify=1').then(res => {
- if (res.code == 0) {
- this.bannerListuser = res.data
- this.bannerList = res.data
- } else {
- this.bannerListuser = [
- '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'
- ]
- }
- })
- } else if (uni.getStorageSync('userType') == 2) {
- this.$Request.get('/app/banner/selectBannerList?classify=3').then(res => {
- if (res.code == 0) {
- this.bannerList = res.data
- } else {
- this.bannerList = [
- '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'
- ]
- }
- })
- }
- },
- goNavss(url) {
- if (this.companyStatus) {
- if (this.companyStatus == 1) {
- uni.showToast({
- title: '企业认证审核中,请审核通过后操作!',
- icon: 'none'
- })
- return
- }
- if (this.companyStatus == 3) {
- uni.showToast({
- title: '企业认证审核未通过,请重新认证!',
- icon: 'none'
- })
- return
- }
- uni.navigateTo({
- url: url
- })
- } else {
- uni.showModal({
- title: '提示',
- content: '还未完成企业认证,请完成企业认证后操作',
- complete(ret) {
- if (ret.confirm) {
- }
- }
- })
- }
- },
- //获取企业认证状态(1:审核中 2:通过 3:拒绝)
- getCompanyStatus() {
- this.$Request.get("/app/company/selectCompanyByUserId").then(res => {
- if (res.code == 0 && res.data) {
- this.companyStatus = res.data.status
- uni.setStorageSync('companyStatus', this.companyStatus)
- } else {
- this.companyStatus = ''
- }
- })
- },
- // 开启订阅消息
- openMsg() {
- console.log('订阅消息')
- var that = this
- uni.getSetting({
- withSubscriptions: true, //是否获取用户订阅消息的订阅状态,默认false不返回
- success(ret) {
- console.log(ret.subscriptionsSetting, '------------------')
- // if (ret.subscriptionsSetting.itemSettings && Object.keys(ret.subscriptionsSetting.itemSettings).length == 2) {
- if (ret.subscriptionsSetting.itemSettings) {
- uni.setStorageSync('sendMsg', true)
- uni.openSetting({ // 打开设置页
- success(rea) {
- console.log(rea.authSetting)
- }
- });
- } else { // 用户没有点击“总是保持以上,不再询问”则每次都会调起订阅消息
- console.log(99999)
- uni.setStorageSync('sendMsg', false)
- uni.showModal({
- title: '提示',
- content: '为了更好的体验,请绑定消息推送',
- confirmText: '确定',
- cancelText: '取消',
- confirmColor: '#00B88F',
- success: function(res) {
- if (res.confirm) {
- console.log(that.arr)
- wx.requestSubscribeMessage({
- tmplIds: that.arr,
- success(re) {
- console.log(JSON.stringify(re),
- '++++++++++++++')
- var datas = JSON.stringify(re);
- if (datas.indexOf("accept") != -1) {
- console.log(re)
- uni.setStorageSync('sendMsg', true)
- }
- },
- fail: (res) => {
- console.log(res)
- }
- })
- uni.setStorageSync('sendMsg', true)
- console.log('确认')
- that.showModal = false
- } else if (res.cancel) {
- console.log('取消')
- uni.setStorageSync('sendMsg', false)
- that.showModal = true
- }
- }
- })
- }
- }
- })
- },
- //回到顶部
- gotoBack() {
- uni.pageScrollTo({
- scrollTop: 0,
- duration: 300
- })
- },
- /**
- * 获取简历列表
- */
- getPeopList() {
- let data = {
- page: this.page,
- limit: this.limit,
- postType: '', //工作性质
- resumesPost: this.jobSxTypeList[this.currentJobSx].projectName, //岗位名称
- screen: +this.currentJobSxs + 1, //1推荐 2最新
- city: this.city == '全国' ? '' : this.city, //城市
- resumesCompensation: this.salaryRange, //薪资范围
- resumesEducation: this.education, //学历
- resumesWorkExperience: this.experience, //经验
- industryName: this.industry, //行业
- // companyPeople: this.companyPeople, //公司规模
- lng: this.longitude,
- lat: this.latitude,
- companyId: uni.getStorageSync('companyId') ? uni.getStorageSync('companyId') : ''
- }
- this.$Request.get('/app/resumes/selectResumesList', data).then(res => {
- uni.stopPullDownRefresh()
- uni.hideLoading()
- if (res.code == 0 && res.data) {
- this.totalPage = res.data.totalPage
- // res.data.list.map(item => {
- // if (item.positionWelfare) {
- // item.positionWelfare = item.positionWelfare.split(',')
- // } else {
- // item.positionWelfare = []
- // }
- // })
- if (this.page == 1) {
- this.datasList = res.data.list
- } else {
- this.datasList = [...this.datasList, ...res.data.list]
- }
- this.totlo = res.data.totalPage
- } else {
- this.datasList = []
- }
- })
- },
- /**
- * 获取公司发布的岗位列表
- */
- getCompanyClassify() {
- let data = {
- companyId: uni.getStorageSync('companyId')
- }
- this.$Request.getT('/app/postPush/getCompanyClassify', data).then(res => {
- if (res.code == 0) {
- let arr = [{
- projectName: '',
- name: '全部',
- }, ]
- res.data.map(item => {
- let obj = {
- projectName: item,
- name: item,
- }
- arr.push(obj)
- })
- this.jobSxTypeList = arr
- }
- })
- },
- /**
- * 获取dom元素的宽度
- */
- getDomWidth() {
- this.$nextTick(() => {
- let that = this
- let obj = uni.createSelectorQuery().select('#bottomView' + that
- .currentJobSx) // xx为class或者id,如 .block, #block
- obj.boundingClientRect(function(data) { // data - dom中的参数,宽高等
- // console.log(data.width)
- that.domeWidth = data.width * 2 * 0.8
- }).exec()
- })
- },
- /**
- * @param {Object} longitude
- * @param {Object} latitude
- * 使用经纬度获取城市
- */
- getSelectCity(longitude, latitude) {
- this.$Request.get('/app/Login/selectCity?lat=' + latitude + '&lng=' + longitude).then(res => {
- if (res.code == 0) {
- // console.log(res, '获取地址信息')
- this.city = res.data.city ? res.data.city : '区域'
- uni.setStorageSync('city', res.data.city)
- if (this.userType == 1) {
- this.getUserList()
- } else {
- this.getPeopList()
- }
- }
- });
- },
- /**
- * 获取求职意向
- */
- getJobType() {
- this.$Request.get('/app/intention/getIntentionList').then(res => {
- if (res.code == 0 && res.data.records.length > 0) {
- let arr = [{
- projectName: '',
- name: '全部',
- }, ]
- res.data.records.map(item => {
- let obj = {
- projectName: item.ruleClassifyName,
- name: item.ruleClassifyName,
- }
- arr.push(obj)
- })
- this.jobTypeList = arr
- }
- })
- },
- /**
- * 获取岗位列表
- */
- getUserList() {
- let data = {
- page: this.page,
- limit: this.limit,
- postType: this.typeList.length > 0 ? this.typeList[this.current].label : '',
- ruleClassifyName: this.jobTypeList[this.currentjob].projectName, //岗位名称
- screen: +this.currentSx + 1, //1推荐 2最新
- city: this.city == '全国' ? '' : this.city, //城市
- salaryRange: this.salaryRange, //薪资范围
- education: this.education, //学历
- experience: this.experience, //经验
- industry: this.industry, //行业
- companyPeople: this.companyPeople, //公司规模
- lng: this.longitude,
- lat: this.latitude,
- userId: uni.getStorageSync('userId') ? uni.getStorageSync('userId') : ''
- }
- this.$Request.get('/app/postPush/userGetPostPushList', data).then(res => {
- uni.stopPullDownRefresh()
- uni.hideLoading()
- if (res.code == 0) {
- res.data.records.map(item => {
- if (item.positionWelfare) {
- item.positionWelfare = item.positionWelfare.split(',')
- } else {
- item.positionWelfare = []
- }
- if (item.distance) {
- if (parseFloat(item.distance) > 1000) {
- item.distance = (parseFloat(item.distance) / 1000).toFixed(2) + 'km'
- } else {
- item.distance = (parseFloat(item.distance)).toFixed(2) + 'm'
- }
- } else {
- item.distance = ''
- }
- })
- if (this.page == 1) {
- // console.log(res.data.records, '岗位数据')
- this.dataList = res.data.records
- } else {
- this.dataList = [...this.dataList, ...res.data.records]
- }
- this.totlo = res.data.pages
- }
- })
- },
- /**
- * 工作性质
- */
- getPostType() {
- this.$Request.get('/app/dict/list', {
- type: '工作性质'
- }).then(res => {
- if (res.code == 0) {
- let arr = res.data
- arr = JSON.parse(JSON.stringify(arr).replace(/code/g, 'label'))
- let obj = {
- id: -1,
- label: '企业',
- name: '企业'
- }
- arr.push(obj)
- this.typeList = arr
- // console.log(this.typeList, '1111')
- this.getUserList()
- }
- })
- },
- /**
- * 获取个人信息
- */
- getUserInfo() {
- this.$Request.get("/app/user/selectUserById").then(res => {
- if (res.code == 0) {
- this.$queue.setData('weChatNum', res.data.weChatNum)
- if (res.data.companyId) {
- uni.setStorageSync('companyId', res.data.companyId)
- }
- if (res.data.userType == 1 || res.data.userType == null) {
- this.userType = 1
- uni.setStorageSync('userType', 1)
- } else {
- this.userType = 2
- uni.setStorageSync('userType', 2)
- }
- }
- })
- },
- gotoInfo(postPushId) {
- if (uni.getStorageSync('token')) {
- // #ifdef MP-WEIXIN
- if (uni.getStorageSync('sendMsg')) {
- // console.log('授权+1')
- wx.requestSubscribeMessage({
- tmplIds: this.arr,
- success(re) {
- // console.log(JSON.stringify(re), 111111111111)
- var datas = JSON.stringify(re);
- if (datas.indexOf("accept") != -1) {
- // console.log(re)
- }
- },
- fail: (res) => {
- // console.log(res)
- }
- })
- }
- // #endif
- // uni.navigateTo({
- // url: '/pages/index/game/order?postPushId=' + postPushId
- // })
- }
- // else {
- // this.noLogin()
- // }
- uni.navigateTo({
- url: '/pages/index/game/order?postPushId=' + postPushId
- })
- },
- //不需要登录跳转
- goNavs(url) {
- // #ifdef MP-WEIXIN
- if (uni.getStorageSync('sendMsg')) {
- // console.log('授权+1')
- wx.requestSubscribeMessage({
- tmplIds: this.arr,
- success(re) {
- // console.log(JSON.stringify(re), 111111111111)
- var datas = JSON.stringify(re);
- if (datas.indexOf("accept") != -1) {
- // console.log(re)
- }
- },
- fail: (res) => {
- // console.log(res)
- }
- })
- }
- // #endif
- uni.navigateTo({
- url: url
- })
- },
- //跳转
- goNav(url) {
- if (uni.getStorageSync('token')) {
- // #ifdef MP-WEIXIN
- if (uni.getStorageSync('sendMsg')) {
- // console.log('授权+1')
- wx.requestSubscribeMessage({
- tmplIds: this.arr,
- success(re) {
- // console.log(JSON.stringify(re), 111111111111)
- var datas = JSON.stringify(re);
- if (datas.indexOf("accept") != -1) {
- // console.log(re)
- }
- },
- fail: (res) => {
- // console.log(res)
- }
- })
- }
- // #endif
- uni.navigateTo({
- url: url
- })
- } else {
- this.noLogin()
- }
- },
- //未登录
- noLogin() {
- uni.showModal({
- title: '提示',
- content: '您还未登录,请先登录',
- confirmColor: '#00B88F',
- success: function(res) {
- if (res.confirm) {
- // console.log('用户点击确定');
- uni.navigateTo({
- url: '/pages/public/login'
- })
- } else if (res.cancel) {
- // console.log('用户点击取消');
- }
- }
- })
- },
- //吸顶
- isfixed(e) {
- // console.log(e, '+++++++++++++')
- this.isfixeds = true
- },
- //不吸顶
- isunfixed() {
- this.isfixeds = false
- }
- }
- }
- </script>
- <style lang="scss">
- page {
- background: #F2F2F7;
- }
- .goback {
- position: fixed;
- top: 80%;
- right: 30rpx;
- }
- .jobtitle {
- position: relative;
- .jobtitleBom {
- position: absolute;
- width: 30rpx;
- left: 50%;
- top: 80%;
- transform: translate(-50%, 0);
- }
- }
- .topbg-scroll {
- width: 100%;
- white-space: nowrap;
- }
- .activeQs {
- color: #1A1A1A !important;
- font-weight: 800;
- }
- .activeQ {
- color: #1A1A1A !important;
- font-size: 38rpx;
- font-weight: 800;
- }
- .active {
- font-size: 38rpx !important;
- font-weight: 800 !important;
- }
- .active2 {
- color: #1A1A1A !important;
- font-size: 38rpx !important;
- font-weight: 800 !important;
- }
- .active3 {
- color: #1A1A1A !important;
- font-size: 28rpx !important;
- font-weight: 800 !important;
- }
- .topbg {
- width: 100%;
- // height: 100rpx;
- background-color: #00DD9A;
- // position: fixed;
- // /* #ifdef MP-WEIXIN */
- // top: 0;
- // /* #endif */
- // /* #ifdef H5 */
- // top: 78rpx;
- // /* #endif */
- // /* #ifdef APP-PLUS */
- // top: 0;
- // /* #endif */
- // z-index: 998;
- }
- .topbg-type {
- width: 100%;
- // height: 40rpx;
- // margin-top: 28rpx;
- padding-top: 28rpx;
- .topbg-type-box {
- width: 686rpx;
- height: 100%;
- }
- .topbg-type-box-l-i {
- font-size: 32rpx;
- color: #ffffff;
- margin-right: 40rpx;
- }
- .topbg-type-box-r {
- color: #ffffff;
- }
- }
- .companyListBox {
- width: 100%;
- background-color: #F2F2F7;
- // margin-top: 30rpx;
- }
- .topbg-yx {
- width: 100%;
- // height: 366rpx;
- background: #F2F2F7;
- border-radius: 40rpx 40rpx 0 0;
- margin-top: 20rpx;
- align-content: flex-start;
- .topbg-yx-box {
- width: 686rpx;
- height: 40rpx;
- margin-top: 35rpx;
- }
- .topbg-yx-box-l {
- width: 62%;
- .topbg-yx-box-l-i {
- display: inline-block;
- margin-right: 50rpx;
- color: #999999;
- font-size: 32rpx;
- font-weight: 500;
- .topbg-yx-box-l-i-c {
- z-index: 1 !important;
- // position: relative;
- .topbg-yx-box-l-i-text {
- z-index: 3 !important;
- }
- }
- .topbg-yx-box-l-i-line {
- margin-top: -10rpx;
- width: 100%;
- height: 10rpx;
- background: linear-gradient(90deg, #08F3CE 0%, #05F3A7 100%);
- border-radius: 7rpx;
- z-index: 2 !important;
- }
- }
- }
- .topbg-yx-box-r {
- text {
- color: #00B88F;
- font-size: 28rpx;
- font-weight: 500;
- margin-right: 20rpx;
- }
- }
- .topbg-sx-box {
- width: 686rpx;
- // height: 25rpx;
- margin-top: 30rpx;
- .topbg-sx-box-l-i {
- color: #999999;
- font-size: 28rpx;
- font-weight: 500;
- margin-right: 38rpx;
- }
- }
- }
- .gwList {
- width: 100%;
- // margin-top: 260rpx;
- .gwList-box {
- width: 686rpx;
- height: 100%;
- .gwList-box-item {
- width: 100%;
- // height: 329rpx;
- background-color: #ffffff;
- border-radius: 24rpx;
- margin-bottom: 20rpx;
- padding-bottom: 20rpx;
- }
- .gwList-box-item-box {
- width: 623rpx;
- height: 100%;
- .gwList-box-item-box-title {
- margin-top: 30rpx;
- view:nth-of-type(1) {
- color: #1F1F1F;
- font-size: 38rpx;
- font-weight: 800;
- }
- text:nth-of-type(1) {
- color: #00B88F;
- font-size: 38rpx;
- font-weight: bold;
- }
- }
- .gwList-box-item-box-label {
- margin-top: 30rpx;
- }
- .gwList-box-item-box-name {
- margin-top: 24rpx;
- color: #999999;
- font-size: 28rpx;
- font-weight: 500;
- }
- .gwList-box-item-box-line {
- width: 100%;
- border: 1rpx solid #E6E6E6;
- margin-top: 30rpx;
- margin-bottom: 20rpx;
- }
- .gwList-box-item-box-info {
- font-size: 26rpx;
- .gwList-box-item-box-info-l {
- color: #1A1A1A;
- .people {
- max-width: 110rpx;
- overflow: hidden; //超出的文本隐藏
- text-overflow: ellipsis; //溢出用省略号显示
- white-space: nowrap; // 默认不换行;
- }
- }
- .gwList-box-item-box-info-r {
- color: #999999;
- max-width: 50%;
- overflow: hidden; //超出的文本隐藏
- text-overflow: ellipsis; //溢出用省略号显示
- white-space: nowrap; // 默认不换行;
- }
- }
- }
- }
- }
- .banner {
- width: 100%;
- height: 250rpx;
- // margin-top: 20rpx;
- .banner-box {
- width: 686rpx;
- height: 100%;
- border-radius: 24rpx;
- }
- }
- .isfixed {
- border-radius: 0 !important;
- }
- .isfixeds {
- border-radius: 40rpx 40rpx 0 0;
- }
- .qySx {
- width: 100%;
- // height: 366rpx;
- background: linear-gradient(to bottom, #ffffff, #F2F2F7);
- padding-bottom: 40rpx;
- .qySx-box {
- width: 686rpx;
- height: 100%;
- .qySx-box-sxp {
- height: 60rpx;
- margin-top: 40rpx;
- }
- .qySx-box-l {
- height: 100%;
- width: 65%;
- // background-color: red;
- .qySx-box-l-i {
- display: inline-block;
- height: 100%;
- margin-right: 20rpx;
- color: #999999;
- font-size: 32rpx;
- }
- }
- .qySx-box-r {
- height: 100%;
- }
- .qySx-box-sxs {
- width: 100%;
- height: 30rpx;
- margin-top: 30rpx;
- .qySx-box-sxs-l {
- .qySx-box-sxs-l-i {
- margin-right: 40rpx;
- color: #999999;
- font-size: 28rpx;
- }
- }
- .qySx-box-sxs-r {
- color: #999999;
- font-size: 28rpx;
- }
- }
- }
- }
- .qyList {
- width: 100%;
- height: auto;
- .qyList-box {
- width: 686rpx;
- height: 100%;
- .qyList-box-item {
- width: 100%;
- // height: 400rpx;
- padding-bottom: 40rpx;
- background-color: #ffffff;
- border-radius: 24rpx;
- margin-bottom: 20rpx;
- .qyList-box-item-box {
- width: 626rpx;
- height: 100%;
- }
- .qyList-box-item-info {
- margin-top: 40rpx;
- }
- .qyList-box-item-job {
- width: 100%;
- color: #121212;
- font-size: 28rpx;
- font-weight: 500;
- margin-top: 20rpx;
- }
- .qyList-box-item-rem {
- color: #999999;
- font-size: 26rpx;
- margin-top: 20rpx;
- }
- }
- }
- }
- .announcement {
- // background: #ffffff;
- padding: 0px 0px 10px 10px;
- margin-top: 20rpx;
- }
- .announcementbox {
- width: 712upx;
- height: 64upx;
- background: #e5fff2;
- border-radius: 32upx;
- display: flex;
- align-items: center;
- padding: 0px 24upx;
- }
- .anount {
- color: #00DD9A;
- font-weight: bold;
- }
- .anounts {
- width: 80%;
- height: 64rpx;
- color: #333333;
- font-size: 24upx;
- }
- </style>
|