-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
148 lines (142 loc) · 4.39 KB
/
index.html
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
<!DOCTYPE html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>校园一卡通管理系统</title>
<link rel="stylesheet" href="css/index.css">
<link href="https://cdn.bootcss.com/font-awesome/5.12.1/css/all.css" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="css/form.css" />
<script src="https://cdn.bootcss.com/jquery/3.4.1/jquery.min.js"></script>
<script src="https://cdn.staticfile.org/jquery-cookie/1.4.1/jquery.cookie.min.js"></script>
</head>
<body>
<div class="ban">
<h2>警告·Warning</h2>
<p><strong>当前窗口大小异常</strong></p>
<p>为保证您的访问体验请调整窗口大小<br><strong>最大化</strong>浏览器窗口或<strong> 'Ctrl' + '鼠标滚轮'</strong> </p>
<p>推荐分辨率:1920×1080 及以上</p>
</div>
<header>
<img src="img/logo.png" alt="logo">
<ul>
<li>
<a href="index.html">首页</a>
</li>
<li>
<a href="contact.html" target="mainiframe">关于</a>
</li>
<li>
<a href="setting/user.html" target="mainiframe">欢迎您,<a id="indexusername">游客</a></a>
</li>
<li>
<span onclick="quit()" id="quit">退出</span>
</li>
<li>
<p id="htitle">校园一卡通管理系统</p>
</li>
</ul>
</header>
<nav>
<ul>
<li class="list">
<h2><i></i>卡管理</h2>
<div class="hide">
<h5>
<a href="card/deposit.html" target="mainiframe">充值</a></h5>
<h5>
<a href="card/lost.html" target="mainiframe">挂失</a></h5>
<h5>
<a href="card/cancel.html" target="mainiframe">注销</a></h5>
<h5>
<a href="card/create.html" target="mainiframe">创建</a></h5>
</div>
</li>
<li class="list">
<h2><i></i>财务管理</h2>
<div class="hide">
<h5>
<a href="count/school.html" target="mainiframe">师生消费统计</a></h5>
<h5>
<a href="count/hotel.html" target="mainiframe">餐饮收入统计</a></h5>
<h5>
<a href="count/market.html" target="mainiframe">超市收入统计</a></h5>
<h5>
<a href="count/bath.html" target="mainiframe">洗浴收入统计</a></h5>
</div>
</li>
<li class="list">
<h2><i></i>信息查询</h2>
<div class="hide">
<h5>
<a href="count/school.html" target="mainiframe">师生消费查询</a></h5>
<h5>
<a href="count/hotel.html" target="mainiframe">餐饮收入查询</a></h5>
<h5>
<a href="count/market.html" target="mainiframe">超市收入查询</a></h5>
<h5>
<a href="count/bath.html" target="mainiframe">洗浴收入查询</a></h5>
</div>
</li>
<li class="list">
<h2><i></i>用户管理</h2>
<div class="hide">
<h5>
<a href="user/user.html" target="mainiframe">添加用户</a></h5>
<h5>
<a href="user/user.html" target="mainiframe">查找用户</a></h5>
<h5>
<a href="user/user.html" target="mainiframe">修改用户</a></h5>
<h5>
<a href="user/user.html" target="mainiframe">删除用户</a></h5>
</div>
</li>
<li class="list">
<h2>
<i></i>系统设置
</h2>
<div class="hide">
<h5>
<a href="setting/user.html" target="mainiframe">个人中心</a></h5>
<h5>
<a href="setting/settings.html" target="mainiframe">密码设置</a></h5>
<h5>
<a href="setting/diary.html" target="mainiframe">系统日志</a></h5>
<h5>
<a href="contact.html" target="mainiframe">联系我们</a></h5>
<h5>
<a onclick="logout()">退出</a></h5>
</div>
</li>
</ul>
</nav>
<iframe name="mainiframe" src="setting/user.html" width="86%" height="92%" scrolling="no" id="mainiframe" style="border: 0px;"></iframe>
</body>
<script>
console.log($.cookie('loginstats'));
setTimeout(
() => {
if ($.cookie('loginstats') != 'isLogin')
setTimeout(
() => {
window.location.href = "./login.html";
}, 10
)
}, 10
);
setTimeout(
() => {
$('#indexusername').text($.cookie('username'));
}, 100
);
</script>
<script src="js/iframeResizer.min.js" type="text/javascript"></script>
<script type="text/javascript">
iFrameResize({
log: false,
});
</script>
<script src="js/hello.js" type="text/javascript" charset="utf-8"></script>
<script src="js/index.js" type="text/javascript" charset="utf-8"></script>
<script src="js/user.js" type="text/javascript" charset="utf-8"></script>
</html>