|
|
@ -13,7 +13,7 @@ |
|
|
|
<div class="xl:w-screen-xl m-auto text-xl right-to-left" v-if="show"> |
|
|
|
<el-carousel :interval="4000" type="card" height="350px" arrow="never" indicator-position="none"> |
|
|
|
<el-carousel-item class="relative" v-for="(item,index) in list" :key="index"> |
|
|
|
<img :src="item.path" class="cursor-pointer scale-img" /> |
|
|
|
<el-image :src="item.path" class="cursor-pointer scale-img w-full" /> |
|
|
|
<div class="absolute bg-[#e65a01]/75 w-full py-2 z-100 text-center text-sm text-white bottom-0" v-if="item.comments">{{ item.comments }}</div> |
|
|
|
</el-carousel-item> |
|
|
|
</el-carousel> |
|
|
|