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;
    }
 
    /*边框公共样式*/
    .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>