.section { width: 100%; overflow: hidden; } /*中间内容部分*/ .wrapper { width: 1200px; margin: 0 auto; } .content { width: 100%; overflow: hidden; padding: 20px 0 50px; color: #484848; } /*左边导航*/ .crumbsNav { width: 100%; overflow: hidden; height: 50px; line-height: 50px; margin: 15px 0 8px 0; padding-left: 28px; background: url(../images/icon-position.png) 0 center no-repeat; } .crumbsNav li { float: left; font-size: 16px; } .crumbsNav li a { color: #484848; } .turn-right { display: inline-block; padding: 0 10px; } .con_left { float: left; width: 204px; } .sideNav { text-align: center; margin-bottom: 60px; border: 1px solid #dcdcdc; font-size: 16px; } .sideNav li { height: 63px; line-height: 63px; border-bottom: 1px solid #dcdcdc; } .sideNav li a { display: block; } .sideNav li:last-child { border: none; } .sideNav li:hover, .indexLi { background: url(../images/borderr.png) 0 0 no-repeat; cursor: pointer; cursor: hand; } .sideNav li:hover span, .indexLi span { color: #0369fc; } .sideNav li span { display: inline-block; height: 24px; line-height: 24px; padding-left: 30px; } .con_right { float: right; width: 920px; } .con_right iframe { padding: 0 10px; padding: 0 \9; border: 0 \9; border: none; outline: none; } .con_right_title { float: left; width: 100%; margin-bottom: 30px; } .con_right_title2 { float: left; width: 100%; } .con_right_title span, .con_right_title2 span { display: inline-block; height: 35px; line-height: 35px; font-size: 24px; } .con_right_title3, .con_right_title4 { float: left; width: 100%; line-height: 40px; font-size: 18px; font-weight: bold; } .con_right_title3 { margin-bottom: -20px; } .title_sec1 { padding-left: 30px; margin-right: 5px; border-bottom: 2px solid #0369fc; color: #000; } .title_sec2 { padding-left: 14px; border-bottom: 2px solid #808080; color: #0369fc; } .con_right_con { float: left; width: 840px; } .con_right_con img { max-width: 100%; height: auto; } .con_right_con2 { padding: 45px 0; } .con_right_con3 { } .con_right_con4 { padding-top: 30px; } .mobile-left-nav { display: none; } @media (max-width: 768px) { .content { min-height: 500px; } .nyban-con { width: 100%; padding: 0 10px; } .con_right { float: left; width: 100vw; padding: 20px; } .con_right img { max-width: 90vw !important; height: auto !important; } .con_right_con { max-width: 100%; } /*导航*/ .wrapper { position: relative; width: 100vw; } .wrapper .crumbsNav { margin-left: 20px; } .crumbsNav li { width: calc(100% - 60px); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } .con_left { display: none; } .mobile-left-nav { display: block; position: absolute; top: 10px; right: 10px; } .nav-menu-icon { position: absolute; right: 10px; top: 0; width: 24px; height: 24px; } .nav-ul { display: none; position: absolute; top: 40px; right: 0; width: 50vw; box-shadow: 0 0 5px rgba(0, 0, 0, 0.2); background: #ffffff; max-height: 400px; overflow-y: auto; } .nav-ul a { color: #000000; display: block; font-size: 14px; line-height: 30px; padding: 10px; -webkit-transition: all .8s; -o-transition: all .8s; transition: all .8s; position: relative; border-bottom: 1px solid #dcdcdc; position: relative; } .show-nav .nav-ul { display: block; } } /*左边导航*/ #app .banner { min-height: 300px; color: #ffffff; } #app .banner img { width: 100%; height: 100%; object-fit: cover; } #app .banner .nyban-con { margin-top: 40px; } #app .banner .nyban-con h3 { color: #ffffff !important; font-size: 28px; margin-top: 10px; } #app .banner .nyban-con p { font-size: 20px; color: #7D8A9B; } .router-nav { width: 1200px; border-bottom: 1px solid #999999; height: 70px; display: flex; align-items: center; margin: 0 auto; } .router-nav .left { display: flex; align-items: center; width: 40%; color: #666666; } .router-nav .img { width: 20px; height: 1.4em; background: url(../images/icon-home.png) 0 center no-repeat; margin: 0 10px 0 0; } .router-nav .right { width: 60%; height: 100%; } .router-nav .right .menu { width: 100%; height: 100%; display: flex; align-items: center; justify-content: flex-end; text-align: right; padding: 0 10px 0 0; } .router-nav .right .menu li { height: 100%; font-size: 18px; font-weight: bold; margin: 0 0 0 30px; display: flex; align-items: center; position: relative; } .router-nav .right .menu li:hover .icon-park a { color: #074BCE; } .router-nav .right .menu li:hover::after { content: ''; width: 100%; height: 5px; background-color: #074BCE; position: absolute; left: 0; bottom: 0; } .router-nav .right .menu .active::after { content: ''; width: 100%; height: 5px; background-color: #074BCE; position: absolute; left: 0; bottom: 0; } .router-nav .right .menu .active .icon-park a { color: #074BCE; } .detail-container { width: 1200px; display: flex; } .detail-container .left-panel { width: 70%; height: 100%; flex-grow: 1; padding: 20px; } .detail-container .left-panel img { max-width: 100%; height: auto; } .detail-container .right-panel { width: 30%; height: 100%; flex-grow: 1; display: flex; flex-direction: column; padding: 20px; border-left: 1px solid #E0E0E0; } .detail-container .right-panel .image { width: 100%; height: auto; display: inline-block; margin: 0 0 20px 0; } .line1-overflow { overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; } .line2-overflow { overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; } .news-title{ padding-top: 5px; margin-bottom: 5px; font-size: 18px; font-weight: bold; }