.header{ height: 470px; } /* 轮播 */ .sliderBox,.banner{ height: 470px; } .slider1{ background: url(../imgs/banner1.jpg) no-repeat center; background-size: cover; } .slider2{ background: url(../imgs/banner2.jpg) no-repeat center; background-size: cover; } .slider3{ background: url(../imgs/banner3.jpg) no-repeat center; background-size: cover; } span.swiper-pagination-bullet{ width: 30px; border-radius: 0; } span.swiper-pagination-bullet-active{ background: #3ab851; } /* */ .captionBox .captionTxtEn{ color: #3ab851; margin-bottom: 25px; } /* */ .swiperDiv{ width: 200px; } /* 农场基地简介 */ .baseInfo{ width: 35%; } .farmInfo p{ font-size: 14px; line-height: 33px; } .farmSite{ width: 330px; height: 330px; border: 1px solid; margin-top: 30px; } .farmSite >div{ width: 100%; height: 100%; } /* 农场介绍 */ .farmShow{ width: 65%; } .photos{ height: 440px; } .photos .swiper-slide img{ width: 190px; height: 135px; box-sizing: border-box; } /* 轮播按钮位置 */ div.swiper-button-next{ right: 50%; /* transform: rotate(90deg); */ bottom: 11px; width: 32px; height: 32px; top: auto; margin-right: -12px; } div.swiper-button-prev{ left: 50%; /* transform: rotate(90deg); */ width: 32px; height:32px; top: 26px; margin-left: -12px; } div.swiper-button-next{ background-image: url(../imgs/arrowsNext.png); background-size: 32px 32px; } div.swiper-button-prev{ background-image: url(../imgs/arrowsPrev.png); background-size: 32px 32px; } .magnifyDiv{ width: 532px; height: 440px; background-color: #eee; border: 1px solid #c6c6c6; /* background-image: url(../imgs/dorm/dorm1.jpg); */ background-repeat: no-repeat; background-size: cover; background-position: center; margin: 0 15px 0 15px; } .magnifyDiv >img{ width: 100%; height: 100%; background: #fff; } .introTxt{ line-height: 33px; text-indent: 30px; } .introduce{ margin-left: 60px; } .introduce h2{ padding-top: 30px; line-height: 42px; font-size: 14px; color: #000; } .introduce p{ line-height: 30px; color: #6c6c6c; } .introduce .price{ line-height: 80px; font-size: 16px; font-weight: 700; letter-spacing: 4px; padding-bottom: 8px; } .introduce .price strong{ font-size: 30px; } /* 农场公告 */ /* 新闻 */ .farmNewsNotice{ width: 45%; } .newsListDiv{ width: 95%; height: 245px; } .newsList >li{ font-size: 12px; line-height: 34px; } .newsList >li .date{ float: right; } .newsList >li .describe{ margin-right: 80px; } .newsList >li .describe a{ display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 12px; } /* 视频资讯 */ .farmVideoNotice{ width: 55%; } /* 视频资讯列表 */ .videoBox{ width: 60%; } .videoBoxTxt{ width: 40%; line-height: 30px; overflow: hidden; height: 224px; position: relative; } .videoBoxTxt h2{ font-size: 16px; font-weight: 700; line-height: 40px; } .videoBoxTxt .moreBtn{ position: absolute; bottom: 0; background: white; left: 0; right: 0; text-align: right; padding-right: 10px; } .videoBoxTxt .moreBtn a:hover{ color: #3ab851; } /* 产品展厅 */ .productShowUl{ overflow: hidden; padding: 0 18px; } .productShowUl >li{ float: left; width: 272px; height: 211px; margin-right: 25px; margin-bottom: 25px; } .productShowUl >li:nth-child(4),.productShowUl >li:nth-child(8){ margin: 0; } .productShowUl >li .productItem{ position: relative; overflow: hidden; cursor: pointer; } .productShowUl >li .productItem >img{ width: 272px; height: 209px; } .productShowUl >li .productItem:hover .maskBox{ top: 0px; } .productShowUl >li .productItem .maskBox{ position: absolute; left: 0; right: 0; top: 209px; bottom: 0; background: rgba(0, 0, 0, 0.5); color: #fff; padding: 30px 20px; line-height: 22px; transition: all .3s; } /* 返回顶部 */ .back2top { width: 58px; height: 58px; position: fixed; _position: absolute; left: 52%; margin-left: 600px; bottom: 100px; _bottom: auto; cursor: pointer; display: none; } .back2top a { display: block; width: 100%; height: 100%; background: url(../imgs/goUp.png) no-repeat; } .back2top a:hover{ background: url(../imgs/goUp.png) no-repeat -58px 0; }