Browse Source

轮播图跳转页面跳转地址修改

anderx 7 years ago
parent
commit
4c7ed7cf53

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

@@ -75,7 +75,7 @@
                     <p>生产保密资格认证</p>
                     <div>
                         <img th:src="${portalHost + '/img/advertisement/militaryProject_11.png'}" alt="" class="wuqi">
-                        <p> <a href="#">了解详情</a></p>
+                        <p> <a th:href="${gqc1}==null?@{/portal/service/serviceList}:@{/portal/service/serviceList(topId=${gqc1.id})}">了解详情</a></p>
                     </div>
                 </li>
                 <li>
@@ -83,7 +83,7 @@
                     <p>生产许可证认证</p>
                     <div>
                         <img th:src="${portalHost + '/img/advertisement/militaryProject_22.png'}" alt="">
-                        <p><a href="#">了解详情</a></p>
+                        <p><a th:href="${gqc1}==null?@{/portal/service/serviceList}:@{/portal/service/serviceList(topId=${gqc1.id})}">了解详情</a></p>
                     </div>
                 </li>
                 <li>
@@ -91,7 +91,7 @@
                     <p>单位资格认证</p>
                     <div>
                         <img th:src="${portalHost + '/img/advertisement/militaryProject_33.png'}" alt="" class="chengzhi">
-                        <p><a href="#">了解详情</a></p>
+                        <p><a th:href="${gqc1}==null?@{/portal/service/serviceList}:@{/portal/service/serviceList(topId=${gqc1.id})}">了解详情</a></p>
                     </div>
                 </li>
             </ul>

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

@@ -74,21 +74,21 @@
                     <p>发明专利</p>
                     <div>
                         <img th:src="${portalHost+'/img/advertisement/practicalPatent_11.png'}" alt="" class="faming">
-                        <p> <a href="#">了解详情</a></p>
+                        <p> <a th:href="${gqc1}==null?@{/portal/service/serviceList}:@{/portal/service/serviceList(topId=${gqc1.id})}">了解详情</a></p>
                     </div>
                 </li>
                 <li>
                     <p>商标注册</p>
                     <div>
                         <img th:src="${portalHost+'/img/advertisement/practicalPatent_22.png'}" alt="">
-                        <p><a href="#">了解详情</a></p>
+                        <p><a th:href="${gqc1}==null?@{/portal/service/serviceList}:@{/portal/service/serviceList(topId=${gqc1.id})}">了解详情</a></p>
                     </div>
                 </li>
                 <li>
                     <p>软件著作权</p>
                     <div>
                         <img th:src="${portalHost+'/img/advertisement/practicalPatent_33.png'}" alt="">
-                        <p><a href="#">了解详情</a></p>
+                        <p><a th:href="${gqc1}==null?@{/portal/service/serviceList}:@{/portal/service/serviceList(topId=${gqc1.id})}">了解详情</a></p>
                     </div>
                 </li>
             </ul>