-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
156 lines (152 loc) · 7.88 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
149
150
151
152
153
154
155
156
<!DOCTYPE HTML>
<html>
<head>
<title>Ary </title>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="css/style.css">
<link rel="stylesheet" type="text/css" href="css/jquery.mobile.flatui.css" />
</head>
<body ng-app="chat" ng-controller="chat">
<div data-role="page">
<div data-role="header" class="header linear-g">
<a href="#panel-left" data-iconpos="notext" class="glyphicon glyphicon-th-large col-xs-2 text-right"> </a>
<a class="text-center col-xs-8"><button type="button" name="button" class="btn btn-primary" ng-click="getHistory()">查看历史数据</button>
<audio src="" id="audio" controls="controls" style="display:none" autoplay="autoplay"></a>
<a href="#panel-right" data-iconpos="notext" class="glyphicon glyphicon-user col-xs-2 text-left"> </a>
</div>
<div data-role="panel" data-position="left" data-display="push" class="list-group shortcut_menu dn linear-g" id="panel-left" style="height:500px;overflow-y:auto">
<a href="#" class="list-group-item"><span class="glyphicon glyphicon-home"> </span> 菜单1</a>
<a onclick="showzhao()" class="list-group-item"><span class="glyphicon glyphicon-edit"> </span> 菜单2</a>
<a href="#" class="list-group-item"><span class="glyphicon glyphicon-list"> </span> 菜单3</a>
<a href="#" class="list-group-item"><span class="glyphicon glyphicon-list-alt"> </span> 菜单4</a>
</div>
<div data-role="panel" data-position="right" data-display="push" class="user_box text-center dn linear-g" id="panel-right">
<div class="u_info">
<img class="avatar" src="images/avatar.png" alt="头像">
<span class="username">developer</span>
</div>
<ul class="user_menu">
<li class="menu"><a href="#"><span class="glyphicon glyphicon-cog"> </span> 基本设置</a></li>
<li class="menu"><a href="#"><span class="glyphicon glyphicon-lock"> </span> 修改密码</a></li>
<li class="menu"><a href="#"><span class="glyphicon glyphicon-picture"> </span> 上传头像</a></li>
<li class="menu"><a href="#"><span class="glyphicon glyphicon-off"> </span> 安全退出</a></li>
</ul>
</div>
<div data-role="content" class="container" role="main" id="main">
<ul class="operating row text-center linear-g">
<li class="col-xs-2"><a href="#"><span class="glyphicon glyphicon-tags"></span>
</audio> </a></li>
<li class="col-xs-6"><a href="#"><span class=""></span> <input type="text" id="say" style="width:100%;display:inline-block" name="name" value=""></a></li>
<li class="col-xs-4" ng-click="getSay()"><a href="#"><span class="glyphicon glyphicon-comment"></span> 回复</a></li>
<!-- <li class="col-xs-4"><a href="#"><span class="glyphicon glyphicon-heart"></span> 喜欢</a></li> -->
</ul>
<ul class="content-reply-box mg10">
<!-- <li class="odd">
<a class="user" href="#"><img class="img-responsive avatar_" src="images/avatar-1.png" alt=""><span class="user-name">奔波儿灞</span></a>
<div class="reply-content-box">
<span class="reply-time">03-08 15:00</span>
<div class="reply-content pr">
<span class="arrow"> </span>
为什么小鑫的名字里有三个金呢?
</div>
</div>
</li>
<li class="even">
<a class="user" href="#"><img class="img-responsive avatar_" src="images/avatar-1.png" alt=""><span class="user-name">灞波儿奔</span></a>
<div class="reply-content-box">
<span class="reply-time">03-08 15:10</span>
<div class="reply-content pr">
<span class="arrow"> </span>
他命里缺金,所以取名叫鑫,有些人命里缺水,就取名叫淼,还有些人命里缺木就叫森。
</div>
</div>
</li>
<li class="odd">
<a class="user" href="#"><img class="img-responsive avatar_" src="images/avatar-1.png" alt=""><span class="user-name">奔波儿灞</span></a>
<div class="reply-content-box">
<span class="reply-time">03-08 15:20</span>
<div class="reply-content pr">
<span class="arrow"> </span>
那郭晶晶命里缺什么?
</div>
</div>
</li>
<li class="even">
<a class="user" href="#"><img class="img-responsive avatar_" src="images/avatar-1.png" alt=""><span class="user-name">灞波儿奔</span></a>
<div class="reply-content-box">
<span class="reply-time">03-08 15:30</span>
<div class="reply-content pr">
<span class="arrow"> </span>
此处省略一百字...
</div>
</div>
</li> -->
<li class="{{item.class}}" ng-repeat="item in items">
<a class="user" href="#"><img class="img-responsive avatar_" src="{{item.src}}" alt=""><span class="user-name">{{item.name}}</span></a>
<div class="reply-content-box">
<span class="reply-time">{{item.time}}</span>
<div class="reply-content pr">
<span class="arrow"> </span>
{{item.text}}
</div>
</div>
</li>
</ul>
<!-- <ul class="operating row text-center linear-g">
<li><input type="text" name="name" value=""></li>
</ul> -->
<pre id="showpre">
</pre>
</div>
</div>
<div class="theme-popover-mask"></div>
<div class="theme-popover" id="zhezhao2">
<div class="theme-poptit" style="margin:50px 200px">
<!-- <a href="javascript:void(0);" title="关闭" class="close">×</a> -->
<h3 style="color:red">Congratulations</h3>
</div>
<div class="theme-popbod dform" style="margin:50px 200px">
<button type="button" class="btn btn-primary" onclick="clicknext()">下一关</button>
</div>
</div>
<div class="theme-popover" id="zhezhao1">
<div class="theme-poptit" style="margin:50px 200px">
<!-- <a href="javascript:void(0);" title="关闭" class="close">×</a> -->
<h3>you dead!</h3>
<div>
<h2>and beated </h2>
<div id="result"></div>
<h2>% 的人</h2>
</div>
</div>
<div class="theme-popbod dform" style="margin:50px 200px">
<button type="button" class="btn btn-primary">确定</button>
</div>
</div>
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/jquery.mobile-1.4.0-rc.1.js"></script>
<script type="text/javascript">
$(function(){
/*
** 不同页面切换转场效果
** $.mobile.changePage ('/test.html', 'slide/pop/fade/slideup/slidedown/flip/none', false, false);
*/
$('.list-group-item,.menu a').click(function(){
$.mobile.changePage($(this).attr('href'), {
transition : 'flip', //转场效果
reverse : true //默认为false,设置为true时将导致一个反方向的转场
});
});
});
</script>
<script src = "https://cdn.wilddog.com/js/client/current/wilddog.js" ></script>
<script src="node_modules/angular/angular.js" charset="utf-8"></script>
<script src="js/xml2json.js" charset="utf-8"></script>
<script src="js/main.js" charset="utf-8"></script>
<script src="js/service.js" charset="utf-8"></script>
<script src="js/controller.js" charset="utf-8"></script>
</body>
</html>