home.html
1.97 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
<% var videos = tempVideo.videos(paginator.pageNo,paginator.pageSize); %>
<%
var headContent = {
%>
<% include("/template/video/includes/header.html"){} %>
<script type="text/javascript">
<!--
$(function(){
});
//-->
</script>
<%
};
%>
<%
var bodyContent = {
%>
<% include("/template/video/includes/header_menu.html"){} %>
<div class="container">
<div class="row">
<div class="col-md-10">
<div class="row">
<% for(item in videos.list){ %>
<div class="col-sm-4 col-md-3">
<div class="thumbnail">
<div>
<% if(!strutil.isEmpty(item.thumbnail)){ %>
<a href="${BASE_PATH }album/video/img/${item.id}.html" target="_blank">
<img src="${item.thumbnail}" data-holder-rendered="true" style="height: 200px; width: 100%; display: block;">
<span class="shuiyin_play" aria-hidden="true"></span>
</a>
<% } else { %>
<a href="${BASE_PATH }album/video/img/${item.id}.html" target="_blank">
<img src="${BASE_PATH }static/images/video/no_image.jpg" data-holder-rendered="true" style="height: 200px; width: 100%; display: block;">
<span class="shuiyin_play" aria-hidden="true"></span>
</a>
<% } %>
</div>
<div class="caption">
<a href="${BASE_PATH }album/video/img/${item.id}.html" target="_blank">${item.name}</a>
</div>
</div>
</div>
<% } %>
</div>
<%include("/template/video/includes/paginator.html",{page:videos}){} %>
</div>
<div class="col-md-2">
<!-- 推荐图片 -->
<% include("/template/video/includes/recommend.html"){} %>
<!-- 友情链接 -->
<% include("/template/video/includes/friendly.html"){} %>
</div>
</div>
</div>
<% include("/template/video/includes/footer.html"){} %>
<a id="scrollTop" href="javacript:void(0);" title="返回顶部" style="display: inline;"></a>
<%}; %>
<% layout("/pages/template/_layout.html",{head:headContent,body:bodyContent}){ %>
<%} %>