Quellcode durchsuchen

首页修改

Signed-off-by: anderx <312518615@qq.com>
anderx vor 6 Jahren
Ursprung
Commit
63c598dab5
1 geänderte Dateien mit 10 neuen und 10 gelöschten Zeilen
  1. 10 10
      src/main/webapp/WEB-INF/views/portal/index.html

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

@@ -78,7 +78,7 @@
             <!-- 产品服务模块 -->
             <div class="productserve">
                 <div class="container">
-                    <h2 class="item-title"><a href="#" target="_blank">产品服务</a></h2>
+                    <h2 class="item-title"><a href="javascript:;">产品服务</a></h2>
                     <p class="item-dec">专业、专注咨询行业十九年</p>
                     <ul class="serve-list">
                         <li>
@@ -178,7 +178,7 @@
             <div class="about">
                 <div class="container">
                     <div class="row">
-                        <h2 class="item-title"><a href="#" target="_blank">关于科德</a></h2>
+                        <h2 class="item-title"><a href="javascript:;">关于科德</a></h2>
                         <p class="item-dec">推动知识产品新运用,助力科技共享全球化</p>
                         <div class="milld" style="border-bottom: 1px solid #e5e5e5;margin-bottom: 50px;"></div>
                         <div class="col-lg-8">
@@ -448,7 +448,7 @@
             <!-- 资质荣誉 -->
             <div class="honor">
                 <div class="container">
-                    <h2 class="item-title"><a href="#" target="_blank">资质荣誉</a></h2>
+                    <h2 class="item-title"><a href="javascript:;">资质荣誉</a></h2>
                     <p class="item-dec">为客户提供优质的一站式咨询解决方案</p>
                     <div class="honor-list">
                         <div class="honor-box">
@@ -512,7 +512,7 @@
             <!-- 服务客户 -->
             <div class="client">
                 <div class="container">
-                    <h2 class="item-title"><a href="#" target="_blank">服务客户</a></h2>
+                    <h2 class="item-title"><a href="javascript:;">服务客户</a></h2>
                     <p class="item-dec">为客户提供优质的一站式咨询解决方案</p>
                     <div class="swiper-container" id="swiper2">
                         <div class="swiper-wrapper">
@@ -561,10 +561,10 @@
             <!-- 科德新闻 -->
             <div class="news">
                 <div class="container">
-                    <h2 class="item-title"><a href="#" target="_blank">科德动态</a></h2>
+                    <h2 class="item-title"><a   href="javascript:;">科德动态</a></h2>
                     <p class="item-dec">为您提供最新行业资讯、活动公告汇聚最前沿的企业资讯</p>
                     <div class="mainnews">
-                        <a href="#" target="_blank" class="newslist-left">
+                        <a href="@{/portal/news/newsDetail(id=${gs1.id})}" target="_blank" class="newslist-left">
                             <div class="text" >
                                 <span th:text="${gs1.releaseTimeConvert}">11-28</span>
                                 <h4 th:text="${gs1.title}">科技产品 |「智能报账终端」只为更优质高效的自助报账新体验</h4>
@@ -577,7 +577,7 @@
                                 <img th:src="|${avatarUploadHost}${gs1.pictureUrl}">
                             </div>
                         </a>
-                        <a class="more_button" href="#">查看更多</a>
+                        <a class="more_button" th:href="@{/portal/news}">查看更多</a>
                     </div>
                     <div class="newslist-right">
                         <div class="news-fenlei">
@@ -587,12 +587,12 @@
                         <!-- 公司新闻 -->
                         <ul class="active news-list-it">
                             <li th:each="gs:${gs2}">
-                                <a href="#">
+                                <a th:href="@{/portal/news/newsDetail(id=${gs.id})}"">
                                     <div class="newsitem">
-                                        <span class="time" th:text="${gs1.releaseTimeConvert}">11-07</span>
+                                        <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>
                                         <p></p>
-                                        <div class="item_p" th:utext="${gs1.content}">
+                                        <div class="item_p" th:utext="${gs.content}">
                                             <p>10月29日,雷锋网全球十佳XXXX企业榜单 揭晓,来自中、美、英、印四国为代表的10家XXXX企业脱颖而出。科德以其独特的技术和智慧财务的精准赛道,榜上有名。
                                             </p>
                                         </div>