index.scss 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. .chapter4 {
  2. position: relative;
  3. height: 1970px;
  4. overflow: hidden;
  5. &__line {
  6. margin: 6px auto 0;
  7. display: block;
  8. width: 1741px;
  9. height: 180px;
  10. }
  11. .chapter {
  12. position: absolute;
  13. top: 225px;
  14. left: 50%;
  15. width: 147px;
  16. height: 167px;
  17. transform: translateX(-50%);
  18. }
  19. &__title {
  20. position: absolute;
  21. top: 538px;
  22. right: 164px;
  23. width: 301px;
  24. height: 324px;
  25. }
  26. &__bg1 {
  27. position: absolute;
  28. top: 501px;
  29. left: 0;
  30. width: 606px;
  31. height: 1144px;
  32. }
  33. &__content {
  34. position: absolute;
  35. top: 584px;
  36. left: 548px;
  37. width: 808px;
  38. }
  39. &__content2 {
  40. position: absolute;
  41. top: 921px;
  42. left: 518px;
  43. width: 1131px;
  44. font-size: 20px;
  45. line-height: 44px;
  46. }
  47. &__img1 {
  48. position: absolute;
  49. top: 1105px;
  50. left: 534px;
  51. width: 458px;
  52. height: 340px;
  53. }
  54. &__content3 {
  55. position: absolute;
  56. right: 279px;
  57. bottom: 458px;
  58. line-height: 42px;
  59. text-indent: 0;
  60. img {
  61. display: block;
  62. width: 569px;
  63. height: 332px;
  64. }
  65. p {
  66. font-size: 21px;
  67. letter-spacing: 2px;
  68. &.first {
  69. position: relative;
  70. padding-left: 50px;
  71. &::before {
  72. content: "";
  73. position: absolute;
  74. top: 50%;
  75. left: 16px;
  76. width: 26px;
  77. height: 22px;
  78. background: url("./images/icon-min.png") no-repeat center / contain;
  79. transform: translateY(-50%);
  80. }
  81. }
  82. &.last {
  83. padding-left: 190px;
  84. }
  85. }
  86. span {
  87. font-size: 34px;
  88. }
  89. }
  90. &-list {
  91. position: absolute;
  92. right: 320px;
  93. bottom: 104px;
  94. display: flex;
  95. align-items: center;
  96. gap: 65px;
  97. > div {
  98. position: relative;
  99. width: 208px;
  100. height: 322px;
  101. background: url("./images/4-min.png") no-repeat center / contain;
  102. img {
  103. position: absolute;
  104. top: 50%;
  105. left: 50%;
  106. transform: translate(-50%, -50%);
  107. cursor: pointer;
  108. }
  109. &:nth-child(1) img {
  110. width: 220px;
  111. height: 220px;
  112. }
  113. &:nth-child(2) img {
  114. width: 279px;
  115. height: 116px;
  116. }
  117. &:nth-child(3) img {
  118. width: 223px;
  119. height: 191px;
  120. }
  121. &:nth-child(4) img {
  122. width: 201px;
  123. height: 175px;
  124. }
  125. }
  126. }
  127. .more-btn {
  128. position: absolute;
  129. right: 320px;
  130. bottom: 21px;
  131. }
  132. }