소스 검색

页面修改

liliang4869 7 년 전
부모
커밋
62fad8512c

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

@@ -54,20 +54,20 @@
             <div class="logo_right"></div>
             <div class="nav">
                 <ul>
-                    <li>
+                    <li th:class="${subM}=='serviceIndex'?active:null">
                         <a th:href="@{/portal/service/serviceIndex}">科技服务</a>
                         <img th:src="${portalHost+'/img/hot.png'}">
                        
                     </li>
-                    <li>
-                                <a th:href="@{/portal/technologyTrading/achievement}">技术成果</a>
-                            </li>
-                            <li>
-                                <a th:href="@{/portal/technologyTrading/demand}">技术需求</a>
-                            </li>
+                    <li th:class="${subM}=='achievement'?active:null">
+                        <a th:href="@{/portal/technologyTrading/achievement}">技术成果</a>
+                    </li>
+                    <li th:class="${subM}=='demand'?active:null">
+                        <a th:href="@{/portal/technologyTrading/demand}">技术需求</a>
+                    </li>
                             
                     
-                    <li>
+                    <li th:class="${subM}=='thinkTankIndex'?active:null">
                         <a th:href="@{/portal/thinkTank/index.html}">智库咨询</a>
                         <ol class="subnavigation">
                             <li>
@@ -79,7 +79,7 @@
                         </ol>
                     </li>
 
-                    <li>
+                    <li th:class="${subM}=='aboutUs'?active:null">
                         <a th:href="@{/portal/aboutUs}">关于公司</a>
                         <ol class="subnavigation" style="display: none;">
                             <li>

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

@@ -9,7 +9,7 @@
 </head>
 <body>
 	<header>
-		<div th:replace="common::nav('','')"></div>
+		<div th:replace="common::nav('','aboutUs')"></div>
 	</header>
 	<!--banner-->
   	<div class="carouselt">

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 1 - 1
src/main/webapp/WEB-INF/views/portal/service/serviceIndex.html


+ 1 - 1
src/main/webapp/WEB-INF/views/portal/technologyTrading/achievement.html

@@ -10,7 +10,7 @@
 
 <body>
    <header>
-   <div th:replace="common::nav('','')"></div>
+   <div th:replace="common::nav('','achievement')"></div>
    </header>
     <!-- search -->
     <div class="container">

+ 1 - 1
src/main/webapp/WEB-INF/views/portal/technologyTrading/demand.html

@@ -10,7 +10,7 @@
 
 <body>
 	<header>
-		<div th:replace="common::nav('','')"></div>
+		<div th:replace="common::nav('','demand')"></div>
 	</header>
 	<!-- search -->
 	<div class="container">

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

@@ -9,7 +9,7 @@
 
 <body>
 	<header>
-		<div th:replace="common::nav('thinkTank','')"></div>
+		<div th:replace="common::nav('thinkTank','thindTankIndex')"></div>
 	</header>
 	<!--banner-->
   	<div class="carouselt">