xwdt.html 3.29 KB
<!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <style>
    </style>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>新闻动态</title>
    <script type="text/javascript" src="../staticJs/head.js"></script>
    <link rel="stylesheet" type="text/css" href="../staticCss/xwdt.css">
</head>

<body>
    <div class="navigation_crumbs">
        <div class="contentBox">
            <span class="layui-breadcrumb">
                <a href="../index.html">首页</a>
                <a><cite>新闻动态</cite></a>
            </span>
        </div>
    </div>
    <div class="leftandright">
        <div class="left">
            <ul class="leftContainer" id='ulNews'>
            </ul>
            <div id="page"></div>
        </div>
        <div class="right">
            <div class="right">
                <div class="right-top">
                    <h2>新闻推荐</h2>
                </div>
                <ul class="right-body" id="news_recommendation">
                </ul>
                <ul class="right-bottom">
                    <div class="right-bottom-top">
                        <span>政策法规推荐</span>
                    </div>
                    <div id="regulation">
                    </div>
                </ul>
            </div>
        </div>
    </div>
</body>
<script type="text/javascript" src="../staticJs/common.js"></script>
<script type="text/javascript" src="../staticJs/down.js"></script>
<script type="text/javascript" src="../staticJs/xwdt.js"></script>
<script id="demo" type="text/html">
    {{#  layui.each(d.list, function(index, item){ }}
    <li>
        <a class="left-top" title=" {{ item.headline }}" href='./xwxq.html?id={{item.id}}' target="_blank">
            {{ item.headline }}
        </a>
        <a class="xw" href='./xwxq.html?id="{{item.id}}"' target="_blank">
            <div class="xw-left">
                {{#  if(item.cover == null){ }}
                <img src="../staticImages/news_demo.jpg">
                {{#  } }}
                {{#  if(item.cover != null){ }}
                <img src="{{ item.cover }}">
                {{#  } }}
            </div>
            <div class="xw-right">
                <div class="left-body">
                    {{#  if(item.summary !== null){ }}
                    {{ item.summary }}
                    {{#  } }}
                </div>
                <div class="left-buttom">
                    <div>
                        <svg class="icon svg-icon" aria-hidden="true">
                            <use xlink:href="#iconchakan"></use>
                        </svg> 
                        <span> {{ item.pageviews }}</span>
                    </div>
                    <div>
                        <svg class="icon svg-icon" aria-hidden="true">
                            <use xlink:href="#iconpinglun"></use>
                        </svg>
                        <span>{{ item.commentnum }}</span>
                    </div>
                    <div class="left-buttom-date">
                        {{ CutDate(item.publishTime) }}
                    </div>
                </div>
            </div>
        </a>
    </li>
    {{#  }); }}
  </script>

</html>