| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386 |
- body{
- color: #000;
- }
- a{
- color: #000;
- }
- a:hover{
- color: #ff1111;
- }
- .wrap{
- position: relative;
- }
- .header{
- background: url(../images/bg/bg-header-yxw.jpg) center bottom;
- padding: 25px 0;
- }
- .header-img{
- position: relative;
- }
- .header-img img{
- width: auto;
- }
- .header-right{
- position: absolute;
- top: 10px;
- right: 0px;
- color: #fff;
- font-weight: bold;
- }
- .header-right:hover{
- color: #ffff00;
- }
- /* 导航 */
- .header-nav{
- position: absolute;
- right: 0;
- bottom: -25px;
- background-color: transparent;
- }
- .header-nav ul{
- height: 50px;
- line-height: 50px;
- background-color: transparent;
-
- }
- .nav-secondLevel{
- top: 50px;
- }
- .header-nav li {
- margin-left: 3px;
- }
- .header-nav li a{
- position: relative;
- height: 50px;
- line-height: 50px;
- min-width: 100px;
- background-color: #8b0a0a;
-
- }
- .header-nav>ul>li>a{
- border-radius: 12px 12px 0 0;
- }
- .header-nav li:hover>a{
- background-color: #8b0a0a;
- font-size: 16px;
- }
- .header-nav .nav-secondLevel li a {
- border-bottom: 1px solid #941918;
- }
- .header-nav .nav-threeLevel li{
- margin-left: 0;
- }
- /* 主体 */
- .content{
- margin-top: 15px;
- }
- .content-row{
- display: flex;
- justify-content: space-between;
- flex-wrap: wrap;
- }
- .content-item{
- width: 24%;
- box-sizing: border-box;
- margin-bottom: 15px;
- position: relative;
- overflow: hidden;
- padding-bottom: 46px;
- position: relative;
- color: #fff;
- }
- .content-wrap{
- width: 100%;
- height: 100%;
- overflow-y: auto;
- position: absolute;
- left: 0;
- top: calc(100% - 46px);
- transition: all .3s;
- background-color: #a4080a;
- }
- .content-item-second .content-wrap{
- background-color: #ec632c;
- }
- .content-item-third .content-wrap{
- background-color: #82b01a;
- }
- .content-item-fourth .content-wrap{
- background-color: #41c04b;
- }
- .content-item-pic img{
- width: 100%;
- display: block;
- }
- .content-wrap h2{
- text-align: center;
- line-height: 46px;
- font-size: 22px;
- }
- .content-wrap a{
- color: #fff;
- }
- .content-wrap a:hover{
- color: #ffff00;
- }
- .content-wrap ul{
- margin-left: 50px;
- }
- .content-wrap ul{
- line-height: 32px;
- }
- .content-item:hover .content-wrap{
- top: 0;
- }
- /* 轮播 */
- .banner{
- margin-bottom: 15px;
- }
- .swiper-slide{
- position: relative;
- }
- .swiper-slide img{
- display: block;
- width: 100%;
- }
- .swiper-slide .swiper-title{
- position: absolute;
- left: 0;
- top: 0;
- height: 26px;
- line-height: 26px;
- background-color: #0190d6;
- color: #fff;
- padding: 0 10px;
- box-sizing: border-box;
- width: 100%;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- text-align: center;
- }
- /* 轮播 */
- .swiper-pagination-bullet {
- width: 12px;
- height: 12px;
- background-color: #D9D9D9;
- opacity: 1;
- }
- .swiper-pagination-bullet-active {
- background-color: #fc114a;
- }
- .swiper-container-horizontal>.swiper-pagination-bullets {
- text-align: right;
- left: -20px;
- bottom: 10px;
- }
- .swiper-container-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet {
- margin: 0 8px;
- }
- .swiper-button-next,
- .swiper-button-prev {
- opacity: 0;
- }
- .swiper-container:hover .swiper-button-next,
- .swiper-container:hover .swiper-button-prev {
- opacity: 1;
- }
- /* 列表页 */
- .content-list-wrap{
- border: 1px solid #8b0909;
- }
- .crumbs{
- background-color: #8b0909;
- color: #fff;
- }
- .crumbs a{
- color: #fff;
- }
- /* 目录页 */
- .catalog-title{
- border-color: #8b0909;
- }
- /* 底部 */
- .footer{
- background: url(../images/bg/bg-foot-yxw.jpg) top;
- margin-top: 20px;
- }
- .footer-mesg{
- background-color: transparent;
- }
- .footer-link{
- background-color: #F5F2F2;
- line-height: 40px;
- padding: 10px 0;
- }
- .footer-link span {
- box-sizing: border-box;
- background-color: #f11600;
- color: #fff;
- font-weight: bold;
- text-align: center;
- display: inline-block;
- height: 100%;
- padding: 0 20px 0 40px;
- }
- .footer-link span i{
- margin-left: 30px;
- }
- .footer-link ul{
- display: inline-block;
- }
- .footer-link ul li{
- display: inline-block;
- margin-left: 15px;
- font-weight: bold;
- }
- .mobile-header-nav>ul,
- .mobile-header-nav>ul>li{
- background-color: #8b0a0a;
- }
- /* 响应式 */
- @media screen and (max-width: 1024px) {
- .header-img img{
- /* width: 100%; */
- }
- }
- @media screen and (max-width: 980px) {
- .header-nav{
- background-repeat: repeat;
- background-position: left top;
- }
- .header-nav ul{
- height: auto;
- }
- /* flex布局,item元素补全 */
- .header-nav ul::after{
- content: "";
- width: 50%;
- }
- .content-item{
- width: 100% !important;
- }
- }
- @media screen and (max-width: 768px) {
- .content-item{
- width: 48.5% !important;
- }
- .content-tow-lines li{
- width: 100%;
- }
- /* 轮播 */
- .content-item-swiper .swiper-container{
- width: 100%;
- float: inherit;
- }
- .content-item-swiper ul{
- margin-left: 0;
- }
- }
- @media screen and (max-width: 640px) {
- .header{
- padding: 15px 0;
- }
- .header-top{
- display: none;
- }
- .header-img{
- width: 100%;
- }
- .header-img img{
- width: auto;
- height: 90%;
- }
- .content{
- margin-top: 110px !important;
- }
- .content-wrap li p{
- width: calc(100% - 100px);
- }
- .header-right{
- display: none;
- }
- .mobile-nav-icon {
- right: 15px;
- }
- .footer{
- background-size: cover;
- }
- }
|