zeroout.html
4.14 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>0元离场</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
<meta name="format-detection" content="telephone=no"/>
<meta name="format-detection" content="email=no"/>
<meta name="apple-mobile-web-app-status-bar-style" content="black"/>
<meta name="apple-mobile-web-app-capable" content="yes"/>
<meta name="apple-mobile-web-app-title" content="">
<meta name="google" value="notranslate"><!-- 禁止Chrome 浏览器中自动提示翻译 -->
<link rel="apple-touch-icon-precomposed" href="favicon.ico">
<link rel="shortcut icon" href="favicon.ico">
<link rel="Bookmark" href="favicon.ico">
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="0" />
<link rel="stylesheet" href="//cdn.bootcss.com/weui/1.1.1/style/weui.min.css">
<link rel="stylesheet" href="//cdn.bootcss.com/jquery-weui/1.0.1/css/jquery-weui.min.css">
<link rel="stylesheet" href="css/reset.css">
<style>
.zero-title{
width: 135px;
margin: 50px auto 20px;
background: url("img/zero.png") no-repeat;
background-size: 64px 64px;
padding-left: 80px;
height: 64px;
color: #999;
}
.tip-main{
width: 295px;
margin: 0 auto 200px;
font-size: 14px;
color: #999;
}
.float-left{
float: left;
}
.float-right{
float: left;
}
.ok-btn{
width:133px;
height:27px;
margin: 0 auto;
line-height: 27px;
text-align: center;
border-radius:5px;
border:1px solid rgba(128,193,157,1);
color: #80C19D;
font-size: 12px;
cursor: pointer;
}
</style>
</head>
<body ontouchstart="">
<div class="zero-title">
<p style="padding-top: 10px">您已成功申请离场</p>
<p>期待您的再次光临</p>
</div>
<div class="tip-main">
<div class="float-left">温馨提示: </div>
<div class="float-right">
<p>请尽快离场,超过15分钟将重新计费哦!</p>
<p>索要发票请联系停车管理员或拨打</p>
<p>客服电话: 400-63456881</p>
</div>
</div>
<div class="ok-btn" id="ok-btn">
完成
</div>
<script src="js/jquery-3.2.1.min.js"></script>
<script src="//cdn.bootcss.com/jquery/1.11.0/jquery.min.js"></script>
<script src="//cdn.bootcss.com/jquery-weui/1.0.1/js/jquery-weui.min.js"></script>
<script src="js/md5.min.js"></script>
<script src="js/url.js?a=3"></script>
<script src="js/ajax.js"></script>
<script type="text/javascript">
//微信浏览器中,aler弹框不显示域名
(function(){
//先判断是否为微信浏览器
var ua = window.navigator.userAgent.toLowerCase();
if (ua.match(/MicroMessenger/i) == 'micromessenger') {
//重写alert方法,alert()方法重写,不能传多余参数
window.alert = function(name){
var iframe = document.createElement("IFRAME");
iframe.style.display="none";
iframe.setAttribute("src", 'data:text/plain');
document.documentElement.appendChild(iframe);
window.frames[0].window.alert(name);
iframe.parentNode.removeChild(iframe);
}
}
})();
setTimeout(function () {
window.location.href="list.html?carNumber="+getQueryString(window.location).carNumber
},3000)
$('#ok-btn').on('click',function () {
window.location.href="list.html?carNumber="+getQueryString(window.location).carNumber
})
function getQueryString(location) {
//var url = location.search; //获取url中"?"符后的字串
var url = location.search;
var theRequest = new Object();
if (url.indexOf("?") != -1) {
var str = url.substr(1);
strs = str.split("&");
for (var i = 0; i < strs.length; i++) {
theRequest[strs[i].split("=")[0]] = decodeURIComponent(strs[i].split("=")[1]);
}
} else {
theRequest = null;
}
return theRequest;
}
</script>
</body>
</html>