|
|
@@ -23,9 +23,14 @@
|
|
|
<!-- 轮播图 -->
|
|
|
<div class="swiper-container" id="swiper1">
|
|
|
<div class="swiper-wrapper" >
|
|
|
- <a th:each="b,bStatus:${banners}" th:href="${b.jumpUrl}" class="swiper-slide" target="_blank">
|
|
|
+ <th:block th:each="b,bStatus:${banners}">
|
|
|
+ <a th:if="${b.jumpUrl != 'javascript:;' && b.jumpUrl != null}" target="_blank" th:href="${b.jumpUrl}" class="swiper-slide">
|
|
|
<img th:title="${b.title}" th:src="|${avatarUploadHost}${b.bannerUrl}" />
|
|
|
- </a>
|
|
|
+ </a>
|
|
|
+ <span th:if="${b.jumpUrl == 'javascript:;' || b.jumpUrl == null}" class="swiper-slide">
|
|
|
+ <img th:title="${b.title}" th:src="|${avatarUploadHost}${b.bannerUrl}" />
|
|
|
+ </span>
|
|
|
+ </th:block>
|
|
|
<!-- <div class="swiper-slide">
|
|
|
<img th:src="${portalHost+'/images/banner/bg02.png'}" />
|
|
|
</div> -->
|