-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprivacy.html
90 lines (88 loc) · 2.59 KB
/
privacy.html
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta name="HandheldFriendly" content="true" />
<meta name="MobileOptimized" content="320" />
<title>HTML5+ Runtime</title>
<script type="text/javascript" charset="utf-8">
//取消浏览器的所有事件,使得active的样式在手机上正常生效
document.addEventListener('touchstart', function() {
return false;
}, true);
// 禁止选择
document.oncontextmenu = function() {
return false;
};
// H5 plus事件处理
function plusReady() {
// Android处理返回键
plus.key.addEventListener('backbutton', function() {
//不做任何事情
}, false);
}
if (window.plus) {
plusReady();
} else {
document.addEventListener('plusready', plusReady, false);
}
//打开隐私政策页面
function openPrivacy() {
plus.runtime.openWeb('https://ask.dcloud.net.cn/protocol.html');
}
//同意隐私政策
function agreePrivacy() {
plus.runtime.agreePrivacy();
plus.webview.currentWebview().close('slide-out-bottom');
}
</script>
<link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" />
<style type="text/css">
html,
body {
overflow: hidden;
background-color: rgba(0,0,0,0.3);
}
article {
width: 90%;
background-color: #FFF;
border-radius: 5px;
}
a {
text-decoration: none;
}
p {
font-size: 16px;
line-height: 24px;
padding: 0 1em;
margin: 0px .5em;
text-align: left;
text-indent: 2em;
word-break: break-all;
}
</style>
</head>
<body style="display:flex;justify-content: center;align-items: center;">
<article>
<h2>服务协议和隐私政策</h2>
<p>
1. 我们会收集应用启动时间、设备标识等信息,提交服务器用于优化性能;
</p>
<p>
2. 使用蓝牙、地图相关功能时,我们会申请设备定位权限;
</p>
<p>
3. 使用音、视频相关功能时,我们会申请录制音频权限;
</p>
<p>请仔细阅读、充分理解<a onclick="openPrivacy()" href="#">《用户协议》</a>和<a onclick="openPrivacy()" href="#">《隐私政策》</a>各条款,以便了解我们收集、使用、共享、存储个人信息的情况及保护措施。
</p>
<p>
如果你同意,请点击“同意”按钮开始接受我们的服务。
</p>
<br/>
<div class="button" style="width:80%;margin:auto;" onclick="agreePrivacy()">我知道了</div>
<br/>
</article>
</body>
</html>