|
@@ -42,12 +42,12 @@
|
|
|
<!--左侧焦点图新闻-->
|
|
<!--左侧焦点图新闻-->
|
|
|
<div class="index—layer-1-left">
|
|
<div class="index—layer-1-left">
|
|
|
<div class="nuxt-swiper" v-if="imagelist">
|
|
<div class="nuxt-swiper" v-if="imagelist">
|
|
|
- <el-carousel :interval="3000" :touchable="true" arrow="never" indicator-class="custom-indicator"
|
|
|
|
|
|
|
+ <el-carousel :interval="93000" :touchable="true" arrow="never" indicator-class="custom-indicator"
|
|
|
class="custom-carousel roll_in" @change="handleIndicatorChange">
|
|
class="custom-carousel roll_in" @change="handleIndicatorChange">
|
|
|
<el-carousel-item v-for="(item, index) in imagelist" :key="index">
|
|
<el-carousel-item v-for="(item, index) in imagelist" :key="index">
|
|
|
<NuxtLink :to="`/${item.pinyin}/${item.id}.html`" :title="item.title">
|
|
<NuxtLink :to="`/${item.pinyin}/${item.id}.html`" :title="item.title">
|
|
|
- <!-- <img :src="item.imgurl" :alt="item.title"> -->
|
|
|
|
|
- <img src="/public/index/news.png" :alt="item.title">
|
|
|
|
|
|
|
+ <img :src="item.imgurl" :alt="item.title">
|
|
|
|
|
+ <!-- <img src="/public/index/news.png" :alt="item.title"> -->
|
|
|
<span>{{ item.title }}</span>
|
|
<span>{{ item.title }}</span>
|
|
|
</NuxtLink>
|
|
</NuxtLink>
|
|
|
</el-carousel-item>
|
|
</el-carousel-item>
|
|
@@ -1911,6 +1911,9 @@ const indexTabs4 = ref(1)
|
|
|
|
|
|
|
|
.index—layer-2 .index—layer-2-left .index-tabs2-top h3 a, .index—layer-2 .index—layer-2-right .index-tabs2-top h3 a{line-height:26PX;height:26PX;display:block;}
|
|
.index—layer-2 .index—layer-2-left .index-tabs2-top h3 a, .index—layer-2 .index—layer-2-right .index-tabs2-top h3 a{line-height:26PX;height:26PX;display:block;}
|
|
|
|
|
|
|
|
|
|
+
|
|
|
|
|
+:deep(.el-carousel__container) { height:300PX;}
|
|
|
|
|
+
|
|
|
|
|
|
|
|
@media screen and (min-width: 801px) and (max-width: 1400px) {
|
|
@media screen and (min-width: 801px) and (max-width: 1400px) {
|
|
|
//swiper轮播图 start---------------------------------------->
|
|
//swiper轮播图 start---------------------------------------->
|