index.scss 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715
  1. .developer-container {
  2. width: 1100px;
  3. margin-left: auto;
  4. margin-right: auto;
  5. overflow: hidden;
  6. }
  7. .block {
  8. padding: 24px;
  9. background: #fff;
  10. border-radius: 8px;
  11. margin-bottom: 20px;
  12. }
  13. .title {
  14. font-size: 20px;
  15. font-family: PingFangSC-Medium, PingFang SC;
  16. font-weight: 500;
  17. color: #0b121a;
  18. line-height: 28px;
  19. }
  20. .tips {
  21. margin-top: 2px;
  22. font-size: 14px;
  23. font-family: PingFangSC-Regular, PingFang SC;
  24. font-weight: 400;
  25. color: #828c99;
  26. line-height: 21px;
  27. }
  28. .developer-left {
  29. float: left;
  30. width: 730px;
  31. }
  32. .developer-right {
  33. float: right;
  34. width: 350px;
  35. }
  36. // 接单流程
  37. .developer-process-list {
  38. margin-top: 24px;
  39. display: flex;
  40. justify-content: space-between;
  41. }
  42. .developer-process-item {
  43. width: 139px;
  44. flex: 1;
  45. &:nth-last-child(1) {
  46. flex: 0;
  47. }
  48. &.cur {
  49. .developer-process-step {
  50. background-color: #288bff;
  51. color: #fff;
  52. }
  53. .developer-process-step-icon {
  54. background-image: url("~@/assets/img/developer/process1.png") !important;
  55. }
  56. }
  57. }
  58. .developer-process-step {
  59. width: 139px;
  60. height: 42px;
  61. display: flex;
  62. align-items: center;
  63. justify-content: center;
  64. border-radius: 8px;
  65. font-size: 16px;
  66. font-family: PingFangSC-Regular, PingFang SC;
  67. font-weight: 400;
  68. border: 1px solid #ced3d9;
  69. background: #ffffff;
  70. color: #0b121a;
  71. &.line {
  72. position: relative;
  73. &::after {
  74. position: absolute;
  75. right: 0;
  76. top: 50%;
  77. transform: translate(100%, -50%);
  78. content: "";
  79. width: 43px;
  80. height: 1px;
  81. // border-top: 1px solid #ced3d9;
  82. background-color: #ced3d9;
  83. }
  84. }
  85. }
  86. .developer-process-tips {
  87. margin-top: 12px;
  88. width: 139px;
  89. text-align: center;
  90. font-size: 13px;
  91. font-family: PingFangSC-Regular, PingFang SC;
  92. font-weight: 400;
  93. color: #828c99;
  94. line-height: 18px;
  95. }
  96. .developer-process-step-icon {
  97. width: 20px;
  98. height: 20px;
  99. background-position: 50% 50%;
  100. background-repeat: no-repeat;
  101. background-size: cover;
  102. margin-right: 8px;
  103. }
  104. @for $i from 1 through 4 {
  105. .developer-process-step-icon.icon-#{$i} {
  106. background-image: url("~@/assets/img/developer/process#{$i}.png");
  107. }
  108. }
  109. // 新人接单
  110. .developer-order-list {
  111. font-size: 0;
  112. }
  113. .developer-order-item {
  114. width: 333px;
  115. height: 116px;
  116. background: #ffffff;
  117. border-radius: 16px;
  118. border: 1px solid #ebeced;
  119. box-sizing: border-box;
  120. padding: 16px 16px 0;
  121. float: left;
  122. box-sizing: border-box;
  123. margin-top: 16px;
  124. &:nth-child(2n + 1) {
  125. margin-right: 16px;
  126. }
  127. }
  128. .developer-order-list {
  129. overflow: hidden;
  130. }
  131. .developer-order-title-area {
  132. display: flex;
  133. align-items: center;
  134. }
  135. .developer-order-tips {
  136. margin-top: 8px;
  137. font-size: 14px;
  138. font-family: PingFangSC-Regular, PingFang SC;
  139. font-weight: 400;
  140. color: #4b5d73;
  141. line-height: 20px;
  142. }
  143. .developer-order-icon {
  144. width: 32px;
  145. height: 32px;
  146. margin-right: 10px;
  147. background-position: 50% 50%;
  148. background-repeat: no-repeat;
  149. background-size: cover;
  150. }
  151. @for $i from 1 through 5 {
  152. .developer-order-icon.icon-#{$i} {
  153. background-image: url("~@/assets/img/developer/order-#{$i}.png");
  154. }
  155. }
  156. .developer-order-title {
  157. font-size: 16px;
  158. font-family: PingFangSC-Medium, PingFang SC;
  159. font-weight: 500;
  160. color: #0b121a;
  161. line-height: 22px;
  162. margin-right: 16px;
  163. }
  164. .developer-order-link {
  165. font-size: 14px;
  166. font-family: PingFangSC-Regular, PingFang SC;
  167. font-weight: 400;
  168. color: #308eff;
  169. line-height: 20px;
  170. }
  171. // 热门课程
  172. .developer-hot {
  173. overflow: hidden;
  174. }
  175. .developer-hot-class {
  176. float: left;
  177. width: 288px;
  178. // height:100px;
  179. // background-color: #f00
  180. }
  181. .developer-hot-resource {
  182. float: left;
  183. width: 288px;
  184. margin-left: 71px;
  185. // background-color: #f00;
  186. // height:100px;
  187. }
  188. .developer-hot-list {
  189. margin-top: 20px;
  190. height: 160px;
  191. }
  192. .developer-hot-item {
  193. margin-bottom: 12px;
  194. font-size: 16px;
  195. font-family: PingFangSC-Regular, PingFang SC;
  196. font-weight: 400;
  197. color: #0b121a;
  198. line-height: 22px;
  199. padding-left: 21px;
  200. position: relative;
  201. a {
  202. color: #0b121a;
  203. }
  204. &:nth-last-child(1) {
  205. margin-bottom: 0;
  206. }
  207. &:nth-child(1) {
  208. .index {
  209. background: #ff4e33;
  210. border-radius: 2px;
  211. color: #fff;
  212. font-size: 12px;
  213. }
  214. }
  215. &:nth-child(2) {
  216. .index {
  217. background: #ff4e33;
  218. border-radius: 2px;
  219. color: #fff;
  220. font-size: 12px;
  221. }
  222. }
  223. &:nth-child(3) {
  224. .index {
  225. background: #ff4e33;
  226. border-radius: 2px;
  227. color: #fff;
  228. font-size: 12px;
  229. }
  230. }
  231. .index {
  232. position: absolute;
  233. line-height: 1;
  234. left: 0;
  235. top: 50%;
  236. transform: translateY(-50%);
  237. width: 16px;
  238. height: 16px;
  239. font-size: 16px;
  240. font-weight: 600;
  241. color: #4a5d74;
  242. display: flex;
  243. align-items: center;
  244. justify-content: center;
  245. }
  246. }
  247. .developer-workbench-user {
  248. display: flex;
  249. }
  250. .developer-user-avatar {
  251. width: 48px;
  252. height: 48px;
  253. margin-right: 6px;
  254. img {
  255. width: 48px;
  256. height: 48px;
  257. border-radius: 100%;
  258. overflow: hidden;
  259. }
  260. }
  261. .developer-user-info {
  262. flex: 1;
  263. display: flex;
  264. flex-direction: column;
  265. justify-content: space-around;
  266. }
  267. .developer-user-name {
  268. font-size: 16px;
  269. font-family: PingFangSC-Medium, PingFang SC;
  270. font-weight: 500;
  271. color: #0b121a;
  272. line-height: 22px;
  273. }
  274. .developer-user-level {
  275. font-size: 14px;
  276. font-family: PingFangSC-Regular, PingFang SC;
  277. font-weight: 400;
  278. color: #828c99;
  279. line-height: 20px;
  280. }
  281. .user-title {
  282. margin-top: 30px;
  283. font-size: 16px;
  284. font-family: PingFangSC-Medium, PingFang SC;
  285. font-weight: 500;
  286. color: #0b121a;
  287. line-height: 22px;
  288. }
  289. .developer-work-list {
  290. margin-top: 16px;
  291. display: flex;
  292. justify-content: space-between;
  293. }
  294. .developer-work-item {
  295. width: 40px;
  296. text-align: center;
  297. cursor: pointer;
  298. }
  299. .developer-work-count {
  300. font-size: 16px;
  301. font-family: PingFangSC-Medium, PingFang SC;
  302. font-weight: 500;
  303. color: #0b121a;
  304. line-height: 22px;
  305. }
  306. .developer-work-tips {
  307. font-size: 13px;
  308. font-family: PingFangSC-Regular, PingFang SC;
  309. font-weight: 400;
  310. color: #828c99;
  311. line-height: 18px;
  312. }
  313. .developer-setting-area {
  314. margin-top: 36px;
  315. display: flex;
  316. position: relative;
  317. }
  318. .developer-setting-item {
  319. flex: 1;
  320. width: 50%;
  321. display: flex;
  322. align-items: center;
  323. justify-content: center;
  324. cursor: pointer;
  325. }
  326. .developer-setting-icon {
  327. width: 22px;
  328. height: 22px;
  329. margin-right: 5px;
  330. background-repeat: no-repeat;
  331. background-position: 50% 50%;
  332. background-size: 100% auto;
  333. }
  334. .setting-icon {
  335. background-image: url("~@/assets/img/developer/setting.png");
  336. }
  337. .ping-icon {
  338. background-image: url("~@/assets/img/developer/ping.png");
  339. }
  340. .developer-setting-tips {
  341. font-size: 14px;
  342. font-family: PingFangSC-Regular, PingFang SC;
  343. font-weight: 400;
  344. color: #0b111a;
  345. line-height: 21px;
  346. }
  347. .developer-setting-line {
  348. position: absolute;
  349. left: 50%;
  350. top: 50%;
  351. transform: translate(-50%, -50%);
  352. width: 1px;
  353. height: 12px;
  354. background: #aeb6ca;
  355. // border: 1px solid #AEB6CA;
  356. }
  357. .developer-reward-title {
  358. display: flex;
  359. justify-content: space-between;
  360. align-items: center;
  361. p {
  362. font-size: 14px;
  363. font-family: PingFangSC-Regular, PingFang SC;
  364. font-weight: 400;
  365. color: #828c99;
  366. line-height: 20px;
  367. }
  368. }
  369. .developer-reward-show-setting {
  370. width: 20px;
  371. height: 20px;
  372. // border: 1px solid #aeb6ca;
  373. background-position: 50% 50%;
  374. background-repeat: no-repeat;
  375. background-size: 100% auto;
  376. cursor: pointer;
  377. &.show {
  378. background-image: url("~@/assets/img/developer/show.png");
  379. }
  380. &.hide {
  381. background-image: url("~@/assets/img/developer/hide.png");
  382. }
  383. }
  384. .developer-reward-count {
  385. margin-top: 8px;
  386. font-size: 20px;
  387. font-family: PingFangSC-Medium, PingFang SC;
  388. font-weight: 500;
  389. color: #0b121a;
  390. line-height: 28px;
  391. }
  392. .developer-reward-detail {
  393. margin-top: 22px;
  394. overflow: hidden;
  395. }
  396. .developer-reward-item {
  397. width: 50%;
  398. float: left;
  399. font-size: 13px;
  400. font-family: PingFangSC-Regular, PingFang SC;
  401. font-weight: 400;
  402. color: #828c99;
  403. line-height: 18px;
  404. margin-bottom: 10px;
  405. span {
  406. margin-left: 6px;
  407. font-size: 16px;
  408. font-family: PingFangSC-Regular, PingFang SC;
  409. font-weight: 400;
  410. color: #0b121a;
  411. line-height: 22px;
  412. }
  413. }
  414. .developer-skill.block {
  415. padding: 0;
  416. display: flex;
  417. flex-wrap: wrap;
  418. }
  419. .developer-skill-item {
  420. width: 175px;
  421. height: 55px;
  422. box-sizing: border-box;
  423. display: flex;
  424. align-items: center;
  425. justify-content: center;
  426. font-size: 16px;
  427. font-family: PingFangSC-Regular, PingFang SC;
  428. font-weight: 400;
  429. color: #0b121a;
  430. cursor: pointer;
  431. &:nth-child(2n + 1) {
  432. border-right: 1px solid #ebeced;
  433. }
  434. &:nth-last-child(n + 3) {
  435. border-bottom: 1px solid #ebeced;
  436. }
  437. &:hover {
  438. color: #288bff;
  439. }
  440. }
  441. .developer-skill-icon {
  442. width: 18px;
  443. height: 18px;
  444. margin-right: 6px;
  445. }
  446. @for $i from 1 through 4 {
  447. .developer-skill-item {
  448. .icon#{$i} {
  449. background-image: url("~@/assets/img/developer/sk_icno_#{$i}.png");
  450. }
  451. &:hover {
  452. .icon#{$i} {
  453. background-image: url("~@/assets/img/developer/sk_icno_#{$i}_hover.png");
  454. }
  455. }
  456. }
  457. }
  458. .developer-tab {
  459. background-color: #fff;
  460. border-radius: 8px;
  461. }
  462. .developer-tab-title-list {
  463. display: flex;
  464. position: relative;
  465. border-bottom: 1px solid #ebeced;
  466. }
  467. .developer-tab-title-item {
  468. width: 122px;
  469. height: 62px;
  470. flex: 1;
  471. display: flex;
  472. justify-content: center;
  473. align-items: center;
  474. font-size: 16px;
  475. font-family: PingFangSC-Regular, PingFang SC;
  476. font-weight: 400;
  477. color: #4b5d73;
  478. cursor: pointer;
  479. &.cur {
  480. font-size: 16px;
  481. font-family: PingFangSC-Medium, PingFang SC;
  482. font-weight: 500;
  483. color: #0b121a;
  484. }
  485. }
  486. .developer-tab-title-line {
  487. position: absolute;
  488. left: 0;
  489. bottom: 0;
  490. width: 24px;
  491. height: 4px;
  492. background: #308eff;
  493. border-radius: 3px;
  494. }
  495. .developer-tab-main {
  496. padding: 24px 0;
  497. }
  498. .developer-tab-tips {
  499. margin-left: 24px;
  500. padding-left: 24px;
  501. font-size: 14px;
  502. font-family: PingFangSC-Regular, PingFang SC;
  503. font-weight: 400;
  504. color: #828c99;
  505. background: url("~@/assets/img/developer/notice.png") no-repeat left 50%;
  506. }
  507. .developer-dynamic-list {
  508. overflow: hidden;
  509. margin-top: 24px;
  510. padding-left: 24px;
  511. padding-right: 24px;
  512. }
  513. .developer-dynamic-item {
  514. margin-bottom: 41px;
  515. border-bottom: 1px solid #ebeced;
  516. &:nth-last-child(1){
  517. border-bottom: none;
  518. }
  519. }
  520. .dynamic-user {
  521. display: flex;
  522. position: relative;
  523. // left: -50px;
  524. }
  525. .dynamic-user-avatar {
  526. width: 40px;
  527. height: 40px;
  528. font-size: 0;
  529. margin-right: 10px;
  530. img {
  531. width: 40px;
  532. height: 40px;
  533. overflow: hidden;
  534. border-radius: 100%;
  535. }
  536. }
  537. .dynamic-user-info {
  538. flex: 1;
  539. display: flex;
  540. flex-direction: column;
  541. }
  542. .dynamic-user-nickname {
  543. font-size: 14px;
  544. font-family: PingFangSC-Medium, PingFang SC;
  545. font-weight: 500;
  546. color: #0b121a;
  547. line-height: 20px;
  548. vertical-align: baseline;
  549. }
  550. .dynamic-level {
  551. display: inline-block;
  552. margin-left: 8px;
  553. // width: 26px;
  554. padding:0 6px;
  555. height: 14px;
  556. background: #4b5d73;
  557. border-radius: 9px;
  558. text-align: center;
  559. line-height: 16px;
  560. font-size: 10px;
  561. font-family: PingFangSC-Medium, PingFang SC;
  562. font-weight: 500;
  563. color: #ffffff;
  564. }
  565. .dynamic-job {
  566. font-size: 12px;
  567. font-family: PingFangSC-Regular, PingFang SC;
  568. font-weight: 400;
  569. color: #828c99;
  570. line-height: 17px;
  571. margin-top: 3px;
  572. }
  573. .dynamic-margin {
  574. margin-left: 50px;
  575. margin-right: 24px;
  576. }
  577. .dynamic-title {
  578. margin-top: 12px;
  579. font-size: 14px;
  580. font-family: PingFangSC-Regular, PingFang SC;
  581. font-weight: 400;
  582. color: #0b111a;
  583. line-height: 21px;
  584. }
  585. .dynamic-type-list {
  586. margin-top: 10px;
  587. }
  588. .dynamic-type-item {
  589. display: inline-block;
  590. padding: 0 10px;
  591. height: 23px;
  592. background: #ebf4ff;
  593. border-radius: 12px;
  594. line-height: 23px;
  595. font-size: 12px;
  596. font-family: PingFangSC-Regular, PingFang SC;
  597. font-weight: 400;
  598. color: #288bff;
  599. }
  600. .dynamic-img-area {
  601. margin-top: 16px;
  602. overflow: hidden;
  603. }
  604. .dynamic-img-item {
  605. float: left;
  606. margin-right: 10px;
  607. width: 90px;
  608. height: 90px;
  609. margin-bottom: 10px;
  610. }
  611. .dynamic-link-area {
  612. display: flex;
  613. height: 50px;
  614. background: #f7f8fa;
  615. align-items: center;
  616. margin-top: 10px;
  617. }
  618. .dynamic-link-img-area {
  619. width: 34px;
  620. height: 34px;
  621. margin-left: 8px;
  622. margin-right: 8px;
  623. }
  624. .dynamic-link-content {
  625. a {
  626. font-size: 14px;
  627. font-family: PingFangSC-Regular, PingFang SC;
  628. font-weight: 400;
  629. color: #0b111a;
  630. line-height: 21px;
  631. }
  632. }
  633. .dynamic-control {
  634. margin-top: 16px;
  635. margin-bottom: 16px;
  636. display: flex;
  637. align-items: center;
  638. }
  639. .dynamic-control-item {
  640. width: 30%;
  641. flex: 1;
  642. display: flex;
  643. align-items: center;
  644. justify-content: center;
  645. font-size: 14px;
  646. font-family: PingFangSC-Regular, PingFang SC;
  647. font-weight: 400;
  648. color: #333333;
  649. line-height: 20px;
  650. }