index.css 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492
  1. .header{
  2. height: 470px;
  3. }
  4. /* 轮播 */
  5. .sliderBox,.banner{
  6. height: 470px;
  7. }
  8. .slider1{
  9. background: url(../imgs/banner1.jpg) no-repeat center;
  10. background-size: cover;
  11. }
  12. .slider2{
  13. background: url(../imgs/banner2.jpg) no-repeat center;
  14. background-size: cover;
  15. }
  16. .slider3{
  17. background: url(../imgs/banner3.jpg) no-repeat center;
  18. background-size: cover;
  19. }
  20. span.swiper-pagination-bullet{
  21. width: 30px;
  22. border-radius: 0;
  23. }
  24. span.swiper-pagination-bullet-active{
  25. background: #3ab851;
  26. }
  27. /* 新闻资讯 */
  28. .newsConsult{
  29. width: 62%;
  30. padding-right: 3%;
  31. }
  32. .farmBrief{
  33. width: 52%;
  34. padding-right: 3%;
  35. height: 245px;
  36. }
  37. .farmUl >li{
  38. margin-bottom: 26px;
  39. }
  40. .farmImg{
  41. width: 147px;
  42. height: 108px;
  43. overflow: hidden;
  44. float: left;
  45. }
  46. .farmImg img{
  47. width: 100%;
  48. height: 100%;
  49. }
  50. .farmMsg{
  51. margin-left: 167px;
  52. height: 108px;
  53. position: relative;
  54. }
  55. .farmMsg >.date{
  56. font-size: 18px;
  57. color: #6c6c6c;
  58. }
  59. .farmMsg >.date span{
  60. font-size: 12px;
  61. margin-left: 15px;
  62. }
  63. .farmName >a{
  64. font-size: 15px;
  65. color: #202020;
  66. line-height: 28px;
  67. display: block;
  68. overflow: hidden;
  69. white-space: nowrap;
  70. text-overflow: ellipsis;
  71. }
  72. .farmDescribe >a{
  73. /* display: block;
  74. text-overflow: -o-ellipsis-lastline;
  75. overflow: hidden;
  76. text-overflow: ellipsis;
  77. display: -webkit-box;
  78. -webkit-line-clamp: 2;
  79. -webkit-box-orient: vertical; */
  80. font-size: 12px;
  81. }
  82. .farmMore{
  83. position: absolute;
  84. bottom: 0;
  85. font-size: 12px;
  86. }
  87. /* -right- */
  88. .newsListDiv{
  89. width: 45%;
  90. height: 245px;
  91. }
  92. .newsList >li{
  93. font-size: 12px;
  94. line-height: 34px;
  95. }
  96. .newsList >li .date{
  97. float: right;
  98. }
  99. .newsList >li .describe{
  100. margin-right: 80px;
  101. }
  102. .newsList >li .describe a{
  103. display: block;
  104. overflow: hidden;
  105. white-space: nowrap;
  106. text-overflow: ellipsis;
  107. font-size: 12px;
  108. }
  109. /* 用户登录 */
  110. /* 未登录 */
  111. .notLogin{
  112. padding: 35px 38px 50px;
  113. }
  114. .loginborder{
  115. position: relative;
  116. }
  117. .loginborder >label{
  118. position: absolute;
  119. left: 10px;
  120. top: 8px;
  121. }
  122. .loginborder span.iconfont{
  123. vertical-align: middle;
  124. font-size: 24px;
  125. color: #b5b5b5;
  126. cursor: pointer;
  127. }
  128. .loginborder span.usernameIcon{
  129. font-size: 22px;
  130. }
  131. .loginborder input{
  132. width: 100%;
  133. line-height: 30px;
  134. height: 46px;
  135. font-size: 14px;
  136. padding: 4px 0 4px 15px;
  137. border: 1px solid #c7c7c7;
  138. margin-bottom: 28px;
  139. padding-left: 40px;
  140. }
  141. .loginborder input:focus{
  142. border: 1px solid #3ab851;
  143. }
  144. /* .loginParent >div{
  145. width: 50%;
  146. text-align: center;
  147. }
  148. .loginParent >div:nth-child(1){
  149. padding: 0 2% 0 0;
  150. }
  151. .loginParent >div:nth-child(2){
  152. padding: 0 0 0 2%;
  153. } */
  154. .loginBtn{
  155. width: 100%;
  156. border-radius: 5px;
  157. color: #fff;
  158. line-height: 44px;
  159. font-size: 18px;
  160. margin-top: 8px;
  161. }
  162. .loginBtn:hover,.whitherBtn:hover{
  163. background: #36a04a;
  164. }
  165. /* 已登录 */
  166. .isLogin{
  167. padding: 28px 15px 0;
  168. /* display: none; */
  169. }
  170. .userPhoto{
  171. width: 166px;
  172. height: 164px;
  173. float: left;
  174. margin-right: 40px;
  175. }
  176. .currUser{
  177. line-height: 36px;
  178. color: #000;
  179. font-size: 16px;
  180. letter-spacing: 2px;
  181. }
  182. .currUserNamer a{
  183. display: block;
  184. overflow: hidden;
  185. white-space: nowrap;
  186. text-overflow: ellipsis;
  187. margin-top: 10px;
  188. }
  189. .operationDiv{
  190. margin-top: 28px;
  191. /* margin-top: 51px; */
  192. font-size: 14px;
  193. line-height: 30px;
  194. }
  195. .operationDiv a:nth-child(1){
  196. display: block;
  197. }
  198. .operationDiv a:last-child{
  199. float: right;
  200. }
  201. /* 视频资讯 */
  202. .videoBox{
  203. width: 45%;
  204. }
  205. /* 视频资讯列表 */
  206. .videoListBox{
  207. width: 55%;
  208. height: 329px;
  209. }
  210. .videoListUl >li{
  211. margin-bottom: 22px;
  212. }
  213. .videoListUl >li:last-child{
  214. margin-bottom: 0;
  215. }
  216. .videoListBox .date{
  217. padding: 26px;
  218. border: 1px solid #a9a9a9;
  219. text-align: center;
  220. cursor: pointer;
  221. }
  222. .videoListBox .date strong{
  223. font-size: 18px;
  224. line-height: 24px;
  225. }
  226. .videoListBox .describe{
  227. width: 80%;
  228. margin-left: 30px;
  229. height: 94px;
  230. position: relative;
  231. }
  232. .videoListBox .videoListUl >.active .date{
  233. border: 1px solid #3ab851;
  234. color: #3ab851;
  235. }
  236. .videoListBox .videoListUl >.active .describe h2{
  237. color: #3ab851;
  238. }
  239. .videoListBox .describe h2{
  240. font-size: 18px;
  241. color: #000;
  242. }
  243. .videoListBox .describe .framMsg{
  244. margin-top: 5px;
  245. }
  246. .videoListBox .describe{
  247. overflow: hidden;
  248. text-overflow: ellipsis;
  249. display: -webkit-box;
  250. -webkit-line-clamp: 2;
  251. -webkit-box-orient: vertical;
  252. line-height: 24px;
  253. font-size: 14px;
  254. color: #a9a9a9;
  255. }
  256. .videoListBox .describe .moreBtn{
  257. color: #a9a9a9;
  258. position: absolute;
  259. bottom: 3px;
  260. }
  261. /* 产品展厅 */
  262. .productShowUl{
  263. overflow: hidden;
  264. padding: 0 18px;
  265. }
  266. .productShowUl >li{
  267. float: left;
  268. width: 272px;
  269. height: 211px;
  270. margin-right: 25px;
  271. margin-bottom: 25px;
  272. }
  273. .productShowUl >li:nth-child(4),.productShowUl >li:nth-child(8){
  274. margin: 0;
  275. }
  276. .productShowUl >li .productItem{
  277. position: relative;
  278. overflow: hidden;
  279. cursor: pointer;
  280. }
  281. .productShowUl >li .productItem >img{
  282. width: 272px;
  283. height: 209px;
  284. }
  285. .productShowUl >li .productItem:hover .maskBox{
  286. top: 0px;
  287. }
  288. .productShowUl >li .productItem .maskBox{
  289. position: absolute;
  290. left: 0;
  291. right: 0;
  292. top: 209px;
  293. bottom: 0;
  294. background: rgba(0, 0, 0, 0.5);
  295. color: #fff;
  296. padding: 30px 20px;
  297. line-height: 22px;
  298. transition: all .3s;
  299. }
  300. /* 四季采摘 */
  301. .gardenImg >img{
  302. width: 433px;
  303. height: 382px;
  304. margin-right: 10px;
  305. }
  306. .gardenMsg{
  307. width: 63%;
  308. height: 382px;
  309. overflow: hidden;
  310. }
  311. .gardenMsg .gardenUl >li{
  312. margin-bottom: 8px;
  313. }
  314. .gardenMsg .gardenUl >.active .gardenName{
  315. background: #3ab851;
  316. color: #fff;
  317. }
  318. .gardenMsg .gardenName{
  319. cursor: pointer;
  320. width: 24%;
  321. padding: 0 10px;
  322. margin-right: 27px;
  323. background: #efefef;
  324. line-height: 90px;
  325. color: #3ab851;
  326. font-size: 16px;
  327. text-align: center;
  328. position: relative;
  329. }
  330. .gardenMsg .gardenName p{
  331. width: 82%;
  332. overflow: hidden;
  333. white-space: nowrap;
  334. text-overflow: ellipsis;
  335. }
  336. .gardenMsg .gardenName .iconfont{
  337. position: absolute;
  338. right: 15px;
  339. top: 0;
  340. }
  341. .gardenMsg .gardenMsgDetail{
  342. width: 69%;
  343. font-size: 14px;
  344. line-height: 30px;
  345. }
  346. .gardenMsg .gardenMsgDetail .gardenItem{
  347. width: 33%;
  348. }
  349. .gardenMsg .gardenMsgDetail .gardenItem:hover{
  350. color: #3ab851;
  351. cursor: pointer;
  352. }
  353. .gardenMsg .gardenMsgDetail .gardenItem h3{
  354. font-size: 18px;
  355. /* color: #000; */
  356. }
  357. /* 导游导览 */
  358. .guideMap{
  359. width: 65%;
  360. }
  361. .guideMap #map{
  362. height: 450px;
  363. background: #eee;
  364. }
  365. .guideForm{
  366. padding-left: 30px;
  367. }
  368. .guideForm .title{
  369. font-size: 14px;
  370. margin-bottom: 15px;
  371. }
  372. .guideForm input{
  373. vertical-align: middle;
  374. width: 90%;
  375. line-height: 30px;
  376. height: 46px;
  377. font-size: 14px;
  378. padding: 4px 0 4px 4px;
  379. border: 1px solid #c7c7c7;
  380. margin-bottom: 28px;
  381. padding-left: 10px;
  382. }
  383. .whitherBtn{
  384. width: 16%;
  385. border-radius: 5px;
  386. color: #fff;
  387. line-height: 36px;
  388. font-size: 16px;
  389. }
  390. .loadDiv{
  391. text-align: center;
  392. position: absolute;
  393. top: 0;
  394. bottom: 0;
  395. left: 0;
  396. right: 0;
  397. z-index: 666;
  398. background: #fff;
  399. background: rgba(255, 255, 255, 0.6);
  400. /* opacity: 0.8; */
  401. line-height: 400px;
  402. }
  403. /* 民宿导览 */
  404. div.swiper-button-prev{
  405. background-image: url(../imgs/swiperPrev.png)
  406. }
  407. div.swiper-button-next{
  408. background-image: url(../imgs/swiperNext.png)
  409. }
  410. div.swiper-button-next, div.swiper-button-prev{
  411. width: 37px;
  412. height: 37px;
  413. background-size: 100%;
  414. margin-top: -70px;
  415. }
  416. .hotelImg{
  417. width:100%;
  418. height: 242px;
  419. }
  420. .hotelDetial .hotelMsg{
  421. padding: 5px 10px;
  422. }
  423. .hotelMsg .hotelName span{
  424. float: right;
  425. font-size: 16px;
  426. line-height: 25px;
  427. }
  428. .hotelMsg .hotelName h3{
  429. font-size: 18px;
  430. letter-spacing: 3px;
  431. color: #000;
  432. white-space: nowrap;
  433. overflow: hidden;
  434. text-overflow: ellipsis;
  435. }
  436. .hotelMsg .hotelAddress{
  437. line-height: 26px;
  438. font-size: 14px;
  439. }
  440. /* 返回顶部 */
  441. .back2top {
  442. width: 58px;
  443. height: 58px;
  444. position: fixed;
  445. _position: absolute;
  446. left: 52%;
  447. margin-left: 600px;
  448. bottom: 100px;
  449. _bottom: auto;
  450. cursor: pointer;
  451. display: none;
  452. }
  453. .back2top a {
  454. display: block;
  455. width: 100%;
  456. height: 100%;
  457. background: url(../imgs/goUp.png) no-repeat;
  458. }
  459. .back2top a:hover{
  460. background: url(../imgs/goUp.png) no-repeat -58px 0;
  461. }
  462. /* 技术政策新闻 */
  463. .adminPolicy >div{
  464. width: 33%;
  465. padding-right: 3%;
  466. }
  467. .adminPolicy >div:last-child{
  468. padding-right: 0;
  469. }
  470. .fixationDiv{
  471. max-height: 240px;
  472. overflow: hidden;
  473. }
  474. /* 提示层 */
  475. .hint{
  476. border-radius: 5px;
  477. position: fixed;
  478. z-index: 999;
  479. color: white;
  480. left: 47%;
  481. top: 50%;
  482. background: #0000009e;
  483. padding: 20px;
  484. font-size: 14px;
  485. letter-spacing: 2px;
  486. }