index.scss 13 KB

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