|
@ -3,73 +3,30 @@
|
3
|
3
|
|
4
|
4
|
<head>
|
5
|
5
|
<meta charset="UTF-8">
|
6
|
|
<title></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>
|
7
|
10
|
<style>
|
8
|
|
.box {
|
9
|
|
position: absolute;
|
10
|
|
z-index: 2;
|
11
|
|
top: 0;
|
12
|
|
bottom: 0;
|
13
|
|
left: 0;
|
14
|
|
overflow: hidden;
|
15
|
|
width: 100%;
|
16
|
|
background-color: #ffffff;
|
17
|
|
}
|
18
|
|
|
19
|
|
.header {
|
20
|
|
width: 100%;
|
21
|
|
}
|
22
|
|
|
23
|
|
.header img {
|
24
|
|
width: 100%;
|
25
|
|
}
|
26
|
|
|
27
|
|
.footer {
|
28
|
|
background-color: #ffffff;
|
29
|
|
height: 370px;
|
30
|
|
width: 100%;
|
31
|
|
display: flex;
|
32
|
|
align-items: center;
|
33
|
|
justify-content: center;
|
34
|
|
position: absolute;
|
35
|
|
bottom: 0;
|
36
|
|
}
|
37
|
|
|
38
|
|
.footer img {
|
39
|
|
width: 180px;
|
40
|
|
height: 120px;
|
41
|
|
}
|
42
|
|
|
43
|
|
.skip {
|
44
|
|
position: fixed;
|
45
|
|
top: 42px;
|
46
|
|
right: 28px;
|
47
|
|
height: 60px;
|
48
|
|
width: 180px;
|
49
|
|
background: rgba(0, 0, 0, 0.15);
|
50
|
|
text-align: center;
|
51
|
|
line-height: 60px;
|
52
|
|
color: #fff;
|
53
|
|
z-index: 2;
|
54
|
|
font-size: 30px;
|
55
|
|
border-radius: 40px;
|
56
|
|
}
|
|
11
|
.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%;
|
|
13
|
display: flex;align-items: center;justify-content: center;position: absolute;bottom: 0;}
|
|
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;}
|
|
15
|
.skip:before{content: "跳过广告";}
|
57
|
16
|
</style>
|
|
17
|
<script type="text/javascript">
|
|
18
|
addscript("ad_opening_app");
|
|
19
|
</script>
|
58
|
20
|
</head>
|
59
|
21
|
|
60
|
22
|
<body>
|
61
|
23
|
<div class="box">
|
62
|
|
<div class="header">
|
63
|
|
<img src="../images/20171220113002.jpg" />
|
64
|
|
</div>
|
65
|
|
<div class="footer">
|
66
|
|
<img src="../images/logo.png" alt="" />
|
67
|
|
</div>
|
|
24
|
<div class="header advertItem advertItem-open"></div>
|
|
25
|
<div class="footer"></div>
|
68
|
26
|
</div>
|
69
|
|
<div class="skip" id="close">跳过广告</div>
|
|
27
|
<div class="skip" id="close"></div>
|
70
|
28
|
</body>
|
71
|
|
<script src="../js/public/mui.min.js"></script>
|
72
|
|
<script>
|
|
29
|
<script type="text/javascript">
|
73
|
30
|
mui.init();
|
74
|
31
|
mui.ready(function() {
|
75
|
32
|
mui.plusReady(function() {
|
|
@ -80,7 +37,7 @@
|
80
|
37
|
plus.navigator.setFullscreen(false);
|
81
|
38
|
plus.webview.currentWebview().close();
|
82
|
39
|
}, false);
|
83
|
|
//setTimeMiu(5)
|
|
40
|
setTimeMiu(5)
|
84
|
41
|
|
85
|
42
|
function setTimeMiu(n) {
|
86
|
43
|
var i = 0;
|