|
|
<!DOCTYPE html>
|
|
|
<html lang="zh-CN">
|
|
|
|
|
|
<head>
|
|
|
<meta charset="UTF-8">
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
<title>📱 旧版浏览器使用指南</title>
|
|
|
<style>
|
|
|
* {
|
|
|
margin: 0;
|
|
|
padding: 0;
|
|
|
box-sizing: border-box;
|
|
|
}
|
|
|
|
|
|
body {
|
|
|
font-family: Arial, sans-serif;
|
|
|
background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
|
|
|
color: white;
|
|
|
min-height: 100vh;
|
|
|
padding: 15px;
|
|
|
line-height: 1.6;
|
|
|
}
|
|
|
|
|
|
.container {
|
|
|
max-width: 600px;
|
|
|
margin: 0 auto;
|
|
|
}
|
|
|
|
|
|
.header {
|
|
|
text-align: center;
|
|
|
padding: 20px 0;
|
|
|
margin-bottom: 20px;
|
|
|
border-bottom: 2px solid rgba(255, 255, 255, 0.3);
|
|
|
}
|
|
|
|
|
|
.section {
|
|
|
background: rgba(0, 0, 0, 0.3);
|
|
|
border-radius: 10px;
|
|
|
padding: 20px;
|
|
|
margin-bottom: 15px;
|
|
|
}
|
|
|
|
|
|
.section h3 {
|
|
|
color: #ffeb3b;
|
|
|
margin-bottom: 10px;
|
|
|
}
|
|
|
|
|
|
.step {
|
|
|
background: rgba(255, 255, 255, 0.1);
|
|
|
padding: 15px;
|
|
|
margin: 10px 0;
|
|
|
border-radius: 8px;
|
|
|
border-left: 4px solid #4CAF50;
|
|
|
}
|
|
|
|
|
|
.step-number {
|
|
|
background: #4CAF50;
|
|
|
color: white;
|
|
|
width: 25px;
|
|
|
height: 25px;
|
|
|
border-radius: 50%;
|
|
|
display: inline-flex;
|
|
|
align-items: center;
|
|
|
justify-content: center;
|
|
|
font-weight: bold;
|
|
|
margin-right: 10px;
|
|
|
}
|
|
|
|
|
|
.warning {
|
|
|
background: rgba(244, 67, 54, 0.2);
|
|
|
border: 2px solid #f44336;
|
|
|
border-radius: 8px;
|
|
|
padding: 15px;
|
|
|
margin: 15px 0;
|
|
|
}
|
|
|
|
|
|
.success {
|
|
|
background: rgba(76, 175, 80, 0.2);
|
|
|
border: 2px solid #4CAF50;
|
|
|
border-radius: 8px;
|
|
|
padding: 15px;
|
|
|
margin: 15px 0;
|
|
|
}
|
|
|
|
|
|
.btn {
|
|
|
display: inline-block;
|
|
|
background: #4CAF50;
|
|
|
color: white;
|
|
|
padding: 12px 20px;
|
|
|
text-decoration: none;
|
|
|
border-radius: 6px;
|
|
|
font-weight: bold;
|
|
|
margin: 5px;
|
|
|
text-align: center;
|
|
|
}
|
|
|
|
|
|
.btn-secondary {
|
|
|
background: #2196F3;
|
|
|
}
|
|
|
|
|
|
.device-option {
|
|
|
background: rgba(255, 255, 255, 0.15);
|
|
|
border-radius: 8px;
|
|
|
padding: 12px;
|
|
|
margin: 8px 0;
|
|
|
cursor: pointer;
|
|
|
transition: background 0.3s;
|
|
|
}
|
|
|
|
|
|
.device-option:hover {
|
|
|
background: rgba(255, 255, 255, 0.25);
|
|
|
}
|
|
|
|
|
|
.browser-list {
|
|
|
list-style: none;
|
|
|
padding: 0;
|
|
|
}
|
|
|
|
|
|
.browser-list li {
|
|
|
padding: 8px 0;
|
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.2);
|
|
|
}
|
|
|
|
|
|
.browser-list li:last-child {
|
|
|
border-bottom: none;
|
|
|
}
|
|
|
</style>
|
|
|
</head>
|
|
|
|
|
|
<body>
|
|
|
<div class="container">
|
|
|
<div class="header">
|
|
|
<h1>📱 旧版浏览器使用指南</h1>
|
|
|
<p>移动侦察终端兼容模式使用说明</p>
|
|
|
</div>
|
|
|
|
|
|
<div class="warning">
|
|
|
<h4>⚠️ 检测结果</h4>
|
|
|
<p>您的浏览器兼容性较低,但系统已自动启用兼容模式。请按照以下步骤操作:</p>
|
|
|
</div>
|
|
|
|
|
|
<div class="section">
|
|
|
<h3>🔧 使用步骤</h3>
|
|
|
|
|
|
<div class="step">
|
|
|
<span class="step-number">1</span>
|
|
|
<strong>返回主页面</strong>
|
|
|
<br>关闭此页面,返回移动侦察终端主界面
|
|
|
</div>
|
|
|
|
|
|
<div class="step">
|
|
|
<span class="step-number">2</span>
|
|
|
<strong>查看系统状态</strong>
|
|
|
<br>确认页面显示"兼容模式:已为您的浏览器启用兼容支持"
|
|
|
</div>
|
|
|
|
|
|
<div class="step">
|
|
|
<span class="step-number">3</span>
|
|
|
<strong>选择摄像头设备</strong>
|
|
|
<br>点击页面中的"📷 选择设备"按钮
|
|
|
</div>
|
|
|
|
|
|
<div class="step">
|
|
|
<span class="step-number">4</span>
|
|
|
<strong>测试设备选项</strong>
|
|
|
<br>在弹窗中选择以下任一设备进行测试:
|
|
|
<div style="margin-top: 10px;">
|
|
|
<div class="device-option">📱 默认摄像头 - 系统自动选择</div>
|
|
|
<div class="device-option">📹 后置摄像头 - 优先使用后置</div>
|
|
|
<div class="device-option">🤳 前置摄像头 - 优先使用前置</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
<div class="step">
|
|
|
<span class="step-number">5</span>
|
|
|
<strong>启动摄像头</strong>
|
|
|
<br>选择设备后点击"✅ 使用选择的设备"
|
|
|
</div>
|
|
|
|
|
|
<div class="step">
|
|
|
<span class="step-number">6</span>
|
|
|
<strong>允许权限</strong>
|
|
|
<br>当浏览器弹出权限请求时,点击"允许"
|
|
|
</div>
|
|
|
|
|
|
<div class="step">
|
|
|
<span class="step-number">7</span>
|
|
|
<strong>开始使用</strong>
|
|
|
<br>摄像头启动成功后,点击"📹 开始传输"
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
<div class="section">
|
|
|
<h3>🚨 常见问题</h3>
|
|
|
|
|
|
<p><strong>Q: 权限被拒绝怎么办?</strong></p>
|
|
|
<p>A: 清除浏览器数据,重新访问页面并允许权限</p>
|
|
|
|
|
|
<p style="margin-top: 15px;"><strong>Q: 某个设备选项不工作?</strong></p>
|
|
|
<p>A: 尝试其他设备选项,通常至少有一个会工作</p>
|
|
|
|
|
|
<p style="margin-top: 15px;"><strong>Q: 完全无法使用摄像头?</strong></p>
|
|
|
<p>A: 考虑升级浏览器或换用现代浏览器</p>
|
|
|
</div>
|
|
|
|
|
|
<div class="section">
|
|
|
<h3>🌐 推荐浏览器</h3>
|
|
|
<p>为获得最佳体验,建议升级到以下浏览器:</p>
|
|
|
<ul class="browser-list">
|
|
|
<li>🌐 <strong>Chrome 53+</strong> - 完全支持所有功能</li>
|
|
|
<li>🦊 <strong>Firefox 36+</strong> - 良好的兼容性</li>
|
|
|
<li>🧭 <strong>Safari 11+</strong> - iOS/macOS用户推荐</li>
|
|
|
<li>⭐ <strong>Edge 17+</strong> - Windows用户推荐</li>
|
|
|
</ul>
|
|
|
</div>
|
|
|
|
|
|
<div class="success">
|
|
|
<h4>✅ 重要提醒</h4>
|
|
|
<p>兼容模式虽然功能有限,但基本的摄像头录制和GPS定位功能仍然可用。请耐心按步骤操作。</p>
|
|
|
</div>
|
|
|
|
|
|
<div style="text-align: center; margin: 30px 0;">
|
|
|
<a href="mobile_client.html" class="btn">🚁 返回移动终端</a>
|
|
|
<a href="browser_compatibility_guide.html" class="btn btn-secondary">📋 详细兼容性说明</a>
|
|
|
</div>
|
|
|
|
|
|
<div
|
|
|
style="background: rgba(0,0,0,0.3); padding: 15px; border-radius: 8px; margin-top: 20px; font-size: 12px; color: #ccc;">
|
|
|
<p><strong>技术说明:</strong>您的浏览器缺少现代Web API支持,但我们通过以下方式提供兼容:</p>
|
|
|
<ul style="margin: 10px 0; padding-left: 20px;">
|
|
|
<li>使用传统getUserMedia API (webkit/moz前缀)</li>
|
|
|
<li>提供预定义设备配置代替设备枚举</li>
|
|
|
<li>简化权限检查流程</li>
|
|
|
<li>降级使用基础功能</li>
|
|
|
</ul>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
<script>
|
|
|
// 简单的页面加载提示
|
|
|
window.onload = function () {
|
|
|
console.log('旧版浏览器帮助页面已加载');
|
|
|
};
|
|
|
</script>
|
|
|
</body>
|
|
|
|
|
|
</html> |