index.vue 70 KB

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