index.scss 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. #index {
  2. color: #d3d6dd;
  3. width: 1920px;
  4. height: 1080px;
  5. // position: absolute;
  6. // top: 50%;
  7. // left: 50%;
  8. // transform: translate(-50%, -50%);
  9. transform-origin: left top;
  10. .bg {
  11. width: 100%;
  12. height: 100%;
  13. padding: 16px 16px 0 16px;
  14. background-image: url('../../assets/pageBg.png');
  15. background-size: cover;
  16. background-position: center center;
  17. }
  18. .host-body {
  19. .dv-dec-10,
  20. .dv-dec-10-s {
  21. width: 33.3%;
  22. height: 5px;
  23. }
  24. .dv-dec-10-s {
  25. transform: rotateY(180deg);
  26. }
  27. .dv-dec-8 {
  28. width: 200px;
  29. height: 50px;
  30. }
  31. .title {
  32. position: relative;
  33. width: 500px;
  34. text-align: center;
  35. background-size: cover;
  36. background-repeat: no-repeat;
  37. .title-text {
  38. font-size: 24px;
  39. position: absolute;
  40. bottom: 0;
  41. left: 50%;
  42. transform: translate(-50%);
  43. }
  44. .dv-dec-6 {
  45. position: absolute;
  46. bottom: -30px;
  47. left: 50%;
  48. width: 250px;
  49. height: 8px;
  50. transform: translate(-50%);
  51. }
  52. }
  53. // 第二行
  54. .aside-width {
  55. width: 40%;
  56. }
  57. .react-r-s,
  58. .react-l-s {
  59. background-color: #0f1325;
  60. }
  61. // 平行四边形
  62. .react-right {
  63. &.react-l-s {
  64. text-align: right;
  65. width: 500px;
  66. }
  67. cursor: pointer;
  68. font-size: 18px;
  69. width: 300px;
  70. line-height: 50px;
  71. text-align: center;
  72. transform: skewX(-45deg);
  73. .react-after {
  74. position: absolute;
  75. right: -25px;
  76. top: 0;
  77. height: 50px;
  78. width: 50px;
  79. background-color: #0f1325;
  80. transform: skewX(45deg);
  81. }
  82. .text {
  83. display: inline-block;
  84. transform: skewX(45deg);
  85. }
  86. }
  87. .react-left {
  88. &.react-l-s {
  89. width: 500px;
  90. text-align: left;
  91. }
  92. cursor: pointer;
  93. font-size: 18px;
  94. width: 300px;
  95. height: 50px;
  96. line-height: 50px;
  97. text-align: center;
  98. transform: skewX(45deg);
  99. background-color: #0f1325;
  100. .react-before {
  101. position: absolute;
  102. left: -25px;
  103. top: 0;
  104. height: 50px;
  105. width: 50px;
  106. background-color: #0f1325;
  107. transform: skewX(-45deg);
  108. }
  109. .text {
  110. display: inline-block;
  111. transform: skewX(-45deg);
  112. }
  113. }
  114. .body-box {
  115. margin-top: 16px;
  116. display: flex;
  117. flex-direction: column;
  118. //下方区域的布局
  119. .content-box {
  120. display: grid;
  121. grid-template-columns: 2fr 3fr 5fr 3fr 2fr;
  122. }
  123. // 底部数据
  124. .bototm-box {
  125. margin-top: 10px;
  126. display: grid;
  127. grid-template-columns: repeat(2, 50%);
  128. }
  129. }
  130. }
  131. }