v-2
This commit is contained in:
215
contact.html
215
contact.html
@@ -7,64 +7,55 @@
|
||||
<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 {
|
||||
.contact-section {
|
||||
padding: 160px 0 80px;
|
||||
}
|
||||
.contact-grid {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 4rem;
|
||||
gap: 3rem;
|
||||
margin-top: 2rem;
|
||||
}
|
||||
.contact-info {
|
||||
padding: 2rem;
|
||||
}
|
||||
.contact-info h2 {
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
.contact-info-item {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 1rem;
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
.contact-info-item i {
|
||||
color: var(--primary-color);
|
||||
font-size: 1.5rem;
|
||||
margin-top: 0.25rem;
|
||||
}
|
||||
.contact-form {
|
||||
.contact-card {
|
||||
background: white;
|
||||
padding: 3rem;
|
||||
border-radius: 1rem;
|
||||
padding: 2rem;
|
||||
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
|
||||
}
|
||||
.form-group {
|
||||
.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;
|
||||
}
|
||||
.form-group label {
|
||||
display: block;
|
||||
margin-bottom: 0.5rem;
|
||||
color: var(--text-color);
|
||||
font-weight: 500;
|
||||
.contact-item i {
|
||||
font-size: 1.5rem;
|
||||
color: var(--primary-color);
|
||||
}
|
||||
.form-group input,
|
||||
.form-group textarea {
|
||||
.contact-form input,
|
||||
.contact-form textarea {
|
||||
width: 100%;
|
||||
padding: 0.75rem;
|
||||
border: 2px solid var(--border-color);
|
||||
margin-bottom: 1rem;
|
||||
border: 1px solid #dee2e6;
|
||||
border-radius: 0.5rem;
|
||||
font-size: 1rem;
|
||||
transition: border-color 0.3s;
|
||||
}
|
||||
.form-group input:focus,
|
||||
.form-group textarea:focus {
|
||||
outline: none;
|
||||
border-color: var(--primary-color);
|
||||
}
|
||||
.form-group textarea {
|
||||
.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;
|
||||
@@ -86,6 +77,7 @@
|
||||
<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">
|
||||
@@ -94,62 +86,68 @@
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<section class="contact">
|
||||
<section class="contact-section">
|
||||
<div class="container">
|
||||
<h1>联系我们</h1>
|
||||
<p>如果您有任何问题或需求,欢迎随时联系我们</p>
|
||||
|
||||
<div class="contact-grid">
|
||||
<div class="contact-info">
|
||||
<h2>联系方式</h2>
|
||||
<div class="contact-info-item">
|
||||
<i class="fas fa-envelope"></i>
|
||||
<div>
|
||||
<h3>电子邮件</h3>
|
||||
<p>contact@tingquan.tech</p>
|
||||
<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 class="contact-info-item">
|
||||
<i class="fab fa-weixin"></i>
|
||||
<div>
|
||||
<h3>微信公众号</h3>
|
||||
<p>tingquantech</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="contact-info-item">
|
||||
<i class="fab fa-github"></i>
|
||||
<div>
|
||||
<h3>GitHub</h3>
|
||||
<p><a href="https://github.com/yourusername/cursor-account-switcher" target="_blank">查看我们的开源项目</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="contact-info-item">
|
||||
<i class="fas fa-clock"></i>
|
||||
<div>
|
||||
<h3>工作时间</h3>
|
||||
<p>周一至周五: 9:00 - 18:00</p>
|
||||
<p>周末: 10:00 - 16:00</p>
|
||||
</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-form">
|
||||
<h2>发送消息</h2>
|
||||
<form id="contactForm">
|
||||
<div class="form-group">
|
||||
<label for="name">姓名</label>
|
||||
<input type="text" id="name" name="name" required>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="email">电子邮件</label>
|
||||
<input type="email" id="email" name="email" required>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="subject">主题</label>
|
||||
<input type="text" id="subject" name="subject" required>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="message">消息内容</label>
|
||||
<textarea id="message" name="message" required></textarea>
|
||||
</div>
|
||||
<button type="submit" class="btn btn-primary">发送消息</button>
|
||||
<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>
|
||||
@@ -171,31 +169,62 @@
|
||||
<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> contact@tingquan.tech</p>
|
||||
<p><i class="fas fa-envelope"></i> maticarmy@gmail.com</p>
|
||||
<div class="social-links">
|
||||
<a href="#"><i class="fab fa-github"></i></a>
|
||||
<a href="#"><i class="fab fa-weixin"></i></a>
|
||||
<a href="#"><i class="fab fa-weibo"></i></a>
|
||||
<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>© 2023 听泉科技. 保留所有权利.</p>
|
||||
<p>© 2024 听泉科技. 保留所有权利.</p>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<script src="js/main.js"></script>
|
||||
<!-- 微信弹窗 -->
|
||||
<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('感谢您的留言!我们会尽快回复您。');
|
||||
alert('感谢您的咨询,我们会尽快与您联系!');
|
||||
this.reset();
|
||||
});
|
||||
</script>
|
||||
|
||||
<script src="js/main.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user