newsDetail.html 3.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. <!DOCTYPE html>
  2. <html xmlns="http://www.w3.org/1999/xhtml"
  3. xmlns:th="http://www.thymeleaf.org"
  4. xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
  5. <head th:replace="common::header(~{::title},~{::link})">
  6. <title>阿凡提-新闻详情--我的技术和科技服务交易平台</title>
  7. <link th:href="${portalHost + '/dll/dll.css'}" rel="stylesheet">
  8. <link th:href="${portalHost + '/vendors.css'}" rel="stylesheet">
  9. <link th:href="${portalHost + '/thinkTank/policyDetail.css'}" rel="stylesheet">
  10. </head>
  11. <body>
  12. <div th:replace="common::nav('news','newsDetail')"></div>
  13. <div id="policyDetail">
  14. <div id="policy_content">
  15. <div class="content_left" th:each="newsDetail:${newsDetail}">
  16. <h3 th:text="${newsDetail.title}?${newsDetail.title}:''"></h3>
  17. <div class="small_title">
  18. <span>时间:<span th:text="${newsDetail.createTime}?${#dates.format(newsDetail.createTime,'yyyy-MM-dd')}:''"></span></span>
  19. <span>来源:<span th:text="${newsDetail.source}?${newsDetail.source}:行业新闻"></span></span>
  20. </div>
  21. <div th:each="img:${imgs}" class="content_img">
  22. <img th:src="${avatarUploadHost+img}" alt="" />
  23. </div>
  24. <p th:utext="${newsDetail.content}?${newsDetail.content}:'暂无内容'">
  25. </p>
  26. <h5 class="text_end">文章来自:</h5>
  27. <a th:href="${newsDetail.sourceUrl}?${newsDetail.sourceUrl}:'www.jishutao.com'"></a>
  28. <hr />
  29. <h5 th:if="${hasHighTech || hasPatent || hasCopyright || hasTechProj}">关联业务:</h5>
  30. <span th:if="${hasHighTech}"><a th:href="${basePath + '/user/account/services.html#contract'}" target="_blank">高企认证</a></span>
  31. <span th:if="${hasPatent}"><a th:href="${basePath + '/user/account/services.html#contract'}" target="_blank">专利申请</a></span>
  32. <span th:if="${hasCopyright}"><a th:href="${basePath + '/user/account/services.html#contract'}" target="_blank">软著申请</a></span>
  33. <span th:if="${hasTechProj}"><a th:href="${basePath + '/user/account/services.html#contract'}" target="_blank">科技项目申请</a></span>
  34. <hr />
  35. <!-- <div class="next_div">
  36. <span class="rf">
  37. <h5>下一篇:</h5> <a href="#">科技探索</a>
  38. </span> <span>
  39. <h5>上一篇:</h5> <a href="#">探索科技</a>
  40. </span>
  41. </div> -->
  42. <!-- <h5>推荐文章:</h5>
  43. <div th:each="news:${news}">
  44. <span ><a th:href="@{/portal/news/newsDetail(id=${news.id},type=${type})}" th:text="${news.title}?${news.title}:'暂无更多内容'"></a></span>
  45. </div> -->
  46. </div>
  47. <div class="contetn_right" >
  48. <div class="right_title">
  49. <div>热点资讯</div>
  50. </div>
  51. <div th:each="newsList:${newsList}">
  52. <h5 ><a th:href="@{/portal/news/newsDetail(id=${newsList.id},type=${type})}" th:text="${newsList.title}?${newsList.title}:''"></a></h5>
  53. <!-- <img th:src="${avatarUploadHost+newsDetail.titleImg}" alt="" /> -->
  54. <p th:text="${newsList.createTime}?${#dates.format(newsList.createTime,'yyyy-MM-dd')}:''"></p>
  55. </div>
  56. </div>
  57. </div>
  58. </div>
  59. <footer>
  60. <div th:replace="common::copyright"></div>
  61. <div th:replace="common::login"></div>
  62. </footer>
  63. <div th:replace="common::footer(~{::script})">
  64. <script type="text/javascript" th:src="${portalHost + '/dll/dll.js'}"></script>
  65. <script type="text/javascript" th:src="${portalHost + '/vendors.js'}"></script>
  66. <script type="text/javascript"
  67. th:src="${portalHost + '/thinkTank/policyDetail.js'}"></script>
  68. </div>
  69. </body>
  70. </html>