.banner { position: relative; } .banner img { width: 100%; } .banner .text { position: absolute; width: 100%; top: 46%; color: #fff; } .banner .text h2 { text-align: center; font-size: 2.3rem; font-weight: bold; letter-spacing: 1px; } .banner .text p { text-align: center; font-size: 1.2rem; letter-spacing: 1px; margin-top: 0.6rem; } .sub-nav { height: 4rem; border-bottom: 1px solid #ddd; overflow: hidden; position: relative; top: 0; background: #fff; width: 100%; border-top: 1px solid #ddd; z-index: 100; } .sub-nav .content .left { float: left; } .sub-nav .content .left h6 { line-height: 4rem; font-size: 1.3rem; font-weight: bold; } .sub-nav .content .left h6 span { font-size: 1rem; color: #9f223d; margin-left: 1rem; position: relative; top: -0.1rem; } .sub-nav .content .right { float: right; } .sub-nav .content .right > ul li { float: left; width: 4.6rem; height: 4rem; text-align: center; position: relative; } .sub-nav .content .right > ul li a { line-height: 4rem; font-size: 0.8rem; display: block; } .sub-nav .content .right > ul li:not(:last-child) { margin-right: 2rem; } .sub-nav .content .right > ul li:before { content: ''; width: 0; height: 3px; background: #9f223d; position: absolute; bottom: 0; left: 0; } .sub-nav .content .right > ul li.active:before { width: 100%; transition: all 0.5s; -webkit-transition: all 0.5s; -moz-transition: all 0.5s; -ms-transition: all 0.5s; } .sub-nav .content .right > ul li.active a { color: #9f223d; } .sub-nav .content .right > ul li:hover:before { width: 100%; transition: all 0.5s; -webkit-transition: all 0.5s; -moz-transition: all 0.5s; -ms-transition: all 0.5s; } .sub-nav .content .right > ul li:hover a { color: #9f223d; } .case { padding-bottom: 3rem; } .case .con h2 { font-size: 1.8rem; font-weight: bold; padding-top: 2.5rem; } .case .con .case-choice { display: none; } .case .con .mobile-slider > ul { margin-top: 1rem; } .case .con .mobile-slider > ul > li h3 { float: left; width: 6%; font-size: 0.8rem; color: #999; position: relative; top: 1.5rem; } .case .con .mobile-slider > ul > li > ul { float: left; width: 88%; height: 4rem; overflow: hidden; } .case .con .mobile-slider > ul > li > ul > li { float: left; width: 10%; height: 2.3rem; cursor: pointer; margin-right: 1rem; margin-top: 1rem; } .case .con .mobile-slider > ul > li > ul > li a { display: block; font-size: 0.8rem; text-align: center; line-height: 2.3rem; } .case .con .mobile-slider > ul > li > ul > li:hover { background: #9f223d; } .case .con .mobile-slider > ul > li > ul > li:hover a { color: #fff; } .case .con .mobile-slider > ul > li > ul > li.active { background: #9f223d; } .case .con .mobile-slider > ul > li > ul > li.active a { color: #fff; } .case .con .mobile-slider > ul > li > ul.active { height: auto; } .case .con .mobile-slider > ul > li .right { float: right; width: 6%; position: relative; top: 1.5rem; cursor: pointer; } .case .con .mobile-slider > ul > li .right h5 { font-size: 0.8rem; color: #9f223d; } .case .con .mobile-slider > ul > li .right h5 span { margin-left: 0.4rem; } .case .con .mobile-slider .mobile-btn { display: none; } .banner-product { position: relative; } .banner-product img { width: 100%; } .banner-product .text { width: 100%; position: absolute; left: 0; top: 30%; color: #fff; } .banner-product .text .con .middle h2 { font-size: 1.6rem; font-weight: bold; } .banner-product .text .con .middle p { font-size: 0.9rem; margin-top: 0.6rem; } .banner-product .text .con .middle .btn { margin-top: 3rem; } .banner-product .text .con .middle .btn > ul li { float: left; } .banner-product .text .con .middle .btn > ul li.more { width: 8rem; height: 2.5rem; border-radius: 26px; border: 1px solid #e5e5e5; text-align: center; cursor: pointer; } .banner-product .text .con .middle .btn > ul li.more a { color: #fff; font-size: 0.8rem; line-height: 2.5rem; display: block; } .banner-product .text .con .middle .btn > ul li.more span { font-size: 0.8rem; line-height: 2.5rem; } .banner-product .text .con .middle .btn > ul li.more:hover { background: #9f223d; border: none; } .banner-product .text .con .middle .btn > ul li.show { margin-left: 1rem; } .banner-product .text .con .middle .btn > ul li:last-child a { line-height: 2.5rem; color: #fff; text-decoration: underline; font-size: 0.8rem; margin-left: 2rem; } .banner-product .text .con .middle.right { float: right; } @media screen and (max-width: 1024px) { .banner { margin-top: 5.5rem; } .banner .text { top: 38%; } .banner-product .text { top: 24%; } } @media screen and (max-width: 768px) { .banner .text { top: 30%; } .banner .text h2 { font-size: 18px; } .banner .text p { font-size: 13px; margin-top: 0.2rem; } .sub-nav .content .left { display: none; } .sub-nav .content .right { width: 100%; } .sub-nav .content .right > ul li { width: 20%; } .sub-nav .content .right > ul li a { font-size: 12px; } .sub-nav .content .right > ul li:not(:last-child) { margin-right: 0; } .case { padding-bottom: 1rem; } .case .con { position: relative; } .case .con h2 { padding-top: 1.5rem; padding-bottom: 1rem; font-size: 16px; } .case .con .case-choice { display: block; position: absolute; right: 0; bottom: 12px; font-size: 13px; color: #666; width: 14%; } .case .con .case-choice span { position: relative; top: 2px; } .case .con .mobile-slider { position: fixed; right: 0; top: 0; background: #fff; width: 0; height: 100%; z-index: 999; opacity: 0; transition: all 0.5s; -webkit-transition: all 0.5s; -moz-transition: all 0.5s; -ms-transition: all 0.5s; overflow: hidden; } .case .con .mobile-slider > ul { padding: 10px 20px; } .case .con .mobile-slider > ul > li { border-bottom: none; } .case .con .mobile-slider > ul > li h3 { width: 100%; top: 0; font-size: 16px; padding-top: 1rem; } .case .con .mobile-slider > ul > li > ul { width: 100%; height: 11rem; } .case .con .mobile-slider > ul > li > ul > li { width: 50%; margin-right: 0; height: 2.5rem; } .case .con .mobile-slider > ul > li > ul > li a { font-size: 12px; line-height: 2.5rem; } .case .con .mobile-slider > ul > li .right { width: auto; top: -2.7rem; left: -20px; } .case .con .mobile-slider .mobile-btn { display: block; position: absolute; bottom: 5.5rem; left: 0; width: 100%; } .case .con .mobile-slider .mobile-btn > div { width: 50%; height: 40px; float: left; text-align: center; line-height: 40px; font-size: 14px; } .case .con .mobile-slider .mobile-btn > div.confirm { background: #9f223d; color: #fff; } .case .con .mobile-slider .mobile-btn > div.reset { border-top: 1px solid #f2f2f2; } .case .con .mobile-slider.active { width: 70%; opacity: 1; } .case .con .mobile-slider-mask { position: fixed; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.6); top: 0; left: 0; z-index: 103; display: none; } .banner-product { height: 220px; overflow: hidden; } .banner-product .dark-mask { display: block; } .banner-product img { width: auto; height: 100%; margin-left: -36%; } .banner-product .text .con .middle { padding-left: 10px; } .banner-product .text .con .middle h2 { font-size: 20px; } .banner-product .text .con .middle p { font-size: 13px; } .banner-product .text .con .middle.right { float: left; } .banner-product .text .con .middle .btn > ul li.more { height: 34px; } .banner-product .text .con .middle .btn > ul li.more a { font-size: 14px; line-height: 34px; } .banner-product .text .con .middle .btn > ul li.more span { font-size: 14px; line-height: 34px; } .banner-product .text .con .middle .btn > ul li:last-child a { line-height: 34px; font-size: 14px; } } /*# sourceMappingURL=info_hot.css.map */