news.html 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. <!DOCTYPE html>
  2. <html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
  3. <head th:replace="common::header(~{::title},~{::link})">
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width,initial-scale=1.0, user-scalable=no">
  6. <meta http-equiv="X-UA-Compatible" content="ie=edge">
  7. <title>新闻动态</title>
  8. <!-- 二级页面CSS -->
  9. <link rel="stylesheet" th:href="${portalHost+'/css/secode.css'}">
  10. </head>
  11. <body>
  12. <div class="app">
  13. <!-- 头部 -->
  14. <header>
  15. <div th:replace="common::nav('','')"></div>
  16. <!-- 轮播图 -->
  17. <div class="swiper-containerx">
  18. <img th:src="${banners}==null?${portalHost+'/images/banner/about_bg.png'}:${avatarUploadHost}+${banners.bannerUrl}" />
  19. <div class="swiper_title">
  20. <h6>新闻动态</h6>
  21. </div>
  22. </div>
  23. <!-- 轮播图 end -->
  24. </header>
  25. <!-- 头部 end -->
  26. <!-- 二级导航 -->
  27. <div class="secondary-menu news-text">
  28. <div class="container">
  29. <ul>
  30. <li class="active"><a href="javascript:;">全部</a> </li>
  31. <li><a href="javascript:;">公司新闻</a> </li>
  32. <li><a href="javascript:;">行业资讯</a> </li>
  33. </ul>
  34. </div>
  35. </div>
  36. <!-- 二级导航 end -->
  37. <!-- 主体内容 -->
  38. <div class="news main">
  39. <div class="container">
  40. <!-- 新闻列表 -->
  41. <ul class="newslist">
  42. </ul>
  43. <!-- 新闻列表 end -->
  44. <!-- 分页 -->
  45. <div class="page_1"></div>
  46. <!-- 分页 end -->
  47. </div>
  48. </div>
  49. <!-- 主体内容 end -->
  50. <!-- 底部 -->
  51. <footer>
  52. <div th:replace="common::copyright"></div>
  53. </footer>
  54. <!-- 底部 end -->
  55. </div>
  56. <div th:replace="common::footer(~{::script},'')">
  57. <!-- 引入分页 -->
  58. <script th:src="${portalHost+'/js/page.js'}"></script>
  59. <script th:src="${portalHost+'/js/new.js'}"></script>
  60. <script>
  61. if(window.location.search == "?type=1") {
  62. $(".secondary-menu ul li a").eq(2).click()
  63. }else if(window.location.search == "?type=0") {
  64. $(".secondary-menu ul li a").eq(1).click()
  65. }
  66. </script>
  67. </div>
  68. </body>
  69. </html>