-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathindex.html
More file actions
75 lines (75 loc) · 2.4 KB
/
index.html
File metadata and controls
75 lines (75 loc) · 2.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- debug for mobile -->
<!-- <script src="//pub.idqqimg.com/qqun/qun/qqweb/m/qun/confession/js/vconsole.min.js"></script> -->
<link rel="icon" type="image/png" sizes="32x32" href="">
<link rel="manifest" href="/static/manifest.json">
<title>Rokid 讨论区</title>
<style type="text/css">
body {
margin: 0;
padding: 0;
}
#forum-debug p {
margin: 20px 0 !important;
padding: 0 15px !important;
line-height: 150%;
font-size: 16px !important;
}
#forum-debug .header {
margin: 0;
height: 50px;
line-height: 50px;
background-color: #222;
font-size: 26px;
color: #ddd;
text-align: center;
}
#forum-debug .sub-title {
font-size: 20px;
font-weight: bold;
}
#forum-debug a {
border-bottom: 1px solid blue;
}
</style>
</head>
<body>
<div id="app">
<div id="forum-debug" style="display: none">
<h3 class="header">Rokid ❤️ you</h3>
<p class="sub-title">哦~~非常抱歉,当前浏览器不支持新版</p>
<p>推荐使用 Chrome 或者 Firefox 浏览器打开,或者使用最新版 QQ 浏览器,您还可以在微信中打开。</p>
<p>如果您不想现在更换浏览器,我们还为您保留了旧版,您可以点击下面的连接访问。</p>
<p>
<a href="https://developer-forum.rokid.com/">点击这里访问旧版</a>
<a href="mailto:developer@rokid.com" style="margin-left: 15px;">点击这里反馈问题</a>
</p>
</div>
</div>
<!-- built files will be auto injected -->
</body>
</html>
<script>
var _hmt = _hmt || [];
(function() {
window.onload = function () {
setTimeout(function(){
var debugDOM = document.getElementById('forum-debug');
if (debugDOM) {
document.body.style.backgroundColor = '#eeeeee';
debugDOM.style.display = 'block';
}
}, 500);
}
if (window.location.hostname === 'forum.rokid.com') {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?e5f24dd08b0ef59ef1019be4cb271fdc";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
}
})();
</script>