index2.css 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714
  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: 0;
  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: 100px;
  391. overflow: hidden;
  392. }
  393. .hacienda .haciendaItem .haciendaTxt button{
  394. color: #fff;
  395. padding: 5px 10px;
  396. border-radius: 5px;
  397. }
  398. .hacienda .haciendaItem .haciendaTxt button.btn1{
  399. background-color: #00aeed;
  400. }
  401. .hacienda .haciendaItem .haciendaTxt button.btn2{
  402. background-color: #3bb852;
  403. }
  404. /* 内容-旅游导览 */
  405. .travelCover{
  406. display: flex;
  407. }
  408. .travelCover .travelLeft{
  409. flex: 1;
  410. }
  411. .travelLeft .travelList{
  412. display: flex;
  413. flex-flow: wrap;
  414. }
  415. .travelList .travelItem{
  416. width: 282px;
  417. margin: 10px;
  418. background-color: #f8f8f8;
  419. cursor: pointer;
  420. }
  421. .travelList .travelItem .travelImg{
  422. position: relative;
  423. width: 270px;
  424. height: 155px;
  425. }
  426. .travelList .travelItem .travelImg .haciendaImg1{
  427. width: 100%;
  428. height: 100%;
  429. }
  430. .travelList .travelItem .travelImg .haciendaImg2{
  431. position: absolute;
  432. top: 0;
  433. left: 10px;
  434. }
  435. .travelList .travelItem .travelTitle{
  436. padding: 10px;
  437. }
  438. .travelList .travelItem .travelTitle h2{
  439. font-size: 14px;
  440. font-weight: bold;
  441. line-height: 30px;
  442. }
  443. .travelList .travelItem:hover .travelTitle h2{
  444. color: #3ab851;
  445. }
  446. .travelList .travelItem .travelTitle div{
  447. height: 40px;
  448. overflow: hidden;
  449. }
  450. .travelCover .travelRight{
  451. width: 280px;
  452. padding-right: 20px;
  453. }
  454. .travelCover .travelRight .travelGuide{
  455. /* width: 285px; */
  456. padding: 20px 20px 20px 0;
  457. margin-top: 25px;
  458. }
  459. .travelCover .travelRight >a{
  460. }
  461. .travelRight .travelGuide{
  462. display: flex;
  463. align-items: center;
  464. border: 1px solid #e3e3e3;
  465. justify-content: space-around;
  466. padding: 20px 10px;
  467. box-shadow: 1px 1px 6px 0px #dadada;
  468. }
  469. .travelRight .travelGuide1{
  470. border-top: 3px solid #34abe3;
  471. }
  472. .travelRight .travelGuide1 .guideTag{
  473. color: #34abe3;
  474. }
  475. .travelRight .travelGuide2{
  476. border-top: 3px solid #e4c666;
  477. }
  478. .travelRight .travelGuide2 .guideTag{
  479. color: #e4c666;
  480. }
  481. .travelRight .travelGuide3{
  482. border-top: 3px solid #e86f90;
  483. }
  484. .travelRight .travelGuide3 .guideTag{
  485. color: #e86f90;
  486. }
  487. .travelRight .travelGuide4{
  488. border-top: 3px solid #7accc0;
  489. }
  490. .travelRight .travelGuide4 .guideTag{
  491. color: #7accc0;
  492. }
  493. .travelRight .travelGuide div .guideTag{
  494. font-size: 18px;
  495. line-height: 28px;
  496. font-weight: 700;
  497. }
  498. .travelRight .travelGuide div p{
  499. color: #c1c1c1;
  500. }
  501. /* 内容-民宿导览 */
  502. .hotelCover{
  503. display: flex;
  504. border: 1px solid #e3e3e3;
  505. }
  506. .hotelCover .hotHotel{
  507. width: 282px;
  508. border-right: 1px solid #e3e3e3;
  509. }
  510. .hotelCover .hotHotel .title{
  511. height: 60px;
  512. line-height: 60px;
  513. padding: 0 20px;
  514. border-bottom: 1px solid #e3e3e3;
  515. background: #f8f8f8;
  516. font-size: 18px;
  517. font-weight: 700;
  518. }
  519. .hotelCover .hotHotel .title span{
  520. font-size: 12px;
  521. color: #797979;
  522. font-weight: 100;
  523. margin-left: 10px;
  524. }
  525. .hotHotelList .hotHotelItem{
  526. padding: 16px 16px 16px 20px;
  527. border-bottom: 1px solid #e3e3e3;
  528. margin-bottom: 0px;
  529. overflow: hidden;
  530. }
  531. .hotHotelList .hotHotelItem:last-child{
  532. border: none;
  533. }
  534. .hotHotelList .hotHotelItem img{
  535. float: left;
  536. }
  537. .hotHotelList .hotHotelItem .desc{
  538. margin-left: 110px;
  539. }
  540. .hotHotelList .hotHotelItem .desc h3{
  541. font-size: 14px;
  542. line-height: 30px;
  543. font-weight: bold;
  544. white-space: nowrap;
  545. overflow: hidden;
  546. text-overflow: ellipsis;
  547. }
  548. .hotHotelList .hotHotelItem .desc div{
  549. height: 41px;
  550. overflow: hidden;
  551. line-height: 20px;
  552. color: #a4a4a4;
  553. }
  554. .hotHotelList .hotHotelItem:hover .desc h3{
  555. color: #3ab851;
  556. }
  557. .recommendHotel{
  558. flex: 1;
  559. }
  560. .recommendHotel .titel{
  561. display: flex;
  562. justify-content: space-between;
  563. align-items: center;
  564. height: 60px;
  565. padding: 0 20px;
  566. border-bottom: 1px solid #e3e3e3;
  567. }
  568. .recommendHotel .titel div{
  569. font-size: 18px;
  570. font-weight: 700;
  571. }
  572. .recommendHotel .titel .more{
  573. background: #ff6a28;
  574. color: #fff;
  575. border-radius: 5px;
  576. padding: 8px 22px;
  577. }
  578. .recommendHotel .recommendHotelList{
  579. display: flex;
  580. flex-flow: wrap;
  581. }
  582. .recommendHotel .recommendHotelList .recommendHotelItem{
  583. width: 305px;
  584. padding: 20px;
  585. }
  586. .recommendHotelList .recommendHotelItem:hover .recommendHotelImg img{
  587. transform:scale(1.2);transform:scale(1.2);
  588. -webkit-transform:scale(1.2);transform:scale(1.2);
  589. }
  590. .recommendHotelList .recommendHotelItem:hover h1{
  591. color: #3ab851;
  592. }
  593. .recommendHotelItem .recommendHotelImg{
  594. width: 100%;
  595. height: 200px;
  596. overflow: hidden;
  597. }
  598. .recommendHotelItem .recommendHotelImg img{
  599. width: 100%;
  600. height: 100%;
  601. transition:all 0.6s;
  602. }
  603. .recommendHotelItem h1{
  604. line-height: 30px;
  605. padding: 0 20px;
  606. font-size: 14px;
  607. font-weight: 700;
  608. }
  609. .recommendHotelItem .area{
  610. line-height: 14px;
  611. padding: 0 20px;
  612. color: #949494;
  613. }
  614. .recommendHotelItem .sortNum{
  615. text-align: right;
  616. line-height: 14px;
  617. }
  618. .recommendHotelItem .sortNum span{
  619. padding: 5px 10px;
  620. background: #f86928;
  621. color: #fff;
  622. border-radius: 6px;
  623. }
  624. /* 橘黄标题 */
  625. .orangTitle{
  626. border-left: 3px solid #ff6a28;
  627. padding-left: 8px;
  628. font-size: 16px;
  629. }
  630. /* 农场导览弹出观光样式 */
  631. .tourismShow{
  632. position: relative;
  633. z-index: 999;
  634. opacity: 0;
  635. display: none;
  636. position: fixed;
  637. top: 25%;
  638. left: 50%;
  639. margin-left: -300px;
  640. width: 600px;
  641. min-height: 400px;
  642. background-color: #fff;
  643. border: 1px solid #f1f1f1;
  644. -webkit-box-shadow: 2px 4px 10px rgba(0,0,0,.15);
  645. -moz-box-shadow: 2px 4px 10px rgba(0,0,0,.15);
  646. -o-box-shadow: 2px 4px 10px rgba(0,0,0,.15);
  647. box-shadow: 2px 4px 10px rgba(0,0,0,.15);
  648. padding: 20px;
  649. border-radius: 12px;
  650. z-index: 9;
  651. border-top-left-radius: 0;
  652. cursor: default;
  653. border-top-right-radius: 0;
  654. transition: all .5s;
  655. }
  656. .tourismShow .title{
  657. border-left: 3px solid #ff6a28;
  658. padding-left: 8px;
  659. font-size: 16px;
  660. }
  661. .tourismShow .line{
  662. border-bottom: 1px solid #ddd;
  663. margin-top: 10px;
  664. }
  665. .tourismShow .content{
  666. height: 430px;
  667. padding-top: 20px;
  668. }
  669. .tourismShow .tourismShowCloseBtn{
  670. position: absolute;
  671. right: 15px;
  672. top: 11px;
  673. border-radius: 50%;
  674. border: 2px solid #ddd;
  675. width: 25px;
  676. height: 25px;
  677. line-height: 20px;
  678. text-align: center;
  679. cursor: pointer;
  680. }
  681. .tourismShow .content .guideForm>input{
  682. width: 40%;
  683. }
  684. .tourismShow .content .guideForm>button{
  685. color: #fff;
  686. padding: 5px 6px;
  687. border-radius: 5px;
  688. vertical-align: middle;
  689. margin-left: 10px;
  690. background: #1eaeed;
  691. }
  692. .tourismShow .content .guideForm>button{
  693. color: #fff;
  694. padding: 5px 6px;
  695. border-radius: 5px;
  696. vertical-align: middle;
  697. margin-left: 10px;
  698. background: #1eaeed;
  699. }
  700. .tourismShow .content #map{
  701. height: 373px;
  702. margin-top: 10px;
  703. }
  704. .tourismShow .loadDiv{
  705. position: absolute;
  706. left: 45%;
  707. top: 45%;
  708. }