Pārlūkot izejas kodu

联系科德页面修改

Signed-off-by: anderx <312518615@qq.com>
anderx 5 gadi atpakaļ
vecāks
revīzija
f0053daea8

+ 4 - 4
src/main/webapp/WEB-INF/views/common.html

@@ -180,10 +180,10 @@
                                 <li>
                                     <p>关于科德</p>
                                     <ul>
-                                        <li><a th:href="${basePath+'/portal/aboutKede#fzlc'}">发展历程</a></li>
-                                        <li><a th:href="${basePath+'/portal/aboutKede#ryzz'}">荣誉资质</a></li>
-                                        <li><a th:href="${basePath+'/portal/aboutKede#qywh'}">企业文化</a></li>
-                                        <li><a th:href="${basePath+'/portal/aboutKede#qggs'}">全国公司</a></li>
+                                        <li><a th:href="${basePath+'/portal/aboutKede?fzlc'}">发展历程</a></li>
+                                        <li><a th:href="${basePath+'/portal/aboutKede?ryzz'}">荣誉资质</a></li>
+                                        <li><a th:href="${basePath+'/portal/aboutKede?qywh'}">企业文化</a></li>
+                                        <li><a th:href="${basePath+'/portal/aboutKede?qggs'}">全国公司</a></li>
                                     </ul>
                                 </li>
                                 <li>

+ 11 - 1
src/main/webapp/WEB-INF/views/portal/aboutKede.html

@@ -714,7 +714,17 @@
         <!-- 底部  end -->
     </div>
     <div th:replace="common::footer(~{::script})">
-    <script></script>
+    <script>
+        if(window.location.search == "?fzlc") {
+            $(".about-kede-secodn > div > ul > li").eq(4).click()
+        }else if(window.location.search == "?ryzz") {
+            $(".about-kede-secodn > div > ul > li").eq(2).click()
+        }else if(window.location.search == "?qywh") {
+            $(".about-kede-secodn > div > ul > li").eq(1).click()
+        }else if(window.location.search == "?qggs") {
+            $(".about-kede-secodn > div > ul > li").eq(3).click()
+        }
+    </script>
     </div>
     
 </body>