index.module.scss 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. .A5Mobile {
  2. position: relative;
  3. top: 50%;
  4. left: 50%;
  5. transform: translate(-50%, -50%);
  6. z-index: 99999;
  7. width: 100%;
  8. height: 100%;
  9. transition: all 0.5s;
  10. background: url('./image/bg.png') no-repeat center center;
  11. background-size: 100% 100%;
  12. > div {
  13. position: absolute;
  14. top: 50%;
  15. left: 50%;
  16. img {
  17. object-fit: contain;
  18. width: 100%;
  19. height: 100%;
  20. }
  21. }
  22. :global {
  23. .title {
  24. opacity: 0;
  25. transform: translate(-58%, 0);
  26. top: 90px;
  27. width: 80%;
  28. }
  29. .A5-pic1 {
  30. opacity: 0;
  31. transform: translate(-55%, 0);
  32. top: auto;
  33. bottom: 25px;
  34. width: 230px;
  35. }
  36. .A5-pic2 {
  37. opacity: 0;
  38. transform: translate(-73%, -50px);
  39. width: 255px;
  40. }
  41. .A5-pic3 {
  42. opacity: 0;
  43. transform: translate(-60%, 0);
  44. top: 30px;
  45. width: 290px;
  46. }
  47. .button {
  48. opacity: 0;
  49. cursor: pointer;
  50. transform: translate(-107%, 640%);
  51. width: 200px;
  52. }
  53. }
  54. }
  55. .animate {
  56. :global {
  57. .title{
  58. opacity: 1;
  59. top: 70px;
  60. transition: all 1.2s ease-in;
  61. }
  62. .A5-pic1 {
  63. opacity: 1;
  64. transform: translate(-75%, 0);
  65. transition: all 3.2s 2s;
  66. }
  67. .A5-pic2 {
  68. opacity: 1;
  69. transition: all 4s;
  70. }
  71. .A5-pic3 {
  72. opacity: 1;
  73. transition: all 2.2s 0.5s;
  74. }
  75. .button {
  76. opacity: 1;
  77. transform: translate(-87%, 640%);
  78. transition: all 0.8s ease-in-out 1.5s;
  79. }
  80. }
  81. }