homestay.css 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713
  1. /* 在根元素上定义变量 */
  2. :root {
  3. --primary-color: #2a79ff;
  4. }
  5. body {
  6. max-width: 100vw;
  7. }
  8. .web_title {
  9. width: 0;
  10. height: 0;
  11. overflow: hidden;
  12. }
  13. .box {
  14. width: 122.5rem;
  15. max-width: 100%;
  16. overflow: hidden;
  17. position: relative;
  18. left: 50%;
  19. transform: translate(-50%, 0);
  20. display: flex;
  21. flex-direction: column;
  22. align-items: center;
  23. }
  24. .head_box {
  25. width: 100%;
  26. color: #2B2D33;
  27. overflow: hidden;
  28. position: relative;
  29. }
  30. .head_tab {
  31. width: 70rem;
  32. height: 5.5rem;
  33. margin: 0 auto;
  34. display: flex;
  35. align-items: center;
  36. }
  37. .head_tab_items{
  38. display: flex;
  39. align-items: center;
  40. }
  41. .head_tab_item {
  42. width: 7.75rem;
  43. height: 3rem;
  44. line-height: 3rem;
  45. font-size: 1rem;
  46. font-weight: 500;
  47. text-align: center;
  48. }
  49. .head_tab_item a {
  50. color: #000;
  51. }
  52. .head_tab_logo {
  53. width: 8.6875rem;
  54. height: 3rem;
  55. margin-right: auto;
  56. }
  57. .head_tab_menu {
  58. width: 1.5rem;
  59. height: 1.5rem;
  60. margin-right: 1.25rem;
  61. }
  62. .contact_btn {
  63. width: 6.5625rem;
  64. height: 3rem;
  65. margin-left: auto;
  66. background-color: var(--primary-color);
  67. border-radius: 0.125rem;
  68. font-size: 1rem;
  69. color: #fff;
  70. }
  71. .contact_btn a {
  72. width: 100%;
  73. height: 100%;
  74. }
  75. .contact_btn:hover{
  76. transition: all 0.5s;
  77. }
  78. .carousel_box {
  79. width: 100%;
  80. padding-top: 2rem;
  81. margin-bottom: 2rem;
  82. display: flex;
  83. align-items: center;
  84. justify-content: space-between;
  85. position: relative;
  86. gap: 6rem;
  87. left: 50%;
  88. transform: translate(-50%, 0);
  89. }
  90. .carousel_box_text {
  91. display: flex;
  92. flex-direction: column;
  93. text-align: left;
  94. gap: 2.5rem;
  95. }
  96. .carousel_box_title {
  97. text-align: left;
  98. font-size: 4rem;
  99. font-weight: bold;
  100. }
  101. .carousel_box_content {
  102. font-size: 1.25rem
  103. }
  104. .carousel_box_btn a {
  105. width: 10.25rem;
  106. height: 3.5rem;
  107. background-color: var(--primary-color);
  108. font-size: 1.25rem;
  109. color: #fff;
  110. gap: 0.75rem;
  111. }
  112. .carousel_box_btn img {
  113. width: 1.5rem;
  114. height: 1.5rem;
  115. }
  116. .carousel_box_img {
  117. width: 34.375rem;
  118. min-width: 34.375rem;
  119. max-width: 34.375rem;
  120. height: 32.125rem;
  121. position: relative;
  122. background-color: #f7f8fa;
  123. border-radius: 0.625rem;
  124. overflow: hidden;
  125. }
  126. .carousel_box_img img {
  127. /* width: 100%; */
  128. height: 100%;
  129. position: absolute;
  130. left: -8.75rem;
  131. }
  132. .body_box {
  133. width: 100%;
  134. display: flex;
  135. flex-direction: column;
  136. align-items: center;
  137. background-color: #f7f8fa;
  138. }
  139. .body_box_white {
  140. width: 100%;
  141. display: flex;
  142. flex-direction: column;
  143. align-items: center;
  144. background-color: #fff;
  145. }
  146. .body_box_bottom {
  147. width: 100%;
  148. display: flex;
  149. flex-direction: column;
  150. align-items: center;
  151. background-color: #232634;
  152. }
  153. .body_box_bottom .body_box_item {
  154. padding: 0;
  155. padding-top: 6.25rem;
  156. }
  157. .body_box_item {
  158. width: 70rem;
  159. padding: 6.25rem 0;
  160. margin: 0 auto;
  161. }
  162. .web_information {
  163. width: 100%;
  164. height: 4rem;
  165. border-top: 0.0625rem solid rgba(255, 255, 255, 0.2);
  166. }
  167. .body_box_title {
  168. font-size: 3rem;
  169. font-weight: 600;
  170. line-height: 3.75rem;
  171. text-align: center;
  172. }
  173. .body_box_subtitle {
  174. color: var(--primary-color);
  175. font-size: 1.5rem;
  176. }
  177. .body_box_introduce {
  178. line-height: 3rem;
  179. margin-top: 2rem;
  180. font-size: 1.25rem;
  181. text-align: center;
  182. margin-bottom: 4rem;
  183. }
  184. /* 产品功能服务 */
  185. .service_box {
  186. display: flex;
  187. flex-wrap: wrap;
  188. gap: 1.25rem;
  189. }
  190. .service_box_item {
  191. width: 34.375rem;
  192. padding: 1.875rem 0;
  193. border-radius: 0.625rem;
  194. display: flex;
  195. flex-direction: column;
  196. align-items: center;
  197. gap: 1.5rem;
  198. box-shadow: 0 0.125rem 0.125rem rgba(71, 74, 89, 0.08), 0 0.125rem 0.5rem rgba(71, 74, 89, 0.15);
  199. font-size: 1rem;
  200. background-color: #fff;
  201. }
  202. .service_box_item_title {
  203. color: #2B2D33;
  204. font-size: 1.5rem;
  205. font-weight: 600;
  206. }
  207. .body_box_introduce_two {
  208. color: #555A65;
  209. font-size: 1rem;
  210. margin-top: 2.5rem;
  211. margin-bottom: 4rem;
  212. text-align: center;
  213. }
  214. .service_box_item_text {
  215. color: #555A65;
  216. text-align: center;
  217. max-width: 20.875rem;
  218. line-height: 1.5rem;
  219. }
  220. .service_box_item_img {
  221. width: 7.25rem;
  222. height: 7.25rem;
  223. }
  224. .service_box_item_img img {
  225. width: 3rem;
  226. height: 3rem;
  227. }
  228. /* 可视化展示 */
  229. .exhibition_box {
  230. width: 100%;
  231. display: flex;
  232. align-items: center;
  233. gap: 1.25rem;
  234. overflow: hidden;
  235. }
  236. .exhibition_box_item {
  237. width: 34.375rem;
  238. min-width: 34.375rem;
  239. background-color: #fff;
  240. border-radius: 0.625rem;
  241. padding: 1.875rem 1.5625rem;
  242. box-sizing: border-box;
  243. display: flex;
  244. flex-direction: column;
  245. align-items: center;
  246. gap: 1.5rem;
  247. }
  248. .exhibition_box_icon {
  249. width: 3.75rem;
  250. height: 3.75rem;
  251. }
  252. .exhibition_box_title {
  253. font-size: 1.5rem;
  254. line-height: 1.875rem;
  255. }
  256. .exhibition_box_text {
  257. color: #555A65;
  258. text-align: center;
  259. max-width: 20.875rem;
  260. line-height: 1.5rem;
  261. font-size: 1rem;
  262. }
  263. .exhibition_box_img {
  264. height: 18.75rem;
  265. border-radius: 0.5rem;
  266. }
  267. /* 应用领域 */
  268. .scene_box {
  269. display: flex;
  270. align-items: center;
  271. gap: 1.25rem;
  272. }
  273. .scene_box_item {
  274. width: 22.5rem;
  275. display: flex;
  276. flex-direction: column;
  277. gap: 1rem;
  278. font-size: 1rem;
  279. text-align: center;
  280. }
  281. .scene_box_item_img {
  282. width: 100%;
  283. /* height: 20.1875rem; */
  284. border-radius: 0.625rem;
  285. background-color: #f7f8fa;
  286. overflow: hidden;
  287. position: relative;
  288. }
  289. .scene_box_item_img img {
  290. width: 100%;
  291. }
  292. .scene_box_tow {
  293. justify-content: center;
  294. }
  295. .scene_box_tow .scene_box_item {
  296. width: 33.75rem;
  297. }
  298. .scene_box_tow .scene_box_item_img {
  299. /* height: 26.875rem; */
  300. }
  301. .scene_box_item_title {
  302. font-weight: 600;
  303. text-align: center;
  304. }
  305. .scene_box_item_text {
  306. text-align: center;
  307. padding: 0 1.25rem;
  308. box-sizing: border-box;
  309. }
  310. /* 关于我们 */
  311. .aboutMy_box {
  312. padding: 3.75rem;
  313. box-sizing: border-box;
  314. border-radius: 1.5rem;
  315. background-color: #F7F8FA;
  316. display: flex;
  317. align-items: center;
  318. gap: 1.25rem;
  319. }
  320. .aboutMy_box_content{
  321. flex: 1;
  322. display: flex;
  323. flex-direction: column;
  324. gap: 2.5rem;
  325. }
  326. .aboutMy_box_title {
  327. color: #2B2D33;
  328. font-size: 4rem;
  329. font-weight: 600;
  330. }
  331. .aboutMy_box_text {
  332. color: #555A65;
  333. font-size: 1rem;
  334. line-height: 1.5rem;
  335. display: flex;
  336. flex-direction: column;
  337. gap: 1.25rem;
  338. }
  339. .aboutMy_box_btn a {
  340. color: #fff;
  341. width: 9.25rem;
  342. height: 3.5rem;
  343. background-color: var(--primary-color);
  344. font-size: 1rem;
  345. display: flex;
  346. align-items: center;
  347. gap: 0.75rem;
  348. }
  349. .aboutMy_box_btn img {
  350. width: 1.5rem;
  351. height: 1.5rem;
  352. }
  353. .aboutMy_box_img {
  354. width: 30.625rem;
  355. height: 33.125rem;
  356. }
  357. /* 合作伙伴 */
  358. .cooperation_box {
  359. display: flex;
  360. align-items: center;
  361. overflow: hidden;
  362. margin-top: 3.75rem;
  363. }
  364. .cooperation_box_scroll {
  365. width: 63.75rem;
  366. display: flex;
  367. align-items: center;
  368. animation: scroll 20s linear;
  369. animation-iteration-count: infinite;
  370. }
  371. @keyframes scroll {
  372. 0% {
  373. transform: translateX(0%);
  374. }
  375. 100% {
  376. transform: translateX(-200%);
  377. }
  378. }
  379. .cooperation_box_item {
  380. width: 20%;
  381. min-width: 20%;
  382. display: flex;
  383. flex-direction: column;
  384. align-items: center;
  385. gap: 1.5rem;
  386. }
  387. .cooperation_box_img {
  388. width: 4rem;
  389. height: 4rem;
  390. background-color: #f7f8fa;
  391. border-radius: 50%;
  392. overflow: hidden;
  393. }
  394. .cooperation_box_img img {
  395. width: 2.5rem;
  396. height: 2.5rem;
  397. }
  398. .cooperation_box_text {
  399. color: #2B2D33;
  400. font-size: 1.5rem;
  401. text-align: center;
  402. }
  403. /* 常见问题解答 */
  404. .problem {
  405. display: flex;
  406. flex-direction: row;
  407. justify-content: space-between;
  408. }
  409. .problem .body_box_subtitle {
  410. text-align: left;
  411. }
  412. .problem_box {
  413. width: 36.875rem;
  414. }
  415. .problem_box_item {
  416. color: #2B2D33;
  417. height: 6rem;
  418. border-bottom: 0.0625rem solid #D7DAE2;
  419. overflow: hidden;
  420. transition: all 0.5s;
  421. }
  422. .problem_box_item_title {
  423. height: 6rem;
  424. font-size: 1.5rem;
  425. display: flex;
  426. align-items: center;
  427. }
  428. .problem_box_item_text {
  429. color: #555A65;
  430. font-size: 1rem;
  431. padding-bottom: 2rem;
  432. }
  433. .fold_img {
  434. margin-left: auto;
  435. filter: grayscale(100%);
  436. transform: rotate(180deg);
  437. transition: all 0.5s;
  438. }
  439. .problem_box_item_sele {
  440. height: auto;
  441. }
  442. .problem_box_item_sele .fold_img {
  443. filter: grayscale(0%);
  444. transform: rotate(0deg);
  445. transition: all 0.5s;
  446. }
  447. /* 联系我们 */
  448. .contact_box {
  449. background-color: #fff;
  450. border-radius: 1.5rem;
  451. padding: 3.75rem;
  452. box-sizing: border-box;
  453. display: flex;
  454. align-items: center;
  455. justify-content: space-between;
  456. }
  457. .contact_box .body_box_subtitle {
  458. text-align: left;
  459. }
  460. .my_information {
  461. color: #555A65;
  462. margin-top: 2.5rem;
  463. font-size: 0.875rem;
  464. display: flex;
  465. flex-direction: column;
  466. gap: 1.25rem;
  467. }
  468. .my_information_item {
  469. display: flex;
  470. align-items: center;
  471. height: 1.5rem;
  472. font-weight: normal;
  473. gap: 0.75rem;
  474. }
  475. .my_information_item img {
  476. width: 1.5rem;
  477. height: 1.5rem;
  478. }
  479. .body_box_code {
  480. color: #555A65;
  481. font-size: 1rem;
  482. text-align: center;
  483. }
  484. .body_box_code img {
  485. width: 12.5rem;
  486. height: 12.5rem;
  487. margin-bottom: 1.0625rem;
  488. }
  489. /* 底部导航 */
  490. .box_bottom_class {
  491. color: #fff;
  492. display: flex;
  493. align-items: center;
  494. padding-bottom: 3.125rem !important;
  495. }
  496. .bottom_logo {
  497. display: flex;
  498. align-items: center;
  499. flex-direction: column;
  500. text-align: center;
  501. font-size: 0.875rem;
  502. width: 19.3125rem;
  503. padding: 1.25rem;
  504. box-sizing: border-box;
  505. }
  506. .bottom_logo img {
  507. width: 5rem;
  508. height: 4.9375rem;
  509. margin-bottom: 1.25rem;
  510. }
  511. .bottom_logo_title {
  512. font-size: 2.5rem;
  513. margin-bottom: 2rem;
  514. }
  515. .bottom_menu {
  516. flex: 1;
  517. padding-left: 5.8125rem;
  518. display: flex;
  519. }
  520. .bottom_menu_item {
  521. flex: 1;
  522. display: flex;
  523. flex-direction: column;
  524. gap: 1.5rem;
  525. }
  526. .bottom_menu_title {
  527. font-size: 1.25rem;
  528. }
  529. .bottom_menu_li {
  530. font-size: 0.875rem;
  531. cursor: pointer;
  532. }
  533. .bottom_menu_li a {
  534. color: #fff;
  535. font-size: 0.875rem;
  536. }
  537. .bottom_wx_code {
  538. width: 12.5rem;
  539. display: flex;
  540. flex-direction: column;
  541. gap: 1.125rem;
  542. font-size: 1rem;
  543. text-align: center;
  544. }
  545. .bottom_wx_code_img {
  546. width: 100%;
  547. height: 12.5rem;
  548. background-color: #fff;
  549. overflow: hidden;
  550. }
  551. .bottom_wx_code_img img {
  552. width: 100%;
  553. height: 100%;
  554. padding: 10px;
  555. box-sizing: border-box;
  556. }
  557. .web_information_content {
  558. color: #fff;
  559. height: 100%;
  560. padding: 0 !important;
  561. font-size: 1rem;
  562. display: flex;
  563. align-items: center;
  564. flex-wrap: wrap;
  565. gap: 2.5rem;
  566. }
  567. .user_box {
  568. display: flex;
  569. align-items: center;
  570. }
  571. .user_box_scroll_btn {
  572. width: 2rem;
  573. height: 2rem;
  574. cursor: pointer;
  575. }
  576. .user_box_scroll_btn img {
  577. width: 2rem;
  578. height: 2rem;
  579. }
  580. .user_box_scroll {
  581. flex: 1;
  582. display: flex;
  583. align-items: center;
  584. overflow: hidden;
  585. padding: 0.3125rem 0.25rem;
  586. margin: 0 1rem;
  587. box-sizing: border-box;
  588. }
  589. .user_box_scroll_center {
  590. display: flex;
  591. gap: 2%;
  592. transition: all 0.5s;
  593. width: 100%;
  594. /* width: 64rem; */
  595. /* transform: translate(-64.75rem, 0); */
  596. /* transform: translate(calc(-64.75rem), 0); */
  597. }
  598. .user_box_item {
  599. color: #555A65;
  600. width: 32%;
  601. min-width: 32%;
  602. max-width: 32%;
  603. /* width: 50%;
  604. min-width: 50%;
  605. max-width: 50%; */
  606. min-height: 16.5rem;
  607. background-color: #fff;
  608. box-shadow: 0 2px 0.625rem rgba(0, 0, 0, 0.18);
  609. border-radius: 0.625rem;
  610. display: flex;
  611. flex-direction: column;
  612. gap: 1rem;
  613. /* padding: 1rem; */
  614. box-sizing: border-box;
  615. font-size: 1rem;
  616. position: relative;
  617. }
  618. .user_box_item_top {
  619. display: flex;
  620. align-items: center;
  621. gap: 1rem;
  622. }
  623. .user_box_item_title {
  624. font-size: 1.125rem;
  625. line-height: 1.75rem;
  626. margin-bottom: 0.125rem;
  627. }
  628. .shadow_text {
  629. opacity: 0;
  630. color: #fff !important;
  631. position: absolute;
  632. left: 0;
  633. bottom: 0;
  634. width: 100%;
  635. height: 100%;
  636. padding-top: 1.625rem;
  637. background: rgba(0, 0, 0, 0.4);
  638. /* background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0)); */
  639. display: flex;
  640. flex-direction: column;
  641. justify-content: center;
  642. gap: 0.625rem;
  643. transition: all 0.5s;
  644. }
  645. .user_box_item:hover .shadow_text {
  646. opacity: 1;
  647. }
  648. .title_btns {
  649. justify-content: left;
  650. }
  651. @media (max-width: 1120px) {
  652. .scene_box_item {
  653. width: 33.75rem;
  654. }
  655. .shadow_text {
  656. opacity: 1;
  657. }
  658. .title_btns {
  659. justify-content: center;
  660. }
  661. }