* { margin: 0; padding: 0; } .w { width: 1200px; margin: auto; } li { list-style: none; } a { text-decoration: none; } .clearfix:before, .clearfix:after { content: ""; display: table; } .clearfix:after { clear: both; } .clearfix { *zoom: 1; } .header { height: 42px; /*background-color: pink;*/ margin: 30px auto; } .header img { float: left; margin-right: 10px; } body { background-color: #f3f5f7; } .nav ul li a { float: left; line-height: 42px; margin-left: 45px; font-size: 18px; color: #050505; } .nav ul li a:hover { border-bottom: 2px solid #00a4ff; } .search input { float: left; height: 38px; width: 360px; margin-left: 95px; border: 1px solid #00a4ff; border-right: 0px; } .search button { float: left; border: none; height: 40px; width: 50px; background: url(images/04.jpg); } .user { float: left; font-size: 14px; border-left: 30px; margin-left: 35px; color: #00a4ff; line-height: 40px; color: #00a4ff; } .banner { height:420px; background: #1c036c url(images/06.jpg) no-repeat top center; } .left { float: left; width: 150px; height: 420px; padding: 0 20px; background: rgba(0,0,0,.3); } .left ul li { height: 45px; line-height: 45px; } .left ul li a { color: #fff; font-size: 14px; } .left ul li span { float: right; } .left ul li a:hover { color: #00a4ff; } .right { float: right; width: 230px; height: 300px; margin-top: 50px; background: #fff; } .right .hd { height: 48px; background: #9bceea; line-height: 48px; text-align: center; font-size: 18px; font-weight: 700; color: #fff; } .bd ul li { padding: 15px 20px; border-bottom: 1px solid #a5a5a5; } .bd h4 { font-size: 14px; font-weight: 400; color: #000; } .bd p { font-size: 12px; color: #a5a5a5; } .bd a { display: block; font-size: 16px; font-weight: 700; color: #00a4ff; height: 38px; width: 198px; line-height: 38px; text-align: center; margin: 0px auto; margin-top: 6px; border: 2px solid #00a4ff; } .bd a:hover { background: #00a4ff; color: #fff; } .goods { margin-top: 10px; height: 60px; line-height: 60px; background: #fff; } .goods .J { color: #ccc; } .goods .jing a { float: left; font-weight: 700; font-size: 16px; padding: 0px 32px; color: #00a4ff; } .goods ul li { float: left; } .goods ul li a { padding: 0px 36px; font-size: 16px; color: #6d6d6d; } .goods ul li a:hover { color: #00a4ff; } .change a { float: right; color : #00a4ff; font-size: 14px; padding-right: 25px; } .box-hd { height: 20px; margin: 25px 0px; } .box .one { float: left; font-size: 20px; color: #6d6d6d; } .box .two { float: right; padding-top: 10px; font-size: 12px; color: #a5a5a5; } .box-bd { width: 1215px; } .box-bd li { float: left; width: 228px; height: 270px; margin-right: 15px; margin-bottom: 15px; background: #fff; } .box-bd h4 { font-size: 14px; margin: 20px; font-weight: 400; } .box-bd li p { font-size: 12px; margin-left: 20px; color: #ccc; } .box-bd p span { color: orange; } .footer { height: 415px; background-color: #fff; } .footer .left { width: 430px; background: #fff; } .footer .left img { margin: 25px 0px; } .footer .left p { font-size: 12px; color: #666; } .footer .left a { display: block; width: 118px; height: 34px; line-height: 34px; margin: 20px 0 0 0; text-align: center; color: #00a4ff; border: 2px solid #00a4ff; } .footer .left a:hover { color: #fff; background: #00a4ff; } .footer .right { float: right; width: 500px; } .footer .right dl { float: left; margin-left: 100px; } .footer .right dt { height: 35px; font-size: 16px; color: #333; } .right dd a{ font-size: 12px; color: #333; } .right dd a:hover { color: #00a4ff; }