|
@@ -74,9 +74,9 @@
|
|
</div>
|
|
</div>
|
|
<!-- 广告-->
|
|
<!-- 广告-->
|
|
<div class="advertisement" th:if="${#arrays.length(ads)} > 0 and ${isSelectInfo}">
|
|
<div class="advertisement" th:if="${#arrays.length(ads)} > 0 and ${isSelectInfo}">
|
|
- <van-swipe class="my-swipe" :autoplay="3000" indicator-color="white">
|
|
|
|
- <van-swipe-item class="advertisement-link" th:each="ad : ${ads}">
|
|
|
|
- <a th:href="${ad.link}" target="_blank">
|
|
|
|
|
|
+ <van-swipe class="my-swipe" :autoplay="3000" indicator-color="white" :loop="false" :width="vantWidth">
|
|
|
|
+ <van-swipe-item th:each="ad : ${ads}">
|
|
|
|
+ <a class="advertisement-link" th:href="${ad.link}" target="_blank">
|
|
<img th:src="${ad.image}" th:alt="${ad.title}" class="advertisement-img" th:onclick="handleAdvHits([[${ad}]])"/>
|
|
<img th:src="${ad.image}" th:alt="${ad.title}" class="advertisement-img" th:onclick="handleAdvHits([[${ad}]])"/>
|
|
</a>
|
|
</a>
|
|
</van-swipe-item>
|
|
</van-swipe-item>
|