4902_10129_backup.jsp 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. <html>
  2. <head>
  3. <title>${wn.name}-${website.seoTitle}</title>
  4. <website-include page="link_pc" />
  5. </head>
  6. <body style="background-color:#ecf2f6">
  7. <div class="container">
  8. <div style="height: 15px;background-color: #fff;"></div>
  9. <div class="header">
  10. <website-include page="head_pc" />
  11. <div class="header-nav wrap">
  12. <website-include page="nav_pc" />
  13. </div>
  14. </div>
  15. <!-- 栏目标题、面包屑 -->
  16. <website-include page="article_nav_pc" />
  17. <!-- 列表 -->
  18. <div class="column-content">
  19. <ul class="column-list wrap">
  20. <c:forEach items="${articleList}" var="item">
  21. <li>
  22. <a href="${item.url}" target="_blank">
  23. <h3>
  24. ${item.title}
  25. </h3>
  26. <dl>
  27. <c:if test="${not empty item.thumbnail}">
  28. <dt>
  29. <img src="${item.thumbnail}" alt="未上传图片">
  30. </dt>
  31. </c:if>
  32. <dd>
  33. <p class="column-list-text">
  34. ${item.desc}
  35. </p>
  36. <p class="column-list-date">
  37. <i class="time">
  38. ${item.release_time}
  39. </i>
  40. </p>
  41. </dd>
  42. </dl>
  43. </a>
  44. </li>
  45. </c:forEach>
  46. </ul>
  47. <!-- 分页 -->
  48. <div id="layPage">
  49. </div>
  50. </div>
  51. <!-- 底部 -->
  52. <website-include page="footer_pc" />
  53. </div>
  54. </body>
  55. <website-include page="script_pc" />
  56. <script>
  57. utils.formatDateByEls("yyyy-MM-dd hh:mm", $(".time"));
  58. layui.use('laypage', function() {
  59. var laypage = layui.laypage;
  60. laypage.render({
  61. elem: 'layPage',
  62. curr: '${pb.currentPageNo}',
  63. count: "${pb.rowCount}",
  64. jump: function(obj, first) {
  65. if (!first) {
  66. location.href = location.pathname + "?n=" + obj.curr;
  67. }
  68. }
  69. });
  70. });
  71. </script>
  72. </html>