39036-vm/zh/contact.php
2026-03-09 02:49:40 +00:00

62 lines
2.1 KiB
PHP
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
declare(strict_types=1);
@date_default_timezone_set('UTC');
require_once __DIR__ . '/../includes/data.php';
$lang = 'zh';
$site = site_config($lang);
$pageTitle = $site['brand'] . ' | 联系我们';
$pageDescription = '通过WhatsApp快速咨询报价与定制方案。';
$assetVersion = (string) time();
$navItems = $site['nav'];
$langSwitchUrl = '/contact.php';
$whatsAppLink = 'https://wa.me/' . $site['whatsapp_number'] . '?text=' . urlencode($site['whatsapp_message']);
?>
<?php require __DIR__ . '/../includes/header.php'; ?>
<main>
<section class="page-hero">
<div class="container">
<div class="hero-panel">
<h1 class="display-6 fw-semibold">联系销售工程师</h1>
<p class="text-muted">通过WhatsApp快速获取报价、目录与技术支持。</p>
</div>
</div>
</section>
<section class="section-block pt-0">
<div class="container">
<div class="row g-4">
<div class="col-lg-6">
<div class="detail-card h-100">
<h2 class="h5">WhatsApp直连</h2>
<p class="text-muted">马来西亚WhatsApp号码支持中英文沟通。</p>
<a class="btn btn-primary" href="<?= htmlspecialchars($whatsAppLink) ?>" target="_blank" rel="noopener">
<i class="bi bi-whatsapp me-2"></i>WhatsApp联系
</a>
<div class="mt-3 small text-muted">号码:<?= htmlspecialchars($site['whatsapp_number']) ?></div>
</div>
</div>
<div class="col-lg-6">
<div class="detail-card h-100">
<h2 class="h5">咨询信息准备</h2>
<ul class="small">
<li>项目地点与使用环境</li>
<li>功率/光通量要求</li>
<li>认证需求CE/CB/SASO</li>
<li>交付周期预期</li>
</ul>
<div class="alert alert-light mt-3" role="alert">
测试提示:请在 <code>includes/data.php</code> 中将 <strong>60XXXXXXXXX</strong> 替换为真实号码。
</div>
</div>
</div>
</div>
</div>
</section>
</main>
<?php require __DIR__ . '/../includes/footer.php'; ?>