<div id="yfd-final-v8">
<style>
/* 强制隐藏原主题干扰 */
header, footer, .site-header, .site-footer, #masthead, #colophon, .nav-container { display: none !important; }
#yfd-final-v8 { background-color: #010204; color: #cbd5e1; font-family: 'Segoe UI', system-ui, sans-serif; margin: 0; padding: 0; min-height: 100vh; position: relative; }
.container { max-width: 1260px; margin: 0 auto; padding: 0 20px; }
/* 翻译开关 */
#lang-toggle { display: none; }
.lang-en { display: none; }
#lang-toggle:checked ~ .yfd-body .lang-en { display: block; }
#lang-toggle:checked ~ .yfd-body .lang-zh { display: none; }
.yfd-translator { position: fixed; top: 20px; right: 20px; z-index: 10001; background: #111827; border: 1px solid #3b82f6; border-radius: 50px; padding: 4px; display: flex; box-shadow: 0 4px 20px rgba(0,0,0,0.8); }
.yfd-translator label { padding: 6px 18px; cursor: pointer; border-radius: 50px; font-size: 11px; font-weight: 800; color: #94a3b8; }
#lang-toggle:not(:checked) ~ .yfd-translator label[for="lang-toggle"]:first-child,
#lang-toggle:checked ~ .yfd-translator label[for="lang-toggle"]:last-child { background: #3b82f6; color: white; }
/* 弹窗系统样式 */
.yfd-modal-v8 { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.98); z-index: 20000; display: none; justify-content: center; align-items: center; padding: 20px; backdrop-filter: blur(10px); }
.modal-content-v8 { background: #0c111d; width: 100%; max-width: 1000px; max-height: 90vh; border-radius: 32px; border: 1px solid #3b82f6; overflow-y: auto; padding: 40px; position: relative; box-shadow: 0 0 50px rgba(59, 130, 246, 0.2); }
.close-modal-v8 { position: absolute; top: 25px; right: 25px; font-size: 45px; color: #475569; cursor: pointer; line-height: 1; z-index: 20001; }
.detail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.spec-table { width: 100%; border-collapse: collapse; margin-top: 15px; }
.spec-table td { padding: 12px 0; border-bottom: 1px solid #1e293b; font-size: 13px; }
.t-lab { color: #64748b; width: 45%; }
.t-val { color: #fff; font-weight: 600; text-align: right; }
/* 产品卡片样式 */
.yfd-hero { text-align: center; padding: 100px 20px; background: radial-gradient(circle at center, #1e3a8a33 0%, transparent 70%); }
.cat-title { color: #fff; font-size: 32px; font-weight: 900; margin: 80px 0 40px; border-left: 6px solid #3b82f6; padding-left: 20px; }
.yfd-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 25px; }
.yfd-card-v8 { background: #0f172a; border: 1px solid #1e293b; border-radius: 24px; padding: 25px; cursor: pointer; transition: 0.4s; }
.yfd-card-v8:hover { border-color: #3b82f6; transform: translateY(-10px); box-shadow: 0 20px 40px -10px rgba(59, 130, 246, 0.4); }
.img-box { height: 180px; background: #000; border-radius: 18px; margin-bottom: 15px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.img-box img { max-width: 80%; max-height: 80%; object-fit: contain; }
.p-price { color: #3b82f6; font-size: 24px; font-weight: 900; margin-bottom: 10px; }
</style>
<input type="checkbox" id="lang-toggle">
<div class="yfd-translator"><label for="lang-toggle">中文</label><label for="lang-toggle">ENGLISH</label></div>
<div id="modal-container-v8"></div>
<div class="yfd-body">
<div class="yfd-hero">
<div class="container">
<h1><span class="lang-zh">雅菲迪能源:东南亚光伏储能核心中心</span><span class="lang-en">YFD Energy: Premier Solar Storage Hub</span></h1>
<p><span class="lang-zh">直供东南亚各港口。全系列产品点击查看完整技术参数、尺寸、保修及木箱包装细节。</span><span class="lang-en">Direct factory to SE Asia. Click any card for full specs, sizes, and wooden case packing details.</span></p>
</div>
</div>
<div class="container">
<div id="sections-wrapper-v8"></div>
</div>
<div style="text-align: center; padding: 100px 20px; border-top: 1px solid #1e293b; margin-top: 100px;">
<p style="color: #475569; font-size: 11px;">© 2026 YFD ENERGY TECHNOLOGY. ALL RIGHTS RESERVED.</p>
</div>
</div>
<script>
// 雅菲迪能源全量数据库 (严格录入全部 35 款有效产品)
const pDataV8 = [
{ id:1, cat:'Battery', name:'YFD-LFP-5BG', price:1950, img:'1.png', info:{'Rated Volt':'51.2V','Capacity':'100Ah/5kWh','BMS':'JiKong Smart (极空)','Pack Size':'680*570*310mm','G.Weight':'60kg (Wooden Case)','Life':'≥6000 @ 25°C','Altitude':'≤2000m','Installation':'Wall-mount','Warranty':'5 Years'} },
{ id:2, cat:'Battery', name:'YFD-LFP-5TDNC', price:2990, img:'2.png', info:{'Type':'Integrated (逆控一体)','Structure':'Inv Bay + Battery Layer','Weight':'100kg (Wooden)','Mount':'Floor Stand','Warranty':'5Y Battery / 2Y Inverter'} },
{ id:3, cat:'Battery', name:'YFD-LFP-10LS', price:2950, img:'3.png', info:{'Capacity':'206Ah/10kWh','BMS':'JBD Smart (嘉佰达)','Size':'675*500*270mm','Weight':'103kg (Wooden)','Cycle Life':'≥6000','Warranty':'5 Years'} },
{ id:4, cat:'Battery', name:'YFD-LFP-15LS', price:3100, img:'4.png', info:{'Capacity':'280Ah/15kWh','Volt':'51.2V','Size':'420*265*790mm','Weight':'130kg (Wooden)','Mount':'Floor-standing','Warranty':'5 Years'} },
{ id:5, cat:'Battery', name:'YFD-LFP-15TD', price:6400, img:'5.png', info:{'Type':'Modular ESS','Capacity':'280Ah/15kWh','Pack Size':'870*480*300mm','Weight':'130kg (Wooden)','BMS':'JiKong','Status':'In-Stock'} },
{ id:6, cat:'Battery', name:'YFD-LFP-16LS', price:3600, img:'6.png', info:{'Capacity':'314Ah/16kWh','BMS':'JiKong Smart','Weight':'130kg','Cert':'UN38.3/MSDS','Cycle Life':'≥6000','Warranty':'5 Years'} },
{ id:8, cat:'Battery', name:'YFD-LFP-16TD', price:7400, img:'8.png', info:{'Capacity':'314Ah/16kWh','BMS':'JiKong','Volt':'51.2V','Mount':'Floor (Rubber/Fuma)','Warranty':'5 Years'} },
{ id:9, cat:'Inverter', name:'6.2kW Off-Grid', price:850, img:'9.png', info:{'Power':'6200W','PV Max':'500V/18A','Battery':'48VDC','Parallel':'Max 9 Units','Temp':'-10℃~50℃','Warranty':'2 Years'} },
{ id:10, cat:'Inverter', name:'11kW Off-Grid', price:'1350/1600', img:'10.png', info:{'Power':'11,000W','PV Input':'Dual 500V','Current':'18A/18A','Size':'570*500*148mm','Weight':'22.5kg','Warranty':'2 Years'} },
{ id:11, cat:'Inverter', name:'SPI-12kW Hybrid', price:1600, img:'11.png', info:{'Power':'12kW','PV Range':'120-500Vdc','MPPT':'90-450Vdc','Parallel':'Max 6','Volt':'230VAC','Warranty':'2 Years'} },
{ id:12, cat:'Inverter', name:'Growatt 6000TL', price:1500, img:'12.png', info:{'Brand':'Growatt','Max PV':'8000W','Battery':'48V','Weight':'13.5kg','Warranty':'5 Years'} },
{ id:13, cat:'Inverter', name:'Growatt 12kW ES', price:2550, img:'13.png', info:{'Brand':'Growatt','Power':'12kW','PV Max':'15000W','Parallel':'9 Units','Humidity':'5%-95%','Warranty':'5 Years'} },
{ id:14, cat:'Inverter', name:'WIT 15K-HU', price:5400, img:'14.png', info:{'Type':'3-Phase LV Hybrid','Power':'15kW','PV Max':'24kW','Volt':'220/380V','Weight':'38kg','Warranty':'5 Years'} },
{ id:15, cat:'Inverter', name:'WIT 25K-HU', price:6600, img:'15.png', info:{'Power':'25kW','PV Max':'50kW','Volt':'400V','Altitude':'4000m','Warranty':'5 Years'} },
{ id:16, cat:'Inverter', name:'WIT 50K-XHU', price:12100, img:'16.png', info:{'Power':'50kW','PV Input':'100kW','Volt':'200-900V','Weight':'90kg','Warranty':'5 Years'} },
{ id:17, cat:'Inverter', name:'WIT 50K-GTI', price:8500, img:'17.png', info:{'Type':'Grid-tied (WIT)','Mount':'Wall-mount','Efficiency':'98.8%','Warranty':'5 Years'} },
{ id:18, cat:'Inverter', name:'WIT 100K-HU', price:21600, img:'18.png', info:{'Power':'100kW','PV Max':'156kW','Batt Range':'600-1000V','Weight':'160kg','Warranty':'5 Years'} },
{ id:19, cat:'Inverter', name:'GW10K-ET GoodWe', price:4000, img:'19.png', info:{'Power':'10kW','PV Max':'20kW','Volt':'400V','Weight':'45.3kg','Warranty':'5 Years'} },
{ id:20, cat:'Inverter', name:'GW12K-ET GoodWe', price:4000, img:'20.png', info:{'Power':'12kW','PV Max':'24kW','Volt':'400V','Altitude':'4000m','Warranty':'5 Years'} },
{ id:21, cat:'Inverter', name:'GW15K-ET GoodWe', price:4700, img:'21.png', info:{'Power':'15kW','Charge':'165A','Weight':'49.7kg','Warranty':'5 Years'} },
{ id:22, cat:'Inverter', name:'GW20K-ET GoodWe', price:5200, img:'22.png', info:{'Power':'20kW','PV Max':'40kW','Weight':'51.2kg','Warranty':'5 Years'} },
{ id:23, cat:'Inverter', name:'GW50K-ET GoodWe', price:6500, img:'23.png', info:{'Power':'50kW Hybrid','MPPT':'4','Volt Range':'200-800V','Warranty':'5 Years'} },
{ id:24, cat:'Inverter', name:'GW100K-ET GoodWe', price:13400, img:'24.png', info:{'Power':'110kW','MPPT':'8','PV Max':'1000V','Weight':'97kg','Warranty':'5 Years'} },
{ id:30, cat:'ESS', name:'ESS 45kWh LV', price:13000, img:'30.png', info:{'Cap':'45kWh (LV)','Inv':'15-25kW Hybrid','Output':'380V','Env':'Outdoor','Warranty':'3 Years'} },
{ id:31, cat:'ESS', name:'ESS 60kWh LV', price:16000, img:'31.png', info:{'Cap':'60kWh (LV)','Type':'Modular ESS','Size':'Outdoor Grade','Warranty':'3 Years'} },
{ id:32, cat:'ESS', name:'ESS 75kWh LV', price:19000, img:'33.png', info:{'Cap':'75kWh (LV)','Size':'730*1800*1100','Volt':'51.2V','Warranty':'3 Years'} },
{ id:33, cat:'ESS', name:'ESS 64kWh LV', price:18500, img:'33.png', info:{'Cap':'64kWh (LV)','Battery':'314Ah Hybrid','Structure':'Industrial','Warranty':'3 Years'} },
{ id:34, cat:'ESS', name:'ESS 80kWh LV', price:21600, img:'34.png', info:{'Cap':'80kWh (LV)','Volt':'380V','Status':'OEM Custom','Warranty':'3 Years'} },
{ id:35, cat:'ESS', name:'ESS 80kWh HV', price:29000, img:'35.png', info:{'Cap':'80kWh (HV)','Volt':'256V Battery','Inv':'30-50kW','Weight':'~800kg'} },
{ id:36, cat:'ESS', name:'ESS 100kWh HV', price:32000, img:'36.png', info:{'Cap':'100kWh (HV)','Volt':'320V','Inv':'50kW','Current':'150A'} },
{ id:37, cat:'ESS', name:'ESS 120kWh HV', price:37500, img:'37.png', info:{'Cap':'120kWh (HV)','Volt':'384V','Battery':'314Ah','Warranty':'3 Years'} },
{ id:38, cat:'ESS', name:'ESS 241kWh HV', price:65800, img:'35.png', info:{'Cap':'241kWh (HV)','Volt':'768V','Inv':'100kW','Warranty':'3 Years'} },
{ id:39, cat:'ESS', name:'ESS 261kWh HV', price:71800, img:'39.png', info:{'Cap':'261kWh (HV)','Volt':'832V','Power':'100kW','Env':'Outdoor Industrial'} },
{ id:40, cat:'Box', name:'220V Dual ATS', price:550, img:'40.png', info:{'ATS':'100A CHINT','Surge':'2P 385V','Breaker':'100A','Size':'500*400*200mm'} },
{ id:41, cat:'Box', name:'380V Industrial ATS', price:700, img:'41.png', info:{'ATS':'125A CHINT','Surge':'3P 385V','Breaker':'125A','Size':'600*600*200mm'} }
];
// 核心函数显式全局化,确保 onclick 能够调用
window.yfdOpen = function(id) {
var m = document.getElementById('yfdmodal-' + id);
if(m) { m.style.display = 'flex'; document.body.style.overflow = 'hidden'; }
};
window.yfdClose = function(id) {
var m = document.getElementById('yfdmodal-' + id);
if(m) { m.style.display = 'none'; document.body.style.overflow = 'auto'; }
};
function startYFD() {
const modalContainer = document.getElementById('modal-container-v8');
const sectionsWrapper = document.getElementById('sections-wrapper-v8');
const cats = {
'Battery': { zh:'01. 储能磷酸铁锂', en:'01. LFP Storage Batteries' },
'Inverter': { zh:'02. 智能光伏逆变器', en:'02. Smart Inverters' },
'ESS': { zh:'03. 工业/商业储能柜系统', en:'03. Industrial Scale ESS' },
'Box': { zh:'04. 动力配电与安全设备', en:'04. Distribution & Safety' }
};
sectionsWrapper.innerHTML = '';
modalContainer.innerHTML = '';
for (let k in cats) {
sectionsWrapper.innerHTML += `<div class="cat-title"><span class="lang-zh">${cats[k].zh}</span><span class="lang-en">${cats[k].en}</span></div><div id="grid-${k}" class="yfd-grid"></div>`;
}
pDataV8.forEach(p => {
const grid = document.getElementById('grid-' + p.cat);
if(grid) {
grid.innerHTML += `<div class="yfd-card-v8" onclick="yfdOpen(${p.id})"><div class="img-box"><img src="https://diaomaomt.com/wp-content/uploads/2026/03/${p.img}"></div><div class="p-price">$${p.price.toLocaleString()}</div><div style="font-weight:700; color:#fff; font-size:15px;">${p.name}</div><div style="font-size:10px; color:#3b82f6; margin-top:10px; font-weight:800; border:1px solid #1e293b; display:inline-block; padding:2px 8px; border-radius:4px;">[ <span class="lang-zh">完整参数</span><span class="lang-en">FULL SPECS</span> ]</div></div>`;
}
let rows = '';
for (let s in p.info) { rows += `<tr><td class="t-lab">${s}</td><td class="t-val">${p.info[s]}</td></tr>`; }
modalContainer.innerHTML += `
<div class="yfd-modal-v8" id="yfdmodal-${p.id}">
<div class="modal-content-v8">
<span class="close-modal-v8" onclick="yfdClose(${p.id})">&times;</span>
<div class="detail-grid">
<div style="background:#000; border-radius:20px; padding:30px; display:flex; align-items:center; border:1px solid #1e293b;"><img src="https://diaomaomt.com/wp-content/uploads/2026/03/${p.img}" style="width:100%;"></div>
<div>
<h2 style="font-size:32px; color:#fff; margin-bottom:5px;">${p.name}</h2>
<div style="font-size:36px; color:#3b82f6; font-weight:900; margin-bottom:20px;">$${p.price.toLocaleString()}</div>
<div style="background:rgba(59, 130, 246, 0.1); padding:15px; border-radius:12px; font-size:12px; margin-bottom:20px; border:1px solid rgba(59, 130, 246, 0.2);"><span class="lang-zh">雅菲迪能源 (YFD Energy) 原厂直供。UN38.3/MSDS认证,专为东南亚极端热带环境优化。</span><span class="lang-en">YFD Energy Factory Direct. UN38.3 certified, optimized for SE Asia's tropical extreme heat.</span></div>
<table class="spec-table">${rows}</table>
<a href="https://wa.me/yournumber" style="background:#25d366; display:block; text-align:center; padding:18px; border-radius:15px; color:#fff; text-decoration:none; margin-top:30px; font-weight:900; font-size:16px;">WHATSAPP BUSINESS INQUIRY</a>
</div>
</div>
</div>
</div>`;
});
}
// 强力激活渲染机制
if (document.readyState === 'complete') {
startYFD();
} else {
window.addEventListener('load', startYFD);
}
</script>
</div>