index.scss 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539
  1. @import "../scssCommon";
  2. .jobList {
  3. .topArea {
  4. position: relative;
  5. width: 100%;
  6. background-color: #fff;
  7. margin-top: 10px;
  8. }
  9. .contentArea {
  10. background-color: #f7f7f7;
  11. width: 1000px;
  12. margin: 0 auto;
  13. box-sizing: border-box;
  14. .tabs {
  15. display: flex;
  16. align-items: center;
  17. width: 100%;
  18. height: 50px;
  19. background: #fff;
  20. padding: 0 13px 0 68px;
  21. border-bottom: 1px solid #f1f1f1;
  22. .tabs-item {
  23. position: relative;
  24. height: 100%;
  25. opacity: 1;
  26. font-size: 16px;
  27. color: #666666;
  28. cursor: pointer;
  29. display: flex;
  30. align-items: center;
  31. justify-content: center;
  32. a {
  33. color: inherit;
  34. height: 100%;
  35. padding-left: 55px;
  36. display: flex;
  37. align-items: center;
  38. }
  39. }
  40. .tabs-item-active {
  41. font-weight: 600;
  42. color: #222222;
  43. &:after {
  44. position: absolute;
  45. content: " ";
  46. bottom: 1px;
  47. width: 22px;
  48. height: 3px;
  49. opacity: 1;
  50. background: #308eff;
  51. border-radius: 2px;
  52. }
  53. }
  54. }
  55. .selectArea {
  56. display: flex;
  57. padding: 39px 45px 45px 10px;
  58. flex-direction: column;
  59. background: #fff;
  60. .selectContent {
  61. margin-top: 30px;
  62. &:first-child {
  63. margin-top: 0;
  64. }
  65. .content {
  66. width: 100%;
  67. display: flex;
  68. justify-content: flex-start;
  69. align-items: center;
  70. position: relative;
  71. .left {
  72. flex-shrink: 0;
  73. width: 90px;
  74. display: flex;
  75. align-items: center;
  76. justify-content: center;
  77. height: 38px;
  78. align-self: flex-start;
  79. p {
  80. text-align: left;
  81. height: 21px;
  82. font-size: 15px;
  83. color: rgba(46, 55, 67, 1);
  84. line-height: 21px;
  85. font-weight: 500;
  86. }
  87. }
  88. .right {
  89. flex-grow: 1;
  90. display: flex;
  91. justify-content: flex-start;
  92. flex-wrap: wrap;
  93. .cell {
  94. width: 88px;
  95. height: 38px;
  96. border-radius: 2px;
  97. border: 1px solid rgba(239, 239, 239, 1);
  98. display: flex;
  99. justify-content: center;
  100. align-items: center;
  101. margin-left: 10px;
  102. cursor: pointer;
  103. &:nth-child(8n+1), &:first-child {
  104. margin-left: 0;
  105. }
  106. &:nth-child(n+9) {
  107. margin-top: 10px;
  108. }
  109. p {
  110. height: 20px;
  111. font-size: 14px;
  112. font-weight: 400;
  113. color: rgba(85, 85, 85, 1);
  114. line-height: 20px;
  115. }
  116. &.selected {
  117. border: 1px solid rgba(48, 142, 255, 1);
  118. p {
  119. color: rgba(48, 142, 255, 1);
  120. font-weight: 500;
  121. height: 21px;
  122. font-size: 15px;
  123. line-height: 21px;
  124. }
  125. }
  126. &.noneClick {
  127. opacity: 0.6;
  128. cursor: not-allowed;
  129. }
  130. }
  131. }
  132. .more {
  133. position: absolute;
  134. right: 0;
  135. top: 0;
  136. line-height: 38px;
  137. color: #999;
  138. cursor: pointer;
  139. }
  140. }
  141. .smallContent {
  142. background-color: #f7f7f7;
  143. min-height: 50px;
  144. width: 750px;
  145. margin-top: 10px;
  146. margin-left: 90px;
  147. border-radius: 8px;
  148. flex-grow: 1;
  149. display: flex;
  150. justify-content: flex-start;
  151. flex-wrap: wrap;
  152. padding: 20px;
  153. .cell {
  154. width: 88px;
  155. height: 38px;
  156. border-radius: 2px;
  157. display: flex;
  158. justify-content: center;
  159. align-items: center;
  160. margin-left: 10px;
  161. cursor: pointer;
  162. //
  163. //&:nth-child(8n+1), &:first-child {
  164. // margin-left: 0;
  165. //}
  166. //&:nth-child(n+9) {
  167. // margin-top: 10px;
  168. //}
  169. p {
  170. height: 20px;
  171. font-size: 14px;
  172. font-weight: 400;
  173. color: rgba(85, 85, 85, 1);
  174. line-height: 20px;
  175. }
  176. &.selected {
  177. background-color: #dcefff;
  178. p {
  179. color: #2994f2;
  180. font-weight: 500;
  181. height: 21px;
  182. font-size: 14px;
  183. line-height: 21px;
  184. white-space: nowrap;
  185. }
  186. }
  187. }
  188. }
  189. }
  190. }
  191. .breadcrumb {
  192. margin-top: 20px;
  193. display: flex;
  194. a, p, h1 {
  195. color: #666;
  196. font-size: 14px;
  197. }
  198. }
  199. .listArea {
  200. //margin-top: 80px;
  201. .sTitle {
  202. height: 25px;
  203. font-size: 18px;
  204. font-weight: 500;
  205. color: rgba(34, 34, 34, 1);
  206. line-height: 25px;
  207. margin-bottom: 14px;
  208. }
  209. .list {
  210. .cell {
  211. background: #FFF;
  212. display: flex;
  213. justify-content: center;
  214. height: 180px;
  215. width: 100%;
  216. margin-top: 10px;
  217. cursor: pointer;
  218. flex-direction: column;
  219. padding: 30px 20px;
  220. .topArea {
  221. width: 100%;
  222. height: 24px;
  223. display: flex;
  224. justify-content: space-between;
  225. align-items: center;
  226. .left {
  227. height:24px;
  228. font-size:17px;
  229. font-weight:500;
  230. color:rgba(34,34,34,1);
  231. line-height:24px;
  232. }
  233. .right {
  234. height:22px;
  235. font-size:19px;
  236. font-weight:bold;
  237. color:rgba(255,51,30,1);
  238. line-height:22px;
  239. }
  240. }
  241. .workDesc {
  242. margin-top: 5px;
  243. flex-shrink: 0;
  244. width: 90%;
  245. min-height: 20px;
  246. max-height: 40px;
  247. line-height: 20px;
  248. font-size:13px;
  249. font-weight:500;
  250. color:rgba(102,102,102,1);
  251. text-align: left;
  252. display: -webkit-box;
  253. overflow: hidden;
  254. text-overflow: ellipsis;
  255. -webkit-box-orient: vertical;
  256. -webkit-line-clamp: 2;
  257. }
  258. .labelList {
  259. margin-top: 5px;
  260. width: 100%;
  261. display: flex;
  262. .label {
  263. margin-left: 10px;
  264. background:rgba(238,238,238,1);
  265. border-radius:1px;
  266. box-sizing: content-box;
  267. padding: 3px 10px;
  268. &:nth-child(1) {
  269. margin-left: 0;
  270. }
  271. p {
  272. height:17px;
  273. font-size:12px;
  274. font-weight:400;
  275. color:rgba(102,102,102,1);
  276. line-height:17px;
  277. }
  278. }
  279. }
  280. .bottomArea {
  281. margin-top: 20px;
  282. width: 100%;
  283. display: flex;
  284. justify-content: space-between;
  285. align-items: center;
  286. .companyInfo {
  287. display: flex;
  288. width: 70%;
  289. justify-content: flex-start;
  290. align-items: center;
  291. .logo {
  292. width:20px;
  293. height:20px;
  294. font-size: 0;
  295. img {
  296. width:20px;
  297. height:20px;
  298. border-radius: 2px;
  299. }
  300. }
  301. .companyName {
  302. margin-left: 7px;
  303. height:18px;
  304. font-size:13px;
  305. font-weight:400;
  306. color:rgba(51,51,51,1);
  307. line-height:18px;
  308. text-align: left;
  309. }
  310. }
  311. .publishTime {
  312. flex-shrink: 0;
  313. height:20px;
  314. font-size:14px;
  315. font-weight:400;
  316. color:rgba(51,51,51,1);
  317. line-height:20px;
  318. }
  319. }
  320. }
  321. .noneData {
  322. min-height: 100px;
  323. display: flex;
  324. justify-content: center;
  325. align-items: center;
  326. p {
  327. text-align: center;
  328. }
  329. }
  330. }
  331. }
  332. }
  333. .pagination {
  334. margin: 50px;
  335. text-align: center;
  336. }
  337. }
  338. .jobListMobile {
  339. width: 100vw;
  340. height: 100vh;
  341. overflow: hidden;
  342. h1 {
  343. font-size: pxtovw(14);
  344. color:#333;
  345. line-height: pxtovw(30);
  346. padding-left: pxtovw(10);
  347. }
  348. a {
  349. display: block;
  350. }
  351. .topSelect {
  352. height: pxtovw(45);
  353. margin-bottom: pxtovw(5);
  354. }
  355. .breadcrumb {
  356. padding: pxtovw(5) pxtovw(10);
  357. display: flex;
  358. align-items: center;
  359. a, p, h1 {
  360. color: #666;
  361. font-size: pxtovw(14);
  362. }
  363. }
  364. .listArea {
  365. height: calc(100vh - 80px);
  366. width: 100%;
  367. overflow-x: hidden;
  368. overflow-y: scroll;
  369. background-color: #f6f5f8;
  370. -webkit-overflow-scrolling: touch;
  371. &.noneInWx {
  372. height: calc(100vh - 80px - 64px);
  373. }
  374. .sTitle {
  375. height: 25px;
  376. font-size: 18px;
  377. font-weight: 500;
  378. color: rgba(34, 34, 34, 1);
  379. line-height: 25px;
  380. margin-bottom: 14px;
  381. }
  382. .list {
  383. .cell {
  384. background: #FFF;
  385. display: flex;
  386. justify-content: center;
  387. min-height: pxtovw(170);
  388. width: 100%;
  389. cursor: pointer;
  390. flex-direction: column;
  391. padding: pxtovw(17) pxtovw(10) pxtovw(7) pxtovw(10);
  392. .topArea {
  393. width: 100%;
  394. height: pxtovw(22);
  395. display: flex;
  396. justify-content: space-between;
  397. align-items: center;
  398. .left {
  399. max-width:pxtovw(231);
  400. height:pxtovw(22);
  401. font-size:pxtovw(16);
  402. font-weight:600;
  403. color:rgba(34,34,34,1);
  404. line-height:pxtovw(22);
  405. overflow: hidden;
  406. text-overflow: ellipsis;
  407. word-break: keep-all;
  408. white-space: nowrap;
  409. }
  410. .right {
  411. height:pxtovw(20);
  412. font-size:pxtovw(17);
  413. font-weight:600;
  414. color:rgba(48,142,255,1);
  415. line-height:pxtovw(20);
  416. }
  417. }
  418. .workDesc {
  419. margin-top: pxtovw(7);
  420. flex-shrink: 0;
  421. height:pxtovw(36);
  422. font-size:pxtovw(13);
  423. font-weight:400;
  424. color:rgba(102,102,102,1);
  425. line-height:pxtovw(18);
  426. display: -webkit-box;
  427. overflow: hidden;
  428. text-overflow: ellipsis;
  429. -webkit-box-orient: vertical;
  430. -webkit-line-clamp: 2;
  431. }
  432. .labelList {
  433. margin-top: pxtovw(11);
  434. width: 100%;
  435. display: flex;
  436. overflow: hidden;
  437. .label {
  438. margin-left: pxtovw(10);
  439. background:rgba(238,238,238,1);
  440. border-radius: pxtovw(1);
  441. box-sizing: content-box;
  442. padding: pxtovw(5) pxtovw(10);
  443. &:nth-child(1) {
  444. margin-left: 0;
  445. }
  446. p {
  447. height:pxtovw(16);
  448. font-size:pxtovw(15);
  449. font-weight:500;
  450. color:rgba(102,102,102,1);
  451. line-height:pxtovw(16);
  452. transform: scale(0.733);
  453. transform-origin: center;
  454. }
  455. }
  456. }
  457. .companyInfo {
  458. margin-top: pxtovw(11);
  459. padding-top: pxtovw(11);
  460. display: flex;
  461. width: 100%;
  462. justify-content: flex-start;
  463. align-items: center;
  464. cursor: pointer;
  465. border-top:pxtovw(1) solid rgba(136,136,136,0.1);;
  466. .logo {
  467. width:pxtovw(18);
  468. height:pxtovw(18);
  469. font-size: 0;
  470. img {
  471. width:pxtovw(18);
  472. height:pxtovw(18);
  473. border-radius: pxtovw(2);
  474. }
  475. }
  476. .companyName {
  477. margin-left: pxtovw(7);
  478. height:pxtovw(16);
  479. font-size:pxtovw(11);
  480. font-weight:400;
  481. color:rgba(102,102,102,1);
  482. line-height:pxtovw(16);
  483. }
  484. }
  485. }
  486. .noneData {
  487. min-height: pxtovw(100);
  488. display: flex;
  489. justify-content: center;
  490. align-items: center;
  491. p {
  492. text-align: center;
  493. }
  494. }
  495. }
  496. }
  497. }
  498. .main {
  499. margin-top: 0 !important;
  500. &.isMobile {
  501. width: 100vw;
  502. }
  503. }