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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<!--
功能描述:资源目录-图文列表
-->
<style type="text/css">
    .ShuJuGuanJianZi{
        font-size: 12px;
        background-color: #B6DAFA;
        padding: 3px 8px;
        border-radius: 4px;
    }
    .div_zy:hover {
        background-color: #ebf8fe;
    }
 
    .div_title {
        float: left;
        width: 70%;
        font-size: 20px;
        color: #2b56bf;
        cursor: pointer;
        line-height: 45px;
        margin-left: 35px;
        margin-top: 10px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
 
    .pagination {
        margin: 12px 15px;
        float: right;
    }
</style>
<div width="100%"  xmlns:th="http://www.w3.org/1999/xhtml">
    <div th:each="Ziyuan,ZiyuanStat:${ZyList}" class="div_zy div_border div_top">
        <div>
        <div class="div_title" th:text="${Ziyuan.title}" th:onclick="'javascript:OpenZiYuan('+${Ziyuan.resourceid}+')'"></div>
        <div style="float:right;margin-right: 15px;line-height: 45px;margin-top: 10px;">
            <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 #EBEDF9;padding: 0 12px;"></div>-->
        <div style="float: left;width: 70%;clear: both;margin-left: 35px;">
            <p><span th:text="'审核状态:'+${Ziyuan.auditstatusname}"></span><span th:text="'&nbsp;&nbsp;|&nbsp;&nbsp;'+'资源类型:'+${Ziyuan.resourceclass}"></span> </p>
            <p><span th:text="'发布时间:'+${Ziyuan.pubdate}+'&nbsp;&nbsp;|&nbsp;&nbsp;'+'发布单位:'+${Ziyuan.pubunitname}"></span></p>
            <p>
                <span th:text="'发布人:'+${Ziyuan.createusername} + '&nbsp;&nbsp;|&nbsp;&nbsp;资源状态:'" style="float: left;"></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>
            </p>
            <p>
                <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:90px;">
            <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;width: 100%;height: 60px;box-shadow: 0px 0px 1px 1px #bfbfbf;border-radius: 10px;background-color: white;line-height: 60px;margin-top: 15px;margin-bottom: 50px;">
    <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>
</div>
<script type="text/javascript" th:inline="javascript">
    $(function () {
        var count = [[${Count}]];
        $("#countNum").text(count);
    })
</script>