xwdt.html
4.12 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
104
105
106
107
108
109
110
111
112
<!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>
<style>
</style>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>新闻动态</title>
<script type="text/javascript" src="../staticJs/head.js"></script>
<link rel="stylesheet" type="text/css" href="../staticCss/xwdt.css">
</head>
<body>
<div class="navigation_crumbs">
<div class="contentBox">
<span class="layui-breadcrumb">
<a href="../index.html">首页</a>
<a><cite>新闻动态</cite></a>
</span>
</div>
</div>
<div class="leftandright">
<div class="left">
<ul class="leftContainer" id='ulNews'>
</ul>
<div id="page">
<div class="layui-box layui-laypage layui-laypage-molv">
<a href="javascript:;" class="layui-laypage-prev"><</a>
<a href="javascript:;" class="layui-laypage-first" title="首页">首页</a>
<a href="javascript:;">1</a>
<span class="layui-laypage-curr">
<em class="layui-laypage-em" style="background-color:#0091FF;"></em>
<em>2</em>
</span>
<a href="javascript:;" >3</a>
<a href="javascript:;" class="layui-laypage-last" title="尾页">尾页</a>
<a href="javascript:;" class="layui-laypage-next">></a>
</div>
</div>
</div>
<div class="right">
<div class="right">
<div class="right-top">
<h2>新闻推荐</h2>
</div>
<ul class="right-body" id="news_recommendation">
</ul>
<ul class="right-bottom">
<div class="right-bottom-top">
<span>相应政策推荐</span>
</div>
<div id="regulation"></div>
</ul>
</div>
</div>
</div>
</body>
<script type="text/javascript" src="../staticJs/common.js"></script>
<script type="text/javascript" src="../staticJs/down.js"></script>
<script type="text/javascript" src="../staticJs/xwdt.js"></script>
<script id="demo" type="text/html">
{{# layui.each(d.list, function(index, item){ }}
{{# if(item.isTop == 1 ){ }}
<li class="sticky">
{{# } }}
{{# if(item.isTop != 1 ){ }}
<li>
{{# } }}
<a class="left-top" title=" {{ item.headline }}" href='./news/{{item.id}}.html' target="_blank">
{{ item.headline }}
</a>
<a class="xw" href='./news/{{item.id}}.html' target="_blank">
{{# if(item.isTop == 1 ){ }}
<img class="istop" src="../staticImages/ding.png">
{{# } }}
<div class="newsCon">
<div class="xw-left">
{{# if(item.preViewUrl != null ){ }}
<img src="{{ item.preViewUrl }}">
{{# } }}
</div>
<div class="xw-right">
{{# if(item.summary !== null){ }}
{{ item.summary }}
{{# } }}
</div>
</div>
<div class="newsBottom">
<div class="newIcon">
<svg class="icon svg-icon" aria-hidden="true">
<use xlink:href="#iconchakan"></use>
</svg>
<span> {{ item.pageviews }}</span>
</div>
<div class="newIcon">
<svg class="icon svg-icon" aria-hidden="true">
<use xlink:href="#iconpinglun"></use>
</svg>
<span>{{ item.commentnum }}</span>
</div>
<div class="left-buttom-date">
{{ CutDate(item.publishTime) }}
</div>
</div>
</a>
</li>
{{# }); }}
</script>
</html>