index2.css 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723
  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. min-height: 346px;
  239. }
  240. .farmPickBottom .product{
  241. width:640px;
  242. border-right: 1px solid #e3e3e3;
  243. }
  244. .farmPickBottom .pickTitle{
  245. background: #f0f0f0;
  246. color: #000000;
  247. font-size: 14px;
  248. font-weight: bold;
  249. line-height: 35px;
  250. padding: 0 30px;
  251. position: relative;
  252. }
  253. .farmPickBottom .pickTitle::before{
  254. position: absolute;
  255. content: '';
  256. height: 20px;
  257. width: 3px;
  258. background: #41b850;
  259. top: 7px;
  260. left: 20px;
  261. }
  262. .farmPickBottom .productList{
  263. overflow: hidden;
  264. }
  265. .farmPickBottom .productItem{
  266. width: 135px;
  267. float: left;
  268. margin: 10px;
  269. }
  270. .farmPickBottom .productItem img{
  271. width: 135px;
  272. height: 105px;
  273. }
  274. .farmPickBottom .productItem P{
  275. text-align: center;
  276. line-height: 30px;
  277. white-space: nowrap;
  278. overflow: hidden;
  279. text-overflow: ellipsis;
  280. }
  281. .farmPickBottom .productItem:hover a{
  282. color: #3ab851;
  283. }
  284. .farmPickBottom .supply{
  285. border-left: 1px solid #e3e3e3;
  286. width: 260px;
  287. }
  288. .supply li{
  289. padding: 0 18px;
  290. border-top: 1px solid #eaeaea;
  291. }
  292. .supply li:nth-child(1){
  293. border: none;
  294. }
  295. .supply .sort-number {
  296. margin-right: 7%;
  297. text-align: center;
  298. line-height: 8px;
  299. margin: 5px 11px 5px 0;
  300. padding: 10px;
  301. display: inline-block;
  302. }
  303. .supply .sort-number-top{
  304. background: #009237;
  305. color: #FFFFFF;
  306. }
  307. .supply li a{
  308. white-space: nowrap;
  309. overflow: hidden;
  310. display: inline-block;
  311. width: 80%;
  312. text-overflow: ellipsis;
  313. vertical-align: middle;
  314. }
  315. .supply li a:hover{
  316. color: #3ab851;
  317. }
  318. .farmPickImg{
  319. width: 280px;
  320. position: relative;
  321. }
  322. .farmPickImg div{
  323. position: absolute;
  324. bottom: 0;
  325. left: 0;
  326. right: 0;
  327. background: #3a9e598c;
  328. color: #fff;
  329. text-align: center;
  330. line-height: 30px;
  331. font-size: 16px;
  332. padding: 10px;
  333. }
  334. /* 内容-农场导览 */
  335. .hacienda{
  336. border: 1px solid #e3e3e3;
  337. }
  338. .hacienda .haciendaTop{
  339. display: flex;
  340. justify-content: space-between;
  341. align-items: center;
  342. height: 60px;
  343. padding: 0 20px;
  344. border-bottom: 1px solid #e3e3e3;
  345. }
  346. .hacienda .haciendaTop a{
  347. color: #fff;
  348. border-radius: 5px;
  349. background-color: #ff6a28;
  350. padding: 8px 22px;
  351. }
  352. .hacienda .haciendaList{
  353. display: flex;
  354. flex-flow: wrap;
  355. }
  356. .hacienda .haciendaList{
  357. padding: 20px 20px 0 20px;
  358. }
  359. .hacienda .haciendaItem{
  360. display: flex;
  361. margin-bottom: 20px;
  362. }
  363. .hacienda .haciendaImg{
  364. width: 205px;
  365. height: 175px;
  366. position: relative;
  367. }
  368. .hacienda .haciendaImg .haciendaImg1{
  369. width: 100%;
  370. height: 100%;
  371. }
  372. .hacienda .haciendaImg .haciendaImg2{
  373. position: absolute;
  374. top: 0;
  375. left: 10px;
  376. }
  377. .hacienda .haciendaItem .haciendaTxt{
  378. width: 180px;
  379. padding: 10px 15px;
  380. }
  381. .hacienda .haciendaItem .haciendaTxt h2{
  382. font-size: 14px;
  383. font-weight: bold;
  384. line-height: 33px;
  385. white-space: nowrap;
  386. overflow: hidden;
  387. text-overflow: ellipsis;
  388. }
  389. .hacienda .haciendaItem .haciendaTxt .desc{
  390. letter-spacing: 2px;
  391. height: 82px;
  392. overflow: hidden;
  393. margin-bottom: 20px;
  394. }
  395. .hacienda .haciendaItem .haciendaTxt button{
  396. color: #fff;
  397. padding: 5px 10px;
  398. border-radius: 5px;
  399. }
  400. .hacienda .haciendaItem .haciendaTxt button.btn1{
  401. background-color: #00aeed;
  402. }
  403. .hacienda .haciendaItem .haciendaTxt button.btn2{
  404. background-color: #3bb852;
  405. }
  406. /* 内容-旅游导览 */
  407. .travelCover{
  408. display: flex;
  409. }
  410. .travelCover .travelLeft{
  411. flex: 1;
  412. }
  413. .travelLeft .travelList{
  414. display: flex;
  415. flex-flow: wrap;
  416. }
  417. .travelList .travelItem{
  418. width: 282px;
  419. margin: 10px;
  420. background-color: #f8f8f8;
  421. cursor: pointer;
  422. }
  423. .travelList .travelItem .travelImg{
  424. position: relative;
  425. width: 270px;
  426. height: 155px;
  427. }
  428. .travelList .travelItem .travelImg .haciendaImg1{
  429. width: 100%;
  430. height: 100%;
  431. }
  432. .travelList .travelItem .travelImg .haciendaImg2{
  433. position: absolute;
  434. top: 0;
  435. left: 10px;
  436. }
  437. .travelList .travelItem .travelTitle{
  438. padding: 10px;
  439. }
  440. .travelList .travelItem .travelTitle h2{
  441. font-size: 14px;
  442. font-weight: bold;
  443. line-height: 30px;
  444. }
  445. .travelList .travelItem:hover .travelTitle h2{
  446. color: #3ab851;
  447. }
  448. .travelList .travelItem .travelTitle div{
  449. height: 40px;
  450. overflow: hidden;
  451. font-size: 14px;
  452. }
  453. .travelCover .travelRight{
  454. width: 280px;
  455. padding-right: 20px;
  456. }
  457. .travelCover .travelRight .travelGuide{
  458. /* width: 285px; */
  459. padding: 20px 20px 20px 0;
  460. margin-top: 25px;
  461. }
  462. .travelCover .travelRight >a{
  463. }
  464. .travelRight .travelGuide{
  465. display: flex;
  466. align-items: center;
  467. border: 1px solid #e3e3e3;
  468. justify-content: space-around;
  469. padding: 20px 10px;
  470. box-shadow: 1px 1px 6px 0px #dadada;
  471. }
  472. .travelRight .travelGuide1{
  473. border-top: 3px solid #34abe3;
  474. }
  475. .travelRight .travelGuide1 .guideTag{
  476. color: #34abe3;
  477. }
  478. .travelRight .travelGuide2{
  479. border-top: 3px solid #e4c666;
  480. }
  481. .travelRight .travelGuide2 .guideTag{
  482. color: #e4c666;
  483. }
  484. .travelRight .travelGuide3{
  485. border-top: 3px solid #e86f90;
  486. }
  487. .travelRight .travelGuide3 .guideTag{
  488. color: #e86f90;
  489. }
  490. .travelRight .travelGuide4{
  491. border-top: 3px solid #7accc0;
  492. }
  493. .travelRight .travelGuide4 .guideTag{
  494. color: #7accc0;
  495. }
  496. .travelRight .travelGuide div .guideTag{
  497. font-size: 18px;
  498. line-height: 28px;
  499. font-weight: 700;
  500. }
  501. .travelRight .travelGuide div p{
  502. color: #c1c1c1;
  503. }
  504. /* 内容-民宿导览 */
  505. .hotelCover{
  506. display: flex;
  507. border: 1px solid #e3e3e3;
  508. }
  509. .hotelCover .hotHotel{
  510. width: 282px;
  511. border-right: 1px solid #e3e3e3;
  512. }
  513. .hotelCover .hotHotel .title{
  514. height: 60px;
  515. line-height: 60px;
  516. padding: 0 20px;
  517. border-bottom: 1px solid #e3e3e3;
  518. background: #f8f8f8;
  519. font-size: 18px;
  520. font-weight: 700;
  521. }
  522. .hotelCover .hotHotel .title span{
  523. font-size: 12px;
  524. color: #797979;
  525. font-weight: 100;
  526. margin-left: 10px;
  527. }
  528. .hotHotelList .hotHotelItem{
  529. padding: 16px 16px 16px 20px;
  530. border-bottom: 1px solid #e3e3e3;
  531. margin-bottom: 0px;
  532. overflow: hidden;
  533. }
  534. .hotHotelList .hotHotelItem:last-child{
  535. border: none;
  536. }
  537. .hotHotelList .hotHotelItem img{
  538. float: left;
  539. }
  540. .hotHotelList .hotHotelItem .desc{
  541. margin-left: 110px;
  542. }
  543. .hotHotelList .hotHotelItem .desc h3{
  544. font-size: 14px;
  545. line-height: 30px;
  546. font-weight: bold;
  547. white-space: nowrap;
  548. overflow: hidden;
  549. text-overflow: ellipsis;
  550. }
  551. .hotHotelList .hotHotelItem .desc div{
  552. height: 41px;
  553. overflow: hidden;
  554. line-height: 20px;
  555. color: #a4a4a4;
  556. }
  557. .hotHotelList .hotHotelItem:hover .desc h3{
  558. color: #3ab851;
  559. }
  560. .recommendHotel{
  561. flex: 1;
  562. }
  563. .recommendHotel .titel{
  564. display: flex;
  565. justify-content: space-between;
  566. align-items: center;
  567. height: 60px;
  568. padding: 0 20px;
  569. border-bottom: 1px solid #e3e3e3;
  570. }
  571. .recommendHotel .titel div{
  572. font-size: 18px;
  573. font-weight: 700;
  574. }
  575. .recommendHotel .titel .more{
  576. background: #ff6a28;
  577. color: #fff;
  578. border-radius: 5px;
  579. padding: 8px 22px;
  580. }
  581. .recommendHotel .recommendHotelList{
  582. display: flex;
  583. flex-flow: wrap;
  584. }
  585. .recommendHotel .recommendHotelList .recommendHotelItem{
  586. width: 305px;
  587. padding: 20px;
  588. }
  589. .recommendHotelList .recommendHotelItem:hover .recommendHotelImg img{
  590. transform:scale(1.2);transform:scale(1.2);
  591. -webkit-transform:scale(1.2);transform:scale(1.2);
  592. }
  593. .recommendHotelList .recommendHotelItem:hover h1{
  594. color: #3ab851;
  595. }
  596. .recommendHotelItem .recommendHotelImg{
  597. width: 100%;
  598. height: 200px;
  599. overflow: hidden;
  600. }
  601. .recommendHotelItem .recommendHotelImg img{
  602. width: 100%;
  603. height: 100%;
  604. transition:all 0.6s;
  605. }
  606. .recommendHotelItem h1{
  607. line-height: 30px;
  608. padding: 0 20px;
  609. font-size: 14px;
  610. font-weight: 700;
  611. white-space: nowrap;
  612. overflow: hidden;
  613. text-overflow: ellipsis;
  614. }
  615. .recommendHotelItem .area{
  616. line-height: 14px;
  617. padding: 0 20px;
  618. color: #949494;
  619. height: 30px;
  620. overflow: hidden;
  621. margin-bottom: 15px;
  622. }
  623. .recommendHotelItem .sortNum{
  624. text-align: right;
  625. line-height: 14px;
  626. }
  627. .recommendHotelItem .sortNum span{
  628. padding: 5px 10px;
  629. background: #f86928;
  630. color: #fff;
  631. border-radius: 6px;
  632. }
  633. /* 橘黄标题 */
  634. .orangTitle{
  635. border-left: 3px solid #ff6a28;
  636. padding-left: 8px;
  637. font-size: 16px;
  638. }
  639. /* 农场导览弹出观光样式 */
  640. .tourismShow{
  641. position: relative;
  642. z-index: 999;
  643. opacity: 0;
  644. display: none;
  645. position: fixed;
  646. top: 25%;
  647. left: 50%;
  648. margin-left: -300px;
  649. width: 600px;
  650. min-height: 400px;
  651. background-color: #fff;
  652. border: 1px solid #f1f1f1;
  653. -webkit-box-shadow: 2px 4px 10px rgba(0,0,0,.15);
  654. -moz-box-shadow: 2px 4px 10px rgba(0,0,0,.15);
  655. -o-box-shadow: 2px 4px 10px rgba(0,0,0,.15);
  656. box-shadow: 2px 4px 10px rgba(0,0,0,.15);
  657. padding: 20px;
  658. border-radius: 12px;
  659. z-index: 9;
  660. border-top-left-radius: 0;
  661. cursor: default;
  662. border-top-right-radius: 0;
  663. transition: all .5s;
  664. }
  665. .tourismShow .title{
  666. border-left: 3px solid #ff6a28;
  667. padding-left: 8px;
  668. font-size: 16px;
  669. }
  670. .tourismShow .line{
  671. border-bottom: 1px solid #ddd;
  672. margin-top: 10px;
  673. }
  674. .tourismShow .content{
  675. height: 430px;
  676. padding-top: 20px;
  677. }
  678. .tourismShow .tourismShowCloseBtn{
  679. position: absolute;
  680. right: 15px;
  681. top: 11px;
  682. border-radius: 50%;
  683. border: 2px solid #ddd;
  684. width: 25px;
  685. height: 25px;
  686. line-height: 20px;
  687. text-align: center;
  688. cursor: pointer;
  689. }
  690. .tourismShow .content .guideForm>input{
  691. width: 40%;
  692. }
  693. .tourismShow .content .guideForm>button{
  694. color: #fff;
  695. padding: 5px 6px;
  696. border-radius: 5px;
  697. vertical-align: middle;
  698. margin-left: 10px;
  699. background: #1eaeed;
  700. }
  701. .tourismShow .content .guideForm>button{
  702. color: #fff;
  703. padding: 5px 6px;
  704. border-radius: 5px;
  705. vertical-align: middle;
  706. margin-left: 10px;
  707. background: #1eaeed;
  708. }
  709. .tourismShow .content #map{
  710. height: 373px;
  711. margin-top: 10px;
  712. }
  713. .tourismShow .loadDiv{
  714. position: absolute;
  715. left: 45%;
  716. top: 45%;
  717. }