Browse Source

网站BUG修复

anderx 4 years ago
parent
commit
ae90d20cb9
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/main/webapp/WEB-INF/views/portal/index.html

+ 3 - 3
src/main/webapp/WEB-INF/views/portal/index.html

@@ -595,7 +595,7 @@
                     <h2 class="item-title"><a   href="javascript:;">科德动态</a></h2>
                     <p class="item-dec">为您提供最新行业资讯、活动公告汇聚最前沿的企业资讯</p>
                     <div class="mainnews">
-                        <a th:href="@{/portal/newsDetails(id=${gs1.id})}" target="_blank" class="newslist-left">
+                        <a th:href="${'/news/'+gs1.id}" target="_blank" class="newslist-left">
                             <div class="text" >
                                 <span th:text="${gs1.releaseTimeConvert}">11-28</span>
                                 <h4 th:text="${gs1.title}">科技产品 |「智能报账终端」只为更优质高效的自助报账新体验</h4>
@@ -618,7 +618,7 @@
                         <!-- 公司新闻 -->
                         <ul class="active news-list-it">
                             <li th:each="gs:${gs2}">
-                                <a th:href="@{/portal/newsDetails(id=${gs.id})}">
+                                <a th:href="${'/news/'+gs.id}">
                                     <div class="newsitem">
                                         <span class="time" th:text="${gs.releaseTimeConvert}">11-07</span>
                                          <h4 class="title" ><em style="margin-right: 15px;">●</em><span th:text="${gs.title}">咨询行业2020迎来新转机!!!</span></h4>
@@ -635,7 +635,7 @@
                         <!-- 行业新闻 -->
                         <ul class="news-list-it">
                             <li th:each="y:${hy}">
-                                <a th:href="@{/portal/newsDetails(id=${y.id})}">
+                                <a th:href="${'/news/'+y.id}">
                                     <div class="newsitem">
                                         <span class="time" th:text="${y.releaseTimeConvert}">11-07</span>
                                         <h4 class="title" ><em style="margin-right: 15px;">●</em><span th:text="${y.title}">咨询行业2020迎来新转机!!!</span></h4>