You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
278 lines
5.1 KiB
278 lines
5.1 KiB
.black-about-company-banner {
|
|
background-color: #fff;
|
|
color: #333;
|
|
padding: 60px 0;
|
|
overflow: hidden;
|
|
margin: 0 auto;
|
|
width: 90%;
|
|
}
|
|
|
|
.banner-content {
|
|
display: flex;
|
|
gap: 40px;
|
|
align-items: flex-start;
|
|
width: 100%;
|
|
}
|
|
|
|
.banner-left {
|
|
flex: 1;
|
|
max-width: 50%;
|
|
}
|
|
|
|
.main-image {
|
|
width: 100%;
|
|
height: auto !important;;
|
|
border-radius: 8px;
|
|
overflow: hidden;
|
|
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.main-image img {
|
|
width: 100%;
|
|
height: auto;
|
|
display: block;
|
|
transition: transform 0.3s ease;
|
|
}
|
|
|
|
.main-image:hover img {
|
|
transform: scale(1.02);
|
|
}
|
|
|
|
.banner-right {
|
|
flex: 1;
|
|
max-width: 50%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding-left: 20px;
|
|
}
|
|
|
|
.content-text h2 {
|
|
font-size: 26px;
|
|
color: #007cba;
|
|
line-height: 1;
|
|
}
|
|
|
|
.content-text p {
|
|
font-size: 14px;
|
|
line-height: 1.6;
|
|
color: #000;
|
|
}
|
|
|
|
.mass-production h3 {
|
|
font-size: 1.1rem;
|
|
font-weight: bold;
|
|
color: #000;
|
|
}
|
|
|
|
.mass-production p {
|
|
font-size: 14px;
|
|
line-height: 1.6;
|
|
color: #000;
|
|
}
|
|
|
|
/* Swiper轮播容器样式 */
|
|
.production-carousel-container {
|
|
width: 100%;
|
|
border-radius: 6px;
|
|
background: #f8f9fa;
|
|
padding: 4px;
|
|
border: 1px solid #e9ecef;
|
|
position: relative;
|
|
}
|
|
|
|
.production-swiper {
|
|
width: 100%;
|
|
height: 88px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.production-swiper .swiper-wrapper {
|
|
align-items: center;
|
|
transition-timing-function: linear;
|
|
}
|
|
|
|
.production-swiper .swiper-slide {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
height: 80px;
|
|
width: auto !important;
|
|
flex-shrink: 0;
|
|
transition: transform 0.3s ease;
|
|
}
|
|
|
|
.production-swiper .swiper-slide img {
|
|
width: auto;
|
|
height: auto;
|
|
max-height: 80px;
|
|
max-width: 120px;
|
|
min-width: 80px;
|
|
object-fit: contain;
|
|
border-radius: 2px;
|
|
transition: transform 0.3s ease;
|
|
background: #fff;
|
|
margin: 0 8px;
|
|
}
|
|
|
|
.production-swiper .swiper-slide:hover img {
|
|
transform: scale(1.05);
|
|
}
|
|
|
|
/* Swiper导航按钮样式 */
|
|
.production-swiper .swiper-button-next,
|
|
.production-swiper .swiper-button-prev {
|
|
width: 24px;
|
|
height: 24px;
|
|
margin-top: -12px;
|
|
background: rgba(255, 255, 255, 0.9);
|
|
border-radius: 50%;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
|
|
color: #333;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.production-swiper .swiper-button-next:hover,
|
|
.production-swiper .swiper-button-prev:hover {
|
|
background: #2196F3;
|
|
color: white;
|
|
transform: scale(1.1);
|
|
}
|
|
|
|
.production-swiper .swiper-button-next::after,
|
|
.production-swiper .swiper-button-prev::after {
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.production-swiper .swiper-button-next {
|
|
right: -12px;
|
|
}
|
|
|
|
.production-swiper .swiper-button-prev {
|
|
left: -12px;
|
|
}
|
|
|
|
/* Swiper分页器样式 */
|
|
.production-swiper .swiper-pagination {
|
|
bottom: -20px;
|
|
position: relative;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.production-swiper .swiper-pagination-bullet {
|
|
width: 20px;
|
|
height: 3px;
|
|
background: #ddd;
|
|
opacity: 1;
|
|
transition: all 0.3s ease;
|
|
border-radius: 2px;
|
|
margin: 0 2px;
|
|
}
|
|
|
|
.production-swiper .swiper-pagination-bullet-active {
|
|
background: #2196F3;
|
|
transform: none;
|
|
}
|
|
|
|
/* 响应式设计 */
|
|
@media (min-width: 768px) {
|
|
.production-swiper {
|
|
height: 88px;
|
|
}
|
|
|
|
.production-swiper .swiper-slide {
|
|
height: 80px;
|
|
}
|
|
|
|
.production-swiper .swiper-slide img {
|
|
max-height: 80px;
|
|
}
|
|
|
|
.production-swiper .swiper-button-next,
|
|
.production-swiper .swiper-button-prev {
|
|
width: 28px;
|
|
height: 28px;
|
|
margin-top: -14px;
|
|
}
|
|
|
|
.production-swiper .swiper-button-next::after,
|
|
.production-swiper .swiper-button-prev::after {
|
|
font-size: 14px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 767px) {
|
|
.banner-content {
|
|
flex-direction: column;
|
|
text-align: center;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.banner-left,
|
|
.banner-right {
|
|
max-width: 100%;
|
|
}
|
|
|
|
.banner-right {
|
|
padding-left: 0;
|
|
}
|
|
|
|
.content-text h2 {
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
.content-text p,
|
|
.mass-production p {
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.production-swiper {
|
|
height: 68px;
|
|
}
|
|
|
|
.production-swiper .swiper-slide {
|
|
height: 60px;
|
|
}
|
|
|
|
.production-swiper .swiper-slide img {
|
|
max-height: 60px;
|
|
max-width: 100px;
|
|
min-width: 60px;
|
|
margin: 0 6px;
|
|
}
|
|
|
|
.production-swiper .swiper-button-next,
|
|
.production-swiper .swiper-button-prev {
|
|
width: 20px;
|
|
height: 20px;
|
|
margin-top: -10px;
|
|
}
|
|
|
|
.production-swiper .swiper-button-next::after,
|
|
.production-swiper .swiper-button-prev::after {
|
|
font-size: 10px;
|
|
}
|
|
|
|
.production-swiper .swiper-button-next {
|
|
right: -8px;
|
|
}
|
|
|
|
.production-swiper .swiper-button-prev {
|
|
left: -8px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.black-about-company-banner {
|
|
padding: 40px 0;
|
|
}
|
|
|
|
.content-text h2 {
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
.content-text p,
|
|
.mass-production p {
|
|
font-size: 0.85rem;
|
|
}
|
|
} |