index.scss 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  1. @use "@/assets/utils.scss";
  2. .cover {
  3. position: absolute;
  4. inset: 0;
  5. display: flex;
  6. flex-direction: column;
  7. align-items: center;
  8. padding-top: utils.vh-calc(52);
  9. width: 100%;
  10. height: 100%;
  11. overflow: hidden;
  12. background: url("./images/bg-min.jpg") no-repeat center / cover;
  13. &__head {
  14. width: 1538px;
  15. height: 96px;
  16. }
  17. &__content {
  18. margin: utils.vh-calc(66) 0 utils.vh-calc(19);
  19. position: relative;
  20. width: utils.vh-calc(1543);
  21. height: utils.vh-calc(589);
  22. background: url("./images/card-min.jpg") no-repeat center / contain;
  23. &::before {
  24. content: "";
  25. position: absolute;
  26. top: 0;
  27. left: 50%;
  28. width: utils.vh-calc(252);
  29. height: utils.vh-calc(649);
  30. transform: translateX(-50%);
  31. background: url("./images/label-min.png") no-repeat center / contain;
  32. }
  33. }
  34. &__tabs {
  35. display: flex;
  36. li {
  37. position: relative;
  38. cursor: pointer;
  39. &::before {
  40. content: "";
  41. position: absolute;
  42. top: 50%;
  43. left: 50%;
  44. width: 100%;
  45. height: 100%;
  46. transform: translate(-50%, -50%);
  47. transition: background linear 0.2s;
  48. }
  49. &:hover {
  50. span {
  51. display: block;
  52. }
  53. }
  54. span {
  55. display: none;
  56. position: absolute;
  57. top: utils.vh-calc(50);
  58. left: utils.vh-calc(-70);
  59. color: #323232;
  60. writing-mode: vertical-rl;
  61. white-space: nowrap;
  62. font-size: utils.vh-calc(28);
  63. letter-spacing: utils.vh-calc(2);
  64. &::before {
  65. content: "";
  66. position: absolute;
  67. top: utils.vh-calc(-34);
  68. left: 50%;
  69. width: utils.vh-calc(21);
  70. height: utils.vh-calc(20);
  71. background: url("./images/seal-min.png") no-repeat center / contain;
  72. transform: translateX(-50%);
  73. }
  74. }
  75. }
  76. &-item1 {
  77. width: utils.vh-calc(175);
  78. height: utils.vh-calc(174);
  79. &:hover {
  80. &::before {
  81. width: utils.vh-calc(242);
  82. height: utils.vh-calc(242);
  83. background-image: url("./images/1-1-min.png");
  84. }
  85. }
  86. &::before {
  87. background: url("./images/1-min.png") no-repeat center / contain;
  88. }
  89. }
  90. &-item2 {
  91. top: utils.vh-calc(-19);
  92. margin: 0 168px;
  93. width: utils.vh-calc(218);
  94. height: utils.vh-calc(219);
  95. &:hover {
  96. &::before {
  97. width: utils.vh-calc(257);
  98. height: utils.vh-calc(258);
  99. background-image: url("./images/2-1-min.png");
  100. }
  101. }
  102. &::before {
  103. background: url("./images/2-min.png") no-repeat center / contain;
  104. }
  105. }
  106. &-item3 {
  107. top: utils.vh-calc(34);
  108. width: utils.vh-calc(175);
  109. height: utils.vh-calc(174);
  110. &:hover {
  111. &::before {
  112. width: utils.vh-calc(242);
  113. height: utils.vh-calc(242);
  114. background-image: url("./images/3-1-min.png");
  115. }
  116. }
  117. &::before {
  118. background: url("./images/3-min.png") no-repeat center / contain;
  119. }
  120. }
  121. &-item4 {
  122. top: utils.vh-calc(-9);
  123. margin: 0 161px 0 153px;
  124. width: utils.vh-calc(210);
  125. height: utils.vh-calc(210);
  126. &:hover {
  127. &::before {
  128. width: utils.vh-calc(257);
  129. height: utils.vh-calc(258);
  130. background-image: url("./images/4-1-min.png");
  131. }
  132. }
  133. &::before {
  134. background: url("./images/4-min.png") no-repeat center / contain;
  135. }
  136. }
  137. &-item5 {
  138. top: utils.vh-calc(-47);
  139. width: utils.vh-calc(175);
  140. height: utils.vh-calc(174);
  141. &:hover {
  142. &::before {
  143. width: utils.vh-calc(242);
  144. height: utils.vh-calc(242);
  145. background-image: url("./images/5-1-min.png");
  146. }
  147. }
  148. &::before {
  149. background: url("./images/5-min.png") no-repeat center / contain;
  150. }
  151. }
  152. }
  153. }