123456789101112131415161718192021222324252627282930313233 |
- <script lang='ts' setup>
- defineProps({
- item: Object as any,
- })
- </script>
- <template>
- <div>
- <div class="pos-relative b-rd-12px bg-#fff shadow-item overflow-hidden">
- <img :src="item.img" alt="" srcset="" class="w-100% h-310px object-cover">
- <div class="p-30px">
- <h3
- class="!mb-10px fw-800 text-24px text-#333 line-clamp-2"
- >
- {{ item.title }}
- </h3>
- <div class="text-16px text-#999 lh-22px line-clamp-2 mb-20px">
- {{ item.description }}
- </div>
- <el-button class="!bg-#9B6CFF !text-#fff !b-#9B6CFF !h-40px px-24px">
- Download
- <svgo-arrow-line-r class="w-16px h-16px ml-10px !text-#fff" />
- </el-button>
- </div>
- </div>
- </div>
- </template>
- <style lang='less' scoped>
- .shadow-item{
- box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.1);
- }
- </style>
|