contact.scss 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258
  1. body {
  2. background: #f7f7f7;
  3. }
  4. .main {
  5. .container {
  6. position: relative;
  7. background: #fff;
  8. padding: 48px 58px;
  9. margin-top: -117px;
  10. box-sizing: border-box;
  11. .head {
  12. display: flex;
  13. justify-content: space-between;
  14. align-items: center;
  15. color: #505050;
  16. h3 {
  17. position: relative;
  18. font-size: 24px;
  19. font-weight: normal;
  20. padding-left: 48px;
  21. &::before {
  22. content: '';
  23. display: block;
  24. width: 24px;
  25. height: 4px;
  26. background: #0688d2;
  27. position: absolute;
  28. left: 0;
  29. top: 50%;
  30. transform: translateY(-50%);
  31. }
  32. }
  33. ul > li {
  34. float: left;
  35. margin-right: 20px;
  36. & > a {
  37. display: block;
  38. font-size: 16px;
  39. }
  40. }
  41. }
  42. .cover {
  43. margin-top: 32px;
  44. img {
  45. display: block;
  46. width: 100%;
  47. }
  48. }
  49. .content {
  50. .form-title {
  51. padding: 40px 0;
  52. .title {
  53. font-size: 24px;
  54. }
  55. .line {
  56. width: 100%;
  57. height: 1px;
  58. margin-top: 18px;
  59. background: #e8e8e8;
  60. position: relative;
  61. &::before {
  62. content: '';
  63. display: block;
  64. width: 32px;
  65. height: 2px;
  66. background: #0688d2;
  67. position: absolute;
  68. left: 0;
  69. bottom: 0;
  70. }
  71. }
  72. }
  73. .contact {
  74. margin-top: 80px;
  75. margin-bottom: 80px;
  76. .item {
  77. float: left;
  78. &:nth-child(1) {
  79. padding-right: 68px;
  80. }
  81. &:nth-child(2) {
  82. padding-left: 68px;
  83. padding-right: 68px;
  84. border-left: 1px solid #e8e8e8;
  85. border-right: 1px solid #e8e8e8;
  86. }
  87. &:nth-child(3) {
  88. padding-left: 68px;
  89. }
  90. .label {
  91. font-size: 16px;
  92. color: #999999;
  93. }
  94. .text {
  95. font-size: 16px;
  96. font-weight: bold;
  97. margin-top: 16px;
  98. }
  99. }
  100. }
  101. .map {
  102. position: relative;
  103. width: 100%;
  104. height: 430px;
  105. background: #f7f7f7;
  106. .map-tip {
  107. position: absolute;
  108. z-index: 9;
  109. font-size: 14px;
  110. color: #fff;
  111. min-width: 228px;
  112. box-sizing: border-box;
  113. padding: 24px 16px;
  114. background: linear-gradient(156deg, #0688d2 0%, rgba(32, 155, 212, 0.7) 100%);
  115. border-radius: 8px;
  116. left: 0;
  117. bottom: 0;
  118. transform: translate(-47%, -50px);
  119. line-height: 24px;
  120. &::after {
  121. position: absolute;
  122. left: 50%;
  123. bottom: 0;
  124. content: '';
  125. width: 0;
  126. height: 0;
  127. border-style: solid;
  128. border-width: 12px 10px 0 10px;
  129. border-color: #0688d2 transparent transparent transparent;
  130. transform: translate(-50%, 100%);
  131. opacity: 0.7;
  132. }
  133. }
  134. }
  135. .consult {
  136. margin-top: 80px;
  137. .form-item {
  138. &:nth-child(-n + 6) {
  139. .form-control {
  140. input {
  141. padding-left: 66px;
  142. }
  143. }
  144. }
  145. &:nth-child(7) {
  146. .form-control {
  147. input {
  148. padding-left: 80px;
  149. }
  150. }
  151. }
  152. &:nth-child(8) {
  153. .form-control {
  154. input {
  155. padding-left: 100px;
  156. }
  157. }
  158. }
  159. .form-control {
  160. position: relative;
  161. .form-label {
  162. position: absolute;
  163. left: 16px;
  164. top: 0;
  165. min-width: auto;
  166. color: #505050;
  167. }
  168. textarea::placeholder {
  169. color: #999;
  170. }
  171. }
  172. }
  173. .form-submit {
  174. margin-top: 68px;
  175. button {
  176. width: 526px;
  177. }
  178. }
  179. }
  180. .title {
  181. font-size: 24px;
  182. margin: 40px 0 29px;
  183. }
  184. .collapse {
  185. .collapse-wrapper {
  186. overflow: hidden;
  187. }
  188. }
  189. .job-list {
  190. .job {
  191. margin-top: 24px;
  192. &.active {
  193. .name {
  194. background-color: #0688d2;
  195. color: #fff;
  196. background-image: url(/img/contact-icon-down.png);
  197. }
  198. }
  199. .name {
  200. line-height: 48px;
  201. padding: 0 16px;
  202. border: 1px solid #dedede;
  203. box-sizing: border-box;
  204. cursor: pointer;
  205. transition: background-color 0.2s;
  206. background-repeat: no-repeat;
  207. background-position: 99% center;
  208. background-image: url(/img/contact-icon-up.png);
  209. background-color: #fff;
  210. }
  211. .requirements {
  212. font-size: 16px;
  213. line-height: 36px;
  214. padding: 16px;
  215. margin: 16px 0;
  216. }
  217. .link {
  218. padding: 0 16px;
  219. margin-bottom: 24px;
  220. a {
  221. font-size: 16px;
  222. color: #0688d2;
  223. }
  224. }
  225. }
  226. }
  227. }
  228. }
  229. }
  230. .footer {
  231. margin-top: 80px;
  232. }