/*newsbox*/ .newsbox { width: 100%; height: 260px; overflow: hidden; display: flex; flex-flow: row; } .newsbox > ul { width: 650px; margin: 10px; } .newsbox > .newsboxright { flex: 1; border-left: 1px solid #ddd; } .newsbox > ul li { list-style-type: none; text-align: left; color: #30b398; margin-top: 10px; } .newsbox > ul li:first-child { margin-top: 0; } .newsbox > ul li a { display: block; color: black; font-weight: bold; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; } .newsbox > ul li a:hover { color: #FF7F00; } .newsbox > ul li a > span { color: rgb(78, 114, 184); } .newsbox > ul li > span { margin-top: 5px; color: gray; display: block; height: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } /*newsbanner*/ .newsbanner { height: 100%; position: relative; } .newsbanner > ul { display: block; height: 100%; overflow: hidden; } .newsbanner > ul > li { float: left; width: 100%; height: 100%; } .newsbanner > .dots { position: absolute; right: 10px; bottom: 10px; overflow: hidden; } .newsbanner > .dots > .dot { text-align: center; width: 17px; height: 17px; border-radius: 50%; background-color: gray; color: white; margin-right: 10px; float: left; } .newsbanner > .dots > .dot:last-child { margin-right: 0; } .newsbanner > .dots > .dot:hover { cursor: pointer; background: rgb(250, 167, 85); } .newsbanner > .dots > .dot.active { background: rgb(250, 167, 85); } /*banner*/ .banner { width: 100%; margin-top: 5px; } /*descriptbox*/ .descriptbox { display: flex; flex-flow: row; overflow: hidden; width: 100%; height: 320px; } .descriptbox > div:first-child { flex: 1; height: 100%; margin-right: 5px; } .descriptbox > div:last-child { width: 270px; } /*companybox*/ .companybox { width: 100%; height: 100%; overflow: hidden; position: relative; } .companybox > dd:first-child { width: 300px; height: 100%; float: left; border-right: 1px solid #eee; } .companybox > dd:first-child > img { width: 100%; height: 100%; } .companybox > dd:nth-child(2) { height: 90%; line-height: 26px; text-indent: 2em; padding-left: 10px; padding-right: 5px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 10; -webkit-box-orient: vertical; } .companybox > dd:last-child { position: absolute; right: 10px; bottom: 10px; } .companybox > dd:last-child > a { color: #2267B3; } /*产品展示*/ .pro_m .slidegrid { float: left; position: relative; overflow: hidden; } .pro_m .slideitems { width: 20000em; position: absolute; } .pro_m .slideitems li { float: left; } /*mainPhoto*/ .mainPhoto { width: 100%; height: 200px; position: relative; overflow: hidden; } .mainPhoto span.goleft, .mainPhoto span.goright { display: block; width: 32px; height: 32px; position: absolute; top: 80px; } .mainPhoto span.goleft { left: 5px; } .mainPhoto span.goright { right: 5px; } .mainPhoto .go { width: 90%; height: 100%; position: relative; left: 50px; overflow: hidden } .mainPhoto .go ul { width: 100%; height: 100%; } .mainPhoto .go li { width: 100%; height: 100%; overflow: hidden; } .mainPhoto .go li ul { width: 100%; height: 100%; overflow: hidden; } .mainPhoto .go li ul li { width: 25%; height: 100%; float: left; overflow: hidden; display: flex; flex-flow: column; } .mainPhoto .go li ul li > a { flex: 1; margin: 5px 10px 0 10px; display: block; text-align: center; background-repeat: no-repeat; background-position: center; background-size: cover; border: 1px solid #ddd; } .mainPhoto .go li ul li img { width: 200px; height: 150px; overflow: hidden; border: 1px solid #ddd; } .mainPhoto .go li ul li span { display: block; width: 100%; height: 25px; line-height: 25px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .mainPhoto .go li ul li span a { color: #333; } .mainPhoto .go li ul li span a:hover { color: #2267B3; }