-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpopup.html
59 lines (57 loc) · 2.04 KB
/
popup.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
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport">
<title>学生信息</title>
<link rel="stylesheet" href="css/themes/myapp.min.css" />
<link rel="stylesheet" href="css/themes/jquery.mobile.icons.min.css" />
<link rel="stylesheet" href="css/jquery.mobile.structure-1.4.5.min.css" />
<link rel="stylesheet" type="text/css" href="css/order.css">
<link rel="stylesheet" type="text/css" href="css/panel.css">
</head>
<body>
<div data-role="page">
<div data-role="header" data-position="fixed" id="header_color">
<a href="#" data-rel="back" class="myback ui-btn-trans">返回</a>
<h1 class="mytitle">学生信息</h1>
<a href="#right_panel" class="ui-btn-trans mymenu"></a>
<div data-role="navbar" id="nav">
<ul>
<li><a href="#" class="active">未处理</a></li>
<li><a href="order2.html">进行中</a></li>
<li><a href="order3.html" class="reddot">已处理</a></li>
</ul>
</div>
</div>
<div data-role="content" id="main">
<a href="#" data-role="button" id="test1">标准alert</a>
<a href="#" data-role="button" id="test2">对话框alert</a>
</div>
<div data-role="panel" data-position="right" data-position-fixed="true" data-display="reveal" id="right_panel">
<h2><img src="images/head_sam.gif"></h2>
<h1>袁拓</h1>
<ul id="sidelist">
<li><a href="#">返回首页</a></li>
<li><a href="#">更换账号</a></li>
<li><a href="#">退出登录</a></li>
</ul>
</div>
</div>
</body>
<script src="js/jquery.min.js"></script>
<script src="js/jquery.mobile-1.4.5.min.js"></script>
<script type="text/javascript" src="js/popup.js"></script>
<script type="text/javascript">
$(document).on("pagecreate",function(){
$('#right_panel').panel();
});
$('#test1').click(function(){
alertMsg('标准alert,传入一个alert内容参数');
event.preventDefault();
})
$('#test2').click(function(){
alertMsg('对话框版,传入两个参数',dialogAlert)
})
</script>
</html>