2
13693261870
2022-09-16 653761a31dfeb50dd3d007e892d69c90bf0cdafc
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
<!--
功能描述:资源目录-图文列表
-->
<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> &nbsp;&nbsp;
            <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="'&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp;'+'资源类型:'+${Ziyuan.resourceclass}"></span> </p>
            <p style="height: 8px;"><span th:text="'发布时间:'+${Ziyuan.pubdate}+'&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp;'+'发布单位:'+${Ziyuan.pubunitname}"></span></p>
            <p style="height: 8px;"><span th:text="'发布人:'+${Ziyuan.createusername}"></span>
                <span>&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp;资源状态:
                    <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>