index.scss 12 KB

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