1
0

产品中心 产品详情

This commit is contained in:
2025-12-16 09:40:41 +08:00
parent 33d690274c
commit 14e9f74352
29 changed files with 2793 additions and 343 deletions

View File

@@ -681,6 +681,38 @@ img {
position: relative;
text-align: center;
}
.page-title-cargo-platform {
background: url("../images/project/agNetCargoPlatform/top.jpg") center center/cover no-repeat local;
width: 100%;
height: 330px;
position: relative;
text-align: center;
/* background-color: #ffffff00 !important; */
margin-top: 80px !important; /* Adjusted for new 80px header height */
}
.page-title-cargo-platform::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
/* background-color: rgba(0, 0, 0, 0.5); */
z-index: 1;
}
.page-title-cargo-platform .container {
position: relative;
z-index: 2;
}
.page-title-cargo-platform h2,
.page-title-cargo-platform p {
color: #ffffff;
}
@media (max-width: 991px) {
.page-title {
height: 300px;
@@ -2168,6 +2200,7 @@ img {
}
.header-style-1 .navigation, .header-style-2 .navigation, .header-style-3 .navigation {
/*background-color: transparent;*/
margin-bottom: 0; /* Remove default navbar margin-bottom */
}
.header-style-1 #navbar, .header-style-2 #navbar, .header-style-3 #navbar {
margin-right: 200px;
@@ -2176,7 +2209,7 @@ img {
font-size: 15px;
font-size: 1.1rem;
color: #333;
padding: 40px 12px;
padding: 20px 12px; /* Reduced from 40px to 20px to make header height 80px */
}
.header-style-1 .navigation .container, .header-style-2 .navigation .container, .header-style-3 .navigation .container {
position: relative;
@@ -2222,6 +2255,7 @@ img {
.header-style-1 .navbar-brand img, .header-style-2 .navbar-brand img, .header-style-3 .navbar-brand img {
max-width: 190px;
max-height: 40px; /* Add max-height to control header height */
}
@media (max-width: 991px) {
@@ -2537,6 +2571,54 @@ img {
color: #fff;
}
/* Product cards swiper navigation buttons - hero-style */
.product-cards-swiper .swiper-button-prev,
.product-cards-swiper .swiper-button-next {
background: rgba(255, 255, 255, 0.2);
width: 60px;
height: 60px;
line-height: 60px;
margin-top: -30px;
text-align: center;
border-radius: 60px;
}
.product-cards-swiper .swiper-button-prev {
left: 25px;
}
.product-cards-swiper .swiper-button-next {
right: 25px;
}
.product-cards-swiper .swiper-button-prev:before {
font-family: "Flaticon";
content: "\f103";
font-size: 20px;
color: #fff;
}
.product-cards-swiper .swiper-button-next:before {
font-family: "Flaticon";
content: "\f104";
font-size: 20px;
color: #fff;
}
@media (max-width: 767px) {
.product-cards-swiper .swiper-button-prev,
.product-cards-swiper .swiper-button-next {
display: none;
}
}
@media (max-width: 991px) {
.product-cards-swiper .swiper-button-prev,
.product-cards-swiper .swiper-button-next {
display: none;
}
}
.hero-slider .swiper-pagination-bullet {
width: 12px;
height: 12px;
@@ -3006,6 +3088,8 @@ img {
-o-transition: all 0.7s;
-ms-transition: all 0.7s;
transition: all 0.7s;
/* Ensure sticky header doesn't affect layout when hidden */
display: none;
}
.sticky-header .sub-menu {
@@ -3016,6 +3100,7 @@ img {
opacity: 1;
top: 0;
pointer-events: auto;
display: block; /* Show when sticky is active */
}
.sticky-on .sub-menu {
@@ -6866,23 +6951,42 @@ img {
color: #102541;
}
/* Product Cards */
/* Product Cards - 经典案例页面网格布局 */
.product-cards {
display: flex;
flex-wrap: wrap;
gap: 20px;
justify-content: flex-start;
}
.product-cards .product-card {
width: calc(24.8% - 14px);
min-height: 220px;
}
@media (max-width: 991px) {
.product-cards .product-card {
/* width: calc(50% - 10px); */
min-height: 220px;
}
}
@media (max-width: 550px) {
.product-cards .product-card {
width: 100%;
min-height: auto;
}
}
/* Product Card 基础样式 */
.product-card {
width: calc(33.333% - 14px);
display: flex;
flex-direction: column;
border: 1px solid #ebf4fd;
border-radius: 4px;
border-radius: 8px;
overflow: hidden;
text-decoration: none;
color: inherit;
box-shadow: 0 4px 12px rgba(0,0,0,0.08);
transition: box-shadow 0.3s, transform 0.3s, background 0.3s;
background: #fff;
}
.product-card:hover {
box-shadow: 0 10px 30px rgba(20,129,255,0.25);
@@ -6890,31 +6994,40 @@ img {
background: #f8fbff;
}
.product-card .card-img {
height: 0;
padding-bottom: 44%;
height: 120px;
position: relative;
overflow: hidden;
flex-shrink: 0;
}
.product-card .card-img img {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
}
.product-card .card-content {
padding: 15px;
padding: 20px;
flex: 1;
display: flex;
flex-direction: column;
position: relative;
}
.product-card .card-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 8px;
margin-bottom: 12px;
}
.product-card .card-header h4 {
margin: 0;
font-size: 16px;
font-size: 18px;
color: #102541;
font-weight: 600;
white-space: normal;
overflow: visible;
text-align: left;
}
.product-card .card-tag {
background: #1481ff;
@@ -6922,16 +7035,213 @@ img {
padding: 2px 8px;
border-radius: 3px;
font-size: 12px;
white-space: nowrap;
flex-shrink: 0;
}
.product-card .card-content p {
margin: 0;
font-size: 14px;
color: #666;
line-height: 1.6;
display: -webkit-box;
-webkit-line-clamp: 4;
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;
flex: 1;
}
/* Owl Carousel 功能卡片轮播样式 */
.feature-cards-slider {
padding: 20px 0;
}
/* 功能卡片样式 - 产品功能亮点(整体统一颜色 #eff5ff */
.feature-card {
background: #eff5ff;
border-radius: 12px;
box-shadow: 0 2px 8px rgba(20,129,255,0.25);
border: 0px solid #d4e8f8;
overflow: hidden;
transition: all 0.3s ease;
height: 95%;
min-height: 320px;
display: flex;
flex-direction: column;
margin: 15px;
}
.feature-card:hover {
box-shadow: 0 4px 12px rgba(20,129,255,0.35);
transform: translateY(-3px);
}
.feature-card-icon {
height: 120px;
background: #eff5ff;
display: flex;
align-items: center;
justify-content: center;
padding: 20px;
}
.feature-card-icon img {
width: 70px;
height: 70px;
object-fit: contain;
}
.feature-card-body {
padding: 25px 20px;
flex: 1;
display: flex;
flex-direction: column;
background: #eff5ff;
text-align: center;
}
.feature-card-body h4 {
font-size: 16px;
font-weight: bold;
color: #000000;
line-height: 1.5;
margin: 0 0 15px 0;
min-height: 48px; /* 两行高度: 16px * 1.5 * 2 */
}
.feature-card-body p {
font-size: 14px;
color: #4a6a8a;
line-height: 1.7;
margin: 0;
display: -webkit-box;
-webkit-line-clamp: 5;
-webkit-box-orient: vertical;
overflow: hidden;
min-height: 119px; /* 五行高度: 14px * 1.7 * 5 */
}
/* 产品优势卡片样式 - 上部渐变蓝色,下部白色 */
.feature-card-advantage .feature-card-icon {
background: linear-gradient(90deg, #0037ff 0%, #007bff 88%);
justify-content: flex-start;
}
.feature-card-advantage .feature-card-icon h4 {
color: #ffffff;
font-size: 18px;
font-weight: bold;
margin: 0;
text-align: left;
}
.feature-card-advantage .feature-card-body {
background: #ffffff;
text-align: left;
}
.feature-card-advantage .feature-card-body p {
color: #000000;
}
/* Owl Carousel 卡片等高 */
.feature-cards-slider .owl-stage {
display: flex;
}
.feature-cards-slider .owl-item {
display: flex;
}
.feature-cards-slider .owl-item .feature-card {
width: 100%;
}
/* ==========================================
经典案例页面样式 - Classic Case Page Styles
========================================== */
/* TAB 选项卡样式调整 */
.service-tab-nav-fullwidth .service-tab-nav .service-list-widget ul {
justify-content: center;
}
.service-tab-nav-fullwidth .service-tab-nav .service-list-widget ul li {
flex: none;
min-width: 160px;
}
.service-tab-nav-fullwidth .service-tab-nav .service-list-widget a {
padding: 18px 20px;
font-size: 15px;
}
/* 公司 Logo 样式 - 绝对定位在卡片右上角 */
.company-logo {
position: absolute;
top: -20px;
right: 20px;
width: 60px;
height: 40px;
border-radius: 4px;
display: flex;
align-items: center;
justify-content: center;
color: #fff;
font-size: 12px;
font-weight: bold;
text-align: center;
line-height: 1.2;
}
/* Logo 颜色变体 */
.company-logo.logo-blue {
background: linear-gradient(135deg, #1481ff, #0066cc);
}
.company-logo.logo-orange {
background: linear-gradient(135deg, #ff6b35, #ff5722);
}
.company-logo.logo-green {
background: linear-gradient(135deg, #4caf50, #2e7d32);
}
.company-logo.logo-purple {
background: linear-gradient(135deg, #9c27b0, #6a1b9a);
}
.company-logo.logo-red {
background: linear-gradient(135deg, #f44336, #d32f2f);
}
.company-logo.logo-cyan {
background: linear-gradient(135deg, #00bcd4, #0097a7);
}
/* 响应式调整 */
@media (max-width: 991px) {
.product-card { width: calc(50% - 10px); }
.service-tab-nav-fullwidth .service-tab-nav .service-list-widget ul {
flex-wrap: wrap;
}
.service-tab-nav-fullwidth .service-tab-nav .service-list-widget ul li {
min-width: 120px;
}
.service-tab-nav-fullwidth .service-tab-nav .service-list-widget a {
padding: 15px 10px;
font-size: 14px;
}
}
@media (max-width: 767px) {
.service-tab-nav-fullwidth .service-tab-nav .service-list-widget ul li {
min-width: 100px;
}
.service-tab-nav-fullwidth .service-tab-nav .service-list-widget a {
font-size: 13px;
padding: 12px 8px;
}
.company-logo {
width: 50px;
height: 35px;
font-size: 11px;
}
}
/* 隐藏未筛选的卡片 */
.product-card.hidden {
display: none;
}
@media (max-width: 550px) {
.product-card { width: 100%; }
}