230 lines
9.2 KiB
HTML
230 lines
9.2 KiB
HTML
<!DOCTYPE html>
|
||
<html lang="zh-CN">
|
||
<head>
|
||
<meta charset="UTF-8">
|
||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||
<title>联系我们 - 听泉科技</title>
|
||
<link rel="stylesheet" href="css/style.css">
|
||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
|
||
<style>
|
||
.contact-section {
|
||
padding: 160px 0 80px;
|
||
}
|
||
.contact-grid {
|
||
display: grid;
|
||
grid-template-columns: 1fr 1fr;
|
||
gap: 3rem;
|
||
margin-top: 2rem;
|
||
}
|
||
.contact-card {
|
||
background: white;
|
||
border-radius: 1rem;
|
||
padding: 2rem;
|
||
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
|
||
}
|
||
.contact-info {
|
||
margin-bottom: 2rem;
|
||
}
|
||
.contact-item {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 1rem;
|
||
margin-bottom: 1.5rem;
|
||
padding: 1rem;
|
||
background: #f8f9fa;
|
||
border-radius: 0.5rem;
|
||
}
|
||
.contact-item i {
|
||
font-size: 1.5rem;
|
||
color: var(--primary-color);
|
||
}
|
||
.contact-form input,
|
||
.contact-form textarea {
|
||
width: 100%;
|
||
padding: 0.75rem;
|
||
margin-bottom: 1rem;
|
||
border: 1px solid #dee2e6;
|
||
border-radius: 0.5rem;
|
||
font-size: 1rem;
|
||
}
|
||
.contact-form textarea {
|
||
height: 150px;
|
||
resize: vertical;
|
||
}
|
||
.contact-form button {
|
||
width: 100%;
|
||
padding: 1rem;
|
||
font-size: 1.1rem;
|
||
}
|
||
@media (max-width: 768px) {
|
||
.contact-grid {
|
||
grid-template-columns: 1fr;
|
||
}
|
||
}
|
||
</style>
|
||
</head>
|
||
<body>
|
||
<div class="overlay"></div>
|
||
<!-- 导航栏 -->
|
||
<header>
|
||
<div class="container">
|
||
<div class="logo">
|
||
<h1>听泉科技</h1>
|
||
</div>
|
||
<nav>
|
||
<ul>
|
||
<li><a href="index.html">首页</a></li>
|
||
<li><a href="products.html">产品</a></li>
|
||
<li><a href="pricing.html">价格</a></li>
|
||
<li><a href="contact.html" class="active">联系我们</a></li>
|
||
<li><a href="api-docs.html">API文档</a></li>
|
||
</ul>
|
||
</nav>
|
||
<button class="menu-button">
|
||
<span class="menu-icon"></span>
|
||
</button>
|
||
</div>
|
||
</header>
|
||
|
||
<section class="contact-section">
|
||
<div class="container">
|
||
<h1>联系我们</h1>
|
||
<p>如果您有任何问题或需求,欢迎随时联系我们</p>
|
||
|
||
<div class="contact-grid">
|
||
<div class="contact-card">
|
||
<div class="contact-info">
|
||
<h3>联系方式</h3>
|
||
<div class="contact-item">
|
||
<i class="fab fa-weixin"></i>
|
||
<div>
|
||
<h4>微信咨询</h4>
|
||
<p>微信号:behikcigar</p>
|
||
<a href="javascript:void(0)" onclick="showWechatModal()" class="btn btn-sm btn-primary" style="margin-top: 0.5rem;">
|
||
查看二维码
|
||
</a>
|
||
</div>
|
||
</div>
|
||
<div class="contact-item">
|
||
<i class="fas fa-envelope"></i>
|
||
<div>
|
||
<h4>邮件联系</h4>
|
||
<p>maticarmy@gmail.com</p>
|
||
</div>
|
||
</div>
|
||
<div class="contact-item">
|
||
<i class="fab fa-github"></i>
|
||
<div>
|
||
<h4>开源项目</h4>
|
||
<p>GitHub:<a href="https://github.com/maticarmy/free_cursor_pro.git" target="_blank">free_cursor_pro</a></p>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<div style="margin-top: 2rem;">
|
||
<h3>代理合作</h3>
|
||
<p>我们诚邀代理合作伙伴,提供:</p>
|
||
<ul style="list-style-type: none; margin-top: 1rem;">
|
||
<li><i class="fas fa-check"></i> 优惠的代理价格</li>
|
||
<li><i class="fas fa-check"></i> 专业的技术支持</li>
|
||
<li><i class="fas fa-check"></i> 完善的售后服务</li>
|
||
<li><i class="fas fa-check"></i> 稳定的产品质量</li>
|
||
</ul>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="contact-card">
|
||
<h3>在线咨询</h3>
|
||
<form class="contact-form" id="contactForm">
|
||
<input type="text" placeholder="您的称呼" required>
|
||
<input type="text" placeholder="联系方式(微信/手机/邮箱)" required>
|
||
<select style="width: 100%; padding: 0.75rem; margin-bottom: 1rem; border: 1px solid #dee2e6; border-radius: 0.5rem; font-size: 1rem;">
|
||
<option value="">请选择咨询类型</option>
|
||
<option value="product">产品咨询</option>
|
||
<option value="price">价格咨询</option>
|
||
<option value="agent">代理合作</option>
|
||
<option value="tech">技术支持</option>
|
||
<option value="other">其他问题</option>
|
||
</select>
|
||
<textarea placeholder="请详细描述您的需求..." required></textarea>
|
||
<button type="submit" class="btn btn-primary">提交咨询</button>
|
||
</form>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</section>
|
||
|
||
<!-- 页脚 -->
|
||
<footer>
|
||
<div class="container">
|
||
<div class="footer-grid">
|
||
<div class="footer-col">
|
||
<h3>听泉科技</h3>
|
||
<p>专注于智能软件解决方案</p>
|
||
</div>
|
||
<div class="footer-col">
|
||
<h3>快速链接</h3>
|
||
<ul>
|
||
<li><a href="index.html">首页</a></li>
|
||
<li><a href="products.html">产品</a></li>
|
||
<li><a href="pricing.html">价格</a></li>
|
||
<li><a href="contact.html">联系我们</a></li>
|
||
<li><a href="api-docs.html">API文档</a></li>
|
||
</ul>
|
||
</div>
|
||
<div class="footer-col">
|
||
<h3>联系我们</h3>
|
||
<p><i class="fas fa-envelope"></i> maticarmy@gmail.com</p>
|
||
<div class="social-links">
|
||
<a href="https://github.com/maticarmy/free_cursor_pro.git" target="_blank" title="GitHub"><i class="fab fa-github"></i></a>
|
||
<a href="javascript:void(0)" onclick="showWechatModal()" title="微信"><i class="fab fa-weixin"></i></a>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div class="copyright">
|
||
<p>© 2024 听泉科技. 保留所有权利.</p>
|
||
</div>
|
||
</div>
|
||
</footer>
|
||
|
||
<!-- 微信弹窗 -->
|
||
<div id="wechatModal" class="modal" style="display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 1000;">
|
||
<div style="position: relative; background: white; max-width: 400px; margin: 100px auto; padding: 2rem; border-radius: 1rem; text-align: center;">
|
||
<span onclick="closeWechatModal()" style="position: absolute; right: 1rem; top: 1rem; cursor: pointer; font-size: 1.5rem;">×</span>
|
||
<img src="img/wechat_qr.png" alt="微信二维码" style="width: 200px; border-radius: 0.5rem;">
|
||
<p style="margin-top: 1rem; font-weight: bold;">
|
||
<i class="fab fa-weixin"></i> 微信号:behikcigar
|
||
</p>
|
||
</div>
|
||
</div>
|
||
|
||
<script>
|
||
// 微信弹窗功能
|
||
function showWechatModal() {
|
||
document.getElementById('wechatModal').style.display = 'block';
|
||
document.body.style.overflow = 'hidden';
|
||
}
|
||
|
||
function closeWechatModal() {
|
||
document.getElementById('wechatModal').style.display = 'none';
|
||
document.body.style.overflow = 'auto';
|
||
}
|
||
|
||
// 点击空白处关闭弹窗
|
||
document.getElementById('wechatModal').addEventListener('click', function(e) {
|
||
if (e.target === this) {
|
||
closeWechatModal();
|
||
}
|
||
});
|
||
|
||
// 表单提交处理
|
||
document.getElementById('contactForm').addEventListener('submit', function(e) {
|
||
e.preventDefault();
|
||
alert('感谢您的咨询,我们会尽快与您联系!');
|
||
this.reset();
|
||
});
|
||
</script>
|
||
|
||
<script src="js/main.js"></script>
|
||
</body>
|
||
</html> |