first commit

This commit is contained in:
2026-08-03 14:42:40 +08:00
commit 523ad43ef7
85 changed files with 3703 additions and 0 deletions
+162
View File
@@ -0,0 +1,162 @@
:root {
--primary: #165DFF;
--primary-dark: #0E42D2;
--primary-light: #E8F0FF;
--title-color: #1D2129;
--text-color: #4E5969;
--text-secondary: #86909C;
--border-color: #E5E6EB;
--bg-color: #F7F8FA;
--white: #FFFFFF;
--success: #00B42A;
--warning: #FF7D00;
--danger: #F53F3F;
}
* { box-sizing: border-box; }
body {
font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
color: var(--text-color);
background-color: var(--bg-color);
line-height: 1.6;
}
h1, h2, h3, h4, h5, h6 {
color: var(--title-color);
font-weight: 600;
line-height: 1.3;
}
h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }
a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary-dark); }
.btn-primary { background-color: var(--primary); border-color: var(--primary); }
.btn-primary:hover { background-color: var(--primary-dark); border-color: var(--primary-dark); }
.btn-outline-primary { color: var(--primary); border-color: var(--primary); }
.btn-outline-primary:hover { background-color: var(--primary); border-color: var(--primary); }
.card {
border: none;
border-radius: 8px;
box-shadow: 0 2px 8px rgba(0,0,0,0.06);
transition: box-shadow 0.3s, transform 0.3s;
}
.card:hover {
box-shadow: 0 8px 24px rgba(0,0,0,0.12);
transform: translateY(-2px);
}
.navbar {
background: var(--white);
box-shadow: 0 1px 4px rgba(0,0,0,0.05);
padding: 0.75rem 0;
}
.navbar-brand { font-size: 1.5rem; font-weight: 700; color: var(--primary) !important; }
.nav-link { color: var(--title-color) !important; font-weight: 500; }
.nav-link:hover, .nav-link.active { color: var(--primary) !important; }
.dropdown-menu { border: none; box-shadow: 0 4px 12px rgba(0,0,0,0.1); border-radius: 8px; }
.lang-switcher { display: flex; gap: 0.5rem; align-items: center; }
.lang-switcher .btn { font-size: 0.875rem; padding: 0.25rem 0.75rem; }
.section { padding: 4rem 0; }
.section-title { text-align: center; margin-bottom: 2.5rem; }
.section-title h2 { margin-bottom: 0.75rem; }
.section-title p { color: var(--text-secondary); margin-bottom: 0; }
.banner-carousel .carousel-item { height: 500px; background: #000; }
.banner-carousel .carousel-item img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.banner-carousel .carousel-caption { bottom: 25%; text-align: left; }
.banner-carousel .carousel-caption h1 { font-size: 2.5rem; margin-bottom: 1rem; }
.banner-carousel .carousel-caption p { font-size: 1.125rem; margin-bottom: 1.5rem; }
.footer {
background: #1D2129;
color: #C9CDD4;
padding: 3rem 0 1.5rem;
margin-top: 4rem;
}
.footer h5 { color: var(--white); margin-bottom: 1rem; font-size: 1rem; }
.footer a { color: #C9CDD4; }
.footer a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid #2E3238; margin-top: 2rem; padding-top: 1.5rem; }
.breadcrumb-wrap {
background: var(--white);
border-bottom: 1px solid var(--border-color);
padding: 1rem 0;
margin-bottom: 2rem;
}
.video-container {
position: relative;
width: 100%;
aspect-ratio: 16/9;
background: #000;
border-radius: 8px;
overflow: hidden;
}
.video-container video,
.video-container iframe {
width: 100%;
height: 100%;
border: none;
}
.product-gallery .gallery-main img {
width: 100%;
border-radius: 8px;
margin-bottom: 1rem;
}
.product-gallery .gallery-thumbs {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 0.75rem;
}
.product-gallery .gallery-thumbs img {
width: 100%;
aspect-ratio: 1;
object-fit: cover;
border-radius: 6px;
cursor: pointer;
border: 2px solid transparent;
transition: border-color 0.2s;
}
.product-gallery .gallery-thumbs img:hover { border-color: var(--primary); }
.specs-table { width: 100%; }
.specs-table th, .specs-table td { padding: 0.75rem 1rem; border-bottom: 1px solid var(--border-color); }
.specs-table th { background: var(--bg-color); width: 30%; color: var(--title-color); font-weight: 500; }
#customer-map {
width: 100%;
height: 600px;
border-radius: 8px;
z-index: 1;
}
.contact-form .form-control { border-radius: 8px; padding: 0.75rem 1rem; }
.contact-form textarea.form-control { resize: vertical; min-height: 120px; }
@media (max-width: 991.98px) {
.banner-carousel .carousel-item { height: 380px; }
.banner-carousel .carousel-caption h1 { font-size: 1.75rem; }
.section { padding: 2.5rem 0; }
}
@media (max-width: 767.98px) {
.banner-carousel .carousel-item { height: 300px; }
.banner-carousel .carousel-caption { bottom: 20%; text-align: center; left: 10%; right: 10%; }
.banner-carousel .carousel-caption h1 { font-size: 1.25rem; }
.banner-carousel .carousel-caption p { font-size: 0.875rem; margin-bottom: 1rem; }
#customer-map { height: 400px; }
h1 { font-size: 1.5rem; }
h2 { font-size: 1.25rem; }
h3 { font-size: 1.1rem; }
}
+6
View File
@@ -0,0 +1,6 @@
document.addEventListener('DOMContentLoaded', function() {
var navbarToggler = document.querySelector('.navbar-toggler');
if (navbarToggler) {
navbarToggler.setAttribute('aria-expanded', 'false');
}
});