/* 基础容器样式 */ .home-event, .product-detail-list-tag { overflow: hidden; white-space: nowrap; } .btn-footer-phone { margin-top: 10px; } body { overflow-x: hidden; width: 100%; } main { margin-top: 0 !important; overflow-x: hidden; width: 100%; } .header-container { background-color: rgba(255, 255, 255, .2); width: 100%; box-sizing: border-box; } .container_bg1, .container_bg30 { width: 100%; background: #f8f9fc; padding: 80px 0; overflow: hidden; box-sizing: border-box; } .container_bg30 { background: #fff; } .comp_container { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; overflow: hidden; } .chooseUs-container { width: 100%; box-sizing: border-box; } .sk-title-container { width: 100%; padding: 0 15px; margin-bottom: 40px; text-align: center; box-sizing: border-box; } .sk-title { font-size: 32px; color: #333; margin-bottom: 15px; font-weight: 600; } .sk-desc { font-size: 16px; color: #666; max-width: 800px; margin: 0 auto; } .part1_nav { background-color: transparent; padding-left: 0; backdrop-filter: blur(12px); } .part1_nav li { background-color: rgba(255, 255, 255, .25); } .chooseUs-row-a { width: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; padding: 0; box-sizing: border-box; } .chooseUs-itme { background: #fff; border-radius: 12px; padding: 20px; display: flex; justify-content: space-between; transition: all 0.3s ease; box-shadow: 0 2px 10px rgba(0,0,0,0.05); width: 100%; box-sizing: border-box; } .chooseUs-itme:hover { transform: translateY(-5px); box-shadow: 0 5px 20px rgba(0,0,0,0.1); } .chooseUs-itme-main { flex: 1; padding-right: 15px; min-width: 0; /* 防止文本溢出 */ } .chooseUs-itme-title { font-size: 20px; color: #333; margin-bottom: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .chooseUs-itme-desc { font-size: 14px; color: #666; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 15px; } .chooseUs-itme-label { display: flex; flex-wrap: wrap; gap: 8px; } .chooseUs-itme-tag { padding: 4px 8px; background: #f0f5ff; color: #0066ff; border-radius: 4px; font-size: 12px; white-space: nowrap; } .chooseUs-itme-icon { width: 60px; height: 60px; min-width: 60px; display: flex; align-items: center; justify-content: center; } .chooseUs-itme-icon img { max-width: 100%; height: auto; } .swiper-side-nav { position: absolute; left: 5%; top: 50%; transform: translateY(-50%); z-index: 10; width: 300px; padding: 20px; background: rgba(255, 255, 255, 0.5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: 12px; } .swiper-side-nav .nav-item { padding: 15px 20px; margin-bottom: 10px; cursor: pointer; border-radius: 8px; transition: all 0.3s ease; border-left: 3px solid transparent; } .swiper-side-nav .nav-item:hover { background: rgba(255, 255, 255, 0.8); } .swiper-side-nav .nav-item.active { background: rgba(255, 255, 255, 0.9); border-left: 3px solid #0066ff; } .swiper-side-nav .nav-item h3 { color: #333; font-size: 18px; margin: 0 0 5px 0; font-weight: 500; } .swiper-side-nav .nav-item p { color: #666; font-size: 14px; margin: 0; } .swiper-side-nav .nav-item:hover h3, .swiper-side-nav .nav-item.active h3 { color: #0066ff; } .swiper-side-nav .nav-item:hover p, .swiper-side-nav .nav-item.active p { color: #333; } .home-swiper { height: 80vh; position: relative; overflow: hidden; } .home-swiper .swiper-container { height: 100%; } .home-swiper .swiper-slide { height: 100%; position: relative; } .slide-video { width: 100%; height: 100%; object-fit: cover; } .home-swiper .container { position: absolute; top: 50%; left: 15%; transform: translate(0, -50%); z-index: 2; text-align: left; opacity: 0; animation: slideUp 1s forwards; } @keyframes slideUp { from { opacity: 0; transform: translate(0, calc(-50% + 30px)); } to { opacity: 1; transform: translate(0, -50%); } } .home-swiper .container .content { max-width: 600px; margin-left: 0; } .home-swiper .container h2 { color: #333; } .home-swiper .container p { color: #666; } .home-swiper .container .btn { background: rgba(0, 102, 255, 0.9); color: #fff; border: none; } .home-swiper .container .btn:hover { background: rgba(0, 102, 255, 1); } @media (max-width: 768px) { .swiper-side-nav { display: none; } .home-swiper { height: 60vh; width: 100%; overflow: hidden; position: relative; } .home-swiper .swiper-container { width: 100%; height: 100%; } .home-swiper .swiper-slide { width: 100%; height: 100%; position: relative; display: flex; align-items: center; justify-content: center; } .home-swiper .container { position: relative; top: 0; left: 0; margin-top: 30vh; z-index: 2; text-align: center; padding: 0 30px; width: 100%; max-width: 100%; box-sizing: border-box; } .home-swiper .container .content { max-width: 100%; margin: 0 auto; display: flex; flex-direction: column; align-items: center; } .home-swiper .container h2 { font-size: 28px; margin-bottom: 15px; color: #333; width: 100%; } .home-swiper .container p { font-size: 16px; margin-bottom: 15px; color: #666; width: 100%; line-height: 1.6; } .home-swiper .container .btn { display: inline-block; padding: 10px 30px; font-size: 16px; background: #0066ff; color: #fff; border-radius: 4px; text-decoration: none; margin: 15px auto; } .swiper-nav-buttons { position: absolute; top: 50%; transform: translateY(-50%); width: calc(100% - 20px); left: 10px; right: 10px; z-index: 10; pointer-events: none; } .swiper-nav-button { width: 35px; height: 35px; background: rgba(0, 0, 0, 0.3); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 18px; cursor: pointer; pointer-events: auto; position: absolute; } .swiper-nav-button.prev { left: 0; } .swiper-nav-button.next { right: 0; } } .swiper-slide-active .container { animation: slideUp 1s forwards; } .swiper-slide:not(.swiper-slide-active) .container { opacity: 0; transform: translate(0, calc(-50% + 30px)); } .container_bg30 { width: 100%; background: #fff; padding: 80px 0; } .partners-container { width: 100%; box-sizing: border-box; } .partners-items-container { width: 100%; overflow: hidden; position: relative; box-sizing: border-box; } .partners-list-container { width: 100%; box-sizing: border-box; } .partners-item-container { width: 100%; margin-bottom: 20px; overflow: hidden; box-sizing: border-box; } .partners-item-row { display: flex; width: 200%; box-sizing: border-box; } .partners-item-page { display: flex; width: 100%; gap: 20px; box-sizing: border-box; flex-wrap: nowrap; } .partners-item { flex: 0 0 auto; width: 180px; height: 70px; padding: 8px; margin: 0; box-sizing: border-box; } .partners-item-img { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: #fff; border-radius: 6px; transition: all 0.3s ease; border: 1px solid #eee; } .partners-item-img:hover { transform: translateY(-3px); box-shadow: 0 3px 10px rgba(0,0,0,0.1); border-color: #0066ff; } .partners-item-img img { max-width: 85%; max-height: 85%; object-fit: contain; } @keyframes scroll-left { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } } .partners-item-page { animation: scroll-left 60s linear infinite; } .partners-item-container:hover .partners-item-page { animation-play-state: paused; } @media (max-width: 1200px) { .comp_container { padding: 0 12px; } .partners-item { width: 150px; height: 60px; } .chooseUs-row-a { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); } } @media (max-width: 768px) { .container_bg1, .container_bg30 { padding: 30px 0; } .comp_container { padding: 0 10px; } .partners-item { width: 160px; height: 65px; } .partners-item-page { gap: 12px; } .chooseUs-row-a { grid-template-columns: 1fr; gap: 12px; } .sk-title { font-size: 22px; margin-bottom: 12px; } .sk-desc { font-size: 14px; } .sk-title-container { margin-bottom: 25px; } } @media (max-width: 480px) { .partners-item { width: 140px; height: 60px; padding: 8px; } .partners-item-page { gap: 10px; } .sk-title-container { padding: 0 8px; margin-bottom: 20px; } .sk-title { font-size: 20px; margin-bottom: 10px; } .container_bg1, .container_bg30 { padding: 25px 0; } .comp_container { padding: 0 8px; } } @media (max-width: 1000px) { .product-recommend { height: auto; } .product-recommend img { display: none; } .chooseUs-row-a { grid-template-columns: 1fr; gap: 20px; } .container_bg1, .container_bg30 { padding: 50px 0; } .product-detail-lists { position: relative; } .product-detail-list:nth-child(n+4) { display: none; } .product-detail-lists.show-all .product-detail-list:nth-child(n+4) { display: block; } .view-more-btn { display: block; width: 100%; padding: 12px; text-align: center; background: #f5f5f5; color: #666; border-radius: 8px; margin-top: 15px; cursor: pointer; transition: all 0.3s ease; text-decoration: none; } .view-more-btn:hover { background: #e5e5e5; color: #333; } .view-more-btn.hidden { display: none; } } @media (max-width: 375px) { .chooseUs-itme { padding: 15px; } .chooseUs-itme-icon { width: 50px; height: 50px; } .partners-item { width: 130px; height: 55px; padding: 8px; margin: 0 8px; } }