header.scss 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  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. .query-entrance-wrapper {
  99. position: absolute;
  100. width: 1000px;
  101. height: 40px;
  102. top: 90px;
  103. left: 50%;
  104. transform: translateX(-50%);
  105. display: flex;
  106. justify-content: flex-end;
  107. .query-entrance {
  108. width: 120px;
  109. height: 40px;
  110. background: #ffffff;
  111. border-radius: 20px;
  112. font-size: 13px;
  113. font-weight: 400;
  114. color: #222222;
  115. }
  116. }
  117. &.isMobile {
  118. .bgImage {
  119. img {
  120. width: 100vw;
  121. vertical-align: middle;
  122. }
  123. }
  124. .topContent {
  125. position: absolute;
  126. top: pxtovw(10);
  127. width: 100%;
  128. height: 175px;
  129. .left {
  130. display: flex;
  131. flex-direction: column;
  132. justify-content: center;
  133. text-align: left;
  134. width: 100%;
  135. .titleBox {
  136. display: flex;
  137. height: pxtovw(66);
  138. align-items: center;
  139. justify-content: center;
  140. .icon {
  141. width: pxtovw(50);
  142. height: pxtovw(50);
  143. margin-right: pxtovw(px);
  144. }
  145. .title {
  146. font-weight: 600;
  147. color: rgba(255, 255, 255, 1);
  148. font-size:pxtovw(36);
  149. line-height:pxtovw(51);
  150. }
  151. }
  152. .subWord {
  153. margin-top: pxtovw(6);
  154. font-size:pxtovw(16);
  155. line-height:pxtovw(22);
  156. text-align: center;
  157. &.sub {
  158. font-size:pxtovw(16);
  159. line-height:pxtovw(22);
  160. }
  161. }
  162. }
  163. .right {
  164. flex-shrink: 0;
  165. margin-left: pxtovw(px);
  166. img {
  167. width: 21.22vw;
  168. height: 19.61vw;
  169. }
  170. }
  171. }
  172. }
  173. }