Thanks.aspx
6.97 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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Thanks.aspx.cs" Inherits="Quiz.WebSite.Thanks" %>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="format-detection" content="telephone=no">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0,user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<title>绍兴市教育局教育满意度调查</title>
<script>
window.onload = function () {
/*750代表设计师给的设计稿的宽度,你的设计稿是多少,就写多少;100代表换算比例,这里写100是
为了以后好算,比如,你测量的一个宽度是100px,就可以写为1rem,以及1px=0.01rem等等*/
getRem(750, 100)
};
window.onresize = function () {
getRem(750, 100)
};
function getRem(pwidth, prem) {
var html = document.getElementsByTagName("html")[0];
var oWidth = document.body.clientWidth || document.documentElement.clientWidth;
html.style.fontSize = oWidth / pwidth * prem + "px";
}
</script>
<script>
// 适配pad padPro
/(pad|pod|iPad|iPod|iOS)/i.test(navigator.userAgent) && (head = document.getElementsByTagName('head'), viewport = document.createElement('meta'), viewport.name = 'viewport', viewport.content = 'target-densitydpi=device-dpi, width=480px, user-scalable=no', head.length > 0 && head[head.length - 1].appendChild(viewport));
</script>
<%--<link href="http://vote.on168.com.cn/jindu/assets/reset.css" rel="stylesheet"/>
<link href="http://vote.on168.com.cn/jindu/assets/style.css" rel="stylesheet"/>--%>
<link href="assets/reset.css" rel="stylesheet" />
<link href="assets/style.css" rel="stylesheet" />
<%-- <link href="https://szkj.shunzhi.net/jindu/shaoxing/assets/reset.css" rel="stylesheet" />
<link href="https://szkj.shunzhi.net/jindu/shaoxing/assets/style.css" rel="stylesheet" />--%>
<script src="http://vote.on168.com.cn/jindu/assets/jquery-1.8.3.min.js"></script>
<!--[if lte IE 9]>
<script src="http://apps.bdimg.com/libs/html5shiv/3.7/html5shiv.min.js"></script>
<![endif]-->
<style>
html, body {
overflow: hidden;
}
body.bodybg {
background: url("images/sbg.png") no-repeat;
background-size: contain;
}
.footer {
position: relative;
z-index: 10;
color: #333;
padding: 5px 0;
width: 100%;
margin-top: 10%;
text-align: center;
}
.footer a {
color: #333;
}
.thanks-top {
background: url(images/thankbox.png?v=3) no-repeat;
background-size: 100%;
height: 300px;
margin: 50px auto;
width: 80%;
background-origin: content-box;
padding-top: 70px;
text-align: center;
}
.thanks-top div {
height: .68rem;
line-height: .68rem;
margin-top: .7rem;
font-size: .32rem;
font-weight: bold;
}
</style>
</head>
<body class="bodybg">
<header class="header">
<div class="mid">绍兴市教育局教育满意度调查</div>
</header>
<div class="thanks-top">
<div>感谢您对本次调查</br>的支持!</div>
<%-- <div>在您的支持与建议中,</div>
<div>我们会将学校建设得更加美好!</div>--%>
</div>
<%--<img class="thanks-top" src="images/thankbox.png"/>--%>
<!--<section class="thanks-info">
<div class="box">
<h3 class="thanks-title">参与者信息</h3>
<div class="row"><span class="name">姓名:</span></div>
<div class="row"><span class="mobile">手机:</span></div>
<div class="row"><span class="schoolname">学校:</span></div>
</div>
</section>-->
<%-- <section class="footer">
<img src="http://vote.on168.com.cn/jindu/images/copyright.gif"/> 杭州顺治科技股份有限公司
<br/>客服热线:<a>400-826-2468</a>
</section>--%>
<img class="thanks-bottom" src="./images/sbox.png" />
<script>
var winHeight = $(window).height();
var winWidth = $(window).width();
$(function () {
//var bodyWidth = $('body').width();
//if (winHeight > winWidth * 1.778) {
// $('body').css('height', winHeight);
//} else {
// if (winHeight <= 480 || winHeight <= winWidth * 1.5) {
// $('body').css('height', bodyWidth * 1.778);
// } else {
// $('body').css('height', winHeight);
// }
//}
var name = localStorage.getItem('name');
var mobile = localStorage.getItem('mobile');
var schoolname = localStorage.getItem('schoolname');
var curmobile = '<%=mobile%>';
if (name == "underfined" || name == null) {
$.post("Ajax/GetInfo", { mobile: curmobile }, function (json) {
if (json.Status) {
if (json.Message == "") {
$('.box .name').text("姓名:未填写");
} else {
$('.box .name').text("姓名:" + json.Message);
}
$('.box .mobile').text("手机:" + curmobile);
$('.box .schoolname').text("学校:" + json.Data);
//存入本地
localStorage.setItem('name', json.Message);
localStorage.setItem('mobile', curmobile);
localStorage.setItem('schoolname', json.Data);
}
}, 'json');
} else {
if (name == "") {
$('.box .name').text("姓名:未填写");
} else {
$('.box .name').text("姓名:" + name);
}
$('.box .mobile').text("手机:" + mobile);
$('.box .schoolname').text("学校:" + schoolname);
}
});
</script>
<div style="display: none;">
<!-- #include file="cs.aspx" -->
<img src="<%= new CS("1259782995").TrackPageView()%>" width="0" height="0" />
</div>
<script type="text/javascript">var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://"); document.write(unescape("%3Cspan id='cnzz_stat_icon_1275392955'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s5.cnzz.com/z_stat.php%3Fid%3D1275392955' type='text/javascript'%3E%3C/script%3E"));</script>
</body>
</html>