contact.scss 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552
  1. @media screen and (min-width: 768px) {
  2. body {
  3. background: #f7f7f7;
  4. }
  5. .main {
  6. .container {
  7. position: relative;
  8. background: #fff;
  9. padding: 48px 58px;
  10. margin-top: -117px;
  11. -webkit-box-sizing: border-box;
  12. box-sizing: border-box;
  13. .head {
  14. display: -webkit-box;
  15. display: -ms-flexbox;
  16. display: flex;
  17. -webkit-box-pack: justify;
  18. -ms-flex-pack: justify;
  19. justify-content: space-between;
  20. -webkit-box-align: center;
  21. -ms-flex-align: center;
  22. align-items: center;
  23. color: #505050;
  24. h3 {
  25. position: relative;
  26. font-size: 24px;
  27. font-weight: normal;
  28. padding-left: 48px;
  29. &::before {
  30. content: '';
  31. display: block;
  32. width: 24px;
  33. height: 4px;
  34. background: #0688d2;
  35. position: absolute;
  36. left: 0;
  37. top: 50%;
  38. -webkit-transform: translateY(-50%);
  39. transform: translateY(-50%);
  40. }
  41. }
  42. ul > li {
  43. float: left;
  44. margin-right: 20px;
  45. & > a {
  46. display: block;
  47. font-size: 16px;
  48. }
  49. }
  50. }
  51. .cover {
  52. margin-top: 32px;
  53. img {
  54. display: block;
  55. width: 100%;
  56. }
  57. }
  58. .content {
  59. .form-title {
  60. padding: 40px 0;
  61. .title {
  62. font-size: 24px;
  63. }
  64. .line {
  65. width: 100%;
  66. height: 1px;
  67. margin-top: 18px;
  68. background: #e8e8e8;
  69. position: relative;
  70. &::before {
  71. content: '';
  72. display: block;
  73. width: 32px;
  74. height: 2px;
  75. background: #0688d2;
  76. position: absolute;
  77. left: 0;
  78. bottom: 0;
  79. }
  80. }
  81. }
  82. .contact {
  83. margin-top: 80px;
  84. margin-bottom: 80px;
  85. .item {
  86. float: left;
  87. &:nth-child(1) {
  88. padding-right: 68px;
  89. }
  90. &:nth-child(2) {
  91. padding-left: 68px;
  92. padding-right: 68px;
  93. border-left: 1px solid #e8e8e8;
  94. border-right: 1px solid #e8e8e8;
  95. }
  96. &:nth-child(3) {
  97. padding-left: 68px;
  98. }
  99. .label {
  100. font-size: 16px;
  101. color: #999999;
  102. }
  103. .text {
  104. font-size: 16px;
  105. font-weight: bold;
  106. margin-top: 16px;
  107. }
  108. }
  109. }
  110. .map {
  111. position: relative;
  112. width: 100%;
  113. height: 430px;
  114. background: #f7f7f7;
  115. .map-tip {
  116. position: absolute;
  117. z-index: 9;
  118. font-size: 14px;
  119. color: #fff;
  120. min-width: 228px;
  121. -webkit-box-sizing: border-box;
  122. box-sizing: border-box;
  123. padding: 24px 16px;
  124. background: linear-gradient(156deg, #0688d2 0%, rgba(32, 155, 212, 0.7) 100%);
  125. border-radius: 8px;
  126. left: 0;
  127. bottom: 0;
  128. -webkit-transform: translate(-47%, -50px);
  129. transform: translate(-47%, -50px);
  130. line-height: 24px;
  131. &::after {
  132. position: absolute;
  133. left: 50%;
  134. bottom: 0;
  135. content: '';
  136. width: 0;
  137. height: 0;
  138. border-style: solid;
  139. border-width: 12px 10px 0 10px;
  140. border-color: #0688d2 transparent transparent transparent;
  141. -webkit-transform: translate(-50%, 100%);
  142. transform: translate(-50%, 100%);
  143. opacity: 0.7;
  144. }
  145. }
  146. }
  147. .consult {
  148. margin-top: 80px;
  149. .form-item {
  150. &:nth-child(-n + 6) {
  151. .form-control {
  152. input {
  153. padding-left: 66px;
  154. }
  155. }
  156. }
  157. &:nth-child(7) {
  158. .form-control {
  159. input {
  160. padding-left: 80px;
  161. }
  162. }
  163. }
  164. &:nth-child(8) {
  165. .form-control {
  166. input {
  167. padding-left: 100px;
  168. }
  169. }
  170. }
  171. .form-control {
  172. position: relative;
  173. .form-label {
  174. position: absolute;
  175. left: 16px;
  176. top: 0;
  177. min-width: auto;
  178. color: #505050;
  179. }
  180. textarea::-webkit-input-placeholder {
  181. color: #999;
  182. }
  183. textarea::-moz-placeholder {
  184. color: #999;
  185. }
  186. textarea:-ms-input-placeholder {
  187. color: #999;
  188. }
  189. textarea::-ms-input-placeholder {
  190. color: #999;
  191. }
  192. textarea::placeholder {
  193. color: #999;
  194. }
  195. }
  196. }
  197. .form-submit {
  198. margin-top: 68px;
  199. button {
  200. width: 526px;
  201. }
  202. }
  203. }
  204. .title {
  205. font-size: 24px;
  206. margin: 40px 0 29px;
  207. }
  208. .collapse {
  209. .collapse-wrapper {
  210. overflow: hidden;
  211. }
  212. }
  213. .job-list {
  214. .job {
  215. margin-top: 24px;
  216. &.active {
  217. .name {
  218. background-color: #0688d2;
  219. color: #fff;
  220. background-image: url(/img/contact-icon-down.png);
  221. }
  222. }
  223. .name {
  224. line-height: 48px;
  225. padding: 0 16px;
  226. border: 1px solid #dedede;
  227. -webkit-box-sizing: border-box;
  228. box-sizing: border-box;
  229. cursor: pointer;
  230. -webkit-transition: background-color 0.2s;
  231. transition: background-color 0.2s;
  232. background-repeat: no-repeat;
  233. background-position: 99% center;
  234. background-image: url(/img/contact-icon-up.png);
  235. background-color: #fff;
  236. }
  237. .requirements {
  238. font-size: 16px;
  239. line-height: 36px;
  240. padding: 16px;
  241. margin: 16px 0;
  242. }
  243. .link {
  244. padding: 0 16px;
  245. margin-bottom: 24px;
  246. a {
  247. font-size: 16px;
  248. color: #0688d2;
  249. }
  250. }
  251. }
  252. }
  253. }
  254. }
  255. }
  256. .footer {
  257. margin-top: 80px;
  258. }
  259. }
  260. @media screen and (max-width: 768px) {
  261. .main {
  262. .container {
  263. position: relative;
  264. -webkit-box-sizing: border-box;
  265. box-sizing: border-box;
  266. padding: 0 0.32rem;
  267. .head {
  268. display: -webkit-box;
  269. display: -ms-flexbox;
  270. display: flex;
  271. -webkit-box-pack: justify;
  272. -ms-flex-pack: justify;
  273. justify-content: space-between;
  274. -webkit-box-align: center;
  275. -ms-flex-align: center;
  276. align-items: center;
  277. color: #505050;
  278. margin-top: 0.4rem;
  279. h3 {
  280. position: relative;
  281. font-size: 0.34rem;
  282. font-weight: normal;
  283. padding-left: 0.48rem;
  284. &::before {
  285. content: '';
  286. display: block;
  287. width: 0.24rem;
  288. height: 0.04rem;
  289. background: #0688d2;
  290. position: absolute;
  291. left: 0;
  292. top: 50%;
  293. -webkit-transform: translateY(-50%);
  294. transform: translateY(-50%);
  295. }
  296. }
  297. ul > li {
  298. float: left;
  299. margin-left: 0.56rem;
  300. & > a {
  301. display: block;
  302. font-size: 0.26rem;
  303. }
  304. }
  305. }
  306. .cover {
  307. margin-top: 0.16rem;
  308. img {
  309. display: block;
  310. width: 100%;
  311. }
  312. }
  313. .content {
  314. .form-title {
  315. padding: 40px 0;
  316. .title {
  317. font-size: 24px;
  318. }
  319. .line {
  320. width: 100%;
  321. height: 1px;
  322. margin-top: 18px;
  323. background: #e8e8e8;
  324. position: relative;
  325. &::before {
  326. content: '';
  327. display: block;
  328. width: 32px;
  329. height: 2px;
  330. background: #0688d2;
  331. position: absolute;
  332. left: 0;
  333. bottom: 0;
  334. }
  335. }
  336. }
  337. .contact {
  338. margin-top: 0.4rem;
  339. margin-bottom: 1.2rem;
  340. .item {
  341. margin-bottom: 0.32rem;
  342. .label {
  343. font-size: 0.26rem;
  344. color: #999999;
  345. }
  346. .text {
  347. font-size: 0.26rem;
  348. font-weight: bold;
  349. margin-top: 0.08rem;
  350. }
  351. }
  352. }
  353. .map {
  354. position: relative;
  355. width: 7.5rem;
  356. height: 4.8rem;
  357. margin-left: -0.32rem;
  358. .map-tip {
  359. position: absolute;
  360. z-index: 9;
  361. font-size: 0.24rem;
  362. color: #fff;
  363. min-width: 2.28rem;
  364. -webkit-box-sizing: border-box;
  365. box-sizing: border-box;
  366. padding: 0.24rem;
  367. background: linear-gradient(156deg, #0688d2 0%, rgba(32, 155, 212, 0.7) 100%);
  368. border-radius: 0.12rem;
  369. left: 0;
  370. bottom: 0;
  371. -webkit-transform: translate(-47%, -50px);
  372. transform: translate(-47%, -50px);
  373. line-height: 0.4rem;
  374. &::after {
  375. position: absolute;
  376. left: 50%;
  377. bottom: 0;
  378. content: '';
  379. width: 0;
  380. height: 0;
  381. border-style: solid;
  382. border-width: 0.12rem 0.1rem 0 0.1rem;
  383. border-color: #0688d2 transparent transparent transparent;
  384. -webkit-transform: translate(-50%, 100%);
  385. transform: translate(-50%, 100%);
  386. opacity: 0.7;
  387. }
  388. }
  389. }
  390. .consult {
  391. margin-top: 0.8rem;
  392. .form-item {
  393. .form-control {
  394. position: relative;
  395. .form-label {
  396. color: #505050;
  397. text-align: left;
  398. }
  399. &.select-group {
  400. display: block;
  401. }
  402. textarea::-webkit-input-placeholder {
  403. color: #999;
  404. }
  405. textarea::-moz-placeholder {
  406. color: #999;
  407. }
  408. textarea:-ms-input-placeholder {
  409. color: #999;
  410. }
  411. textarea::-ms-input-placeholder {
  412. color: #999;
  413. }
  414. textarea::placeholder {
  415. color: #999;
  416. }
  417. }
  418. }
  419. .form-submit {
  420. margin-top: 0.67rem;
  421. margin-bottom: 0.67rem;
  422. button {
  423. width: 6rem;
  424. font-size: 0.26rem;
  425. }
  426. }
  427. }
  428. .title {
  429. font-size: 0.32rem;
  430. margin: 0.4rem 0 0.24rem;
  431. }
  432. .collapse {
  433. .collapse-wrapper {
  434. overflow: hidden;
  435. }
  436. }
  437. &.join-form {
  438. margin-bottom: 0.8rem;
  439. }
  440. .job-list {
  441. padding-bottom: 1.2rem;
  442. .job {
  443. margin-top: 0.24rem;
  444. &.active {
  445. .name {
  446. background-color: #0688d2;
  447. color: #fff;
  448. background-image: url(/img/contact-icon-down.png);
  449. }
  450. }
  451. .name {
  452. line-height: 0.9rem;
  453. padding: 0 0.24rem;
  454. border: 0.01rem solid #dedede;
  455. -webkit-box-sizing: border-box;
  456. box-sizing: border-box;
  457. cursor: pointer;
  458. -webkit-transition: background-color 0.2s;
  459. transition: background-color 0.2s;
  460. background-repeat: no-repeat;
  461. background-position: 96% center;
  462. background-size: 0.48rem;
  463. background-image: url(/img/contact-icon-up.png);
  464. background-color: #fff;
  465. font-size: 0.28rem;
  466. }
  467. .requirements {
  468. line-height: 0.48rem;
  469. padding: 0.16rem;
  470. margin: 0.16rem 0;
  471. p {
  472. font-size: 0.26rem;
  473. }
  474. }
  475. .link {
  476. padding: 0 0.16rem;
  477. margin-bottom: 0.24rem;
  478. a {
  479. display: block;
  480. font-size: 0.26rem;
  481. color: #0688d2;
  482. }
  483. }
  484. }
  485. }
  486. }
  487. }
  488. }
  489. .footer {
  490. margin-top: 0;
  491. }
  492. }