4905_10129_backup.jsp 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  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:if test="${articleList.size() == 0}">
  21. 暂无内容
  22. </c:if>
  23. <c:forEach items="${articleList}" var="item">
  24. <li>
  25. <a href="${item.url}" target="_blank">
  26. <h3>
  27. ${item.title}
  28. </h3>
  29. <dl>
  30. <c:if test="${not empty item.thumbnail}">
  31. <dt>
  32. <img src="${item.thumbnail}" alt="未上传图片">
  33. </dt>
  34. </c:if>
  35. <dd>
  36. <p class="column-list-text">
  37. ${item.desc}
  38. </p>
  39. <p class="column-list-date">
  40. <i class="time">
  41. ${item.release_time}
  42. </i>
  43. </p>
  44. </dd>
  45. </dl>
  46. </a>
  47. </li>
  48. </c:forEach>
  49. </ul>
  50. <!-- 分页 -->
  51. <div id="layPage">
  52. </div>
  53. </div>
  54. <!-- 底部 -->
  55. <website-include page="footer_pc" />
  56. </div>
  57. </body>
  58. <website-include page="script_pc" />
  59. <script>
  60. utils.formatDateByEls("yyyy-MM-dd hh:mm", $(".time"));
  61. layui.use('laypage', function() {
  62. var laypage = layui.laypage;
  63. laypage.render({
  64. elem: 'layPage',
  65. curr: '${pb.currentPageNo}',
  66. count: "${pb.rowCount}",
  67. jump: function(obj, first) {
  68. if (!first) {
  69. location.href = location.pathname + "?n=" + obj.curr;
  70. }
  71. }
  72. });
  73. });
  74. </script>
  75. </html>