1
0

Refactor and enhance various HTML pages with updated links, improved styles, and optimized JavaScript functionality

- Updated badge styles in culture.html for better visual consistency and added backdrop-filter support.
- Introduced a fallback panel for the map in index.html with enhanced styles and responsive design.
- Changed links in product_ecommerce_freight_booking.html, product_full_logistics_chain_cargo_agent.html, product_full_logistics_chain_platform.html, product_full_logistics_chain_ship_agent.html, product_port_cdi_container.html, product_shipping_boat.html, product_shipping_company.html to point to new URLs with query parameters.
- Improved scroll reveal functionality in solution_inland_river_shipping.html, solution_logistics_chain.html, solution_port_supply_chain.html, and solution_supply_chain.html by replacing forEach with a traditional for loop for better performance.
This commit is contained in:
2026-04-20 15:59:09 +08:00
parent 8200b1f948
commit 9938e484bd
31 changed files with 1438 additions and 1964 deletions

View File

@@ -465,7 +465,7 @@
<div class="cases-slider">
<div class="case-slide">
<a class="case-card-link" href="classiccase/hede_global_supply_chain.html">
<a class="case-card-link" href="classiccase/hede_international_shipping.html?tab=supplychain">
<div class="case-card">
<div class="case-card-header teal">
<h3>唐山港合德海运有限公司</h3>
@@ -477,7 +477,7 @@
</a>
</div>
<div class="case-slide">
<a class="case-card-link" href="classiccase/shanggang_liandai_integration.html">
<a class="case-card-link" href="classiccase/shanggang_liandai_booking.html?tab=integration">
<div class="case-card">
<div class="case-card-header cyan">
<h3>上海上港联合国际船舶代理有限公司</h3>
@@ -571,7 +571,8 @@
function revealOnScroll() {
var reveals = document.querySelectorAll('.reveal');
reveals.forEach(function(element) {
for (var i = 0; i < reveals.length; i += 1) {
var element = reveals[i];
var windowHeight = window.innerHeight;
var elementTop = element.getBoundingClientRect().top;
var elementVisible = 100;
@@ -579,7 +580,7 @@
if (elementTop < windowHeight - elementVisible) {
element.classList.add('active');
}
});
}
}
// Initial check