luyanan 7 years ago
parent
commit
ecd47de34d
1 changed files with 6 additions and 7 deletions
  1. 6 7
      app/html/guide.html

+ 6 - 7
app/html/guide.html

4
	<head>
4
	<head>
5
		<meta charset="UTF-8">
5
		<meta charset="UTF-8">
6
		<title>app开屏广告</title>
6
		<title>app开屏广告</title>
7
		<script src="../js/public/mui.min.js"></script>
8
		<script src="../js/public/base.js"></script>
9
		<script src="../js/public/jquery-1.11.1.js"></script>
10
		<style>
7
		<style>
11
			.box {position: absolute;z-index: 2;top: 0;bottom: 0;left: 0;right:0;overflow: hidden;background: #ffffff;}			
8
			.box {position: absolute;z-index: 2;top: 0;bottom: 0;left: 0;right:0;overflow: hidden;background: #ffffff;}			
12
			.footer {background: url(../images/logo.png) center center no-repeat #ffffff;background-size:20%;height: 340px;width: 100%;
9
			.footer {background: url(../images/logo.png) center center no-repeat #ffffff;background-size:20%;height: 340px;width: 100%;
14
			.skip {position: fixed;top: 3%;right: 5%;background: rgba(0, 0, 0, 0.15);text-align: center;color: #fff;z-index:3;font-size:2em;padding:20px 36px;border-radius: 40px;}
11
			.skip {position: fixed;top: 3%;right: 5%;background: rgba(0, 0, 0, 0.15);text-align: center;color: #fff;z-index:3;font-size:2em;padding:20px 36px;border-radius: 40px;}
15
			.skip:before{content: "跳过广告";}
12
			.skip:before{content: "跳过广告";}
16
		</style>
13
		</style>
17
		<script type="text/javascript">
18
			addscript("ad_opening_app");
19
		</script>
20
	</head>
14
	</head>
21

15

22
	<body>
16
	<body>
26
		</div>
20
		</div>
27
		<div class="skip" id="close"></div>
21
		<div class="skip" id="close"></div>
28
	</body>
22
	</body>
29
	<script type="text/javascript">
23
	<script src="../js/public/mui.min.js"></script>
24
	<script src="../js/public/base.js"></script>
25
	<script src="../js/public/jquery-1.11.1.js"></script>
26
	<script type="text/javascript">
27
		addscript("ad_opening_app");
30
		mui.init();
28
		mui.init();
31
		mui.ready(function() {
29
		mui.ready(function() {
32
			mui.plusReady(function() {
30
			mui.plusReady(function() {
44
				var Timer = setInterval(function() {
42
				var Timer = setInterval(function() {
45
					i++;
43
					i++;
46
					if(i == n - 1) {
44
					if(i == n - 1) {
45
						plus.navigator.setFullscreen(false);
47
						plus.webview.currentWebview().close();
46
						plus.webview.currentWebview().close();
48
						clearInterval(Timer);
47
						clearInterval(Timer);
49
					}
48
					}