index.module.scss 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235
  1. .A2layout {
  2. position: fixed;
  3. width: 100%;
  4. height: 100%;
  5. display: flex;
  6. align-items: center;
  7. :global {
  8. .main {
  9. width: 0;
  10. flex: 1;
  11. height: 100%;
  12. background-color: #f5f5f5;
  13. position: relative;
  14. .video-container {
  15. video {
  16. width: 100%;
  17. height: 100%;
  18. object-fit: cover;
  19. }
  20. .mask {
  21. position: absolute;
  22. top: 0;
  23. width: 100%;
  24. height: 100%;
  25. backdrop-filter: blur(5px);
  26. display: flex;
  27. align-items: center;
  28. justify-content: center;
  29. & > img {
  30. width: 100px;
  31. height: 100px;
  32. cursor: pointer;
  33. }
  34. }
  35. .top {
  36. display: none;
  37. }
  38. .back {
  39. display: none;
  40. }
  41. }
  42. }
  43. .sider {
  44. width: 200px;
  45. height: 100%;
  46. background: url('../../assets/img/siderBg.png') repeat 100% 100%;
  47. display: flex;
  48. flex-direction: column;
  49. align-items: center;
  50. justify-content: center;
  51. gap: 50px;
  52. padding-top: 50px;
  53. .logo {
  54. position: absolute;
  55. top: 50px;
  56. }
  57. .videoIntro,
  58. .scenes,
  59. .look {
  60. display: flex;
  61. flex-direction: column;
  62. align-items: center;
  63. justify-content: center;
  64. gap: 16px;
  65. cursor: pointer;
  66. & > img {
  67. width: 120px;
  68. object-fit: contain;
  69. }
  70. .text {
  71. font-weight: 500;
  72. font-size: 18px;
  73. color: #330200;
  74. line-height: 20px;
  75. text-align: center;
  76. width: 100%;
  77. height: 30px;
  78. }
  79. }
  80. .active {
  81. .text {
  82. font-weight: bold;
  83. color: #fffddc;
  84. text-shadow:
  85. -20px -6px 30px rgb(234, 255, 176),
  86. 20px -6px 30px rgb(234, 255, 176),
  87. -20px 6px 30px rgb(234, 255, 176),
  88. 20px 6px 30px rgb(234, 255, 176);
  89. }
  90. }
  91. }
  92. }
  93. }
  94. @media (max-width: 768px) {
  95. .A2layout {
  96. position: fixed;
  97. width: 100%;
  98. height: 100%;
  99. display: flex;
  100. align-items: center;
  101. flex-direction: column;
  102. :global {
  103. .main {
  104. width: 100%;
  105. height: 0;
  106. flex: 1;
  107. background-color: #f5f5f5;
  108. position: relative;
  109. .video-container {
  110. width: 100%;
  111. height: 100%;
  112. background: url('../../assets/img/base_M.png') no-repeat;
  113. background-size: 100% 100%;
  114. position: relative;
  115. .top {
  116. display: flex;
  117. }
  118. .back {
  119. display: flex;
  120. }
  121. video {
  122. width: 100%;
  123. height: 100%;
  124. object-fit: contain;
  125. }
  126. .mask {
  127. position: absolute;
  128. top: 0;
  129. width: 100%;
  130. height: 100%;
  131. backdrop-filter: blur(1px);
  132. display: flex;
  133. align-items: center;
  134. justify-content: center;
  135. & > img {
  136. width: 40px;
  137. height: 40px;
  138. cursor: pointer;
  139. }
  140. }
  141. }
  142. .top {
  143. width: 100%;
  144. height: 100px;
  145. display: flex;
  146. align-items: center;
  147. position: absolute;
  148. top: 0;
  149. left: 70px;
  150. .logo {
  151. position: absolute;
  152. left: -55px;
  153. width: 90px;
  154. height: 70px;
  155. & > img {
  156. width: 100%;
  157. height: 100%;
  158. }
  159. }
  160. .title {
  161. font-weight: 600;
  162. font-size: 22px;
  163. color: #9d0800;
  164. letter-spacing: 5px;
  165. }
  166. }
  167. .back {
  168. position: absolute;
  169. top: 20px;
  170. right: 20px;
  171. width: 40px;
  172. height: 40px;
  173. line-height: 40px;
  174. text-align: center;
  175. color: #fffddc;
  176. & > img {
  177. width: 40px;
  178. height: 40px;
  179. object-fit: contain;
  180. }
  181. }
  182. }
  183. .sider {
  184. width: 100%;
  185. height: 80px;
  186. background: url('../../assets/img/siderBg_M.png') repeat 100% 100%;
  187. display: flex;
  188. align-items: center;
  189. justify-content: center;
  190. flex-direction: row;
  191. gap: 10px;
  192. padding: 0 20px;
  193. .logo {
  194. display: none;
  195. }
  196. .videoIntro,
  197. .scenes,
  198. .look {
  199. width: 100%;
  200. height: 100%;
  201. display: flex;
  202. align-items: center;
  203. justify-content: center;
  204. gap: 3px;
  205. & > img {
  206. width: 40px;
  207. object-fit: contain;
  208. }
  209. cursor: pointer;
  210. .text {
  211. font-weight: 500;
  212. font-size: 12px;
  213. color: #330200;
  214. line-height: 20px;
  215. text-align: center;
  216. width: 100%;
  217. height: 20px;
  218. }
  219. }
  220. .active {
  221. .text {
  222. font-weight: bold;
  223. color: #fffddc;
  224. text-shadow:
  225. -20px -6px 30px rgb(234, 255, 176),
  226. 20px -6px 30px rgb(234, 255, 176),
  227. -20px 6px 30px rgb(234, 255, 176),
  228. 20px 6px 30px rgb(234, 255, 176);
  229. }
  230. }
  231. }
  232. }
  233. }
  234. }