index.module.scss 700 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. .A0base {
  2. position: relative;
  3. width: 100%;
  4. height: 100%;
  5. /* 或你想要的高度 */
  6. overflow: hidden;
  7. }
  8. .slide {
  9. position: absolute;
  10. inset: 0;
  11. width: 100%;
  12. height: 100%;
  13. object-fit: cover;
  14. opacity: 0;
  15. transition: opacity 2s ease-in-out;
  16. /* 渐变时间和缓动函数 */
  17. pointer-events: none;
  18. }
  19. .slide.active {
  20. opacity: 1;
  21. }
  22. .homeLogo {
  23. position: absolute;
  24. top: 17%;
  25. left: 12%;
  26. width: 26%;
  27. height: 42%;
  28. object-fit: contain;
  29. :global {
  30. img {
  31. width: 100%;
  32. object-fit: contain;
  33. }
  34. .process {
  35. height: 30%;
  36. font-size: 1.2vw;
  37. line-height: 40px;
  38. color: rgba(141, 104, 64, 1);
  39. text-align: center;
  40. }
  41. }
  42. }