search.vue 20 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006
  1. <template>
  2. <view>
  3. <u-navbar back-text="搜索" back-icon-size="28" back-icon-color="#ffffff"
  4. :background="{backgroundColor: '#2795FD',}" :back-text-style="{color: '#ffffff'}"></u-navbar>
  5. <!-- 搜索框 -->
  6. <view class="search">
  7. <view class="search-box">
  8. <view class="option">
  9. <nxsearch :selectList="selectList"
  10. :defaultSelectIndex="defaultSelectIndex"
  11. button="inside" @search="doSearch" @confirm="doSearch"
  12. @selectItem="selectItem"
  13. v-model="searchQuery.keyword" :placeholder="'输入关键字'+selectList[searchQuery.selectIndex].name" />
  14. </view>
  15. </view>
  16. </view>
  17. <!-- 搜索历史 -->
  18. <view class="search-history" v-show="step" >
  19. <view class="top">
  20. <view class="title">
  21. 搜索历史
  22. </view>
  23. <view class="clear" @click="clear()">
  24. 清空历史
  25. </view>
  26. </view>
  27. <view class="history">
  28. <view class="tag" v-for="(mod,index) in searchHistory" :key="index" v-text="mod"
  29. @click="searchQuery.keyword=mod,submit()">
  30. 打杂
  31. </view>
  32. </view>
  33. </view>
  34. <!-- 搜索结果 -->
  35. <view class="result" v-if="!step&&searchQuery.selectIndex==0" >
  36. <view class="tabs">
  37. <view class="left" style=" width: 33%;">
  38. <u-tabs bg-color="#F0F0F2" :list="tabList" :is-scroll="false" :current="current"
  39. @change="change"></u-tabs>
  40. </view>
  41. <view class="screen" @click="popupShow = true">
  42. <view class="icon">
  43. <img src="@/assets/img/riLine-filter-line@1x.png" alt="">
  44. </view>
  45. <view>筛选</view>
  46. </view>
  47. </view>
  48. <view class="result-item result-item1" v-for="(item,i) in tabList[current].list" :key="i"
  49. @click="gotoUrl('pages/packages/choreInformation/jobSearchDetails?id='+item.id)" >
  50. <!-- 照片 -->
  51. <view class="photo">
  52. <u-avatar :src="item.photo"></u-avatar>
  53. </view>
  54. <view class="content">
  55. <!-- 职位薪水 -->
  56. <view class="top">
  57. <view class="position">
  58. {{item.intendedIndustriesN}}
  59. </view>
  60. <view class="salary">
  61. {{item.hopeSalary}}{{getUnit(item)}}
  62. </view>
  63. </view>
  64. <view class="issuer">
  65. {{item.personName}}
  66. </view>
  67. <view class="bottom">
  68. <view class="tags">
  69. <view class="tag-item">
  70. {{item.gender==1?'男':'女'}}
  71. </view>
  72. <view class="tag-item">
  73. {{item.age}}岁
  74. </view>
  75. <view class="tag-item" v-if="item.educationN" >
  76. {{item.educationN}}
  77. </view>
  78. </view>
  79. <view class="date">
  80. {{getTime(item)}}
  81. </view>
  82. </view>
  83. </view>
  84. </view>
  85. <!-- 筛选框 -->
  86. <u-popup v-model="popupShow" @close="close" @open="popupShowOpen2" mode="bottom" border-radius="20" :closeable="true">
  87. <view class="popup-content">
  88. <view class="headline">
  89. 筛选
  90. </view>
  91. <!-- 薪资待遇 -->
  92. <view class="salary-package">
  93. <view class="title">
  94. 薪资待遇
  95. </view>
  96. <!-- 选项 -->
  97. <view class="options">
  98. <view :class="{item,checked:saralyChecked==index}" v-for="(item,index) in salaryList"
  99. :key="index" @click="changeSaralyChecked(index)">
  100. {{item.name}}
  101. </view>
  102. </view>
  103. </view>
  104. <!-- 工作经验 -->
  105. <view class="work-experience">
  106. <view class="title">
  107. 工作经验
  108. </view>
  109. <!-- 选项 -->
  110. <view class="options">
  111. <view :class="{item,checked:workChecked==index}" v-for="(item,index) in workList" :key="index"
  112. @click="changeWorkChecked(index)">
  113. {{item.name}}
  114. </view>
  115. </view>
  116. </view>
  117. <view class="button">
  118. <button class="reset" @click="reset()">重置</button>
  119. <button class="confirm" @click="queryBtn()" >确认</button>
  120. </view>
  121. </view>
  122. </u-popup>
  123. <u-divider bgNoneColor="#ffffff" style="background: #F0F0F2;" v-if="tabList[current].recordsTotal==tabList[current].list.length"
  124. :isnone="tabList[current].recordsTotal==0" nonetext="没有找到相关内容"
  125. border-color="#CFD2D5">已经到底了</u-divider>
  126. </view>
  127. <!-- 搜索结果 -->
  128. <view class="result" v-if="!step&&searchQuery.selectIndex==1" >
  129. <view class="tabs">
  130. <view class="left">
  131. <u-tabs bg-color="#F0F0F2" :list="tabList" :is-scroll="false" :current="current"
  132. @change="change"></u-tabs>
  133. </view>
  134. <view class="screen" @click="popupShow = true">
  135. <view class="icon">
  136. <img src="@/assets/img/riLine-filter-line@1x.png" alt="">
  137. </view>
  138. <view>筛选</view>
  139. </view>
  140. </view>
  141. <view class="result-item" v-for="(item,i) in tabList[current].list" :key="i"
  142. @click="gotoUrl('pages/packages/jobInformation/jobDetails?id='+item.id)">
  143. <view class="content-1">
  144. <!-- 职位 -->
  145. <view class="position">
  146. {{item.positionName}}
  147. </view>
  148. <!-- 薪水 -->
  149. <view class="salary">
  150. {{item.salary}}{{getUnit(item)}}
  151. </view>
  152. </view>
  153. <view class="content-2">
  154. <!-- 标签 -->
  155. <view class="tag">
  156. <view class="tag-item">
  157. {{item.workArea}}
  158. </view>
  159. <view class="tag-item">
  160. {{item.settlementMethodN}}
  161. </view>
  162. <view class="tag-item">
  163. {{item.industryN}}
  164. </view>
  165. </view>
  166. <!-- 日期 -->
  167. <view class="date">
  168. {{getTime(item)}}
  169. </view>
  170. </view>
  171. <view class="content-3">
  172. <view class="issuer">
  173. {{item.contacts}}
  174. </view>
  175. <view class="address">
  176. {{item.address}}
  177. </view>
  178. </view>
  179. </view>
  180. <!-- 筛选框 -->
  181. <u-popup v-model="popupShow" @open="popupShowOpen1" mode="bottom" border-radius="20" :closeable="true">
  182. <view class="popup-content">
  183. <view class="headline">
  184. 筛选
  185. </view>
  186. <!-- 行业 -->
  187. <view class="industry">
  188. <view class="title">
  189. 行业
  190. </view>
  191. <!-- 选项 -->
  192. <view class="options">
  193. <view :class="{item,checked:isChecked==index}" v-for="(item,index) in industryList" :key="index"
  194. @click="changeChecked(index)">
  195. <!-- 快递跑腿/配送/分拣 -->{{item.name}}
  196. </view>
  197. </view>
  198. </view>
  199. <!-- 结算方式 -->
  200. <view class="clearing-form" v-if="false">
  201. <view class="title">
  202. 结算方式
  203. </view>
  204. <!-- 选项 -->
  205. <view class="options">
  206. <view :class="{item,checked:wayChecked==index}" v-for="(item,index) in wayList" :key="index"
  207. @click="changeWayChecked(index)">
  208. {{item.name}}
  209. </view>
  210. </view>
  211. </view>
  212. <!-- 薪资形式 -->
  213. <view class="salary-form" v-if="false">
  214. <view class="title">
  215. 薪资形式
  216. </view>
  217. <!-- 选项 -->
  218. <view class="options ">
  219. <view :class="{item,checked:saralyChecked==index}" v-for="(item,index) in salaryList"
  220. :key="index" @click="changeSaralyChecked(index)">
  221. {{item.name}}
  222. </view>
  223. </view>
  224. </view>
  225. <view class="button">
  226. <button class="reset" @click="reset()">重置</button>
  227. <button class="confirm" @click="queryBtn()" >确认</button>
  228. </view>
  229. </view>
  230. </u-popup>
  231. <u-divider bgNoneColor="#ffffff" v-if="tabList[current].recordsTotal==tabList[current].list.length"
  232. :isnone="tabList[current].recordsTotal==0" nonetext="没有找到相关内容"
  233. border-color="#CFD2D5">已经到底了</u-divider>
  234. </view>
  235. </view>
  236. </template>
  237. <script>
  238. import * as API from '@/apis/pagejs/packages.js'
  239. import nxsearch from "@/components/nx-search.vue"
  240. import * as API_weixin from '@/apis/weixin.js'
  241. export default {
  242. components: {
  243. nxsearch
  244. },
  245. data() {
  246. return {
  247. step: true, //步骤 ,true第一步查询,false第二步显示结果
  248. searchQuery: {
  249. keyword: '',
  250. selectIndex: 0
  251. },
  252. selectList: [{
  253. id: 1,
  254. name: '找零工'
  255. },
  256. {
  257. id: 0,
  258. name: '找工作'
  259. }
  260. ],
  261. recordsTotal: 0,
  262. listForm: {
  263. typeId: "",
  264. title: "",
  265. pageIndex: 1,
  266. pageSize: 4,
  267. totalPage: 1,
  268. },
  269. current: 0,
  270. list: [],
  271. searchHistory: [],
  272. tabList:[],
  273. tabList2: [{
  274. name: '最新',
  275. pageIndex: 1,
  276. pageSize: 20,
  277. statusType:"",
  278. list:[],
  279. recordsTotal:0
  280. }, {
  281. name: '日结',
  282. unit:"日",
  283. statusType:"1",
  284. pageIndex: 1,
  285. pageSize: 20,
  286. list:[],
  287. recordsTotal:0
  288. }, {
  289. name: '周结',
  290. unit:"周",
  291. pageIndex: 1,
  292. pageSize: 20,
  293. statusType:"2",
  294. list:[],
  295. recordsTotal:0
  296. }, {
  297. name: '月结',
  298. unit:"月",
  299. pageIndex: 1,
  300. pageSize: 20,
  301. statusType:"3",
  302. list:[],
  303. recordsTotal:0
  304. }],
  305. industryList: [
  306. ],
  307. salaryList: [{
  308. name: '100元/天以下',
  309. //min:0,
  310. max:100
  311. },
  312. {
  313. name: '100-150元/天',
  314. min:100,
  315. max:150
  316. }, {
  317. name: '150-200元/天',
  318. min:150,
  319. max:200
  320. }, {
  321. name: '200-300元/天',
  322. min:200,
  323. max:300
  324. }, {
  325. name: '300-400元/天',
  326. min:300,
  327. max:400
  328. }, {
  329. name: '400-500元/天',
  330. min:400,
  331. max:500
  332. },
  333. {
  334. name: '500元/天以上',
  335. min:500,
  336. }
  337. ],
  338. tabList1: [{
  339. name: '最新',
  340. pageIndex: 1,
  341. pageSize: 20,
  342. statusType:"1",
  343. list:[],
  344. recordsTotal:0
  345. }, {
  346. name: '最热',
  347. pageIndex: 1,
  348. pageSize: 20,
  349. statusType:"2",
  350. list:[],
  351. recordsTotal:0
  352. }],
  353. workList: [
  354. ],
  355. saralyChecked: -1,
  356. workChecked: -1,
  357. isChecked: -1,
  358. wayChecked: -1,
  359. popupShow:false,
  360. defaultSelectIndex:0,
  361. queryForm:{
  362. }
  363. }
  364. },
  365. onLoad(op) {
  366. if (op.type) {
  367. this.searchQuery.selectIndex = op.type
  368. this.defaultSelectIndex=op.type
  369. //this.$refs.nxsearch.selectItem(op.type)
  370. }
  371. console.log(this.searchQuery,op)
  372. var sz = this.carhelp.get("setSearchHistory");
  373. if (sz) {
  374. this.searchHistory = sz
  375. } else {
  376. this.searchHistory = []
  377. }
  378. },
  379. onReady() {
  380. },
  381. onReachBottom() {
  382. if (this.list.length < this.recordsTotal) {
  383. this.myLoadmore();
  384. }
  385. },
  386. methods: {
  387. selectItem(i){
  388. this.searchQuery.selectIndex=i;
  389. },
  390. changeSaralyChecked(index) {
  391. this.saralyChecked = index;
  392. },
  393. changeWorkChecked(index) {
  394. this.workChecked = index;
  395. },
  396. changeChecked(index) {
  397. this.isChecked = index;
  398. },
  399. popupShowOpen2(){
  400. if(this.workList.length==0){
  401. uni.showLoading({
  402. title: "加载中",
  403. mask: true,
  404. })
  405. API_weixin.findListByCatalogName({
  406. name:'工作经验',
  407. }).then((res) => {
  408. uni.hideLoading();
  409. this.workList=res.data.dictionaryList
  410. }).catch(error => {
  411. uni.showToast({icon: 'none',
  412. title: error
  413. })
  414. //this.getPhone()
  415. })
  416. }
  417. },
  418. popupShowOpen1(){
  419. if(this.industryList.length==0){
  420. uni.showLoading({
  421. title: "加载中",
  422. mask: true,
  423. })
  424. API_weixin.findListByCatalogName({
  425. name:'意向行业',
  426. }).then((res) => {
  427. uni.hideLoading();
  428. this.industryList=res.data.dictionaryList
  429. }).catch(error => {
  430. uni.showToast({icon: 'none',
  431. title: error
  432. })
  433. //this.getPhone()
  434. })
  435. }
  436. },
  437. ckInfo(id) {
  438. var url = "/pages/news/articleDetails?id=" + id;
  439. uni.navigateTo({
  440. url: url
  441. })
  442. },
  443. clear() {
  444. this.setSearchHistory([]);
  445. mui.toast("搜索内容已清空");
  446. },
  447. setHistory() {
  448. //搜索记录保存
  449. var key = this.searchQuery.keyword;
  450. var sz = this.searchHistory;
  451. if (!sz) {
  452. sz = [];
  453. }
  454. var temp = [];
  455. //去重 ,后插入的,排队到最前面
  456. if (sz.length) {
  457. for (var i in sz) {
  458. if (i == 0) {
  459. temp.push(key);
  460. }
  461. if (sz[i] == key) {
  462. continue;
  463. }
  464. temp.push(sz[i]);
  465. if (temp.length == 10) {
  466. break
  467. }
  468. }
  469. } else {
  470. temp.push(key);
  471. }
  472. this.setSearchHistory(temp);
  473. },
  474. setSearchHistory(obj) {
  475. this.searchHistory = obj
  476. this.carhelp.set("setSearchHistory", obj)
  477. },
  478. blur() {
  479. },
  480. focus() {
  481. this.step = true;
  482. },
  483. submit() {
  484. if (!this.searchQuery.keyword) {
  485. uni.showToast({
  486. title:"请输入内容",
  487. icon:"none"
  488. })
  489. return
  490. }
  491. this.setHistory()
  492. this.listForm.pageIndex = 1
  493. // var ref =this.$refs.searchinput.getRef()
  494. // ref.blur()
  495. this.query();
  496. },
  497. myLoadmore() {
  498. this.listForm.pageIndex += 1;
  499. this.query();
  500. },
  501. query() {
  502. if(this.searchQuery.selectIndex==0){
  503. this.tabList=[
  504. ...this.tabList1
  505. ]
  506. }
  507. if(this.searchQuery.selectIndex==1){
  508. this.tabList=[
  509. ...this.tabList2
  510. ]
  511. }
  512. this.step = false;
  513. uni.showLoading({
  514. title: "加载中",
  515. mask: true,
  516. })
  517. var list = this.tabList[this.current].list
  518. var obj = this.tabList[this.current]
  519. var listForm = {
  520. ...obj,
  521. ...this.queryForm
  522. }
  523. listForm.status= this.selectList[this.searchQuery.selectIndex].id,
  524. listForm.content= this.searchQuery.keyword
  525. delete listForm.list
  526. API.findRecruitSearch(listForm).then((res) => {
  527. uni.hideLoading();
  528. if (listForm.pageIndex == 1) {
  529. list = res.data.data;
  530. } else {
  531. list = [
  532. ...list,
  533. ...res.data.data
  534. ];
  535. }
  536. this.tabList[this.current].list = list
  537. this.tabList[this.current].recordsTotal = res.data.recordsTotal;
  538. }).catch(error => {
  539. uni.showToast({icon: 'none',
  540. title: error
  541. })
  542. //this.getPhone()
  543. })
  544. },
  545. // 执行搜索
  546. doSearch(searchQuery) {
  547. //.log('searchQuery', searchQuery);
  548. this.searchQuery=searchQuery;
  549. this.submit()
  550. },
  551. change(index) {
  552. this.current = index;
  553. var list = this.tabList[this.current].list
  554. if (list.length == 0) {
  555. this.query();
  556. }
  557. },
  558. close(){},
  559. queryBtn(){
  560. this.popupShow=false;
  561. this.current = 0;
  562. this.tabList[this.current].list=[]
  563. this.tabList[this.current].pageIndex = 1;
  564. // this.saralyChecked = -1;
  565. // this.workChecked = -1;
  566. // this.queryForm.salaryStart=""
  567. // this.queryForm.salaryEnd=""
  568. // this.queryForm.workExp=""
  569. if(this.isChecked!=-1){
  570. this.queryForm.industry=this.industryList[this.isChecked].value
  571. }
  572. if(this.saralyChecked!=-1){
  573. this.queryForm.salaryStart=this.salaryList[this.saralyChecked].min
  574. this.queryForm.salaryEnd=this.salaryList[this.saralyChecked].max
  575. }
  576. if(this.workChecked!=-1){
  577. this.queryForm.workExp=this.workList[this.workChecked].value
  578. }
  579. this.query();
  580. },
  581. reset() {
  582. this.saralyChecked = -1;
  583. this.workChecked = -1;
  584. this.isChecked = -1;
  585. this.queryForm.industry=""
  586. this.queryForm.salaryStart=""
  587. this.queryForm.salaryEnd=""
  588. this.queryForm.workExp=""
  589. this.queryBtn()
  590. }
  591. }
  592. }
  593. </script>
  594. <style lang="scss" scoped>
  595. // 搜索框
  596. .search {
  597. padding: 16rpx 32rpx;
  598. .search-box {
  599. border-radius: 50px;
  600. // background-color: rgba(243, 246, 249, 1);
  601. height: 72rpx;
  602. line-height: 72rpx;
  603. }
  604. }
  605. // 搜索历史
  606. .search-history {
  607. padding: 0 32rpx;
  608. margin-top: 40rpx;
  609. .top {
  610. display: flex;
  611. justify-content: space-between;
  612. align-items: center;
  613. .title {
  614. color: #101010;
  615. }
  616. .clear {
  617. color: rgba(169, 169, 169, 1);
  618. font-size: 24rpx;
  619. }
  620. }
  621. .history {
  622. display: flex;
  623. margin-top: 16rpx;
  624. .tag {
  625. width: 144rpx;
  626. height: 56rpx;
  627. line-height: 56rpx;
  628. border-radius: 4px;
  629. background-color: rgba(241, 244, 247, 1);
  630. color: rgba(88, 88, 88, 1);
  631. font-size: 12px;
  632. text-align: center;
  633. font-family: Arial;
  634. margin-right: 16rpx;
  635. }
  636. }
  637. }
  638. // 搜索结果
  639. .result {
  640. background-color: #fff;
  641. .tabs {
  642. padding-right: 32rpx;
  643. display: flex;
  644. justify-content: space-between;
  645. align-items: center;
  646. border-bottom: 1px solid #f1f1f1;
  647. .left {
  648. width: 68%;
  649. /deep/.u-tabs {
  650. background-color: #fff !important;
  651. }
  652. }
  653. .screen {
  654. display: flex;
  655. align-items: center;
  656. color: rgba(39, 149, 253, 1);
  657. font-size: 16px;
  658. img {
  659. width: 16px;
  660. height: 16px;
  661. vertical-align: middle;
  662. margin-right: 4rpx;
  663. }
  664. }
  665. }
  666. .result-item1{
  667. display: flex;
  668. }
  669. .result-item {
  670. padding: 24rpx 0;
  671. margin: 0 32rpx;
  672. border-bottom: 1px solid #F0F0F2;
  673. // 照片
  674. .photo {
  675. width: 96rpx;
  676. height: 96rpx;
  677. overflow: hidden;
  678. border-radius: 50px;
  679. border: 1px solid rgba(255, 255, 255, 1);
  680. img {
  681. width: 100%;
  682. height: 100%;
  683. }
  684. }
  685. .content {
  686. margin-left: 24rpx;
  687. flex: 1;
  688. // 职位薪水
  689. .top {
  690. display: flex;
  691. justify-content: space-between;
  692. align-items: center;
  693. font-size: 36rpx;
  694. .position {
  695. color: rgba(16, 16, 16, 1);
  696. font-family: 'PingFangSC-medium';
  697. }
  698. .salary {
  699. color: rgba(255, 61, 0, 1);
  700. font-size: 32rpx;
  701. }
  702. }
  703. // 发布人
  704. .issuer {
  705. margin-top: 16rpx;
  706. }
  707. // 标签和时间
  708. .bottom {
  709. display: flex;
  710. justify-content: space-between;
  711. align-items: center;
  712. margin-top: 24rpx;
  713. .tags {
  714. display: flex;
  715. .tag-item {
  716. padding: 0 8rpx;
  717. height: 36rpx;
  718. line-height: 36rpx;
  719. border-radius: 4px;
  720. background-color: rgba(241, 241, 247, 1);
  721. color: rgba(129, 127, 153, 1);
  722. font-size: 24rpx;
  723. text-align: center;
  724. margin-right: 8rpx;
  725. }
  726. }
  727. .date {
  728. color: rgba(153, 153, 153, 1);
  729. font-size: 24rpx;
  730. }
  731. }
  732. }
  733. .content-1 {
  734. display: flex;
  735. justify-content: space-between;
  736. align-items: center;
  737. // 职位
  738. .position {
  739. color: rgba(16, 16, 16, 1);
  740. font-size: 36rpx;
  741. font-family: 'PingFang Medium';
  742. }
  743. // 薪水
  744. .salary {
  745. color: rgba(255, 61, 0, 1);
  746. font-size: 32rpx;
  747. font-family: 'PingFang Medium';
  748. }
  749. }
  750. .content-2 {
  751. margin-top: 12rpx;
  752. display: flex;
  753. justify-content: space-between;
  754. // 标签
  755. .tag {
  756. display: flex;
  757. .tag-item {
  758. min-width: 64rpx;
  759. height: 36rpx;
  760. line-height: 36rpx;
  761. border-radius: 8rpx;
  762. background-color: rgba(241, 241, 247, 1);
  763. color: rgba(129, 127, 153, 1);
  764. font-size: 24rpx;
  765. text-align: center;
  766. margin-right: 12rpx;
  767. padding: 0 8rpx;
  768. }
  769. }
  770. // 日期
  771. .date {
  772. color: rgba(153, 153, 153, 1);
  773. font-size: 24rpx;
  774. }
  775. }
  776. .content-3 {
  777. margin-top: 20rpx;
  778. display: flex;
  779. justify-content: space-between;
  780. align-items: center;
  781. .issuer {
  782. color: rgba(51, 51, 51, 1);
  783. font-size: 24rpx;
  784. }
  785. .address {
  786. color: rgba(51, 51, 51, 1);
  787. font-size: 24rpx;
  788. }
  789. }
  790. }
  791. }
  792. // 筛选框
  793. .popup-content {
  794. padding: 32rpx;
  795. .headline {
  796. color: #101010;
  797. font-size: 40rpx;
  798. text-align: center;
  799. }
  800. //行业
  801. .industry,.salary-package,.work-experience,
  802. .clearing-form,
  803. .salary-form {
  804. margin-top: 16rpx;
  805. margin-bottom: 76rpx;
  806. .title {
  807. font-size: 32rpx;
  808. color: #111111;
  809. }
  810. // 选项
  811. .options {
  812. display: flex;
  813. justify-content: space-between;
  814. flex-wrap: wrap;
  815. margin-top: 24rpx;
  816. .item {
  817. height: 56rpx;
  818. line-height: 56rpx;
  819. padding: 0 32rpx;
  820. margin-bottom: 16rpx;
  821. color: #999999;
  822. background-color: #F3F3F4;
  823. border-radius: 4px;
  824. }
  825. .checked {
  826. background-color: #2795FD;
  827. color: #fff;
  828. }
  829. }
  830. }
  831. .button {
  832. display: flex;
  833. margin-top: 8rpx;
  834. .reset:after{
  835. border:0
  836. }
  837. .reset {
  838. color: #999999;
  839. background-color: #F3F3F4;
  840. width: 200rpx;
  841. height: 72rpx;
  842. line-height: 72rpx;
  843. border-radius: 8px;
  844. }
  845. .confirm {
  846. width: 440rpx;
  847. background-color: #2795FD;
  848. color: #fff;
  849. height: 72rpx;
  850. line-height: 72rpx;
  851. border-radius: 8px;
  852. }
  853. }
  854. }
  855. .salary-form,.salary-package,.work-experience,
  856. .clearing-form {
  857. .options {
  858. justify-content: start !important;
  859. }
  860. .item {
  861. margin-right: 24rpx;
  862. }
  863. }
  864. /deep/.u-close--top-right {
  865. top: 44rpx;
  866. }
  867. </style>