|
|
@@ -1,47 +1,59 @@
|
|
|
<!DOCTYPE html>
|
|
|
-<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
|
|
|
+<html xmlns="http://www.w3.org/1999/xhtml"
|
|
|
+ xmlns:th="http://www.thymeleaf.org"
|
|
|
+ xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
|
|
|
|
|
|
<head th:replace="common::header(~{::title},~{::link})">
|
|
|
- <title>新闻详情</title>
|
|
|
- <link th:href="${portalHost + '/vendors.css'}" rel="stylesheet">
|
|
|
- <link th:href="${portalHost + '/news/newsDetail.css'}" rel="stylesheet">
|
|
|
+<title>新闻详情</title>
|
|
|
+<link th:href="${portalHost + '/vendors.css'}" rel="stylesheet">
|
|
|
+<link th:href="${portalHost + '/thinkTank/policyDetail.css'}" rel="stylesheet">
|
|
|
</head>
|
|
|
|
|
|
<body>
|
|
|
<header>
|
|
|
- <div th:replace="common::{topNav}"></div>
|
|
|
+ <div th:replace="common::nav('news','newsDetail')"></div>
|
|
|
</header>
|
|
|
- <div class="header_nav_detail">
|
|
|
- <div class="container ">
|
|
|
- <div class="row clearfix">
|
|
|
- <div class="col-md-3 logo">
|
|
|
- <div th:replace="common::sublogo"></div>
|
|
|
+ <div id="policyDetail">
|
|
|
+ <div id="policy_content">
|
|
|
+ <div class="content_left" th:each="newsDetail:${newsDetail}">
|
|
|
+ <h3 th:text="${newsDetail.title}?${newsDetail.title}:''"></h3>
|
|
|
+ <div class="small_title">
|
|
|
+ <span>时间:<span th:text="${newsDetail.createTime}?${newsDetail.createTimeS}:''"></span></span>
|
|
|
+ <span>来源:<span th:text="${newsDetail.source}?${newsDetail.source}:行业新闻"></span></span>
|
|
|
</div>
|
|
|
- <div class="col-md-9">
|
|
|
- <div th:replace="common::subMenu('news','')"></div>
|
|
|
+ <div class="content_img">
|
|
|
+ <img th:src="${avatarUploadHost+newsDetail.titleImg}" alt="" />
|
|
|
+ </div>
|
|
|
+ <p th:text="${newsDetail.content}?${newsDetail.content}:'暂无内容'">
|
|
|
+ </p>
|
|
|
+ <h5 class="text_end">文章来自:</h5>
|
|
|
+ <a th:href="${newsDetail.sourceUrl}?${newsDetail.sourceUrl}:'www.jishutao.com'"></a>
|
|
|
+ <hr />
|
|
|
+ <h5 >本文关键词:</h5>
|
|
|
+ <span>高新</span> <span>信息</span> <span>技术</span>
|
|
|
+ <hr />
|
|
|
+ <!-- <div class="next_div">
|
|
|
+ <span class="rf">
|
|
|
+ <h5>下一篇:</h5> <a href="#">科技探索</a>
|
|
|
+ </span> <span>
|
|
|
+ <h5>上一篇:</h5> <a href="#">探索科技</a>
|
|
|
+ </span>
|
|
|
+ </div> -->
|
|
|
+ <hr />
|
|
|
+ <h5>推荐文章:</h5>
|
|
|
+ <div th:each="news:${news}">
|
|
|
+ <span th:text="${news.title}?${news.title}:'暂无更多内容'"></span>
|
|
|
</div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
- <div class="secondary_navigation"></div>
|
|
|
- </div>
|
|
|
- <div th:replace="common::banners"></div>
|
|
|
- <div class="banner-item" th:if="${banners==null}">
|
|
|
- <img th:src="${portalHost + '/img/newsDetail_banner.jpg'}" alt="First slide">
|
|
|
- </div>
|
|
|
-
|
|
|
- <div class="container newsDetails_content">
|
|
|
- <ul id="newsDetailsTab">
|
|
|
- <li><a href="/portal/news/newsDetails.html?type=0">全部</a></li>
|
|
|
- <li><a href="/portal/news/newsDetails.html?type=1">技淘动态</a></li>
|
|
|
- <li><a href="/portal/news/newsDetails.html?type=2">政府往来</a></li>
|
|
|
- <li><a href="/portal/news/newsDetails.html?type=3">科技资讯</a></li>
|
|
|
- <li><a href="/portal/news/newsDetails.html?type=4">国家政策</a></li>
|
|
|
- <li><a href="/portal/news/newsDetails.html?type=5">地方政策</a></li>
|
|
|
- </ul>
|
|
|
- <div class="newsDetail_content">
|
|
|
- <h4></h4>
|
|
|
- <p class="from_info">来源:<span class="from_web"></span>时间:<span class="from_date"></span></p>
|
|
|
- <div id="content_container">
|
|
|
+ <div class="contetn_right" >
|
|
|
+ <div class="right_title">
|
|
|
+ <div>热点资讯</div>
|
|
|
+ </div>
|
|
|
+ <div th:each="newsList:${newsList}">
|
|
|
+ <h5 ><a th:href="@{/portal/news/newsDetail(id=${newsList.id})}" th:text="${newsList.title}?${newsList.title}:''"></a></h5>
|
|
|
+ <!-- <img th:src="${avatarUploadHost+newsDetail.titleImg}" alt="" /> -->
|
|
|
+ <p th:text="${newsList.createTime}?${newsList.DataS}:''"></p>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -50,7 +62,8 @@
|
|
|
</footer>
|
|
|
<div th:replace="common::footer(~{::script})">
|
|
|
<script type="text/javascript" th:src="${portalHost + '/vendors.js'}"></script>
|
|
|
- <script type="text/javascript" th:src="${portalHost + '/news/newsDetail.js'}"></script>
|
|
|
+ <script type="text/javascript"
|
|
|
+ th:src="${portalHost + '/thinkTank/policyDetail.js'}"></script>
|
|
|
</div>
|
|
|
</body>
|
|
|
|