index.html
3.18 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
<!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>
<link href="../assets/reset.css" rel="stylesheet"/>
<link href="../assets/style.css" rel="stylesheet"/>
<script src="../assets/jquery-1.8.3.min.js"></script>
<style>
html,body{ height:100%;}
body{ background:#50b19d;}
.footer{ position:absolute; bottom:0; z-index:10; padding:5px 0; width:100%; left:0; text-align:center;line-height:18px; color:#005b48;}
.footer a{ color:#005b48}
</style>
</head>
<body>
<section class="index-wrap">
<a href="school.html">下一步</a>
</section>
<span class="index-rule-open"></span>
<section class="index-rule show" id="rule">
<span class="rule-close"><i class="fa fa-remove"></i></span>
<h3>规则说明</h3>
<article>
<p>1、调查起始日期:<br/><span>2018.06.11 12:00</span> 至 <span>2018.06.13 24:00</span></p>
<p>2、调查前需填写真实个人信息</p>
<p>3、全部题目填写完后方能提交问卷</p>
<p>4、如提交<span>问卷失败</span>,可能是网络不畅等原因,请稍等片刻后再次提交</p>
<p>5、每人<span>只能参与一次</span>,提交后不能修改。</p>
<span class="tips">点击 右上角X 或 阴影处 关闭本窗口</span>
</article>
</section>
<div class="cover-bg"></div>
<section class="indexbg">
</section>
<section class="footer">
<img src="../images/copyright.gif"/> 杭州顺治科技股份有限公司
<br/>客服热线:<a>400-826-2468</a>
</section>
<script>
var winHeight = $(window).height();
var winWidth = $(window).width();
$(function () {
var bodyWidth = $('body').width();
var $indexWrap=$('.index-wrap');
if (winHeight > winWidth * 1.778) {
$('body').css('height', winHeight);
$indexWrap.css('top', bodyWidth*1.473);
} else {
if (winHeight <= 480||winHeight<=winWidth* 1.5) {
$('body').css('height', bodyWidth * 1.778);
}else{
$('body').css('height', winHeight);
}
$indexWrap.css('bottom', bodyWidth*0.2);
}
//规则说明
var $rule = $('#rule');
var $coverBg = $('.cover-bg');
var $ruleOpen = $('.index-rule-open');
$rule.on('singleTap touchend click', '.rule-close', function (e) {
e.preventDefault();
$coverBg.fadeOut(300);
$rule.removeClass('show').addClass('hide');
setTimeout(function(){
$rule.hide();
},200);
$ruleOpen.css('top', '20px');
});
$coverBg.on('touchend', function () {
$coverBg.fadeOut(300);
$rule.removeClass('show').addClass('hide');
setTimeout(function(){
$rule.hide();
},200);
$ruleOpen.css('top', '20px');
});
$ruleOpen.on('touchend', function () {
$coverBg.fadeIn(300);
$rule.removeClass('hide').addClass('show');
$rule.show();
$ruleOpen.css('top', '40px');
})
})
</script>
</body>
</html>