hookehuyr

fix 首页banner图宽度优化

1 <!-- 1 <!--
2 * @Date: 2024-08-27 10:06:30 2 * @Date: 2024-08-27 10:06:30
3 * @LastEditors: hookehuyr hookehuyr@gmail.com 3 * @LastEditors: hookehuyr hookehuyr@gmail.com
4 - * @LastEditTime: 2024-10-24 17:35:08 4 + * @LastEditTime: 2024-10-25 18:26:54
5 * @FilePath: /hager/src/views/index.vue 5 * @FilePath: /hager/src/views/index.vue
6 * @Description: 首页 6 * @Description: 首页
7 --> 7 -->
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
9 <div class="hager-container"> 9 <div class="hager-container">
10 <el-carousel :height="top_img_height" :interval="0"> 10 <el-carousel :height="top_img_height" :interval="0">
11 <el-carousel-item v-for="(item, index) in banner_list" :key="index"> 11 <el-carousel-item v-for="(item, index) in banner_list" :key="index">
12 - <el-image style="height: 100%;" fit="fill" :src="item.value"></el-image> 12 + <el-image style="height: 100%; width: 100%;" fit="fill" :src="item.value"></el-image>
13 </el-carousel-item> 13 </el-carousel-item>
14 </el-carousel> 14 </el-carousel>
15 <hager-box class="box-n"> 15 <hager-box class="box-n">
......