index.scss 3.1 KB

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