index2.css 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718
  1. /* 轮播 */
  2. .sliderBox,.banner{
  3. height: 470px;
  4. }
  5. .slider1{
  6. background: url(../imgs/banner1.jpg) no-repeat center;
  7. background-size: cover;
  8. }
  9. .slider2{
  10. background: url(../imgs/banner2.jpg) no-repeat center;
  11. background-size: cover;
  12. }
  13. .slider3{
  14. background: url(../imgs/banner3.jpg) no-repeat center;
  15. background-size: cover;
  16. }
  17. span.swiper-pagination-bullet{
  18. width: 30px;
  19. border-radius: 0;
  20. }
  21. span.swiper-pagination-bullet-active{
  22. background: #3ab851;
  23. }
  24. /* 内容标题 */
  25. .caption{
  26. border-bottom: 5px solid #ff6a28;
  27. padding: 35px 0 15px;
  28. margin-bottom: 20px;
  29. }
  30. .caption .chinese{
  31. font-size: 24px;
  32. font-weight: bold;
  33. color: #38b954;
  34. }
  35. .caption .english{
  36. font-size: 12px;
  37. color: #b2b2b2;
  38. margin-left: 10px;
  39. }
  40. /* 内容-示范区 */
  41. .content1{
  42. height: 476px;
  43. display: flex;
  44. border: 1px solid #e3e3e3;
  45. border-top: none;
  46. overflow: hidden;
  47. }
  48. .content1 .excellentFarm{
  49. width: 880px;
  50. }
  51. .farmsTop{
  52. display: flex;
  53. border-top: 1px solid #e3e3e3;
  54. border-bottom: 1px solid #e3e3e3;
  55. height: 60px;
  56. justify-content: space-between;
  57. padding: 0 20px;
  58. align-items: center;
  59. }
  60. /* .farmsTop .title div{
  61. border-left: 3px solid #ff6a28;
  62. padding-left: 8px;
  63. font-size: 16px;
  64. } */
  65. .farmsTop .ctrlBtn{
  66. font-size: 0;
  67. border: 1px solid #e8e6e7;
  68. }
  69. .farmsTop .ctrlBtn button{
  70. width: 30px;
  71. height: 26px;
  72. line-height: 24px;
  73. font-size: 14px;
  74. background-color: #fff;
  75. border: 1px solid #e8e6e7;
  76. }
  77. .farmsTop .ctrlBtn button i{
  78. color: #b0b0b0;
  79. }
  80. .farmsbottom{
  81. display: flex;
  82. }
  83. .farmsbottom .farmImg{
  84. flex: 1;
  85. position: relative;
  86. }
  87. .farmsbottom .farmImg .hotIcon{
  88. position: absolute;
  89. right: 13px;
  90. top: 0;
  91. }
  92. .farmsbottom .farmImg .masking{
  93. padding-top: 20px;
  94. position: absolute;
  95. bottom: 15px;
  96. left: 0;
  97. right: 0;
  98. background: rgba(58, 158, 89, 0.89);
  99. text-align: center;
  100. color: #fff;
  101. font-size: 14px;
  102. line-height: 30px;
  103. }
  104. .farmsbottom .farmIntroduce{
  105. width: 600px;
  106. }
  107. .farmsSwiper{
  108. height: 404px;
  109. overflow: hidden;
  110. padding: 20px;
  111. position: relative;
  112. }
  113. .farmsSwiper .farmsUl{
  114. position: absolute;
  115. top: 0;
  116. transition: all 1s ease 0s;
  117. }
  118. .farmsUl .farm-item{
  119. /* height: 62px; */
  120. padding-top: 24px;
  121. overflow: hidden;
  122. }
  123. .farmsUl .farm-item img{
  124. width: 88px;
  125. height: 72px;
  126. float: left;
  127. margin-right: 15px;
  128. }
  129. .farmsUl .farm-item .news-item-txt{
  130. float: left;
  131. width: 456px;
  132. }
  133. .farmsUl .farm-item .news-item-txt h1{
  134. width: 465px;
  135. overflow: hidden;
  136. white-space: nowrap;
  137. text-overflow: ellipsis;
  138. line-height: 28px;
  139. font-size: 16px;
  140. color: #60a830;
  141. }
  142. .farmsUl .farm-item .desc{
  143. height: 40px;
  144. overflow: hidden;
  145. margin-top: 3px;
  146. line-height: 20px;
  147. font-size: 12px;
  148. color: #666;
  149. }
  150. .content1 .news{
  151. height: 100%;
  152. flex: 1;
  153. border-left: 1px solid #e3e3e3;
  154. }
  155. .content1 .news .newsTitle{
  156. display: flex;
  157. border-top: 1px solid #e3e3e3;
  158. border-bottom: 1px solid #e3e3e3;
  159. height: 60px;
  160. justify-content: space-between;
  161. padding: 0 20px;
  162. align-items: center;
  163. background: #fbfbfb;
  164. }
  165. .content1 .news .newsTitle span{
  166. font-size: 16px;
  167. color: #000;
  168. }
  169. .content1 .news .newsTitle .more{
  170. height: 22px;
  171. padding: 0 10px;
  172. background-color: #fff;
  173. border: 1px solid #eaeaea;
  174. line-height: 22px;
  175. font-size: 12px;
  176. color: #666;
  177. }
  178. .content1 .news .newsContent{
  179. height: 87%;
  180. overflow: hidden;
  181. }
  182. .content1 .news .newsContent .news-txt-list{
  183. padding: 10px 20px;
  184. }
  185. .content1 .news .newsContent .news-txt-item{
  186. position: relative;
  187. /* height: 16px; */
  188. overflow: hidden;
  189. padding-left: 10px;
  190. margin-top: 12px;
  191. font-size: 12px;
  192. line-height: 21px;
  193. }
  194. .content1 .news .newsContent .news-txt-item::after{
  195. background-color: #60a830;
  196. content: '';
  197. position: absolute;
  198. left: 0;
  199. top: 8px;
  200. width: 3px;
  201. height: 3px;
  202. border-radius: 50%;
  203. }
  204. .content1 .news .newsContent .news-txt-item a{
  205. white-space: nowrap;
  206. display: block;
  207. width: 265px;
  208. overflow: hidden;
  209. text-overflow: ellipsis;
  210. }
  211. /* 内容-广告区 */
  212. .adv{
  213. margin-top: 20px;
  214. }
  215. /* 内容-四季采摘 */
  216. .pickCover{
  217. display: flex;
  218. }
  219. .farmPick{
  220. flex: 1;
  221. border: 1px solid #e3e3e3;
  222. }
  223. .farmPickTop{
  224. display: flex;
  225. justify-content: space-between;
  226. align-items: center;
  227. height: 60px;
  228. padding: 0 20px;
  229. border-bottom: 1px solid #e3e3e3;
  230. }
  231. .farmPickTop a{
  232. font-size: 14px;
  233. color: #41b850;
  234. }
  235. .farmPickBottom{
  236. display: flex;
  237. justify-content: space-between;
  238. }
  239. .farmPickBottom .product{
  240. width:640px;
  241. border-right: 1px solid #e3e3e3;
  242. }
  243. .farmPickBottom .pickTitle{
  244. background: #f0f0f0;
  245. color: #000000;
  246. font-size: 14px;
  247. font-weight: bold;
  248. line-height: 35px;
  249. padding: 0 30px;
  250. position: relative;
  251. }
  252. .farmPickBottom .pickTitle::before{
  253. position: absolute;
  254. content: '';
  255. height: 20px;
  256. width: 3px;
  257. background: #41b850;
  258. top: 7px;
  259. left: 20px;
  260. }
  261. .farmPickBottom .productList{
  262. overflow: hidden;
  263. }
  264. .farmPickBottom .productItem{
  265. width: 135px;
  266. float: left;
  267. margin: 10px;
  268. }
  269. .farmPickBottom .productItem img{
  270. width: 135px;
  271. height: 105px;
  272. }
  273. .farmPickBottom .productItem P{
  274. text-align: center;
  275. line-height: 30px;
  276. white-space: nowrap;
  277. overflow: hidden;
  278. text-overflow: ellipsis;
  279. }
  280. .farmPickBottom .productItem:hover a{
  281. color: #3ab851;
  282. }
  283. .farmPickBottom .supply{
  284. border-left: 1px solid #e3e3e3;
  285. width: 260px;
  286. }
  287. .supply li{
  288. padding: 0 18px;
  289. border-top: 1px solid #eaeaea;
  290. }
  291. .supply li:nth-child(1){
  292. border: none;
  293. }
  294. .supply .sort-number {
  295. margin-right: 7%;
  296. text-align: center;
  297. line-height: 8px;
  298. margin: 5px 11px 5px 0;
  299. padding: 10px;
  300. display: inline-block;
  301. }
  302. .supply .sort-number-top{
  303. background: #009237;
  304. color: #FFFFFF;
  305. }
  306. .supply li a{
  307. white-space: nowrap;
  308. overflow: hidden;
  309. display: inline-block;
  310. width: 80%;
  311. text-overflow: ellipsis;
  312. vertical-align: middle;
  313. }
  314. .supply li a:hover{
  315. color: #3ab851;
  316. }
  317. .farmPickImg{
  318. width: 280px;
  319. position: relative;
  320. }
  321. .farmPickImg div{
  322. position: absolute;
  323. bottom: 0;
  324. left: 0;
  325. right: 0;
  326. background: #3a9e598c;
  327. color: #fff;
  328. text-align: center;
  329. line-height: 30px;
  330. font-size: 16px;
  331. padding: 10px;
  332. }
  333. /* 内容-农场导览 */
  334. .hacienda{
  335. border: 1px solid #e3e3e3;
  336. }
  337. .hacienda .haciendaTop{
  338. display: flex;
  339. justify-content: space-between;
  340. align-items: center;
  341. height: 60px;
  342. padding: 0 20px;
  343. border-bottom: 1px solid #e3e3e3;
  344. }
  345. .hacienda .haciendaTop a{
  346. color: #fff;
  347. border-radius: 5px;
  348. background-color: #ff6a28;
  349. padding: 8px 22px;
  350. }
  351. .hacienda .haciendaList{
  352. display: flex;
  353. flex-flow: wrap;
  354. }
  355. .hacienda .haciendaList{
  356. padding: 20px 20px 0 20px;
  357. }
  358. .hacienda .haciendaItem{
  359. display: flex;
  360. margin-bottom: 20px;
  361. }
  362. .hacienda .haciendaImg{
  363. width: 205px;
  364. height: 175px;
  365. position: relative;
  366. }
  367. .hacienda .haciendaImg .haciendaImg1{
  368. width: 100%;
  369. height: 100%;
  370. }
  371. .hacienda .haciendaImg .haciendaImg2{
  372. position: absolute;
  373. top: 0;
  374. left: 10px;
  375. }
  376. .hacienda .haciendaItem .haciendaTxt{
  377. width: 180px;
  378. padding: 10px 15px;
  379. }
  380. .hacienda .haciendaItem .haciendaTxt h2{
  381. font-size: 14px;
  382. font-weight: bold;
  383. line-height: 33px;
  384. white-space: nowrap;
  385. overflow: hidden;
  386. text-overflow: ellipsis;
  387. }
  388. .hacienda .haciendaItem .haciendaTxt .desc{
  389. letter-spacing: 2px;
  390. height: 82px;
  391. overflow: hidden;
  392. margin-bottom: 20px;
  393. }
  394. .hacienda .haciendaItem .haciendaTxt button{
  395. color: #fff;
  396. padding: 5px 10px;
  397. border-radius: 5px;
  398. }
  399. .hacienda .haciendaItem .haciendaTxt button.btn1{
  400. background-color: #00aeed;
  401. }
  402. .hacienda .haciendaItem .haciendaTxt button.btn2{
  403. background-color: #3bb852;
  404. }
  405. /* 内容-旅游导览 */
  406. .travelCover{
  407. display: flex;
  408. }
  409. .travelCover .travelLeft{
  410. flex: 1;
  411. }
  412. .travelLeft .travelList{
  413. display: flex;
  414. flex-flow: wrap;
  415. }
  416. .travelList .travelItem{
  417. width: 282px;
  418. margin: 10px;
  419. background-color: #f8f8f8;
  420. cursor: pointer;
  421. }
  422. .travelList .travelItem .travelImg{
  423. position: relative;
  424. width: 270px;
  425. height: 155px;
  426. }
  427. .travelList .travelItem .travelImg .haciendaImg1{
  428. width: 100%;
  429. height: 100%;
  430. }
  431. .travelList .travelItem .travelImg .haciendaImg2{
  432. position: absolute;
  433. top: 0;
  434. left: 10px;
  435. }
  436. .travelList .travelItem .travelTitle{
  437. padding: 10px;
  438. }
  439. .travelList .travelItem .travelTitle h2{
  440. font-size: 14px;
  441. font-weight: bold;
  442. line-height: 30px;
  443. }
  444. .travelList .travelItem:hover .travelTitle h2{
  445. color: #3ab851;
  446. }
  447. .travelList .travelItem .travelTitle div{
  448. height: 40px;
  449. overflow: hidden;
  450. }
  451. .travelCover .travelRight{
  452. width: 280px;
  453. padding-right: 20px;
  454. }
  455. .travelCover .travelRight .travelGuide{
  456. /* width: 285px; */
  457. padding: 20px 20px 20px 0;
  458. margin-top: 25px;
  459. }
  460. .travelCover .travelRight >a{
  461. }
  462. .travelRight .travelGuide{
  463. display: flex;
  464. align-items: center;
  465. border: 1px solid #e3e3e3;
  466. justify-content: space-around;
  467. padding: 20px 10px;
  468. box-shadow: 1px 1px 6px 0px #dadada;
  469. }
  470. .travelRight .travelGuide1{
  471. border-top: 3px solid #34abe3;
  472. }
  473. .travelRight .travelGuide1 .guideTag{
  474. color: #34abe3;
  475. }
  476. .travelRight .travelGuide2{
  477. border-top: 3px solid #e4c666;
  478. }
  479. .travelRight .travelGuide2 .guideTag{
  480. color: #e4c666;
  481. }
  482. .travelRight .travelGuide3{
  483. border-top: 3px solid #e86f90;
  484. }
  485. .travelRight .travelGuide3 .guideTag{
  486. color: #e86f90;
  487. }
  488. .travelRight .travelGuide4{
  489. border-top: 3px solid #7accc0;
  490. }
  491. .travelRight .travelGuide4 .guideTag{
  492. color: #7accc0;
  493. }
  494. .travelRight .travelGuide div .guideTag{
  495. font-size: 18px;
  496. line-height: 28px;
  497. font-weight: 700;
  498. }
  499. .travelRight .travelGuide div p{
  500. color: #c1c1c1;
  501. }
  502. /* 内容-民宿导览 */
  503. .hotelCover{
  504. display: flex;
  505. border: 1px solid #e3e3e3;
  506. }
  507. .hotelCover .hotHotel{
  508. width: 282px;
  509. border-right: 1px solid #e3e3e3;
  510. }
  511. .hotelCover .hotHotel .title{
  512. height: 60px;
  513. line-height: 60px;
  514. padding: 0 20px;
  515. border-bottom: 1px solid #e3e3e3;
  516. background: #f8f8f8;
  517. font-size: 18px;
  518. font-weight: 700;
  519. }
  520. .hotelCover .hotHotel .title span{
  521. font-size: 12px;
  522. color: #797979;
  523. font-weight: 100;
  524. margin-left: 10px;
  525. }
  526. .hotHotelList .hotHotelItem{
  527. padding: 16px 16px 16px 20px;
  528. border-bottom: 1px solid #e3e3e3;
  529. margin-bottom: 0px;
  530. overflow: hidden;
  531. }
  532. .hotHotelList .hotHotelItem:last-child{
  533. border: none;
  534. }
  535. .hotHotelList .hotHotelItem img{
  536. float: left;
  537. }
  538. .hotHotelList .hotHotelItem .desc{
  539. margin-left: 110px;
  540. }
  541. .hotHotelList .hotHotelItem .desc h3{
  542. font-size: 14px;
  543. line-height: 30px;
  544. font-weight: bold;
  545. white-space: nowrap;
  546. overflow: hidden;
  547. text-overflow: ellipsis;
  548. }
  549. .hotHotelList .hotHotelItem .desc div{
  550. height: 41px;
  551. overflow: hidden;
  552. line-height: 20px;
  553. color: #a4a4a4;
  554. }
  555. .hotHotelList .hotHotelItem:hover .desc h3{
  556. color: #3ab851;
  557. }
  558. .recommendHotel{
  559. flex: 1;
  560. }
  561. .recommendHotel .titel{
  562. display: flex;
  563. justify-content: space-between;
  564. align-items: center;
  565. height: 60px;
  566. padding: 0 20px;
  567. border-bottom: 1px solid #e3e3e3;
  568. }
  569. .recommendHotel .titel div{
  570. font-size: 18px;
  571. font-weight: 700;
  572. }
  573. .recommendHotel .titel .more{
  574. background: #ff6a28;
  575. color: #fff;
  576. border-radius: 5px;
  577. padding: 8px 22px;
  578. }
  579. .recommendHotel .recommendHotelList{
  580. display: flex;
  581. flex-flow: wrap;
  582. }
  583. .recommendHotel .recommendHotelList .recommendHotelItem{
  584. width: 305px;
  585. padding: 20px;
  586. }
  587. .recommendHotelList .recommendHotelItem:hover .recommendHotelImg img{
  588. transform:scale(1.2);transform:scale(1.2);
  589. -webkit-transform:scale(1.2);transform:scale(1.2);
  590. }
  591. .recommendHotelList .recommendHotelItem:hover h1{
  592. color: #3ab851;
  593. }
  594. .recommendHotelItem .recommendHotelImg{
  595. width: 100%;
  596. height: 200px;
  597. overflow: hidden;
  598. }
  599. .recommendHotelItem .recommendHotelImg img{
  600. width: 100%;
  601. height: 100%;
  602. transition:all 0.6s;
  603. }
  604. .recommendHotelItem h1{
  605. line-height: 30px;
  606. padding: 0 20px;
  607. font-size: 14px;
  608. font-weight: 700;
  609. }
  610. .recommendHotelItem .area{
  611. line-height: 14px;
  612. padding: 0 20px;
  613. color: #949494;
  614. height: 30px;
  615. overflow: hidden;
  616. margin-bottom: 15px;
  617. }
  618. .recommendHotelItem .sortNum{
  619. text-align: right;
  620. line-height: 14px;
  621. }
  622. .recommendHotelItem .sortNum span{
  623. padding: 5px 10px;
  624. background: #f86928;
  625. color: #fff;
  626. border-radius: 6px;
  627. }
  628. /* 橘黄标题 */
  629. .orangTitle{
  630. border-left: 3px solid #ff6a28;
  631. padding-left: 8px;
  632. font-size: 16px;
  633. }
  634. /* 农场导览弹出观光样式 */
  635. .tourismShow{
  636. position: relative;
  637. z-index: 999;
  638. opacity: 0;
  639. display: none;
  640. position: fixed;
  641. top: 25%;
  642. left: 50%;
  643. margin-left: -300px;
  644. width: 600px;
  645. min-height: 400px;
  646. background-color: #fff;
  647. border: 1px solid #f1f1f1;
  648. -webkit-box-shadow: 2px 4px 10px rgba(0,0,0,.15);
  649. -moz-box-shadow: 2px 4px 10px rgba(0,0,0,.15);
  650. -o-box-shadow: 2px 4px 10px rgba(0,0,0,.15);
  651. box-shadow: 2px 4px 10px rgba(0,0,0,.15);
  652. padding: 20px;
  653. border-radius: 12px;
  654. z-index: 9;
  655. border-top-left-radius: 0;
  656. cursor: default;
  657. border-top-right-radius: 0;
  658. transition: all .5s;
  659. }
  660. .tourismShow .title{
  661. border-left: 3px solid #ff6a28;
  662. padding-left: 8px;
  663. font-size: 16px;
  664. }
  665. .tourismShow .line{
  666. border-bottom: 1px solid #ddd;
  667. margin-top: 10px;
  668. }
  669. .tourismShow .content{
  670. height: 430px;
  671. padding-top: 20px;
  672. }
  673. .tourismShow .tourismShowCloseBtn{
  674. position: absolute;
  675. right: 15px;
  676. top: 11px;
  677. border-radius: 50%;
  678. border: 2px solid #ddd;
  679. width: 25px;
  680. height: 25px;
  681. line-height: 20px;
  682. text-align: center;
  683. cursor: pointer;
  684. }
  685. .tourismShow .content .guideForm>input{
  686. width: 40%;
  687. }
  688. .tourismShow .content .guideForm>button{
  689. color: #fff;
  690. padding: 5px 6px;
  691. border-radius: 5px;
  692. vertical-align: middle;
  693. margin-left: 10px;
  694. background: #1eaeed;
  695. }
  696. .tourismShow .content .guideForm>button{
  697. color: #fff;
  698. padding: 5px 6px;
  699. border-radius: 5px;
  700. vertical-align: middle;
  701. margin-left: 10px;
  702. background: #1eaeed;
  703. }
  704. .tourismShow .content #map{
  705. height: 373px;
  706. margin-top: 10px;
  707. }
  708. .tourismShow .loadDiv{
  709. position: absolute;
  710. left: 45%;
  711. top: 45%;
  712. }