index.scss 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. .chapter2 {
  2. &__head,
  3. &__foot {
  4. width: 100%;
  5. display: block;
  6. }
  7. &-main {
  8. position: relative;
  9. height: calc(160px + 300px + 1130px);
  10. &::before {
  11. content: "";
  12. position: absolute;
  13. top: 0;
  14. right: 0;
  15. width: 951px;
  16. height: 52px;
  17. background: #c8cfd4;
  18. }
  19. }
  20. &__img1 {
  21. position: absolute;
  22. top: 125px;
  23. left: 179px;
  24. width: 728px;
  25. height: 319px;
  26. }
  27. &__content1 {
  28. position: absolute;
  29. top: 146px;
  30. left: 965px;
  31. width: 326px;
  32. }
  33. &-card {
  34. position: absolute;
  35. top: 121px;
  36. right: 139px;
  37. width: 400px;
  38. cursor: pointer;
  39. img {
  40. display: block;
  41. width: 326px;
  42. height: 594px;
  43. }
  44. &__title {
  45. position: relative;
  46. margin-top: 20px;
  47. text-indent: 0;
  48. span {
  49. font-size: 34px;
  50. }
  51. &::before {
  52. content: "";
  53. position: absolute;
  54. top: 10px;
  55. left: -42px;
  56. width: 33px;
  57. height: 33px;
  58. background: url("@/assets/images/14-min.png") no-repeat center / contain;
  59. }
  60. }
  61. &__content {
  62. margin-top: 10px;
  63. font-size: 20px;
  64. color: #7d7d7d;
  65. line-height: 34px;
  66. }
  67. }
  68. &-card2 {
  69. position: absolute;
  70. top: 577px;
  71. left: 207px;
  72. display: flex;
  73. align-items: flex-end;
  74. gap: 90px;
  75. text-indent: 0;
  76. cursor: pointer;
  77. img {
  78. width: 456px;
  79. height: 372px;
  80. }
  81. &__title {
  82. position: relative;
  83. span {
  84. font-size: 34px;
  85. }
  86. &::before {
  87. content: "";
  88. position: absolute;
  89. top: 10px;
  90. left: -42px;
  91. width: 33px;
  92. height: 33px;
  93. background: url("@/assets/images/14-min.png") no-repeat center / contain;
  94. }
  95. }
  96. &__content {
  97. font-size: 20px;
  98. color: #7d7d7d;
  99. line-height: 34px;
  100. }
  101. }
  102. &-list {
  103. position: absolute;
  104. top: 1134px;
  105. left: 50%;
  106. display: flex;
  107. align-items: center;
  108. gap: 40px;
  109. transform: translateX(-50%);
  110. > div {
  111. width: 331px;
  112. height: 229px;
  113. background: url("@/assets/images/20-min.png") no-repeat center / contain;
  114. }
  115. }
  116. }