Prechádzať zdrojové kódy

Merge branch '2026_1_7_fzxfb_master-a'

CaoGQ123 2 týždňov pred
rodič
commit
68b152cf71
1 zmenil súbory, kde vykonal 6 pridanie a 3 odobranie
  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---------------------------------------->