-
Notifications
You must be signed in to change notification settings - Fork 12
/
newslist.html
428 lines (400 loc) · 19.2 KB
/
newslist.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
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1, user-scalable=no">
<title>消息中心</title>
<link href="bootstrap-3.3.5-dist/css/bootstrap.min.css" title="" rel="stylesheet" />
<link title="" href="css/style.css" rel="stylesheet" type="text/css" />
<link title="blue" href="css/dermadefault.css" rel="stylesheet" type="text/css"/>
<link title="green" href="css/dermagreen.css" rel="stylesheet" type="text/css" disabled="disabled"/>
<link title="orange" href="css/dermaorange.css" rel="stylesheet" type="text/css" disabled="disabled"/>
<link href="css/templatecss.css" rel="stylesheet" title="" type="text/css" />
<script src="script/jquery-1.11.1.min.js" type="text/javascript"></script>
<script src="script/jquery.cookie.js" type="text/javascript"></script>
<script src="bootstrap-3.3.5-dist/js/bootstrap.min.js" type="text/javascript"></script>
<!--angular ui--->
<link rel="stylesheet" title="" type="text/css" href="ui-layout-0.0.0/ui-layout.css"/>
<script src="script/angular.min.js"></script>
<script src="ui-layout-0.0.0/ui-layout.js"></script>
</head>
<body>
<nav class="nav navbar-default navbar-mystyle navbar-fixed-top">
<div class="navbar-header">
<button class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand mystyle-brand"><span class="glyphicon glyphicon-home"></span></a> </div>
<div class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li class="li-border"><a class="mystyle-color" href="#">管理控制台</a></li>
<li class="dropdown li-border"><a href="#" class="dropdown-toggle mystyle-color" data-toggle="dropdown">产品与服务<span class="caret"></span></a>
<!----下拉框选项---->
<div class="dropdown-menu topbar-nav-list">
<div class="topbar-nav-col">
<div class="topbar-nav-item">
<p class="topbar-nav-item-title">弹性计算</p>
<ul>
<li><a href="#">
<span class="glyphicon glyphicon-road"></span>
<span class="">云服务器 ECS</span>
</a>
</li>
<li><a href="#">
<span class="glyphicon glyphicon-picture"></span>
<span class="">云服务器 ECS</span>
</a>
</li>
<li><a href="#">
<span class="glyphicon glyphicon-gift"></span>
<span class="">云服务器 ECS</span>
</a>
</li>
</ul>
</div>
<div class="">
<p class="topbar-nav-item-title">弹性计算</p>
<ul>
<li><a href="#">
<span class="glyphicon glyphicon-road"></span>
<span class="">云服务器 ECS</span>
</a>
</li>
<li><a href="#">
<span class="glyphicon glyphicon-picture"></span>
<span class="">云服务器 ECS</span>
</a>
</li>
<li><a href="#">
<span class="glyphicon glyphicon-gift"></span>
<span class="">云服务器 ECS</span>
</a>
</li>
</ul>
</div>
</div>
<div class="topbar-nav-col">
<div class="topbar-nav-item">
<p class="topbar-nav-item-title">弹性计算</p>
<ul>
<li><a href="#">
<span class="glyphicon glyphicon-road"></span>
<span class="">云服务器 ECS</span>
</a>
</li>
<li><a href="#">
<span class="glyphicon glyphicon-picture"></span>
<span class="">云服务器 ECS</span>
</a>
</li>
<li><a href="#">
<span class="glyphicon glyphicon-gift"></span>
<span class="">云服务器 ECS</span>
</a>
</li>
</ul>
</div>
<div class="">
<p class="topbar-nav-item-title">弹性计算</p>
<ul>
<li><a href="#">
<span class="glyphicon glyphicon-road"></span>
<span class="">云服务器 ECS</span>
</a>
</li>
<li><a href="#">
<span class="glyphicon glyphicon-picture"></span>
<span class="">云服务器 ECS</span>
</a>
</li>
<li><a href="#">
<span class="glyphicon glyphicon-gift"></span>
<span class="">云服务器 ECS</span>
</a>
</li>
</ul>
</div>
</div>
</div>
</li>
</ul>
<ul class="nav navbar-nav pull-right">
<li class="li-border">
<a href="#" class="mystyle-color">
<span class="glyphicon glyphicon-bell"></span>
<span class="topbar-num">0</span>
</a>
</li>
<li class="li-border dropdown"><a href="#" class="mystyle-color" data-toggle="dropdown">
<span class="glyphicon glyphicon-search"></span> 搜索</a>
<div class="dropdown-menu search-dropdown">
<div class="input-group">
<input type="text" class="form-control">
<span class="input-group-btn">
<button type="button" class="btn btn-default">搜索</button>
</span>
</div>
</div>
</li>
<li class="dropdown li-border"><a href="#" class="dropdown-toggle mystyle-color" data-toggle="dropdown">帮助与文档<span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="#">帮助与文档</a></li>
<li class="divider"></li>
<li><a href="#">论坛</a></li>
<li class="divider"></li>
<li><a href="#">博客</a></li>
</ul>
</li>
<li class="dropdown li-border"><a href="#" class="dropdown-toggle mystyle-color" data-toggle="dropdown">605875855@qq.com<span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="login.html">退出</a></li>
</ul>
</li>
<li class="dropdown"><a href="#" class="dropdown-toggle mystyle-color" data-toggle="dropdown">换肤<span class="caret"></span></a>
<ul class="dropdown-menu changecolor">
<li id="blue"><a href="#">蓝色</a></li>
<li class="divider"></li>
<li id="green"><a href="#">绿色</a></li>
<li class="divider"></li>
<li id="orange"><a href="#">橙色</a></li>
</ul>
</li>
</ul>
</div>
</nav>
<div class="down-main">
<div class="left-main left-off">
<div class="sidebar-fold"><span class="glyphicon glyphicon-menu-hamburger"></span></div>
<div class="subNavBox">
<div class="sBox">
<div class="subNav sublist-down"><span class="title-icon glyphicon glyphicon-chevron-down"></span><span class="sublist-title">用户中心</span>
</div>
<ul class="navContent" style="display:block">
<li>
<div class="showtitle" style="width:100px;"><img src="img/leftimg.png" />账号管理</div>
<a href="userInfo.html"><span class="sublist-icon glyphicon glyphicon-user"></span><span class="sub-title">账号管理</span></a> </li>
<li class="active">
<div class="showtitle" style="width:100px;"><img src="img/leftimg.png" />消息中心</div>
<a href="message.html"><span class="sublist-icon glyphicon glyphicon-envelope"></span><span class="sub-title">消息中心</span></a> </li>
<li>
<div class="showtitle" style="width:100px;"><img src="img/leftimg.png" />短信</div>
<a href="smsInfo.html"><span class="sublist-icon glyphicon glyphicon-bullhorn"></span><span class="sub-title">短信</span></a></li>
<li>
<div class="showtitle" style="width:100px;"><img src="img/leftimg.png" />实名认证</div>
<a href="identify.html"><span class="sublist-icon glyphicon glyphicon-credit-card"></span><span class="sub-title">实名认证</span></a></li>
</ul>
</div>
<div class="sBox">
<div class="subNav sublist-up"><span class="title-icon glyphicon glyphicon-chevron-up"></span><span class="sublist-title">关于我们</span></div>
<ul class="navContent" style="display:none">
<li>
<div class="showtitle" style="width:100px;"><img src="img/leftimg.png" />添加新闻</div>
<a href="#"><span class="sublist-icon glyphicon glyphicon-user"></span><span class="sub-title">添加新闻</span></a></li>
<li>
<div class="showtitle" style="width:100px;"><img src="img/leftimg.png" />添加新闻</div>
<a href="#"><span class="sublist-icon glyphicon glyphicon-user"></span><span class="sub-title">新闻管理</span></a></li>
<li>
<div class="showtitle" style="width:100px;"><img src="img/leftimg.png" />添加新闻</div>
<a href="#"><span class="sublist-icon glyphicon glyphicon-user"></span><span class="sub-title">添加新闻</span></a></li>
<li>
<div class="showtitle" style="width:100px;"><img src="img/leftimg.png" />新闻管理</div>
<a href="#"><span class="sublist-icon glyphicon glyphicon-user"></span><span class="sub-title">新闻管理</span></a></li>
</ul>
</div>
</div>
</div>
<div class="right-product right-off">
<section id="layout" ng-app="doc.ui-layout">
<div ui-layout class="layout-mock">
<ui-layout options="{ flow : 'column' }">
<!---leftlist--->
<sidebar class="east-back left-back">
<ul class="nav nav-pills nav-stacked">
<li class="active"><a href="#">新闻栏目一</a></li>
<li><a href="#">新闻栏目二</a></li>
<li><a href="#">新闻栏目三</a></li>
</ul>
</sidebar>
<!---rightcontent---->
<div class="center-back right-back">
<div class="container-fluid">
<div class="info-center">
<div class="page-header">
<div class="pull-left">
<h4>新闻中心</h4>
</div>
<div class="pull-right">
<button type="button" class="btn btn-mystyle btn-sm">搜索</button>
<button type="button" class="btn btn-mystyle btn-sm">返回</button>
</div>
</div>
<div class="search-box row">
<div class="col-md-8">
<div class="form-group">
<span class="pull-left form-span">电子邮件:</span>
<input type="email" class="form-control" placeholder="请输入您的电子邮件">
</div>
<div class="form-group">
<input type="email" class="form-control" placeholder="请输件">
</div>
<div class="form-group">
<span class="pull-left form-span">状态:</span>
<select class="form-control">
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
</select>
</div>
<div class="form-group">
<input type="email" class="form-control" placeholder="请输件">
</div>
<div class="form-group btn-search">
<button class="btn btn-default" ><span class="glyphicon glyphicon-search"></span> 搜索</button>
</div>
</div>
<div class="col-md-4">
<div class="btn-group pull-right" role="group" aria-label="...">
<button type="button" class="btn btn-default"><span class="glyphicon glyphicon-plus"></span> 新增</button>
<div class="btn-group" role="group">
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<span class="glyphicon glyphicon-edit"></span> 审核
<span class="caret"></span>
</button>
<ul class="dropdown-menu">
<li><a href="#">通过</a></li>
<li><a href="#">不通过</a></li>
</ul>
</div>
<button type="button" class="btn btn-default"><span class="glyphicon glyphicon-pencil"></span> 编辑</button>
<button type="button" class="btn btn-default"><span class="glyphicon glyphicon-trash"></span> 删除</button>
</div>
</div>
</div>
<div class="clearfix"></div>
<div class="table-margin">
<table class="table table-bordered table-header">
<thead>
<tr>
<td><input type="checkbox" /></td>
<td class="w70">标题内容</td>
<td class="w15">提交时间</td>
<td class="w15">类型</td>
</tr>
</thead>
<tbody>
<tr>
<td><input type="checkbox" /></td>
<td>2</td>
<td>2</td>
<td>2</td>
</tr>
<tr>
<td><input type="checkbox" /></td>
<td>2</td>
<td>2</td>
<td>2</td>
</tr>
</tbody>
<tfoot>
<tr>
<td colspan="4">
<div class="pull-right">
<nav>
<ul class="pagination">
<li>
<a href="#" aria-label="Previous">
<span aria-hidden="true">«</span>
</a>
</li>
<li><a href="#">1</a></li>
<li><a href="#">2</a></li>
<li><a href="#">3</a></li>
<li><a href="#">4</a></li>
<li><a href="#">5</a></li>
<li>
<a href="#" aria-label="Next">
<span aria-hidden="true">»</span>
</a>
</li>
</ul>
</nav>
</div>
</td>
</tr>
</tfoot>
</table>
</div>
</div>
</div>
</div>
</ui-layout>
</div>
</section>
</div>
</div>
<script type="text/javascript">
/*Angular-UI-layout*/
angular.module('doc.ui-layout', ['ui.layout']);
$(function(){
/*换肤*/
$(".dropdown .changecolor li").click(function(){
var style = $(this).attr("id");
$("link[title!='']").attr("disabled","disabled");
$("link[title='"+style+"']").removeAttr("disabled");
$.cookie('mystyle', style, { expires: 7 }); // 存储一个带7天期限的 cookie
})
var cookie_style = $.cookie("mystyle");
if(cookie_style!=null){
$("link[title!='']").attr("disabled","disabled");
$("link[title='"+cookie_style+"']").removeAttr("disabled");
}
/*左侧导航栏显示隐藏功能*/
$(".subNav").click(function(){
/*显示*/
if($(this).find("span:first-child").attr('class')=="title-icon glyphicon glyphicon-chevron-down")
{
$(this).find("span:first-child").removeClass("glyphicon-chevron-down");
$(this).find("span:first-child").addClass("glyphicon-chevron-up");
$(this).removeClass("sublist-down");
$(this).addClass("sublist-up");
}
/*隐藏*/
else
{
$(this).find("span:first-child").removeClass("glyphicon-chevron-up");
$(this).find("span:first-child").addClass("glyphicon-chevron-down");
$(this).removeClass("sublist-up");
$(this).addClass("sublist-down");
}
// 修改数字控制速度, slideUp(500)控制卷起速度
$(this).next(".navContent").slideToggle(300).siblings(".navContent").slideUp(300);
})
/*左侧导航栏缩进功能*/
$(".left-main .sidebar-fold").click(function(){
if($(this).parent().attr('class')=="left-main left-full")
{
$(this).parent().removeClass("left-full");
$(this).parent().addClass("left-off");
$(this).parent().parent().find(".right-product").removeClass("right-full");
$(this).parent().parent().find(".right-product").addClass("right-off");
}
else
{
$(this).parent().removeClass("left-off");
$(this).parent().addClass("left-full");
$(this).parent().parent().find(".right-product").removeClass("right-off");
$(this).parent().parent().find(".right-product").addClass("right-full");
}
})
/*左侧鼠标移入提示功能*/
$(".sBox ul li").mouseenter(function(){
if($(this).find("span:last-child").css("display")=="none")
{$(this).find("div").show();}
}).mouseleave(function(){$(this).find("div").hide();})
})
</script>
</body>
</html>