|
@@ -24,49 +24,35 @@
|
|
</span>
|
|
</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
-
|
|
|
|
-<!--<template th:replace="article/components/article-swiper"></template>-->
|
|
|
|
-<!-- <div class="banner" th:each="type: ${articleImages}" th:if="${type.levelType} == 1 and ${type.headAppBanner}" >-->
|
|
|
|
-<!-- <a th:href="${type.jumpLink}" th:if="${type.jumpStatus} == 2">-->
|
|
|
|
-<!-- <img th:src="${type.headAppBanner}" style="width: 100%;height: 100%;" />-->
|
|
|
|
-<!-- </a>-->
|
|
|
|
-<!-- <img th:src="${type.headAppBanner}" style="width: 100%;height: 100%;" th:if="${type.jumpStatus} == 0"/>-->
|
|
|
|
-<!-- </div>-->
|
|
|
|
-<!-- <div class="sider-banner">-->
|
|
|
|
-<!-- <div th:each="type: ${articleImages}" th:if="${type.levelType} == 2 and ${type.headAppBanner}" >-->
|
|
|
|
-<!-- <a th:href="${type.jumpLink}" th:if="${type.jumpStatus} == 2">-->
|
|
|
|
-<!-- <img th:src="${type.headAppBanner}" style="width: 100%;height: 100%;" />-->
|
|
|
|
-<!-- </a>-->
|
|
|
|
-<!-- <img th:src="${type.headAppBanner}" style="width: 100%;height: 100%;" th:if="${type.jumpStatus} == 0"/>-->
|
|
|
|
-<!-- </div>-->
|
|
|
|
-<!-- </div>-->
|
|
|
|
-<!--</div>-->
|
|
|
|
<!--主体内容-->
|
|
<!--主体内容-->
|
|
<div class="content clearfix" id="ArticleContent" v-cloak>
|
|
<div class="content clearfix" id="ArticleContent" v-cloak>
|
|
<div class="info-banner AppBanner" th:if="${isSearch} and ${articleImages}">
|
|
<div class="info-banner AppBanner" th:if="${isSearch} and ${articleImages}">
|
|
<div class="banner">
|
|
<div class="banner">
|
|
<van-swipe class="my-swipe" :autoplay="3000" indicator-color="white">
|
|
<van-swipe class="my-swipe" :autoplay="3000" indicator-color="white">
|
|
- <van-swipe-item>1</van-swipe-item>
|
|
|
|
- <van-swipe-item>2</van-swipe-item>
|
|
|
|
- <van-swipe-item>3</van-swipe-item>
|
|
|
|
- <van-swipe-item>4</van-swipe-item>
|
|
|
|
|
|
+ <van-swipe-item th:each="type: ${articleImages}" th:if="${type.levelType} == 1 and ${type.headAppBanner} and ${type.appStatus} == 1">
|
|
|
|
+ <a target="_blank" th:href="${type.jumpLink}">
|
|
|
|
+ <img th:src="${type.headAppBanner}" />
|
|
|
|
+ </a>
|
|
|
|
+ </van-swipe-item>
|
|
</van-swipe>
|
|
</van-swipe>
|
|
</div>
|
|
</div>
|
|
<div class="sider-banner">
|
|
<div class="sider-banner">
|
|
<div class="sider-banner-1">
|
|
<div class="sider-banner-1">
|
|
<van-swipe class="my-swipe" :autoplay="3000" indicator-color="white">
|
|
<van-swipe class="my-swipe" :autoplay="3000" indicator-color="white">
|
|
- <van-swipe-item>1</van-swipe-item>
|
|
|
|
- <van-swipe-item>2</van-swipe-item>
|
|
|
|
- <van-swipe-item>3</van-swipe-item>
|
|
|
|
- <van-swipe-item>4</van-swipe-item>
|
|
|
|
|
|
+ <van-swipe-item th:each="type: ${articleImages}" th:if="${type.levelType} == 2 and ${type.headAppBanner} and ${type.appStatus} == 1">
|
|
|
|
+ <a target="_blank" th:href="${type.jumpLink}">
|
|
|
|
+ <img th:src="${type.headAppBanner}" />
|
|
|
|
+ </a>
|
|
|
|
+ </van-swipe-item>
|
|
</van-swipe>
|
|
</van-swipe>
|
|
</div>
|
|
</div>
|
|
<div class="sider-banner-2">
|
|
<div class="sider-banner-2">
|
|
<van-swipe class="my-swipe" :autoplay="3000" indicator-color="white">
|
|
<van-swipe class="my-swipe" :autoplay="3000" indicator-color="white">
|
|
- <van-swipe-item>1</van-swipe-item>
|
|
|
|
- <van-swipe-item>2</van-swipe-item>
|
|
|
|
- <van-swipe-item>3</van-swipe-item>
|
|
|
|
- <van-swipe-item>4</van-swipe-item>
|
|
|
|
|
|
+ <van-swipe-item th:each="type: ${articleImages}" th:if="${type.levelType} == 3 and ${type.headAppBanner} and ${type.appStatus} == 1">
|
|
|
|
+ <a target="_blank" th:href="${type.jumpLink}">
|
|
|
|
+ <img th:src="${type.headAppBanner}" />
|
|
|
|
+ </a>
|
|
|
|
+ </van-swipe-item>
|
|
</van-swipe>
|
|
</van-swipe>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -87,9 +73,9 @@
|
|
<div class="info-banner PcBanner" th:if="${isSearch} and ${articleImages}">
|
|
<div class="info-banner PcBanner" th:if="${isSearch} and ${articleImages}">
|
|
<div class="banner">
|
|
<div class="banner">
|
|
<el-carousel :autoplay="true" show-indicators="false">
|
|
<el-carousel :autoplay="true" show-indicators="false">
|
|
- <el-carousel-item v-for="(item, index) in 5" :key="index">
|
|
|
|
- <a target="_blank">
|
|
|
|
- {{item}}
|
|
|
|
|
|
+ <el-carousel-item th:each="type: ${articleImages}" th:if="${type.levelType} == 1 and ${type.headPcBanner} and ${type.appStatus} == 1">
|
|
|
|
+ <a target="_blank" th:href="${type.jumpLink}">
|
|
|
|
+ <img th:src="${type.headPcBanner}" />
|
|
</a>
|
|
</a>
|
|
</el-carousel-item>
|
|
</el-carousel-item>
|
|
</el-carousel>
|
|
</el-carousel>
|