Ver Fonte

fzxfb-a-2026-2-2-A

CaoGQ123 há 2 semanas atrás
pai
commit
f33ae2a08e
1 ficheiros alterados com 6 adições e 3 exclusões
  1. 6 3
      pages/index.vue

+ 6 - 3
pages/index.vue

@@ -42,12 +42,12 @@
             <!--左侧焦点图新闻-->
             <div class="index—layer-1-left">
                 <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">
                         <el-carousel-item v-for="(item, index) in imagelist" :key="index">
                             <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>
                             </NuxtLink>
                         </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;}
 
+ 
+:deep(.el-carousel__container) { height:300PX;}
+
 
 @media screen and (min-width: 801px) and (max-width: 1400px) {
     //swiper轮播图 start---------------------------------------->