📞 联系我们

我们随时为您提供专业的咨询服务

地址

河北省石家庄市平山县
西柏坡镇西柏坡红色教育基地

距石家庄市区约100公里
交通便利,环境优美

电话

0311-80892759

155-1048-0752 (24小时咨询)

工作时间:周一至周日
8:30 - 17:30

邮箱

1253865496@qq.com

616490730@qq.com

我们会在24小时内
回复您的邮件

微信公众号

扫码关注
获取最新资讯

点击查看二维码

官方微博

@西柏坡红色教育基地
实时动态更新

点击链接跳转至微博

QQ咨询

在线客服
即时沟通

1253865496

手机网站

扫码访问
随时随地查看

点击查看二维码

⏰ 工作时间

办公时间: 周一至周日 8:30 - 17:30

接待时间: 周一至周日 9:00 - 17:00

咨询热线: 24小时在线(节假日正常接听)

法定节假日: 正常开放,提前预约

特殊天气: 请提前电话确认

团队接待: 需提前3-5天预约

📍 基地位置

🚗 交通指南

自驾路线:

  • 从石家庄出发:沿G5京昆高速北行,西柏坡出口下,约1.5小时
  • 从北京出发:沿G4京港澳高速南行转G5京昆高速,约3.5小时

公共交通:

  • 石家庄客运北站有直达西柏坡的班车,每天多班次
  • 也可乘坐火车到石家庄站,再转乘班车前往

💬 在线留言

如有任何问题或建议,欢迎给我们留言,我们会尽快回复您!

document.getElementById('contactForm').addEventListener('submit', function(e) { e.preventDefault(); var formData = new FormData(this); var data = {}; formData.forEach(function(value, key) { data[key] = value; }); fetch('/message/submit', { method: 'POST', headers: { 'Content-Type': 'application/x-www-form-urlencoded', }, body: new URLSearchParams(data) }) .then(response => response.json()) .then(result => { var alertDiv = document.getElementById('message-alert'); alertDiv.style.display = 'block'; if (result.success) { alertDiv.className = 'alert alert-success'; alertDiv.textContent = result.message; document.getElementById('contactForm').reset(); // 滚动到提示信息位置 alertDiv.scrollIntoView({ behavior: 'smooth', block: 'center' }); } else { alertDiv.className = 'alert alert-danger'; alertDiv.textContent = result.message; } // 5秒后自动隐藏提示 setTimeout(function() { alertDiv.style.display = 'none'; }, 5000); }) .catch(error => { var alertDiv = document.getElementById('message-alert'); alertDiv.style.display = 'block'; alertDiv.className = 'alert alert-danger'; alertDiv.textContent = '提交失败,请稍后重试'; }); });

温馨提示: 我们会在收到留言后24小时内与您联系,请保持电话畅通。如需紧急咨询,请直接拨打咨询热线。

// 初始化地图 document.addEventListener('DOMContentLoaded', function() { // 西柏坡纪念馆的坐标 const xibaipoCenterLat = 38.339; const xibaipoCenterLng = 113.930; // 创建地图实例 const map = L.map('map').setView([xibaipoCenterLat, xibaipoCenterLng], 13); // 添加CartoDB高质量地图瓦片层(显示详细的周边信息) L.tileLayer('https://{s}.basemaps.cartocdn.com/light_all/{z}/{x}/{y}{r}.png', { attribution: '© OpenStreetMap contributors, © CARTO', maxZoom: 20, minZoom: 1, subdomains: 'abcd' }).addTo(map); // 添加另一个高质量的地图瓦片层选项(可选) var satelliteLayer = L.tileLayer('https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}', { attribution: 'Tiles © Esri', maxZoom: 18 }); // 添加图层切换控制 var baseLayers = { "标准地图": L.tileLayer('https://{s}.basemaps.cartocdn.com/light_all/{z}/{x}/{y}{r}.png', { attribution: '© OpenStreetMap contributors, © CARTO', maxZoom: 20, subdomains: 'abcd' }), "卫星地图": satelliteLayer, "地形地图": L.tileLayer('https://{s}.tile.opentopomap.org/{z}/{x}/{y}.png', { attribution: '© OpenStreetMap contributors, © OpenTopoMap', maxZoom: 17 }) }; L.control.layers(baseLayers).addTo(map); // 创建自定义红色标记图标 const customIcon = L.icon({ iconUrl: 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMiIgaGVpZ2h0PSI0MCIgdmlld0JveD0iMCAwIDMyIDQwIj48cGF0aCBmaWxsPSIjZDMyZjJmIiBkPSJNMTYgMEMxMC40OTEgMCA2IDQuNDkxIDYgMTBjMCA2IDEwIDMwIDEwIDMwczEwLTI0IDEwLTMwYzAtNS41MDktNC40OTEtMTAtMTAtMTB6Ii8+PGNpcmNsZSBjeD0iMTYiIGN5PSIxMCIgcj0iNSIgZmlsbD0iI2ZmZiIvPjwvc3ZnPg==', iconSize: [32, 40], iconAnchor: [16, 40], popupAnchor: [0, -40] }); // 添加标记点 const marker = L.marker([xibaipoCenterLat, xibaipoCenterLng], { icon: customIcon, title: '西柏坡纪念馆' }).addTo(map); // 添加弹窗信息 const popupContent = '
' + '西柏坡红色教育基地
' + '河北省石家庄市平山县西柏坡镇
' + '西柏坡纪念馆' + '
'; marker.bindPopup(popupContent); marker.openPopup(); // 添加永久显示的标签 marker.bindTooltip('西柏坡红色教育基地', { permanent: true, direction: 'top', offset: [0, -30], className: 'marker-label', opacity: 1 }); }); function showQRCode(type) { const modal = document.getElementById('qrcodeModal'); const title = document.getElementById('qrcodeTitle'); const image = document.getElementById('qrcodeImage'); const desc = document.getElementById('qrcodeDesc'); if (type === 'wechat') { title.innerHTML = ' 微信公众号'; image.innerHTML = '微信公众号'; desc.textContent = '扫码关注我们的微信公众号,获取最新资讯和课程信息'; } else if (type === 'mobile') { title.innerHTML = ' 手机网站'; image.innerHTML = '手机网站'; desc.textContent = '扫码访问手机版网站,随时随地查看基地信息和课程安排'; } modal.style.display = 'flex'; } function closeQRCode() { document.getElementById('qrcodeModal').style.display = 'none'; } // 点击背景关闭弹窗 document.getElementById('qrcodeModal').addEventListener('click', function(e) { if (e.target === this) { closeQRCode(); } }); // ESC键关闭弹窗 document.addEventListener('keydown', function(e) { if (e.key === 'Escape') { closeQRCode(); } });
document.addEventListener('DOMContentLoaded', function() { // 平滑滚动 document.querySelectorAll('a[href^="#"]').forEach(anchor => { anchor.addEventListener('click', function (e) { e.preventDefault(); const target = document.querySelector(this.getAttribute('href')); if (target) { target.scrollIntoView({ behavior: 'smooth' }); } }); }); // 导航栏激活状态 const currentLocation = location.pathname; const navLinks = document.querySelectorAll('.navbar-nav .nav-link'); navLinks.forEach(link => { if (link.getAttribute('href') === currentLocation) { link.classList.add('active'); } else { link.classList.remove('active'); } }); }); (function() { // 获取当前页面URL var currentUrl = window.location.href; // 发送统计请求 var xhr = new XMLHttpRequest(); xhr.open('POST', '/api/statistics/track', true); xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded'); xhr.send('url=' + encodeURIComponent(currentUrl)); })();