index.module.scss 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. .A1home {
  2. width: 100%;
  3. height: 100%;
  4. position: relative;
  5. z-index: 1;
  6. :global {
  7. // 背景图
  8. .homeImg {
  9. position: absolute;
  10. top: 0;
  11. left: 0;
  12. width: 100%;
  13. height: 100%;
  14. z-index: 3;
  15. pointer-events: none;
  16. object-fit: cover !important;
  17. }
  18. .loadingP {
  19. position: absolute;
  20. top: 50%;
  21. left: 50%;
  22. transform: translate(-50%, -50%);
  23. width: 100%;
  24. height: 100%;
  25. // background-image: url('../../assets/sgImg/homeBg.jpg');
  26. // background-size: 100% 100%;
  27. display: flex;
  28. align-items: center;
  29. justify-content: center;
  30. flex-direction: column;
  31. color: rgba(166, 118, 67, 1);
  32. z-index: 10;
  33. //----------新加的初始视频
  34. .A1baseVideo {
  35. position: absolute;
  36. top: 0;
  37. left: 0;
  38. width: 100%;
  39. height: 100%;
  40. z-index: 4;
  41. }
  42. .progress {
  43. width: 200px;
  44. height: 30px;
  45. line-height: 30px;
  46. text-align: center;
  47. transform: translate(70px, 155px);
  48. position: relative;
  49. z-index: 10;
  50. }
  51. .btn {
  52. width: 60px;
  53. height: 60px;
  54. background: url(../../assets/img/btn_home.png) no-repeat center center;
  55. background-size: 100% 100%;
  56. transform: translate(66px, 155px);
  57. cursor: pointer;
  58. display: flex;
  59. align-items: center;
  60. justify-content: center;
  61. position: relative;
  62. z-index: 10;
  63. &>img {
  64. width: 60%;
  65. height: 60%;
  66. object-fit: contain;
  67. animation: yunShan 3s infinite linear;
  68. }
  69. .txt {
  70. width: 35px;
  71. height: 30px;
  72. color: rgba(255, 233, 182, 1);
  73. font-size: 15px;
  74. line-height: 15px;
  75. text-align: center;
  76. animation: zhiti 2s infinite linear;
  77. }
  78. }
  79. }
  80. .A1videoBox {
  81. width: 100%;
  82. height: 100%;
  83. position: relative;
  84. .A1video {
  85. width: 100%;
  86. height: 100%;
  87. }
  88. .A1videoBtn {
  89. position: absolute;
  90. bottom: 15px;
  91. right: 15px;
  92. color: #fff;
  93. font-size: 18px;
  94. letter-spacing: 4px;
  95. &>img{
  96. position: relative;
  97. top: -3px;
  98. width: 30px;
  99. height: 30px;
  100. }
  101. }
  102. }
  103. }
  104. }
  105. // --------------移动端
  106. .A1homeMo {
  107. :global {
  108. .loadingP {
  109. .btn {
  110. transform: translate(90px, 155px);
  111. }
  112. .progress {
  113. transform: translate(100px, 155px);
  114. font-weight: 700;
  115. }
  116. }
  117. }
  118. }