|
|
@@ -77,8 +77,8 @@
|
|
|
<!-- 轮播(Carousel)项目 -->
|
|
|
<div class="carousel-inner" th:each="banner,bStatus:${abannerlist}">
|
|
|
<div class="item active">
|
|
|
- <a th:if="${banner.forwardUrl}!=null and ${banner.forwardUrl}!=''" th:href="|${basePath }${ banner.forwardUrl}"><img th:src="|${portalHost}/upload${banner.imgUrl}" th:alt="${banner.text}"></a>
|
|
|
- <a th:if="${banner.forwardUrl}==null or ${banner.forwardUrl}==''" th:href="|${basePath }${ banner.forwardUrl}"><img th:src="|${portalHost}/upload${banner.imgUrl}" th:alt="${banner.text}"></a>
|
|
|
+ <a th:if="${banner.forwardUrl}!=null and ${banner.forwardUrl}!=''" th:href="|${basePath }${ banner.forwardUrl}"><img th:src="|${avatarUploadHost}${banner.imgUrl}" th:alt="${banner.text}"></a>
|
|
|
+ <a th:if="${banner.forwardUrl}==null or ${banner.forwardUrl}==''" th:href="|${basePath }${ banner.forwardUrl}"><img th:src="|${avatarUploadHost}${banner.imgUrl}" th:alt="${banner.text}"></a>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -92,12 +92,12 @@
|
|
|
<div class="carousel-inner" >
|
|
|
<div class="item active" th:each="banner,bStatus:${abannerlist}" th:if="${bStatus.first}">
|
|
|
<!-- /portal/continueHigh /portal/militaryProject /portal/practicalPatent -->
|
|
|
- <a th:if="${banner.forwardUrl}!=null and ${banner.forwardUrl}!=''" th:href="|${basePath }${ banner.forwardUrl}"><img th:src="|${portalHost}/upload${banner.imgUrl}" th:alt="${banner.text}"></a>
|
|
|
- <a th:if="${banner.forwardUrl}==null or ${banner.forwardUrl}==''" th:href="|${basePath }${ banner.forwardUrl}"><img th:src="|${portalHost}/upload${banner.imgUrl}" th:alt="${banner.text}"></a>
|
|
|
+ <a th:if="${banner.forwardUrl}!=null and ${banner.forwardUrl}!=''" th:href="|${basePath }${ banner.forwardUrl}"><img th:src="|${avatarUploadHost}${banner.imgUrl}" th:alt="${banner.text}"></a>
|
|
|
+ <a th:if="${banner.forwardUrl}==null or ${banner.forwardUrl}==''" th:href="|${basePath }${ banner.forwardUrl}"><img th:src="|${avatarUploadHost}${banner.imgUrl}" th:alt="${banner.text}"></a>
|
|
|
</div>
|
|
|
<div class="item" th:each="banner,bStatus:${abannerlist}" th:unless="${bStatus.first}">
|
|
|
- <a th:if="${banner.forwardUrl}!=null and ${banner.forwardUrl}!=''" th:href="|${basePath }${ banner.forwardUrl}"><img th:src="|${portalHost}/upload${banner.imgUrl}" th:alt="${banner.text}"></a>
|
|
|
- <a th:if="${banner.forwardUrl}==null or ${banner.forwardUrl}==''" th:href="|${basePath }${ banner.forwardUrl}"><img th:src="|${portalHost}/upload${banner.imgUrl}" th:alt="${banner.text}"></a>
|
|
|
+ <a th:if="${banner.forwardUrl}!=null and ${banner.forwardUrl}!=''" th:href="|${basePath }${ banner.forwardUrl}"><img th:src="|${avatarUploadHost}${banner.imgUrl}" th:alt="${banner.text}"></a>
|
|
|
+ <a th:if="${banner.forwardUrl}==null or ${banner.forwardUrl}==''" th:href="|${basePath }${ banner.forwardUrl}"><img th:src="|${avatarUploadHost}${banner.imgUrl}" th:alt="${banner.text}"></a>
|
|
|
</div>
|
|
|
</div>
|
|
|
<!-- 轮播(Carousel)导航 -->
|