<!--
|
功能描述:资讯动态-图文列表
|
-->
|
<style type="text/css">
|
.ShuJuGuanJianZi{
|
font-size: 12px;
|
background-color: #B6DAFA;
|
padding: 3px 8px;
|
border-radius: 4px;
|
}
|
.div_zy:hover {
|
background-color: #ebf8fe;
|
}
|
|
/*边框公共样式*/
|
.div_border {
|
box-shadow: 0px 0px 1px 1px #bfbfbf;
|
}
|
|
.pagination {
|
margin: 12px 15px;
|
float: right;
|
}
|
</style>
|
<div id="div_zy" xmlns:th="http://www.w3.org/1999/xhtml">
|
<div th:each="Ziyuan,ZiyuanStat:${ZiXunList}" class="div_zy div_border">
|
<div style="font-size: 20px;color:#2b56bf;cursor: pointer;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;width: 100%;" th:text="${Ziyuan.title}" th:onclick="'javascript:OpenZiXunInfo('+${Ziyuan.newsid}+')'"></div>
|
<!--<div style="width: 100%;float:left;margin-top: 8px;margin-bottom:12px;"></div>-->
|
<div style="overflow: hidden;text-overflow: ellipsis;white-space: nowrap;">
|
<p style="margin-top: 10px;margin-bottom: 0;"><span th:text="'资讯类型:'+${Ziyuan.type}"></span> </p>
|
<p style="margin-top: 5px;margin-bottom: 0;"><span th:text="'发布时间:'+${Ziyuan.createdate}"></span></p>
|
<p style="margin-top: 5px;margin-bottom: 0;"><span th:text="'发布人:'+${Ziyuan.createusername}"></span></p>
|
</div>
|
<!--<div style="float:right;width: 75px;margin-top:30px;">-->
|
<!--<button type="button" class="btn btn-primary" th:onclick="'javascript:OpenZiXunInfo('+${Ziyuan.newsid}+')'"> 详情</button>-->
|
<!--</div>-->
|
</div>
|
</div>
|
<div id="pagediv" class="row-fluid" style="height: 60px;box-shadow: 0px 0px 1px 1px #bfbfbf;border-radius: 10px;background-color: white;line-height: 60px;margin-top: 15px;">
|
<span style="font-size: 16px;margin-left: 25px;color: grey;">搜索到<span th:text="${Count}"></span>条结果</span>
|
<input th:value="${Page}" type="hidden" id="curren"/>
|
<input th:value="${Count}" type="hidden" id="total"/>
|
<div id="Paginator" class="pagination">
|
</div>
|
</div>
|
<script type="text/javascript" th:inline="javascript">
|
$(function () {
|
var count = [[${Count}]];
|
$("#countNum").text(count);
|
// $("#div_bg").css("height",$("#pagebody").height() - 115 +'px');
|
$("#pagediv").css("width",$(".div_right").width() - 3 +'px');
|
$("#div_zy").css("width",$(".div_right").width() - 3 +'px');
|
})
|
function OpenZiXunInfo (id) {
|
window.open("/res/PingTaiMenHu/ZiXunInfo?newsid="+id, "_blank");
|
}
|
</script>
|