header.scss 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. @import '~@/assets/css/scssCommon.scss';
  2. .topArea {
  3. position: relative;
  4. width: 100%;
  5. min-height: 200px;
  6. .bgImage {
  7. img {
  8. width: 100%;
  9. vertical-align: middle;
  10. }
  11. }
  12. .topContent {
  13. position: absolute;
  14. top: 85px;
  15. display: flex;
  16. justify-content: space-between;
  17. align-items: center;
  18. width: 1000px;
  19. left: 50%;
  20. transform: translateX(-50%);
  21. height: calc(100% - 85px);
  22. .left {
  23. display: flex;
  24. flex-direction: column;
  25. justify-content: center;
  26. text-align: left;
  27. .titleBox {
  28. display: flex;
  29. height: 66px;
  30. align-items: center;
  31. .icon {
  32. width: 50px;
  33. height: 50px;
  34. margin-right: 10px;
  35. }
  36. .title {
  37. font-size: 47px;
  38. font-weight: 600;
  39. color: rgba(255, 255, 255, 1);
  40. line-height: 66px;
  41. }
  42. }
  43. .subWord {
  44. margin-top: 12px;
  45. font-size: 30px;
  46. font-weight: 300;
  47. color: rgba(255, 255, 255, 1);
  48. line-height: 42px;
  49. &.sub {
  50. font-size:16px;
  51. line-height:22px;
  52. }
  53. }
  54. }
  55. .right {
  56. flex-shrink: 0;
  57. margin-left: 50px;
  58. position: relative;
  59. img {
  60. width: webPxTvw(382);
  61. height: webPxTvw(353);
  62. }
  63. .buttonArea {
  64. top: 0;
  65. left: 0;
  66. position: absolute;
  67. width: webPxTvw(382);
  68. height: webPxTvw(353);
  69. .cell {
  70. width: webPxTvw(60);
  71. height: webPxTvw(60);
  72. position: absolute;
  73. cursor: pointer;
  74. &.c1 {
  75. left:0;
  76. top: webPxTvw(120)
  77. }
  78. &.c2 {
  79. left: webPxTvw(162);
  80. top: 0;
  81. }
  82. &.c3 {
  83. right: 0;
  84. top: webPxTvw(120);
  85. }
  86. &.c4 {
  87. left: webPxTvw(60);
  88. bottom: 0;
  89. }
  90. &.c5 {
  91. right: webPxTvw(60);
  92. bottom: 0;
  93. }
  94. }
  95. }
  96. }
  97. }
  98. &.isMobile {
  99. .bgImage {
  100. img {
  101. width: 100vw;
  102. vertical-align: middle;
  103. }
  104. }
  105. .topContent {
  106. position: absolute;
  107. top: pxtovw(10);
  108. width: 100%;
  109. height: 175px;
  110. .left {
  111. display: flex;
  112. flex-direction: column;
  113. justify-content: center;
  114. text-align: left;
  115. width: 100%;
  116. .titleBox {
  117. display: flex;
  118. height: pxtovw(66);
  119. align-items: center;
  120. justify-content: center;
  121. .icon {
  122. width: pxtovw(50);
  123. height: pxtovw(50);
  124. margin-right: pxtovw(px);
  125. }
  126. .title {
  127. font-weight: 600;
  128. color: rgba(255, 255, 255, 1);
  129. font-size:pxtovw(36);
  130. line-height:pxtovw(51);
  131. }
  132. }
  133. .subWord {
  134. margin-top: pxtovw(6);
  135. font-size:pxtovw(16);
  136. line-height:pxtovw(22);
  137. text-align: center;
  138. &.sub {
  139. font-size:pxtovw(16);
  140. line-height:pxtovw(22);
  141. }
  142. }
  143. }
  144. .right {
  145. flex-shrink: 0;
  146. margin-left: pxtovw(px);
  147. img {
  148. width: 21.22vw;
  149. height: 19.61vw;
  150. }
  151. }
  152. }
  153. }
  154. }