main.css 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525
  1. *,::before,::after{
  2. padding: 0;
  3. margin: 0;
  4. /*去除在所有的浏览器当中点击过后有一个高亮的效果*/
  5. -webkit-tap-highlight-color: transparent;
  6. /*需要设置所有的元素宽度以边框开始计算*/
  7. -webkit-box-sizing: border-box;
  8. box-sizing: border-box;
  9. }
  10. /*清楚移动端浏览器对表单的默认样式*/
  11. input[type="text"],input[type="search"],input[type="tel"],textarea,button{
  12. border: 0;
  13. resize: none;
  14. outline: none;
  15. -webkit-appearance: none; /*清除移动浏览默认的样式,表单的立体阴影一类*/
  16. }
  17. ::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  18. font-family: PingFangSC-Regular;
  19. font-size: 0.32rem;
  20. color: #CCCCCC;
  21. letter-spacing: 0;
  22. }
  23. a {
  24. color:#333;text-decoration:none
  25. }
  26. a:active, a:hover {
  27. text-decoration:none
  28. }
  29. /*清除浮动*/
  30. .clearfix::after,
  31. .clearfix::before{
  32. content: ".";
  33. height: 0;
  34. line-height: 0;
  35. display: block;
  36. visibility: hidden;
  37. clear: both;
  38. }
  39. body,input{
  40. font: 14px/1.5 Arial,verdana,'Hiragino Sans GB','Microsoft Yahei',sans-serif;
  41. font-family: PingFangSC-Regular, Roboto-Regular;
  42. -webkit-font-smoothing:antialiased;
  43. padding-bottom:constant(safe-area-inset-bottom);
  44. }
  45. .main-box{
  46. width: 7.5rem;
  47. margin: 0 auto;
  48. overflow: hidden;
  49. }
  50. .bg-blue {
  51. background: #FFF;
  52. }
  53. .main-box>img:nth-child(1){
  54. width: 7.5rem;
  55. height: auto;
  56. }
  57. .send-form{
  58. position: relative;
  59. width: 7.5rem;
  60. background-color: #FFF;
  61. box-shadow: inset 2px -15px 15px 5px rgba(255,132,97,0.16);
  62. }
  63. .send-form>form{
  64. padding: 0.4rem;
  65. padding-top: 0.2rem;
  66. }
  67. .send-form>form>div:nth-child(1),
  68. .send-form>form>div:nth-child(2){
  69. width: 6.7rem;
  70. display: flex;
  71. flex-direction: row;
  72. padding: 0.26rem;
  73. border: 1px solid #f5f5f5;
  74. }
  75. .send-form>form>div:nth-child(1)
  76. {
  77. border-radius: 4px 4px 0 0;
  78. }
  79. .send-form>form>div:nth-child(2){
  80. border-top: 0;
  81. border-radius: 0 0 4px 4px;
  82. }
  83. .send-form>form>div:nth-child(1)>label,
  84. .send-form>form>div:nth-child(2)>label
  85. {
  86. width: 1.32rem;
  87. height: 0.44rem;
  88. font-family: PingFangSC-Regular;
  89. font-size: 0.32rem;
  90. color: #333333;
  91. letter-spacing: 0;
  92. margin-right: 0.4rem;
  93. }
  94. .send-form>form>div:nth-child(1)>input,
  95. .send-form>form>div:nth-child(2)>input
  96. {
  97. width: 4.26rem;
  98. height: 0.44rem;
  99. font-family: PingFangSC-Regular;
  100. font-size: 0.32rem;
  101. color: #000;
  102. letter-spacing: 0;
  103. }
  104. .send-form>form>button{
  105. width: 6.7rem;
  106. height: 1rem;
  107. background: linear-gradient(to right, #FF9F60 , #FF6C60 );
  108. color: #FFF;
  109. border-radius: 6px;
  110. font-family: PingFangSC-Regular;
  111. font-size: 0.34rem;
  112. letter-spacing: 0;
  113. margin-top: 0.4rem;
  114. margin-bottom:0.16rem;
  115. box-shadow: 0 2px 8px 0 rgba(255,132,97,0.45);
  116. }
  117. .successCase{
  118. width: 7.5rem;
  119. background-color: #163EA7;
  120. padding-bottom: 0.2rem;
  121. }
  122. .successCase>div:nth-child(1){
  123. width: 7.5rem;
  124. height: auto;
  125. display: flex;
  126. }
  127. .successCase>div:nth-child(1)>img{
  128. width: 4.5rem;
  129. height: 1.21rem;
  130. margin: 0.36rem auto;
  131. }
  132. /* 成功案例01 */
  133. .successCase>div:nth-child(2){
  134. border-radius: 10px;
  135. width: 6.86rem;
  136. margin: 0 0.32rem 0.32rem;
  137. background: #FFF;
  138. }
  139. .successCase>div:nth-child(2)>div:nth-child(1){
  140. width: 6.86rem;
  141. background: #5856D6;
  142. border-radius: 10px 10px 0 0;
  143. color: #FFFFFF;
  144. padding: 0.1rem 0.24rem;
  145. display: flex;
  146. align-items: center;
  147. }
  148. .successCase>div:nth-child(2)>div:nth-child(1)>text:nth-child(1)
  149. {
  150. font-weight: 700;
  151. font-size: 0.9rem;
  152. line-height: 1rem;
  153. background: linear-gradient(to top, #5856D6 , #B6B4FF);
  154. -webkit-background-clip: text;
  155. background-clip: text;
  156. color: transparent;
  157. }
  158. .successCase>div:nth-child(2)>div:nth-child(1)>text:nth-child(2)
  159. {
  160. font-size: 0.48rem;
  161. font-weight: 700;
  162. letter-spacing: 0;
  163. background: linear-gradient(to top, #5856D6 , rgb(220, 219, 255) ,#FFFFFF );
  164. -webkit-background-clip: text;
  165. background-clip: text;
  166. color: transparent;
  167. margin-left: 10px;
  168. }
  169. .successCase>div:nth-child(2)>div:nth-child(2){
  170. padding: 0.48rem;
  171. box-shadow: inset 1px -10px 15px 6px rgba(0,127,255,0.08);
  172. }
  173. .successCase>div:nth-child(2)>div:nth-child(2)>div:nth-child(1){
  174. display: flex;
  175. flex-direction: row;
  176. align-items: center;
  177. }
  178. .successCase>div:nth-child(2)>div:nth-child(2)>div:nth-child(1)>img:nth-child(1)
  179. {
  180. width: 0.5rem;
  181. height: auto;
  182. margin-left: -10px;
  183. }
  184. .successCase>div:nth-child(2)>div:nth-child(2)>div:nth-child(1)>img:nth-child(2)
  185. {
  186. width: 5.28rem;
  187. height: auto;
  188. margin-left: 10px;
  189. }
  190. .successCase>div:nth-child(2)>div:nth-child(2)>p:nth-child(2),
  191. .successCase>div:nth-child(2)>div:nth-child(2)>p:nth-child(3)
  192. {
  193. font-family: PingFangSC-Regular;
  194. font-size: 0.28rem;
  195. color: #333333;
  196. letter-spacing: 0;
  197. text-align: justify;
  198. line-height: 0.42rem;
  199. margin: 0.4rem 0 0.2rem;
  200. }
  201. .successCase>div:nth-child(2)>div:nth-child(2)>p:nth-child(3){
  202. margin: 0 0 0.4rem;
  203. }
  204. .successCase>div:nth-child(2)>div:nth-child(2)>img:nth-child(4)
  205. {
  206. width: 5.9rem;
  207. height: auto;
  208. }
  209. .successCase>div:nth-child(2)>div:nth-child(2)>div:nth-child(5)
  210. {
  211. font-size: 0.26rem;
  212. color: #666666;
  213. letter-spacing: 0;
  214. text-align: justify;
  215. line-height: 0.44rem;
  216. padding-top: 0.2rem;
  217. }
  218. /* 成功案例01 */
  219. /* 成功案例02 */
  220. .successCase>div:nth-child(3){
  221. border-radius: 10px;
  222. width: 6.86rem;
  223. margin: 0 0.32rem 0.32rem 0.32rem;
  224. background: #FFF;
  225. }
  226. .successCase>div:nth-child(3)>div:nth-child(1){
  227. width: 6.86rem;
  228. background: #5856D6;
  229. border-radius: 10px 10px 0 0;
  230. color: #FFFFFF;
  231. padding: 0.1rem 0.24rem;
  232. display: flex;
  233. align-items: center;
  234. }
  235. .successCase>div:nth-child(3)>div:nth-child(1)>text:nth-child(1)
  236. {
  237. font-weight: 700;
  238. font-size: 0.9rem;
  239. line-height: 1rem;
  240. background: linear-gradient(to top, #5856D6 , #B6B4FF);
  241. -webkit-background-clip: text;
  242. background-clip: text;
  243. color: transparent;
  244. }
  245. .successCase>div:nth-child(3)>div:nth-child(1)>text:nth-child(2)
  246. {
  247. font-size: 0.48rem;
  248. font-weight: 700;
  249. letter-spacing: 0;
  250. background: linear-gradient(to top, #5856D6 , rgb(220, 219, 255) ,#FFFFFF );
  251. -webkit-background-clip: text;
  252. background-clip: text;
  253. color: transparent;
  254. margin-left: 10px;
  255. }
  256. .successCase>div:nth-child(3)>div:nth-child(2){
  257. padding: 0.48rem;
  258. box-shadow: inset 1px -10px 15px 6px rgba(0,127,255,0.08);
  259. }
  260. .successCase>div:nth-child(3)>div:nth-child(2)>div:nth-child(1)>div:nth-child(1){
  261. display: flex;
  262. flex-direction: row;
  263. align-items: center;
  264. }
  265. .successCase>div:nth-child(3)>div:nth-child(2)>div:nth-child(1)>div:nth-child(1)>img:nth-child(1)
  266. {
  267. width: 0.5rem;
  268. height: auto;
  269. margin-left: -10px;
  270. }
  271. .successCase>div:nth-child(3)>div:nth-child(2)>div:nth-child(1)>div:nth-child(1)>img:nth-child(2)
  272. {
  273. width: 5.28rem;
  274. height: auto;
  275. margin-left: 10px;
  276. }
  277. .successCase>div:nth-child(3)>div:nth-child(2)>div:nth-child(1)>p:nth-child(2),
  278. .successCase>div:nth-child(3)>div:nth-child(2)>div:nth-child(1)>p:nth-child(3)
  279. {
  280. font-family: PingFangSC-Regular;
  281. font-size: 0.28rem;
  282. color: #333333;
  283. letter-spacing: 0;
  284. text-align: justify;
  285. line-height: 0.42rem;
  286. margin: 0.4rem 0 0.2rem;
  287. }
  288. .successCase>div:nth-child(3)>div:nth-child(2)>div:nth-child(1)>p:nth-child(3){
  289. margin: 0;
  290. }
  291. .successCase>div:nth-child(3)>div:nth-child(2)>img:nth-child(2)
  292. {
  293. width: 6.86rem;
  294. height: auto;
  295. margin-left: -0.48rem;
  296. }
  297. .successCase>div:nth-child(3)>div:nth-child(2)>div:nth-child(3)
  298. {
  299. width: 5.9rem;
  300. font-size: 0.28rem;
  301. letter-spacing: 0;
  302. color: #333333;
  303. line-height: 0.44rem;
  304. margin-top: -0.2rem;
  305. }
  306. /* 成功案例02 */
  307. /* 成功案例03 */
  308. .successCase>div:nth-child(4){
  309. border-radius: 10px;
  310. width: 6.86rem;
  311. margin: 0 0.32rem 0.32rem;
  312. background: #FFF;
  313. }
  314. .successCase>div:nth-child(4)>div:nth-child(1){
  315. width: 6.86rem;
  316. background: #5856D6;
  317. border-radius: 10px 10px 0 0;
  318. color: #FFFFFF;
  319. padding: 0.1rem 0.24rem;
  320. display: flex;
  321. align-items: center;
  322. }
  323. .successCase>div:nth-child(4)>div:nth-child(1)>text:nth-child(1)
  324. {
  325. font-weight: 700;
  326. font-size: 0.9rem;
  327. line-height: 1rem;
  328. background: linear-gradient(to top, #5856D6 , #B6B4FF);
  329. -webkit-background-clip: text;
  330. background-clip: text;
  331. color: transparent;
  332. }
  333. .successCase>div:nth-child(4)>div:nth-child(1)>text:nth-child(2)
  334. {
  335. font-size: 0.48rem;
  336. font-weight: 700;
  337. letter-spacing: 0;
  338. background: linear-gradient(to top, #5856D6 , rgb(220, 219, 255) ,#FFFFFF );
  339. -webkit-background-clip: text;
  340. background-clip: text;
  341. color: transparent;
  342. margin-left: 10px;
  343. }
  344. .successCase>div:nth-child(4)>div:nth-child(2){
  345. padding: 0.48rem;
  346. box-shadow: inset 1px -10px 15px 6px rgba(0,127,255,0.08);
  347. }
  348. .successCase>div:nth-child(4)>div:nth-child(2)>div:nth-child(1){
  349. display: flex;
  350. flex-direction: row;
  351. align-items: center;
  352. }
  353. .successCase>div:nth-child(4)>div:nth-child(2)>div:nth-child(1)>img:nth-child(1)
  354. {
  355. width: 0.5rem;
  356. height: auto;
  357. margin-left: -10px;
  358. }
  359. .successCase>div:nth-child(4)>div:nth-child(2)>div:nth-child(1)>img:nth-child(2)
  360. {
  361. width: 5.28rem;
  362. height: auto;
  363. margin-left: 10px;
  364. }
  365. .successCase>div:nth-child(4)>div:nth-child(2)>p:nth-child(2)
  366. {
  367. font-family: PingFangSC-Regular;
  368. font-size: 0.28rem;
  369. color: #666666;
  370. letter-spacing: 0;
  371. text-align: justify;
  372. line-height: 0.42rem;
  373. margin: 0.4rem 0 0.4rem;
  374. }
  375. .successCase>div:nth-child(4)>div:nth-child(2)>img:nth-child(3)
  376. {
  377. width: 5.9rem;
  378. height: auto;
  379. }
  380. .successCase>div:nth-child(4)>div:nth-child(2)>p:nth-child(4)
  381. {
  382. font-size: 0.28rem;
  383. color: #333333;
  384. letter-spacing: 0;
  385. text-align: justify;
  386. line-height: 0.42rem;
  387. padding-top: 0.2rem;
  388. }
  389. /* 成功案例03 */
  390. /* 适用场景 */
  391. .successCase>div:nth-child(5){
  392. border-radius: 10px;
  393. width: 6.86rem;
  394. margin: 0 0.32rem;
  395. background: #FFF;
  396. }
  397. .successCase>div:nth-child(5)>div:nth-child(1){
  398. width: 6.86rem;
  399. background: #5856D6;
  400. border-radius: 10px 10px 0 0;
  401. color: #FFFFFF;
  402. padding: 0.1rem 0.24rem;
  403. display: flex;
  404. align-items: center;
  405. }
  406. .successCase>div:nth-child(5)>div:nth-child(1)>text:nth-child(1)
  407. {
  408. font-size: 0.48rem;
  409. font-weight: 700;
  410. letter-spacing: 0;
  411. background: linear-gradient(to top, #5856D6 , rgb(220, 219, 255) ,#FFFFFF );
  412. -webkit-background-clip: text;
  413. background-clip: text;
  414. color: transparent;
  415. margin-left: 10px;
  416. }
  417. .successCase>div:nth-child(5)>div:nth-child(2){
  418. padding: 0.48rem;
  419. box-shadow: inset 1px -10px 15px 6px rgba(0,127,255,0.08);
  420. }
  421. .successCase>div:nth-child(5)>div:nth-child(2)>p:nth-child(1)
  422. {
  423. font-family: PingFangSC-Regular;
  424. font-size: 0.3rem;
  425. font-weight: 700;
  426. color: #333333;
  427. letter-spacing: 0;
  428. text-align: justify;
  429. line-height: 0.42rem;
  430. margin-bottom: 0.2rem;
  431. }
  432. .successCase>div:nth-child(5)>div:nth-child(2)>img:nth-child(2)
  433. {
  434. width: 5.9rem;
  435. height: auto;
  436. }
  437. /* 适用场景 */
  438. .successCase>div:nth-child(6){
  439. opacity: 0.4;
  440. font-size: 0.3rem;
  441. color: #FFFFFF;
  442. text-align: center;
  443. line-height: 0.4rem;
  444. margin: 0.5rem 0;
  445. }
  446. .successCase>div:nth-child(6)>p:nth-child(1){
  447. margin-bottom: 10px;
  448. -webkit-user-select:text;
  449. -moz-user-select:text;
  450. -ms-user-select:text;
  451. user-select:text;
  452. }
  453. .successCase>div:nth-child(6)>p:nth-child(2){
  454. font-size: 0.28rem;
  455. }
  456. .successCase>div:nth-child(7){
  457. width: 7.5rem;
  458. height: 1.12rem;
  459. }
  460. .customer-btn{
  461. position: fixed;
  462. bottom: 0;
  463. width: 7.5rem;
  464. height: 1.2rem;
  465. background: #FFF;
  466. display: flex;
  467. flex-direction: row;
  468. padding-bottom: env(safe-area-inset-bottom);
  469. }
  470. .customer-btn>div:nth-child(1){
  471. width: 1.58rem;
  472. height: 0.84rem;
  473. display: flex;
  474. flex-direction: column;
  475. justify-content: center;
  476. align-items: center;
  477. margin: 0.16rem 0;
  478. }
  479. .customer-btn>div:nth-child(1)>img
  480. {
  481. width: 0.48rem;
  482. height: 0.48rem;
  483. }
  484. .customer-btn>div:nth-child(1)>div
  485. {
  486. font-family: PingFangSC-Medium;
  487. font-size: 0.22rem;
  488. color: #666666;
  489. text-align: center;
  490. line-height: 0.32rem;
  491. }
  492. .customer-btn>div:nth-child(2)
  493. {
  494. width: 2.8rem;
  495. height: 0.84rem;
  496. line-height: 0.84rem;
  497. text-align: center;
  498. font-size: 0.32rem;
  499. color: #FFF;
  500. border-radius: 4px;
  501. margin: 0.16rem 0.16rem 0.6rem 0;
  502. box-shadow: 0 2px 8px 0 rgba(67,175,252,0.45);
  503. background: linear-gradient(to right, #58CDFF , #3296FB );
  504. }
  505. .customer-btn>div:nth-child(2)>a
  506. {
  507. color: #FFF;
  508. font-size: 0.32rem;
  509. }
  510. .customer-btn>button:nth-child(3)
  511. {
  512. width: 2.8rem;
  513. height: 0.84rem;
  514. line-height: 0.84rem;
  515. text-align: center;
  516. font-size: 0.32rem;
  517. color: #FFF;
  518. border-radius: 4px;
  519. margin: 0.16rem 0.16rem 0.6rem 0;
  520. box-shadow: 0 2px 8px 0 rgba(255,132,97,0.45);
  521. background: linear-gradient(to right, #FF9F60 , #FF6C60 );
  522. }