| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143 |
- <html>
- <head>
- <title>${wn.name}-${website.seoTitle}</title>
- <website-include page="link_pc" />
- </head>
- <body style="background-color:#ecf2f6">
- <div class="container">
- <div style="height: 15px;background-color: #fff;"></div>
- <div class="header">
- <website-include page="head_pc" />
- <div class="header-nav wrap">
- <website-include page="nav_pc" />
- </div>
- </div>
- <!-- banner 大图 -->
- <div class="banner sublevel-banner">
- <div class="sublevel-banner-img">
- <img src="${wn.backgroundImage}" alt="请在后台上传此栏目的背景图片">
- </div>
- <div class="wrap">
- <div class="sublevel-message">
- <h3>
- ${wn.title}
- </h3>
- <p>
- ${wn.desc}
- </p>
- </div>
- </div>
-
- <div class="banner-line1"></div>
- <div class="banner-line2"></div>
- </div>
- <!-- 栏目标题、面包屑 -->
- <website-include page="article_nav_pc" />
- <!-- 列表 -->
- <div class="column-content">
- <ul class="column-list wrap">
-
- <c:if test="${articleList.size() == 0}">
- 暂无内容
- </c:if>
- <c:forEach items="${articleList}" var="item">
- <li>
- <a href="${item.url}" target="_blank">
- <h3>
- ${item.title}
- </h3>
- <dl>
- <c:if test="${not empty item.thumbnail}">
- <dt>
- <img src="${item.thumbnail}" alt="未上传图片">
- </dt>
- </c:if>
- <dd>
- <p class="column-list-text">
- ${item.desc}
- </p>
- <p class="column-list-date">
- <i class="time">
- ${item.release_time}
- </i>
- </p>
- </dd>
- </dl>
- </a>
- </li>
- </c:forEach>
- </ul>
- <!-- 分页 -->
- <div id="layPage">
- </div>
- </div>
- <!-- 底部 -->
- <website-include page="footer_pc" />
- </div>
- </body>
- <website-include page="script_pc" />
- <script>
- var isIndex = true;
- utils.formatDateByEls("yyyy-MM-dd hh:mm", $(".time"));
- layui.use('laypage', function() {
- var laypage = layui.laypage;
- laypage.render({
- elem: 'layPage',
- curr: '${pb.currentPageNo}',
- count: "${pb.rowCount}",
- jump: function(obj, first) {
- if (!first) {
- location.href = location.pathname + "?n=" + obj.curr;
- }
- }
- });
- });
-
- // function searchFun(){
- // $(".search-wrap").slideDown("fast");
- // }
-
- // $("body").click(function (e) {
- // if (!$(e.target).closest("#btn,#emoji_icon").length) {
- // $("#emoji_icon").hide();
- // }
- // });
-
- $(document).click(function () {
- $(".search-wrap").hide();
- });
-
- $(".search-wrap").on("click", function (event) {
- //取消事件冒泡
- var e = arguments.callee.caller.arguments[0] || event; //若省略此句,下面的e改为event,IE运行可以,但是其他浏览器就不兼容
- if (e && e.stopPropagation) {
- // this code is for Mozilla and Opera
- e.stopPropagation();
- } else if (window.event) {
- // this code is for IE
- window.event.cancelBubble = true;
- }
- $("this").slideDown("fast");
- });
- </script>
- </html>
|