<!--
|
功能描述:资源目录-图文列表
|
-->
|
<style type="text/css">
|
.ShuJuGuanJianZi{
|
font-size: 12px;
|
background-color: #B6DAFA;
|
padding: 3px 8px;
|
border-radius: 4px;
|
}
|
.div_zy:hover {
|
background-color: #ebf8fe;
|
}
|
</style>
|
<div width="100%" xmlns:th="http://www.w3.org/1999/xhtml">
|
<div th:each="Ziyuan,ZiyuanStat:${ZyList}" class="div_zy">
|
<div>
|
<div style="float: left;font-size: 18px;color:#0B92D4;cursor: pointer;" th:text="${Ziyuan.title}" th:onclick="'javascript:OpenZiYuan('+${Ziyuan.resourceid}+')'"></div>
|
<div style="float:right;margin-right: 15px;">
|
<img src="/image/ziyuanfabu/ziyuanfabu_shenqing.png" />
|
申请量:<span style="color: #ff0000;font-size: 16px;" th:text="${Ziyuan.applycount}"></span>
|
<img src="/image/ziyuanfabu/ziyuanfabu_liulang.png" />
|
浏览量:<span style="color: #ff0000;font-size: 16px;" th:text="${Ziyuan.readcount}"></span></div>
|
<div style="width: 100%;float:left;border-bottom: 1px solid #E0DEDB;margin-top: 8px;margin-bottom:10px;margin-bottom:12px;"></div>
|
<div style="float: left;width: 70%;">
|
<p style="height: 8px;"><span th:text="'审核状态:'+${Ziyuan.auditstatusname}"></span><span th:text="' | '+'资源类型:'+${Ziyuan.resourceclass}"></span> </p>
|
<p style="height: 8px;"><span th:text="'发布时间:'+${Ziyuan.pubdate}+' | '+'发布单位:'+${Ziyuan.pubunitname}"></span></p>
|
<p style="height: 8px;"><span th:text="'发布人:'+${Ziyuan.createusername}"></span>
|
<span> | 资源状态:
|
<span th:if="${Ziyuan.status == 0}">【正常】</span>
|
<span th:if="${Ziyuan.status == 1}" style="color: #f01c00;">【异常】</span>
|
<span th:if="${Ziyuan.status == 3}" style="color: #f01c00;">【注销】</span>
|
</span>
|
</p>
|
<p style="height: 8px;">
|
<span class="td-title">关键字:</span>
|
<span class="ShuJuGuanJianZi" th:each="item:${Ziyuan.list}" th:if="${Ziyuan.Keywords!=''}" th:text="${item}"></span>
|
</p>
|
</div>
|
<div style="float:right;width: 140px;margin-top:30px;">
|
<button type="button" class="btn btn-primary" th:onclick="'javascript:OpenZiYuan('+${Ziyuan.resourceid}+')'"> 详情</button>
|
<button type="button" class="btn btn-primary" th:disabled="(${Userid} != ${Ziyuan.createuserid})?true:false" th:onclick="'javascript:ZiYuanEdit('+${Ziyuan.resourceid}+')'">编辑</button>
|
</div>
|
</div>
|
</div>
|
<div class="row-fluid" style="float:left;text-align: center;width: 100%;">
|
<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);
|
})
|
</script>
|