index.module.scss 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. .scenes {
  2. width: 100%;
  3. height: 100%;
  4. display: flex;
  5. flex-direction: column;
  6. align-items: center;
  7. background: url('../../../../assets/img/sceneBg.png') no-repeat;
  8. background-size: 100% 100%;
  9. :global {
  10. .top {
  11. width: 100%;
  12. height: 150px;
  13. display: flex;
  14. align-items: center;
  15. justify-content: center;
  16. position: relative;
  17. .logo {
  18. position: absolute;
  19. left: 50%;
  20. transform: translateX(-130%);
  21. width: 109px;
  22. height: 87px;
  23. & > img {
  24. width: 100%;
  25. height: 100%;
  26. }
  27. }
  28. .title {
  29. font-weight: 600;
  30. font-size: 30px;
  31. color: #9d0800;
  32. letter-spacing: 5px;
  33. }
  34. .tab {
  35. position: absolute;
  36. right: 100px;
  37. bottom: 35px;
  38. font-size: 16px;
  39. color: #330200;
  40. width: 250px;
  41. display: flex;
  42. align-items: center;
  43. gap: 10px;
  44. .tabItem {
  45. margin-right: 20px;
  46. font-weight: 500;
  47. cursor: pointer;
  48. }
  49. .active {
  50. font-weight: 600;
  51. color: #9d0800;
  52. border-bottom: 1px solid #9d0800;
  53. }
  54. }
  55. }
  56. .content {
  57. height: 0;
  58. flex: 1;
  59. width: 100%;
  60. padding: 0 130px 50px 130px;
  61. display: flex;
  62. align-items: center;
  63. justify-content: center;
  64. flex-wrap: wrap;
  65. gap: 20px;
  66. align-content: flex-start;
  67. .sceneCard {
  68. width: 23.5%;
  69. height: 32%;
  70. background-color: #fff;
  71. border-radius: 10px;
  72. cursor: pointer;
  73. .pic {
  74. width: 100%;
  75. height: 85%;
  76. border-radius: 10px 10px 0 0;
  77. & > img {
  78. width: 100%;
  79. height: 100%;
  80. object-fit: cover;
  81. }
  82. }
  83. .text {
  84. width: 100%;
  85. height: 15%;
  86. color: #666666;
  87. display: flex;
  88. align-items: center;
  89. margin-left: 10px;
  90. }
  91. }
  92. }
  93. }
  94. }
  95. @media (max-width: 768px) {
  96. .scenes {
  97. width: 100%;
  98. height: 100%;
  99. display: flex;
  100. flex-direction: column;
  101. align-items: center;
  102. background: url('../../../../assets/img/base_M.png') no-repeat;
  103. background-size: 100% 100%;
  104. :global {
  105. .top {
  106. justify-content: flex-start;
  107. .logo {
  108. transform: none;
  109. }
  110. .tab {
  111. position: absolute;
  112. right: 0px;
  113. bottom: 35px;
  114. font-size: 14px;
  115. color: #330200;
  116. width: 250px;
  117. display: flex;
  118. align-items: center;
  119. gap: 0px;
  120. .tabItem {
  121. margin-right: 20px;
  122. font-weight: 500;
  123. cursor: pointer;
  124. }
  125. .active {
  126. font-weight: 600;
  127. color: #9d0800;
  128. border-bottom: 1px solid #9d0800;
  129. }
  130. }
  131. }
  132. .content {
  133. height: 0;
  134. flex: 1;
  135. width: 100%;
  136. padding: 10px 0;
  137. margin-top: 105px;
  138. display: flex;
  139. align-items: center;
  140. justify-content: center;
  141. flex-wrap: wrap;
  142. gap: 10px;
  143. overflow: auto;
  144. .sceneCard {
  145. width: 46%;
  146. height: 21%;
  147. background-color: #fff;
  148. border-radius: 10px;
  149. cursor: pointer;
  150. .pic {
  151. width: 100%;
  152. height: 85%;
  153. border-radius: 10px 10px 0 0;
  154. & > img {
  155. width: 100%;
  156. height: 100%;
  157. object-fit: cover;
  158. }
  159. }
  160. .text {
  161. width: 100%;
  162. height: 15%;
  163. color: #666666;
  164. display: flex;
  165. align-items: center;
  166. margin-left: 10px;
  167. font-size: 12px;
  168. }
  169. }
  170. }
  171. }
  172. }
  173. }